mscorlib.dll

Posts   
 
    
Baobab
User
Posts: 7
Joined: 29-Mar-2005
# Posted on: 29-Mar-2005 11:45:10   

Hej

this simple code gives me the following error message on the save() function... Any suggestions?

OccurStatNxEntity OccStatNx = new OccurStatNxEntity(); OccStatNx.IsNew = false; OccStatNx.OccurId = 2; OccStatNx.OccurStatCatCode = "DELETED"; OccStatNx.Save();

An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 29-Mar-2005 12:15:43   

Please check if you have a proper .config file setup for your application (web.config or app.config) with the connection string in it.

Frans Bouma | Lead developer LLBLGen Pro