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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

networked home directory

Status
Not open for further replies.

mobius1983

Technical User
Jul 7, 2002
45
GB
Hi,

Im wondering if anyone can help me.

I currently run my own webserver for some personal sites and one work site. Due to backup issues I have moved the files onto a networked computer and have set up iis 'home directory' to point to the networked computer.

But now all of my database connections fail.
If website files are on a different computer than IIS and SQL Server, can I not use any DSN connections that are on the server (that reference 'localhost') in my webpages?

Thank you in advance to anyone that can help me out!

Nick
 
Nope. Localhost is reserved for accessing the local machine. Change your webpages to refer to the actual hostname instead.
 
Thanks very much for your swift reply. Just so I have it clear in my head...

If pcA has IIS & SQL installed and pcB has the website asp files. Which computer should have the ODBC DSN for the website?

Thanks soo much for your help
 
pcA needs the ODBC setup. It'll be running the pages. It sounds like there's another issue.

As I read your post, the web and database servers are one one computer, which is accessing the content via a mapped or UNC connection, right? This should work normally.
 
Thanks for your post lgarner, I appriciate everyones help!

I have just gone onto my server, deleted all of the dsn's and all of the SQL server users and started from scratch. And with a bit of playing around with the permissions (really I dont know how I have done it! :) ) But it now works!!!!

Thank you so much to everyone that has helped with this post, you are both life savers!!

Thanks again

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top