CSLA 3.0.2 Remoting Data Portal Using DataAccessLayer and DTO

CSLA 3.0.2 Remoting Data Portal Using DataAccessLayer and DTO

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


Maqster posted on Monday, November 05, 2007

    Hi Rocky, I'm trying to use the RemotingHost concept together with a DataAccessLayer that uses DTO's to transfer the data to CSLA objects but I get an error trying to run this:

DataPortal.Fetch failed (Value cannot be null.
Parameter name: TypeName)

That is with CslaAuthentication set to Windows in both app.config and web.config.

If I remove the DTO and DAL implementation it works fine.

Please advise.

Best regards
Maqster

Maqster replied on Monday, November 05, 2007

Hi again,

my stupid mistake, I figured out that I was missing an appsettings key in web.config in the RemotingHost.

So remember to have all your settings that the server needs in the host.

/maqster

Copyright (c) Marimer LLC