I have a problem with accessing the sql server database from an application page in sharepoint 2010. With using the SqlConnection and SqlCommand an Adapter I keep getting an error "Cannot find table ".
But the strange thing is that the exact same code (same connection string and averything) works when it's in a console application and run on that server.
What coud be the problem here?
Thanks in advance