![]() |
|
|
|
#1 |
|
I have created a simple COM+ server object using .NET (C#)
I want the COM+ component to connect to a database and i want to use the user and password inserted in the Identity TAB in Component Services Console. When I use the component display the error. ---------------------------------------------- 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. To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access. -- LUIS ESTEBAN VALENCIA MICROSOFT DCE 3. MIEMBRO ACTIVO DE ALIANZADEV http://spaces.msn.com/members/extremed/ Luis Esteban Valencia |
|
|
|
|
#2 |
|
Posts: n/a
|
Check out this faq for known problem with dc,
http://support.microsoft.com/default...;en-us;Q315158 -- -Saravana http://dotnetjunkies.com/WebLog/saravana/ www.ExtremeExperts.com "Luis Esteban Valencia" <> wrote in message news:eShfHsN$... > I have created a simple COM+ server object using .NET (C#) > > I want the COM+ component to connect to a database and i want to use the > user and password inserted in the Identity TAB in Component Services > Console. > > When I use the component display the error. > ---------------------------------------------- > 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. > > To grant ASP.NET write access to a file, right-click the file in Explorer, > choose "Properties" and select the Security tab. Click "Add" to add the > appropriate user or group. Highlight the ASP.NET account, and check the > boxes for the desired access. > > -- > LUIS ESTEBAN VALENCIA > MICROSOFT DCE 3. > MIEMBRO ACTIVO DE ALIANZADEV > http://spaces.msn.com/members/extremed/ > > Saravana |
|
![]() |
| Thread Tools | Search this Thread |
|
|