Trouble getting the Sample Web App to Run

Trouble getting the Sample Web App to Run

Old forum URL: forums.lhotka.net/forums/t/1806.aspx


IraD posted on Tuesday, November 21, 2006

I have just downloaded the framework and the sample apps.  I have gotten the Windows app to run, but am having trouble with the Web app.

I am trying to use the local data portal and have copied the databases into App_Data.

The login screen comes up. I fill it in, apparently successfully, but get an error in "DataPortal.Fetch (Of PTIdentity) (New Criteria(Username,password))" fails saying it's an invalid instance.

The EnterpriseServicesProxy is being used and I am not sure if that is correct given that I want the local data portal. I wonder if I have my config settings right or what might be up.

All suggestions welcome.

 

ajj3085 replied on Tuesday, November 21, 2006

Did you read the chapter on setting up Enterprise Services for the ESProxy?

If not, give that chapter a read and see if that helps.

Andy

IraD replied on Tuesday, November 21, 2006

I will look at it again. However, I am not clear whether Enterprise Services applies to local data portals. Does it? Should I be in Enterprise Services at all?

ajj3085 replied on Tuesday, November 21, 2006

If you're using the ESProxy, you're not using the local data portal anymore.

Whether or not you want to be in ES depends on if you want to remote using ES (and have it handle your transactions). 

HTH
Andy

xal replied on Tuesday, November 21, 2006

Take a look at the web.config and comment the ES segment and you'll be using the local dataportal.
It should be inside the "appSettings" section.


Also, check that the connection strings are right.

Andrés

Copyright (c) Marimer LLC