A
Anthony Benbrook
Hello
I've read many articles on this subject, but most seem to be concerned
with integrated security. I'm shooting for basic SQL Authentication
I have an IIS server on a standalone machine on our network; not part
of the domain. My ASP.NET application has a connection string to a
SQL Server on the domain. The connection string uses a login/password
for a basic SQL Authentication account. Attempting to connect with
this conn string produces the fabled "SQL server does not exist or
access denied" error.
Meanwhile, I am also unable to connect to this SQL server as a locally
logged in user from Enterprise Manager etc. UNLESS I use Windows
Explorer to navigate to the SQL Server's file-share, and log in with a
domain account when prompted. I am then able to connect via
Enterprise Manager. Magic!
My understanding is that by logging into the file share with the
domain account, I am establishing a trust between the standalone
machine and the domain machine. This allows access to the SQL server
in the context of the local non-domain user. (Using the same SQL
Authentication login/password in the conn string)
The question is, how can I establish this same trust for my ASPNET
worker process so that it might access the SQL Server with the conn
string?
This is only for development purposes, and needn't be the cleanest or
most secure solution. I would like to avoid adding the IIS machine to
the domain.
Thanks for any info or clarification!
Tony
I've read many articles on this subject, but most seem to be concerned
with integrated security. I'm shooting for basic SQL Authentication
I have an IIS server on a standalone machine on our network; not part
of the domain. My ASP.NET application has a connection string to a
SQL Server on the domain. The connection string uses a login/password
for a basic SQL Authentication account. Attempting to connect with
this conn string produces the fabled "SQL server does not exist or
access denied" error.
Meanwhile, I am also unable to connect to this SQL server as a locally
logged in user from Enterprise Manager etc. UNLESS I use Windows
Explorer to navigate to the SQL Server's file-share, and log in with a
domain account when prompted. I am then able to connect via
Enterprise Manager. Magic!
My understanding is that by logging into the file share with the
domain account, I am establishing a trust between the standalone
machine and the domain machine. This allows access to the SQL server
in the context of the local non-domain user. (Using the same SQL
Authentication login/password in the conn string)
The question is, how can I establish this same trust for my ASPNET
worker process so that it might access the SQL Server with the conn
string?
This is only for development purposes, and needn't be the cleanest or
most secure solution. I would like to avoid adding the IIS machine to
the domain.
Thanks for any info or clarification!
Tony