User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 427,680 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,285 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 3375 | Replies: 2
Reply
Join Date: Aug 2006
Posts: 13
Reputation: B.H is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
B.H B.H is offline Offline
Newbie Poster

Help Am Getting System Errors When running my VB.NET project

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2006
Location: The Deep South
Posts: 26
Reputation: NedFrankly is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
NedFrankly NedFrankly is offline Offline
Light Poster

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

  #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 11:02 am.
Reply With Quote  
Join Date: Aug 2006
Posts: 13
Reputation: B.H is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
B.H B.H is offline Offline
Newbie Poster

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

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb VB.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 11:17 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC