Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2008 Server
>>You did not say if this is the only place your connection was failing or not. Not knowing, what I suggest is this: Verify the connection is exactly the same in your business >>object project app.config file. Then run the Business Layer Generator up to the point where you can click the 'GetData' button. If you get the tables, procedures, etc from the >>database in the view, then this would confirm if the connection string is valid how it is written for the framework to construct it.
It is not the only place where the connection is failing. I have two new methods in the User object for retrieving a UserEntity and both of them fail with the same error.
I verified the connection information was the same by using a tool, UltraCompare to compare the App.config to the Web.config. Everything between the databases tag was exactly the same.
I then ran the Business Layer Generator as you suggested and I did get the tables. There are no views or stored procedures as of yet. I was able to expand the tables node and see all tables in the DB and each table, when checked, is able to display the columns.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement