ASP.NET DB Access

  • Thread starter Thread starter myleslawrence
  • Start date Start date
M

myleslawrence

I hope this is the correct forum for this because I'm at wits end.
I have a Win 2003 server, SQL server 2000 and the .Net framework sdk
installed.

The ASP.NET VB Quickstart tutorials have web form examples some of which
connect to the database.
They do not work and I get 'server does not exist or access denied' when I
try to run any of the database examples.

If I revert back to asp and write a simple asp program that does an ADODB
connections and select, it works just fine. Anybody help me on this? Is
there an in which these are supposed to be installed?
 
Assuming a Microsoft Access database: Make sure the account using the website
has access to both the Access file and the directory it sits in (Network
Services for anon access in Win 2003, IUSR for other versions of windows). If
this is not it, it is probably due to the fact Windows 2003 does not allow
you to access files outside of the website. You can turn this off, if that is
your only solution.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top