Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MM Jump Start EF BLG can't find app.config file
Message
From
08/08/2011 15:48:44
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
OS:
Windows 7
Miscellaneous
Thread ID:
01520404
Message ID:
01520441
Views:
48
>>>I get a message window "A config file was not found in the project directory." no title or other information
>>>OK returns to the BLG with [Cancel] the only option.
>>
>>>Al Allison
>>
>>After installing the new 4.0 release, I got this same error when I read the bizobj wizard. I looked in the ABusinessObject.cs class in the root of the business objects directory, and found that for this value:
>>
>>this.DatabaseKey =
>>
>>The name of the database from the app.config file had NOT been inserted. I added it. Now the error does not appear when going through the wizard.
>>
>>Ron Edge
>>P.S. I see I need to change my credentials, I retired from IU Mar 1, but I am working on a consulting project with MM.NET 4.0 right now.
>
>Ron,
>
>Thank you for the reply. In ABusinessObject.cs I show
>
> this.DatabaseKey = "EntityDataModelContainer";
>
>Do you think it should be
>
> "Northwind\Connection"
>
>the key from the app.config in databases?
>
>Thanks,

Yes, it needs to be the database key that is defined in your app.config file and also in your web.config file.
Timothy
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform