Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Posted

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.

The one and only

Dr. Madz

eee-m@il

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...