Solved

error compiling an application on new machine

Posted on 2006-11-13
6
234 Views
Last Modified: 2010-04-23
I've picked up a windows app (vb.net 2005) compiled on somebody elses machine. When I try to compile it on my own machine, I get the error

"Error      16      Unable to create directory "D:\xxx\Lib\vb.net\". The device is not ready.


That directory doesn't exist on my machine - so I want to change it. Where, from within the IDE would this be configured?

I've found it in file  appname.vbproj.filelist in the obj directory, so I deleted all the stuff in obj and bin directory and re-compiled, but I'm still getting the same error.



0
Comment
Question by:darrenwright
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:doraiswamy
ID: 17929296
Try creating an empty project and add all the existing files manually.
0
 
LVL 13

Expert Comment

by:newyuppie
ID: 17929526
try looking in the project properties under the Debug tab that you dont have any command line calls to directories that do not exist in your computer.
0
 

Author Comment

by:darrenwright
ID: 17929621
don't have any command line calls
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 13

Expert Comment

by:newyuppie
ID: 17929711
and you also have the WorkingDirectory good? (on the same debug tab)
0
 
LVL 13

Accepted Solution

by:
newyuppie earned 200 total points
ID: 17929725
also in the Compile tab, in the build output path, even though you may just see \bin, press the browse button anyway and check that you are indeed saving to the \bin directory on your drive and not on drive D:

finally, have you copied all of this project into your hard drive (C:)? or are you opening and trying to compile directly from the CD??
0
 

Author Comment

by:darrenwright
ID: 17929976
got this working now. The build output path was pointing to bin\release on my C: drive, but no amount of saving and re-compiling would get rid of the error. If a viewed the project in notepad, it still showed d:\xxx\lib\vb.net as the outputpath.

In the end I changed the path, from the IDE, from bin\release to bin\release\xxx. This compiled successfully. I then changed it to bin\release\ again.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question