I have a asp.net webpage with just a couple divs on it. Most of the work is done through javascript, JSON, and a webservice running on the same page.
My webservice has three different functions I use. All functions perform a select statement from the same database, the database that is being queried is located on the same machine the website is on.
I originally started working on the webpage on my local machine and could run all my webservice functions correctly and get a response. However, I am now trying to move the page to a server but I am having no luck.
When on the server the page loads correctly, which requires a call to the first function (this works fine). However on click of a button a second call to the function is made but I get a timeout error.
I tried running the functions directly from the server, and the first function works fine, however the other two do not, they give me a page error code 500. Any ideas what could be causing this?