473,756 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET InvalidOperatio nException

Hi,

I fire up the Word COM object from ASP.NET and get the following error:

System.InvalidO perationExcepti on: Couldn't get process information from
remote machine. ---> System.Componen tModel.Win32Exc eption: Access is
denied
at System.Diagnost ics.Performance Monitor.GetData (String item)
at
System.Diagnost ics.Performance CounterLib.GetP erformanceData( String
item)
at System.Diagnost ics.Performance CounterLib.get_ CategoryTable()
at
System.Diagnost ics.Performance CounterLib.GetP erformanceData( String[]
categories, Int32[] categoryIndexes )
at
System.Diagnost ics.NtProcessMa nager.GetProces sInfos(Performa nceCounterLib
library)
--- End of inner exception stack trace ---
at
System.Diagnost ics.NtProcessMa nager.GetProces sInfos(Performa nceCounterLib
library)
at System.Diagnost ics.NtProcessMa nager.GetProces sInfos(String
machineName, Boolean isRemoteMachine )
at System.Diagnost ics.ProcessMana ger.GetProcessI nfos(String
machineName)
at System.Diagnost ics.Process.Get ProcessesByName (String processName,
String machineName)
at System.Diagnost ics.Process.Get ProcessesByName (String processName)
at...

I read somewhere that this had to do with turning impersonation on.
However, impersonation is turned on.

Thanks for viewing,
Andre

Sep 2 '05 #1
0 1075

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1402
by: Chi Tang | last post by:
Hi, Why when I close all document windows on my Visual Studio.NET a 'Microsoft Development Environment' dialog box shows up with 'InvalidOperationException: Cannot call Invoke or InvokeAsync on a control until the window handle has been created.' ? Also, my VS.net suddenly won't let me trace into button's event handler. It hangs up if I try to trace to the button click event handler.
0
2169
by: LJ | last post by:
I have been getting this message and can't resolve the problem. I have checked the AntiVirus software and added the application directory to the exculsion list. The application is on a web farm, using SANS for file storage. It seemed to start once we installed the SSL cert. But, that could be just when we noticed the problem. Any ideas would be greatly appreciated. Thanks <!ljr!>
1
6202
by: Trygve Lorentzen | last post by:
Hi, my webservice is running on Win2000 SP4, IIS 5.0 fully patched, connecting to a MySQL database and mainly returning Typed DataSet's from webmethods. After running for a while, generally a few days, the webservice stops responding and the .NET windows app client fails with no informative error message. When I try to run any webmethod from the webservice locally in the browser I first get a "This page cannot be display IE error...
2
4097
by: Mike Fiedler | last post by:
On a client web services request, I have a SoapExtension that is adding a header to the message in the BeforeSerialize stage. If the Web Service request is for an operation with style="document"/use="literal", everything works fine - the header is added, message is serialized and all is ok. If the Web Service request is for an operation with style="rpc"/use="encoded":
4
10363
by: Jos Lavrijsen | last post by:
When i try to re-use brushes or pens over multiple threads, i often get an InvalidOperationException with the message 'object is currently in use elsewhere'. I also tried this by re-using fonts but no problems there. So, it looks like brushes and pens cannot be used in different threads simultaneously. Looks like a dotnet bug to me. This exception is easily reproducible with the following code, both on single
0
1907
by: banduraj | last post by:
I get an System.InvalidOperationException when trying to Serialize a struct that has a type refrenced from another library. The exception is: System.InvalidOperationException was unhandled Message="Unable to generate a temporary class (result=1).\r\nerror CS0012: The type 'SecureSpeak.Protocol.ssContactItem' is defined in an assembly that is not referenced. You must add a reference to assembly 'SecureSpeak.Protocol, Version=1.0.0.0,...
3
14225
by: Joseph Geretz | last post by:
System.InvalidOperationException: WebServiceBindingAttribute is required on proxy classes. My environment: Visual Studio 2005, targeting FX 2.0; I've developed a Web Service which uses DIME to transfer file attachments to and from the server. I'm using WSE 2.0 SP3 which is supposed to support FX 2.0, as far as I know. (We will soon move on to MTOM, however I'm stuck with DIME for now; the solution was originally written for FX 1.1, and I...
2
3861
by: Spam Catcher | last post by:
Anyone know what this error means? The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone). It seems to pop up when I use nSoftware's IPDaemon...
2
4310
by: Jeroen | last post by:
We are experiencing a tuff-to-debug problem ever since we introduced a WebBrowser control into our failry large application. I'm not sure if the problem description below contains enough details, so if I need to elaborate on something please ask for it. We have a UserControl with a WebBrowser on it. This UserControl is instantiated a few times during the program run, depending on user interaction. The WebBrowser then navigates to a local...
4
4346
by: QC | last post by:
Hi, this morning found that my Service had crashed, and the error was "Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized". I have no clue WHY the ConnectionString wouldn't be initialized as I do not play with anything near it in my code. my service is running perfectly from last few years, and the same code executed millions of time. I am using VS 2003, .net 1.1. Do you have any...
0
9431
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9255
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10014
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9819
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5119
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5289
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3780
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2647
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.