Re: SQL Server does not exist or access denied



Is this a named instance or a default instance?
Have you verified the port SQL Server is listening on? A few
ways to do that but a couple of options are to Check the SQL
error logs from when SQL Server started, on the server
execute netstat -an from the command prompt.
Did you try getting rid of the DSN and using connection
string without the DSN in your app? What happens if you test
the DSN in the ODBC administrator applet?
Is there some reason you need to use a DSN?

-Sue

On Tue, 19 Jun 2007 07:50:43 -0500, "Raj"
<raj@xxxxxxxxxxxxxx> wrote:

Hello,

I have an application server (running Windows 2003 server with IIS 6.0 ) and
database server (running MS SQL 2000).

Both are on different domains and not trusted each other. ( But having same
IP range )

I have created a SystemDSN pointing to a database in my database server.

I am able to connect to the database through query analyzer, Enterprise
manager.

When I try to connect to the database through SystemDSN from my ASP pages I
got the error:
SQL Server does not exist or access denied.

Here's what I have tried:
1. I am using only TCP/IP port
2. Have changed dynamic port to static 1433

Telnet to databaseserver 1433 results in error.

Please let me know the correct workaround

Please note: The only option I can use to connect to the database is
SystemDSN.

Thank you very much.

Regards,

Raj.


.



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
    ... 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)
  • 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)