AlHal2
asked on
,IIS, Asp.net login and LocalSQLServer
It looks like when a user logs in to a webpage with their credentials, that ASP connects to "LocalSQLServer" which is defined in machine.config.
Is this hardcoded into one of the logon controls or can it be changed to use a server that I specify in my own web.config file?
Is this hardcoded into one of the logon controls or can it be changed to use a server that I specify in my own web.config file?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks.
If you have your sql server on a different box than your web server, then you need to open your firewall to allow traffic to your sql server.
https://msdn.microsoft.com/en-us/library/jj653752(v=vs.110).aspx
https://technet.microsoft.com/en-us/library/cc646023(v=sql.110).aspx
If you need more specific help for .net questions, try requesting attention by clicking on the link in the bottom right of your question post and ask the moderator to help.