Access denied error.

A

AB

I am calling an office object in asp.net framework to view an info online
in an excel sheet. Is this a component problem?, because on the remote
server we have office 2000 installed and on the local server we are using
office XP 2002? We have developed locally and upload onto remote server.


Please advice..

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.ComponentModel.Win32Exception: Access is denied

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.



Stack Trace:

[Win32Exception (0x80004005): Access is denied]
System.Diagnostics.PerformanceMonitor.GetData(String item) +372
System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)
+150 System.Diagnostics.PerformanceCounterLib.get_CategoryTable() +80
System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String[]
categories, Int32[] categoryIndexes) +56
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library) +157 [InvalidOperationException: Couldn't get process information
from remote machine.]
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library) +259 System.Diagnostics.NtProcessManager.GetProcessInfos(String
machineName, Boolean isRemoteMachine) +152
System.Diagnostics.ProcessManager.GetProcessInfos(String machineName) +36
System.Diagnostics.Process.GetProcesses(String machineName) +39
System.Diagnostics.Process.GetProcesses() +11
Neo_CustomReport.HeaderPreview.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +29
System.Web.UI.Page.ProcessRequestMain() +724
 
A

Abhijeet Dev

run dcomcnfg on the server, allow aspnet account to access list for the
component u r using .. or try impersonating(in web.config) to some local
user who can access the component.

Abhijeet Dev
 

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

Top