DNS Server Error when Hitting Database?



We have an ASP.NET application that permits anonymous access and runs
as the IUSR account. The application accesses a SQL Server database
located on a different server. All the data access code is in a .NET
DLL that the ASP.NET application references. When accessing the
database, we use SQL Server authentication, passing in the name and
password of a SQL Server account created specifically for the
application. The SQL Server account in question is an owner for the
database it needs to access.

When we try to access the application, however, a DNS error occurs on
the logon page (the first page you hit). The logon page has code to
retrieve a list of facilities from the database. If we comment out the
code that retrieves the facility list, the site works just fine, and we
go right in (although the facility list is predictably empty).

We are quite stumped about this. We know that this is a common scenario
(separate machines for database and web server). But we do not know why
the system can't access the database. We suspect that it's because the
IUSR account doesn't have access to our DNS server, but we're not
certain. We tried changing the database settings to use IP addresses in
lieu of machine names, but that didn't work either.

Any ideas that anyone might have would be greatly appreciated.

Thanks in advance!

.



Relevant Pages

  • Re: MS Access DAO -> ADO.NET Migration
    ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Cluster will not fail over.
    ... > As far as the TCP/IP issue goes, you had to rebuild the cluster and were ... > able to restore the master database. ... > a cluster installation you'll have to revisit. ... >> This worked bringing up the sql server in minimal mode. ...
    (microsoft.public.sqlserver.clustering)
  • Re: MS Access DAO -> ADO.NET Migration
    ... full SQL Server and I see the logic you explained in a multi user ... allow two users to access the same database file Read/Write at any given ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... Hitchhiker's Guide to Visual Studio and SQL Server ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: MS Access DAO -> ADO.NET Migration
    ... For that it is much harder to handle the incremental identifier, ... database but although they have the data, they are not connected at the same ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... SQL Server Management Studio is nowhere to be found on my ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Word 2003/Access2000/SQLSVR
    ... SQL server being where the data is held and this is accessed through a MS ... entire database and that may be say a record for Berkshire. ... "Peter Jamieson" wrote: ... replaced with the first record on the table in use. ...
    (microsoft.public.word.mailmerge.fields)