XP Event Error?

L

Larry

I just started using .net 2003 this week. XP-Pro is giving me a Userenv ID
of 1517 when I close XP ONLY after having .net open prior. Here is a copy:

//--------
Event Type: Warning
Event Source: Userenv
Event Category: None
Event ID: 1517
Date: 4/10/2004
Time: 5:42:28 PM
User: NT AUTHORITY\SYSTEM
Computer: LARRYPC
Description:
Windows saved user LARRYPC\Larry Franklin registry while an application or
service was still using the registry during log off. The memory used by the
user's registry has not been freed. The registry will be unloaded when it is
no longer in use.

This is often caused by services running as a user account, try configuring
the services to run in either the LocalService or NetworkService account.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
//--------


So I go to the MS site and enter the event ID and the site gives me nothing!
Has anyone had this happen with .net?

Thank you, Larry.
 
G

Gerry O'Brien [MVP]

Not yet.

Are you running any application when this occurs or just Visual Studio?
 
L

Larry

Not yet.
Are you running any application when this occurs or just Visual Studio?

Just Visual Studio. I unload my firewall and have no other programs
booting. Bare bones. I boot up and run .net, close it, then shut down. I
reboot and check my Events and there it is every time.

I only have one profile, me the administrator so I don't know what it could
be addressing.

Larry.
 
L

Larry

Gerry,

Through lots of rebooting, I found out that this only happens when I use the
debugger. If I just edit files and use help, open and close projects,
anything BUT run a program for debugging, it won't write an event. So the
machine debugger is the culprit.

Larry.
 
G

Gerry O'Brien [MVP]

That narrows it down a little bit more.

Are you positive that the debugger has finished executing prior to you
shutting down?
 
L

Larry

Are you positive that the debugger has finished executing prior to you
shutting down?

Yes, very sure. I can come back from running any code (samples, anything)
and do other things, even leave and come back. Then exit .net and shut
down. Reboot and voila! The event.

I have tried many things including waiting for plenty of time after running
code before exiting.

Thanks, Larry.
 
L

Larry

I have run out of ideas. I cannot simulate that here at all.

Thank you for your help. I even reinstalled XP as it was a two-year old
install, but it still does it. I guess I will go back to programming in
CBuilder5.

Thanks again, Larry.
 
L

Larry

I have run out of ideas. I cannot simulate that here at all.


Gerry,

I found a work-around for this. Not a fix but a way to keep using .net
without the event warnings. I open up Services before shutting down XP and
slect "Stop" for the Machine Debug Manager. I made an entry in the External
Tools to do it fast. Apparantly that debugger is accessing my profile and
NOT letting go.

Larry.
 
G

Gerry O'Brien [MVP]

Well at least you have a workaround.

Strange for MDM to be doing that though.
 

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