467,161 Members | 993 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

asp.net user trying to run outlook application


trying to run an outlook and winfax pro applications from vb .net web
application program.

I have tried many setups from the impersonation and changing authentication.

I am running xp on one machine which will allow winfax pro to run, but not
outlook. The windows advanced server 2000 won't run either.

I do not want to have people logging on to run the application.


David Pretorius

Access is 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.UnauthorizedAccessException: Access is 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.

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.

Source Error:

Line 321:
Line 322: 'Insert your code that runs under the security context of
the authenticating user here.
Line 323: Dim myApplication As New Outlook.Application
Line 324: 'impersonationContext.Undo()
Line 325: End Sub

Source File: c:\inetpub\wwwroot\\orderentry.aspx.vb Line: 323
Nov 17 '05 #1
  • viewed: 2423

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by John | last post: by
5 posts views Thread by Norsoft | last post: by
7 posts views Thread by John.NET | last post: by
reply views Thread by esutcliffe@integrity-comm.com | last post: by
23 posts views Thread by andyoye | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.