I am using Visual Studio Web version and MS SQL. I have developed an asp.net page that takes arguments from a query string and edits the database. The database and the web server are both on the same machine, so the web pages are not going cross domain or even to a different machine within the domain. Everything works perfectly when I launch the page using Visual Studio's preview using localhost(dynamic port number) and it reads and writes to the database. As soon as I use the actual ip address with no dynamically generated VS port, as in, the real world published version, nothing works as though it can't connect to the database. Since it works on localhost in VS, I don't think the code is wrong, but rather I am missing a setting that is required when accessing the page through it's actual domain ip address.
Here is my connection settings
SqlConnection myConnection = new SqlConnection(
"database=blip; " +
I'm guessing someone must have run into this small ambiguity.