DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   Am Getting System Errors When running my VB.NET project (http://www.daniweb.com/forums/thread60799.html)

B.H Nov 7th, 2006 4:16 am
Am Getting System Errors When running my VB.NET project
 
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

NedFrankly Nov 7th, 2006 12:00 pm
Re: Am Getting System Errors When running my VB.NET project
 
Quote:

Originally Posted by B.H (Post 273125)
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

B.H Nov 14th, 2006 5:54 am
Re: Am Getting System Errors When running my VB.NET project
 
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


All times are GMT -4. The time now is 11:10 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC