SQL Server does not exist or access denied

From: Ira W (irawald_at_hotmail.com)
Date: 08/28/03


Date: Thu, 28 Aug 2003 09:53:39 -0700


System worked great on development computer (IIS and SQL
on the same machine).

Will not work in production environment (IIS and SQL on
separate
computers): "SQL Server does not exist or access denied."

I know that this has been discussed many times. I believe
I tried most of the suggestions - but I still can not get
to SQL Server. I have spent so many hours trying to make
this work. Ultra frustration.

ON the IIS computer:
* User/password is defined on the computer for use by the
application.

* Directory permissions set to permit access
- Temp folder set to read/write/delete
- winnt\microsoft.net\framework set to read only
- winnt\microsoft.net\framework\version\temporary asp.net
files set to read/write/delete

* In IIS:
- Application installed in a virtual directory.
- IIS is set for anonymous access w/user and password
defined.

* Root of virtual directory contains web.config.
- All access for database uses a connection string as
follows:
    integrated security=SSPI;data source=computer;persist
security
info=False;initial
catalog=database;uid=user;pwd=password;

- Authentication set as forms based

* In machine.config
- <processModel .. userName="user"
password="password" ... />

On the sql server computer:
* exact same user/password is validated
* SQL server references the user.
* Database references the user.
* Permissions are set for relevant tables and procedures.



Relevant Pages

  • Re: New to Merge/Replication
    ... ADO.NET 3.0 includes "Synchronization Services" that does not require IIS. ... Hitchhiker's Guide to Visual Studio and SQL Server ... It was my deepest hope that Merge/Replication between SQL Compact Edition and SQL Server 2005 Enterprise Edition would have it's own sync services NOT dependent on IIS. ... You can use merge replication with SQL Server on your main desktop serving as the publisher with SQL Compact on PPC, TabletPC, or other desktops as subscribers, so that would probably be the easiest solution for you. ...
    (microsoft.public.sqlserver.ce)
  • Re: sql 2000 with a frontal IIS 6.0 template XML
    ... If you are using IIS6, you should enable some options on iis configuration ... > I would like to use http to send query to my sql server ... > I've configurated the virtual directory IIS with the sql tool ...
    (microsoft.public.sqlserver.xml)
  • Re: Displaying XML in webbrowser
    ... but does everyone have their own Sql Server that they need to access? ... > for XML support. ... > I can do this because I set up virtual directory in IIS ...
    (microsoft.public.sqlserver.xml)
  • Re: Help on synch to SQL server
    ... from SQL CE to SQL Server from your smart-device application's code. ... This can occur whenever the device has a network path to IIS, ... Unlike merge replication between SQL Servers where you can use RMO ... Ideally I would like to use Sql CE to synch with a SQL ...
    (microsoft.public.sqlserver.ce)
  • Re: SMS_MP_CONTROL_MANAGER error 4960
    ... When I try to restart the IIS it says nothing.... ... Manually restart the SMS Agent Host service on the MP. ... MP encountered an error when connecting to SQL Server. ... The Default Web Site is disabled in IIS. ...
    (microsoft.public.sms.setup)

Loading