473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

GetProcess().ProcessName call hangs in the Enterprise Library

Hi,

I've been having a very weird problem in connection with using the
Enterprise Library. I'm programming a Windows Service and utilise the
logging and configuration component. During the initial loading of my
own configuration file I log the status because I also do some checks
to assure that the file is there, etc. In one of these log statements
the software hangs. If I Debug I find that the Enterprise Library is
trying to do something with the PerformanceCounter and in the process
of that calls Process.GetName which in turns calls
PerformanceMonitor.GetData() (an internal method of .NET) and hangs in
there.
I'm using Windows 2003 Server Enterprise Edition with SP1 and .NET 1.1
with all the updates, etc.

What I have done so far:
- I've checked the rights of course and also opened up the perfmon to
check if I have some problems there - it seems ok so far.
- I've roamed the newsgroups and found an article which seems to
describe my problem:
http://groups.google.de/group/micros...46b539755acc4b
though there is no solution unfortunately. There seems to be some kind
of constellation of setup of windows which leads to this issue. I've
2-3 other articles which report of similar problems but also without
Solution.

I would appreciate any help,

Eduard Ralph

Jan 12 '06 #1
1 1316
I'm having the same problem - call to ProcessName hanges in a service
on windows XP SP2 framework 1.1

Happens 80% of the time when running as a service, and never when
running as a console application
* it even weirder - another service with the same call - start 95% of
the times (hangs 5% or less)

The call to ProcessName was placed in the first line of the Main.

Any help from Microsoft or MVP will be appreciated

Dekel

Feb 1 '06 #2

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

Similar topics

3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
1
by: JD | last post by:
We have two web service machines. Call one WS1 and the other WS2. They are seperated by a firewall. WS1 handles web service calls and also calls web services provided by WS2. Both machines do not...
0
by: NoelRam | last post by:
Hi, I am finishing a winform vb application that works fine in my computer but when I installed it in the client computer hangs after a while. Any other error appears in the log generated by my...
0
by: Patrick.O.Ige | last post by:
We have some issues after installing Enterprise Library. When i run the project once it loads IE succesfully but after closing it and openeing another IE window it loads and never finishes so it...
16
by: Jon | last post by:
Hello all, We have a strange problem with our app. If the database table to which the app is writing is open, the app hangs and just takes ages. Why would this be so? Thanks, Jon
1
by: GaryDean | last post by:
I now have installed (from the same install) Enterprise Library - January 2006 and Enterprise Library - June 2005. The install for these two was called Enterprise Library for .Net 2.0. (not...
20
by: TomLasky | last post by:
Hi everyone, I ran into a road block and cant seem to find anything on google. I need to check all open windows/processes to see if certain software is running on the system. I was going to go the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.