473,703 Members | 2,513 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 1857
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
1292
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
4073
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
1743
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
1656
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
1447
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
2049
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
7214
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
5567
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
8740
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
8657
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9094
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
8988
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
7835
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...
1
6580
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4415
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...
2
2411
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2044
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.