PT 4.5.501: MVC without WCFAppServer

PT 4.5.501: MVC without WCFAppServer

Old forum URL:

cjherasmus posted on Tuesday, October 14, 2014

I'm trying to run PT MVC without the WCFAppServer project - would like to run the PT as single website and communicate directly with database.

I've copied the connectionStrings, appSettings and membership stuff from the web.config of the WCFAppServer website to the web.config of the MVC website. (I've done something like this back in the day with WindowsForms which worked).

Everything compiles but when I login in the MVC app I get this error:

"An exception of type 'Csla.DataPortalException' occurred in Csla.dll but was not handled in user code.  Additional information: DataPortal.Fetch failed (Type ProjectTracker.DalEf.DalManager,ProjectTracker.DalEf could not be found)"

I assume the problem is in my web.config file, so I've attached it. Another pair of eyes would be much appreciated.


JonnyBee replied on Wednesday, October 15, 2014


The problem is most likely that the ProjectTracker.DalEf.dll assembly is not in your web apps \bin folder. 

Try to add this project as Reference in your web application and run again. 


cjherasmus replied on Thursday, October 16, 2014


I did as you've suggested. Now when I login I get a StackOverflowException in the DalManager with typeName pointing to UserDal.


JonnyBee replied on Thursday, October 16, 2014

Yes, that is a known issue in the implementation in login. You need to do a minor change there.

cjherasmus replied on Wednesday, November 05, 2014

Done. Thanks

Copyright (c) Marimer LLC