Morpheus Posted May 7, 2003 Posted May 7, 2003 I have a Webservice where you can write and edit a SQL Server database. I connected a ASP.NET webapplication to it and you can view the site from the internet but you can't save changes to the database. Is it something with permissions in IIS? Quote
Madz Posted May 7, 2003 Posted May 7, 2003 How do you manage connection to SQL Server , in File Web.Config please check have you provided username and password to databse. it depends on sql connection , how your web service is accessing database. Quote The one and only Dr. Madz eee-m@il
Morpheus Posted May 7, 2003 Author Posted May 7, 2003 I think I know what could be wrong, I had to change the port for default webpage in IIS otherwise no one could view the page from the internet. When I changed the port Visual Studio wouldn't open the webapplication "Unable to open Web project 'WebApplication1'. The file path 'C:\Inetpub\wwwrot\WebApplication1' does not correspond to the URL 'http://localhost/WebApplication1'. The two need to map to the same server location. The server returned an invalid or unrecognized respons" If I change the port back to 80 it works fine again. As it is now I can't even reache the database localy. Quote
Madz Posted May 8, 2003 Posted May 8, 2003 have you tried to accessing URL with this after chaning default port http://localhost:940/webapplication Where 940 is the port number which you have changed from 80 to 940 I hope it might help. Quote The one and only Dr. Madz eee-m@il
Morpheus Posted May 8, 2003 Author Posted May 8, 2003 I posted that problem in another thread before I saw your answer. How do I get VS to try to connect to http://localhost:940/WebApplication? When I change the portnr I can view the pages but I still can't use the database as I could if I used port 80. Quote
Cassio Posted May 10, 2003 Posted May 10, 2003 Is your web service using the port 80? Quote Stream of Consciousness (My blog)
Morpheus Posted May 10, 2003 Author Posted May 10, 2003 Well that's default or am I totally wrong there? When I use http://localhost it try to connect to port 80 if I use another port I have to write it http://localhost:8080? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.