Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web application runtime error
Message
De
02/04/2015 12:56:11
 
 
À
02/04/2015 09:28:29
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01617669
Message ID:
01617716
Vues:
32
>>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
Fil
Voir

Click here to load this message in the networking platform