I have created a csharp script that connects to my sqlexpress database. It works perfectly in my test environmnet. When I upload the web application to discount asp.net I cannot connect to the database using the hookUp command.
The web.config file is working, I can connect to the database and display data using a gridview.
the hookUp command is as follows
hookUp = new SqlConnection("Data Source=tcp:sql2k804.discountasp.net;Initial Catalog=SQL2008R2_773669_llama;User ID=SQL2008R2_773669_llama_user;Password=*******");
Can anyone see any obvious errors?