asp.net user trying to run outlook application

D

David Pretorius

Hi,

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.

Regards

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\203.39.161.5\orderentry.aspx.vb Line: 323
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top