PLEASE HELP: Problem with security

From: Bill Carpenter (bill.carpenter@freeborders.com)
Date: 07/22/02


From: "Bill Carpenter" <bill.carpenter@freeborders.com>
Date: Mon, 22 Jul 2002 10:14:13 -0400


I have a c# web application that accesses a SQL server database. If I
install the web app under the root InetPub/wwwroot/applicationname then it
works fine but if I move the directory outside of Inetpub then I get the
following error:

SQL Server does not exist or access denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: SQL Server does not
exist or access denied.

I have given ASPNET and everyone else full rights to the directory and that
doesn't help. So the only way I can get the apps to work is move them into
the inetpub wwwroot directory. Does anyone know how I can fix this?

Thanks for any help.

Bill Carpenter



Relevant Pages

  • Re: PLEASE HELP: Problem with security
    ... When you moved the web app to another folder, did you make sure you have the ... And does the ASPNET account have access to the SQL Server? ... > the inetpub wwwroot directory. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: PLEASE HELP: Problem with security
    ... if it worked under inetpub then the problem is probably not the ASPNET ... > How do I make sure ASPNET has access to SQL Server? ... So the only way I can get the apps to work is move ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Development/Production Box .Net
    ... What are the best ways for Developers to access VStudio,IIS and SQL server! ... For example i want to have a server A(which has IIS and SQL Server but no ... Is it possble to have the INETPUB in another directory apart from the C ...
    (microsoft.public.dotnet.framework.aspnet)
  • Development/Production .Net Box Installation
    ... What are the best ways for Developers to access VStudio,IIS and SQL server! ... For example i want to have a server A(which has IIS and SQL Server but no ... Is it possble to have the INETPUB in another directory apart from the C ...
    (microsoft.public.dotnet.framework.setup)
  • audit tables, delete triggers and sql server authentication
    ... i have a web app connecting to a sql server using sql server ... the web app however, is using windows authentication. ... i have an updatedby and an updatedate. ... how can the trigger know ...
    (microsoft.public.inetserver.asp.db)

Loading