Ask a Question related to ASP.NET Security, Design and Development.
-
John Giblin #1
Access Denied to sqlConnection
I am trying to make a connection to the Db and everytime I try to open
the connection I get "access denied"
"ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity. ASP.NET has a base process identity (typically
{MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if
the application is not impersonating. If the application is
impersonating via <identity impersonate="true"/>, the identity will be
the anonymous user (typically IUSR_MACHINENAME) or the authenticated
request user."
Now I have asp.net process running under a service account which is
part of the local admins.
web.config settings
<identity impersonate="false"/>
<authentication mode="Windows" />
I have IIS5 running intergrate security.
The Connection string I used through the gui in vs.net which was able
to see the tables. So it can see it.
Does anyone have an idea what this is? Help me please. This is
driving me crazy. I hate MS.
Also, I had it under impersonate = true and the stupid app kept ask
for my username\password\domain. Why is not using the sa account?
Here is my connectiob string.
this.sqlConnection1.ConnectionString = "workstation
id=NYCNJGIBLIN;packet size=4096;user id=sa;data
source=\"nycnjgiblin\\p" +
"erfect\";persist security info=False;initial catalog=SitePages";
any help would be appreciated.
John
John Giblin Guest
-
One With Access Denied, Another With Access, But NotFull
I'm suddenly having access denied/permission problems through Contribute on every page after the templates and their related pages were updated with... -
Web Service + Anon Access, but getting 401 Access Denied Error
I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous... -
Custom Control design time access to SQLConnection on Web Page
Hi I'm developing a server web control and it requires a SQLConnection object. Is there a way at design time to display a list of available... -
Access denied when creating Access application object
In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the... -
access denied on data access pages
I have created data access pages that worked well when I tried them on two separate computer simutaneously, but when we went into production we got... -
Naveen K Kohli #2
Re: Access Denied to sqlConnection
Are you using Windows authentication or moxed mode authentication on SQL
Server?
--
Naveen K Kohli
[url]http://www.netomatix.com[/url]
"John Giblin" <jwgiblin3@hotmail.com> wrote in message
news:3d6785ec.0307150801.371426a2@posting.google.c om...> I am trying to make a connection to the Db and everytime I try to open
> the connection I get "access denied"
>
> "ASP.NET is not authorized to access the requested resource. Consider
> granting access rights to the resource to the ASP.NET request
> identity. ASP.NET has a base process identity (typically
> {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if
> the application is not impersonating. If the application is
> impersonating via <identity impersonate="true"/>, the identity will be
> the anonymous user (typically IUSR_MACHINENAME) or the authenticated
> request user."
>
>
> Now I have asp.net process running under a service account which is
> part of the local admins.
> web.config settings
> <identity impersonate="false"/>
> <authentication mode="Windows" />
>
> I have IIS5 running intergrate security.
>
> The Connection string I used through the gui in vs.net which was able
> to see the tables. So it can see it.
>
> Does anyone have an idea what this is? Help me please. This is
> driving me crazy. I hate MS.
>
> Also, I had it under impersonate = true and the stupid app kept ask
> for my username\password\domain. Why is not using the sa account?
> Here is my connectiob string.
> this.sqlConnection1.ConnectionString = "workstation
> id=NYCNJGIBLIN;packet size=4096;user id=sa;data
> source=\"nycnjgiblin\\p" +
> "erfect\";persist security info=False;initial catalog=SitePages";
>
> any help would be appreciated.
> John
Naveen K Kohli Guest



Reply With Quote

