General information
Category:
The Mere Mortals .NET Framework
>>>>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,
Thank you for the reply.
I am on the first part of Order System Business Objects EF CSharp.csproj
An Entity Framework Business Object Library
There was no web.config file generated in the project folder
What did I miss?
Thanks,
Al Allison
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only