473,785 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't start program in debug mode

I am developing an application using C# Express and last night a
strange event occurred. For no apparent reason, I am receiving error
messages such as:

Error 1 Unable to copy file
"obj\Release\PB Scheduler.Form1 .resources" to
"obj\Debug\PBSc heduler.obj.Rel ease.PBSchedule r.Form1.resourc es". Could
not find file 'obj\Release\PB Scheduler.Form1 .resources'. PBScheduler

There are six in total of similar type. A setting must have changed
but I am not sure how. Anybody have any ideas?

Thanks, MJC
Feb 13 '06 #1
3 1859
Michael J Cohen wrote:
I am developing an application using C# Express and last night a
strange event occurred. For no apparent reason, I am receiving error
messages such as:

Error 1 Unable to copy file
"obj\Release\PB Scheduler.Form1 .resources" to
"obj\Debug\PBSc heduler.obj.Rel ease.PBSchedule r.Form1.resourc es". Could
not find file 'obj\Release\PB Scheduler.Form1 .resources'. PBScheduler

There are six in total of similar type. A setting must have changed
but I am not sure how. Anybody have any ideas?


open build -> configuration manager and select 'Debug' instead of
'Release' and rebuild. Also make sure that when you rebuild no other
instances of your program are running so all files can be overwritten.

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 14 '06 #2
On Tue, 14 Feb 2006 00:53:15 -0800, "Frans Bouma [C# MVP]"
<pe************ ******@xs4all.n l> wrote:
Michael J Cohen wrote:
I am developing an application using C# Express and last night a
strange event occurred. For no apparent reason, I am receiving error
messages such as:

Error 1 Unable to copy file
"obj\Release\PB Scheduler.Form1 .resources" to
"obj\Debug\PBSc heduler.obj.Rel ease.PBSchedule r.Form1.resourc es". Could
not find file 'obj\Release\PB Scheduler.Form1 .resources'. PBScheduler

There are six in total of similar type. A setting must have changed
but I am not sure how. Anybody have any ideas?


open build -> configuration manager and select 'Debug' instead of
'Release' and rebuild. Also make sure that when you rebuild no other
instances of your program are running so all files can be overwritten.

FB

Frans,

Thanks for your reply. I am unable to find the menu item or toolbar
selection to get to the configuration manager. I tried using
Microsoft help, but I don't seem to have the menu or toolbar choices
it describes.

MJ Cohen
Feb 15 '06 #3
Michael J Cohen wrote:
On Tue, 14 Feb 2006 00:53:15 -0800, "Frans Bouma [C# MVP]"
<pe************ ******@xs4all.n l> wrote:
Michael J Cohen wrote:
I am developing an application using C# Express and last night a
strange event occurred. For no apparent reason, I am receiving error >> messages such as:
Error 1 Unable to copy file
"obj\Release\PB Scheduler.Form1 .resources" to
"obj\Debug\PBSc heduler.obj.Rel ease.PBSchedule r.Form1.resourc es". Could >> not find file 'obj\Release\PB Scheduler.Form1 .resources'.
PBScheduler >> There are six in total of similar type. A setting must have

changed >> but I am not sure how. Anybody have any ideas?

open build -> configuration manager and select 'Debug' instead of
'Release' and rebuild. Also make sure that when you rebuild no other
instances of your program are running so all files can be
overwritten.

FB

Frans,

Thanks for your reply. I am unable to find the menu item or toolbar
selection to get to the configuration manager. I tried using
Microsoft help, but I don't seem to have the menu or toolbar choices
it describes.


Load the project, then you'll see the Build menu and at the bottom the
configuration manager option, in that build menu.

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1299
by: Steve | last post by:
Error message: "Unable to start debugging on the web server. Unable to map the debug start page to a machine name." I can no longer run the debugger from my local PC for a project on our web server. You know, F5 in Visual Studio. I can run in debug mode for a project on my local web server. The problem began one day about 3 weeks ago when I ran the project in debug mode and somehow ended up breaking the .NET framework. Thank you...
2
4079
by: PJ | last post by:
I'm at the end of my rope, I've tried everything I can think of and, while the problem is all over google, no answer has worked for me. I'm getting the following error while trying to start my web project in debug mode. "Error while trying to run the project: Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server. Would you...
16
1751
by: Dean R. Henderson | last post by:
I have a project built for ASP.NET that recently started running really slow in debug mode (it takes about 10 seconds or more to step from one line of code to the next). This just started recently and only impacts one ASP.NET project. I have some other ASP.NET projects that I can step thru with the debugger with almost instant response. I also have some Windows Forms projects that work normally. I am running Visual Studio 2003 and...
1
1659
by: John Holmes | last post by:
My application is ready to deploy and I've set debug=false in the web.config file and configured the app for release mode. When I try to run the app from the IDE, I get the following error message: "Error while trying to run project: Unable to start debuggin on the web server. The project is not configured to be debugged. Click Help for more information." I'm not sure why it won't let me run the app from Visual Studio if it's not in...
2
1451
by: Steve | last post by:
Error message: "Unable to start debugging on the web server. Unable to map the debug start page to a machine name." I can no longer run the debugger from my local PC for a project on our web server. You know, F5 in Visual Studio. I can run in debug mode for a project on my local web server. The problem began one day about 3 weeks ago when I ran the project in debug mode and somehow ended up breaking the .NET framework. Thank you...
4
2055
by: Randall Parker | last post by:
XP Home does not come with IIS. Can one use VS 2003 or some other tool to view aspx pages one is developing and do that on XP Home without having IIS on the machine?
8
7218
by: vtxr1300 | last post by:
I've followed 2 very similar tutorials on creating a windows service and an installer. But, after successfully compiling it, I try to do the InstallUtil command, but I get a badimageformatexception. I tried to do some searching on that exception, but all I could find was a small blurb on MSs site about C++ which I'm not using. Can anyone see a problem in this code? Thanks. using System; using System.Collections.Generic; using...
8
5570
by: Jothishankar | last post by:
Hi, I am new to c#. I am trying to build an application that does backup of files to an external hard disk. My application behaves strangely. When i run the application under debug mode (F5), it works properly. But when i run it in normal mode (Ctrl+F5) the program stalls in the middle. I use a couple of worker threads which run successively. The first one
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10161
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8986
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5390
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5523
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2890
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.