Am Getting System Errors When running my VB.NET project

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2006
Posts: 13
Reputation: B.H is an unknown quantity at this point 
Solved Threads: 0
B.H B.H is offline Offline
Newbie Poster

Am Getting System Errors When running my VB.NET project

 
0
  #1
Nov 7th, 2006
My problem is....i have done a project in VB.NET with SQL SERVER as the database.
My project was running perfect until last day when i tried to run the project i got some errors.

Errors :

1) Could not copy temporary files to O/P directory

2) The file Call Center.exe cannot be copied to the run directory, this process cannot access the file because its being used by another process

3) The reference component ADODB could not be found, A wrapper assembly is not registered for this type library

4) The refernece component MSAdodc1.ib could not load this type of library,A wrapper assembly is not registered for ths type of library
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 26
Reputation: NedFrankly is an unknown quantity at this point 
Solved Threads: 1
NedFrankly NedFrankly is offline Offline
Light Poster

Re: Am Getting System Errors When running my VB.NET project

 
0
  #2
Nov 7th, 2006
Originally Posted by B.H View Post
My problem is....i have done a project in VB.NET with SQL SERVER as the database.
My project was running perfect until last day when i tried to run the project i got some errors.

Errors :

1) Could not copy temporary files to O/P directory

2) The file Call Center.exe cannot be copied to the run directory, this process cannot access the file because its being used by another process

3) The reference component ADODB could not be found, A wrapper assembly is not registered for this type library

4) The refernece component MSAdodc1.ib could not load this type of library,A wrapper assembly is not registered for ths type of library
A few things to try. First, kill your output directories (by this, I mean locate your BIN directories and delete the DLL's and EXE's for your project, both Debug and Release). If things continue to give you problems with 'cannot replace' or 'cannot write' you will need to also remove these DLL's from your GAC (for GAC info: http://www.codeproject.com/dotnet/DemystifyGAC.asp)

Some other things:
Rebuild (versus Build) your assembly. This forces all sub-assemblies to be rebuilt from scratch.

Try setting your Copy Local (under Properties for each Reference) to True (if they are already True, try setting them to False, rebuild (it will fail) and then set True and rebuild.) If this does not work, try removing all of your references and add them back to the project.

Finally, if still No Joy, close all of your sub-assemblies, create a brand new solution, and then Add Existing to recreate the entire package.

These are terrible problems to get past , so be prepared to recreate things from scratch - make SURE you save a copy of your code somewhere safe.

Happy Coding!

Ned
Last edited by NedFrankly; Nov 7th, 2006 at 12:02 pm.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 13
Reputation: B.H is an unknown quantity at this point 
Solved Threads: 0
B.H B.H is offline Offline
Newbie Poster

Re: Am Getting System Errors When running my VB.NET project

 
0
  #3
Nov 14th, 2006
Is it Fine if I put a new folder in the Bin...ie Project-->Properties-->Configuration-->Debug-->Output Directory....there i insert a new folder..will my above problem be resolved..tell me
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC