Re: Access denied error.

From: Abhijeet Dev (abhijeet_at_abhijeet-dev.net)
Date: 03/22/04


Date: Tue, 23 Mar 2004 01:26:11 +0530

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

"AB" <not@noreply.com> wrote in message
news:uySXm6AEEHA.712@tk2msftngp13.phx.gbl...
> I am calling an office object in asp.net framework to view an info
online
> in an excel ***. 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
>
>
>
>


Loading