Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very strange problem - same code returns different resul
Message
 
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01596181
Message ID:
01596328
Views:
28
>>My only guess is that the SqlCommand.CommandText is empty - but you say it's not so........
>
>No, it does contain correct information - I see it in the debug window (and I expanded parameters as well to verify).
>
>I got suggestion to try IntelliTrace but I think it doesn't apply for my version of Visual Studio (Premium).

With David Browne's help from MSDN thread on this topic I finally got to the root of the problem. Somehow the wrong DB was used instead of the one I am supposed to be using. Now I just need to figure out where that connection is set in the Windows Form app (as in Tests project it is correct).
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform