Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection problem by accessing remote website

Status
Not open for further replies.

MSProg

Programmer
Nov 19, 2003
19
US
Hello:

I am running IIS 5.0. I am trying to call an ASP page that connects to SQL server based on the user's NT authentication. Once I put the page on the inetpub and running it locally from the same machine where the page is located, everything works fine. However, if I am trying to access the same page from a different machine, no data is returned. I have full access on both the machines.

I have the connection string in the asp file as follows:
"Provider=SQLOLEDB.1;Persist Security Info=True;Initial Catalog=database1;Data Source=xxx.xxx.x.xx;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=;Use Encryption for Data=False;Tag with column collation when possible=False;Integrated Security=SSPI;"
And, I have the IIS security set up as Integrated Windows Authentication and have the anonymous access box unchecked

Any suggestion and recommendation is greatly appreciated.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top