M
Michael Tkachev
Hello,
I need to create an "Excel" file in the ASP.net. But a security system doesn't allow to do it.
What can I do? There is an exception heppens when I try to execute the following row:
Excel.ApplicationClass c = new Excel.ApplicationClass();
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.
Who have any idias?
I need to create an "Excel" file in the ASP.net. But a security system doesn't allow to do it.
What can I do? There is an exception heppens when I try to execute the following row:
Excel.ApplicationClass c = new Excel.ApplicationClass();
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.
Who have any idias?