943,965 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 5763
  • VB.NET RSS
Nov 7th, 2006
0

Am Getting System Errors When running my VB.NET project

Expand 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
Similar Threads
B.H
Reputation Points: 10
Solved Threads: 0
Newbie Poster
B.H is offline Offline
13 posts
since Aug 2006
Nov 7th, 2006
0

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

Click to Expand / Collapse  Quote originally posted by B.H ...
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.
Reputation Points: 10
Solved Threads: 1
Light Poster
NedFrankly is offline Offline
26 posts
since Nov 2006
Nov 14th, 2006
0

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
B.H
Reputation Points: 10
Solved Threads: 0
Newbie Poster
B.H is offline Offline
13 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: help with a project(tomagatchi clone)
Next Thread in VB.NET Forum Timeline: Telephone network simulation





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC