![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Are both of these websites the same identical website, or are they running two different code bases that each connect to the same website? That wasn't entirely clear. If both webservers are running the identical websites (the same codebase) then I would be looking at the IIS configuration on the second server as that sounds like the only difference. -Eric Isaacs |
#4
| |||
| |||
|
|
We have a web application that connects fine to Sql on one server but not on another. A console application was created and run from the same server that house IIS. This console program can access and see the tables fine. Both the Web Server and console program are using the same connection string with the same user and password. What would cause the Web Server not to connect? Thanks, Tom |
#5
| |||
| |||
|
|
Please post the error message. If you are using Windows Authentication, check to ensure the account has access to the second SQL Server. |
|
-- Hope this helps. Dan Guzman SQL Server MVP http://weblogs.sqlteam.com/dang/ "tshad" <tfs (AT) dslextreme (DOT) com> wrote in message news:ebnWjsdJKHA.1488 (AT) TK2MSFTNGP03 (DOT) phx.gbl... We have a web application that connects fine to Sql on one server but not on another. A console application was created and run from the same server that house IIS. This console program can access and see the tables fine. Both the Web Server and console program are using the same connection string with the same user and password. What would cause the Web Server not to connect? Thanks, Tom |
#6
| |||
| |||
|
|
It is they that put the Console program on there system that was able to connect and see the table. |
#7
| |||
| |||
|
|
It is they that put the Console program on there system that was able to connect and see the table. The console app probably uses a different security context than the IIS. In lieu of an error message, you can try a a Profiler trace of login failed events. Ensure IIS has the needed database server access. What would the User be for IIS? |
|
-- Hope this helps. Dan Guzman SQL Server MVP http://weblogs.sqlteam.com/dang/ |
#8
| |||
| |||
|
|
What would the User be for IIS? |
![]() |
| Thread Tools | |
| Display Modes | |
| |