473,326 Members | 2,127 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,326 software developers and data experts.

Is there a way so I can restart .NET on my machine? thanks!

I don't know much about the core of .NET, but I assume there is a way you
can restart .NET. I have a email sink dll, I compiled it under a machine
with .NET 1.1, it worked fine on my server. Now I want to put it on a
machine with both .NET 1.1 and .NET 2.0, I register it with regasm of .NET
1.1, it didn't work well, so I copied my project to the machine, and
recompile it under .NET 2.0. But it still doesn't work properly. The strange
thing is I can not delete the dll that compiled by .NET 2.0, it says the
file can not be deleted and it is locked. But I did unregister it, in
registry of the machine, I don't see the class neither. Another strange
thing is even I register the old dll(the one I compiled under .NET 1.1),
according the event log I can tell it is the new compiled dll is running. So
it seems there is some kind of mixing. It looks like the new compiled dll
sit somewhere, and that can explain why I can not delete it even I
unregisterred it.

So I am thinking maybe there is a way I can restard the Env. and unlock the
dll? how can I do that?

thanks!
Sep 13 '05 #1
2 3948
David,

Net 2.0 is beta,

Cor
Sep 13 '05 #2
One thing you can try is to download the Process Explorer from
www.sysinternals.com. It can show you which process is locking your
DLL.

Dennis Doomen
ICT Consultant
Ordina Netherlands
www.dennisdoomen.net

Sep 13 '05 #3

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

Similar topics

2
by: John Spiegel | last post by:
Hi all, Is there a way to programmatically restart Windows (2000, specifically), login automatically then start an application? I've been running across some Windows Shell options (which...
18
by: amdishigh | last post by:
We are experiencing the following problems concerning ASP.NET: our ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0 environment, experience frequent session timeout problem....
3
by: John A Grandy | last post by:
In ASP.NET 1.1 and/or 2.0 ..... Is it possible to configure a web-app so that replacement of an .xml file ( physically located under the virtual dir root ) with a newer version of the file...
2
by: Brian Worth | last post by:
I have just upgraded from VB 4.0 to VB .NET 2002. One program under VB 4.0 was able to shut down or restart the (windows XP) machine using a series of API calls. (Getlasterror, GetCurrentProcess,...
2
by: davidw | last post by:
I don't know much about the core of .NET, but I assume there is a way you can restart .NET. I have a email sink dll, I compiled it under a machine with .NET 1.1, it worked fine on my server. Now I...
0
by: Diffident | last post by:
Hello All, I am trying to do a "build" of all files of my web app on my local machine. I know that there is an "aspnet_wp.exe" running forever on my machine and to my knowledge each web app is...
0
by: nate | last post by:
>>> import findertools >>> findertools.restart() Traceback (most recent call last): File "<stdin>", line 1, in ? File...
1
by: symbioid | last post by:
Hello, I'm working on a project, and VMware has problems with suspending the virtual machine. We are accessing the machine through samba. However, when I suspend the VM, it stops the Samba...
5
by: David Thielen | last post by:
Hi; We keep having to restart IIS after ASP.NET kills it. Below is what we have in the event log. Any idea what the problem is? thanks - dave Event code: 3003 Event message: A validation...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.