473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Debugging Problems on Windows Vista

Hi,

I have just installed Visual Studio 2005 on my windows Vista machine,
and everything seems to work well after installing the service pack
and then the vista upgrades.

However, when I try to debug an application, the debugger starts,
launches the project in explorer, but then stops debugging. It pops up
with an error saying:

-----
the following module was built either with optimizations enabled or
without debug information:

C:\Users\myname\AppData\Local\Temp\Temporary ASP.NET Files\root
\assembly....\projectname

To debug this module, change its project build configuration to Debug
Mode.
To suppress this message, disable the "Warn if no user code on launch"
debugger option.
-----

The project build succeeds but I am just not able to debug. Is this a
windows Vista problem?

Please help.

Sep 8 '07 #1
7 2218
"TheDude5B" <ti*******@gmail.comwrote in message
news:11**********************@r34g2000hsd.googlegr oups.com...
The project build succeeds but I am just not able to debug. Is this a
windows Vista problem?
No, it just means that you're trying to debug in Release mode... Switch the
probject into Debug mode, hit Rebuild and then F5...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 8 '07 #2
Aside from what Mark mentions, I have run into this several times. As the
error dialog indicates, you can override this in Options. However, I
remembere always being able to jump right over this and continue debugging
successfully.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"TheDude5B" wrote:
Hi,

I have just installed Visual Studio 2005 on my windows Vista machine,
and everything seems to work well after installing the service pack
and then the vista upgrades.

However, when I try to debug an application, the debugger starts,
launches the project in explorer, but then stops debugging. It pops up
with an error saying:

-----
the following module was built either with optimizations enabled or
without debug information:

C:\Users\myname\AppData\Local\Temp\Temporary ASP.NET Files\root
\assembly....\projectname

To debug this module, change its project build configuration to Debug
Mode.
To suppress this message, disable the "Warn if no user code on launch"
debugger option.
-----

The project build succeeds but I am just not able to debug. Is this a
windows Vista problem?

Please help.

Sep 9 '07 #3
The project build succeeds but I am just not able to debug. Is this a
windows Vista problem?

No, it just means that you're trying to debug in Release mode... Switch the
probject into Debug mode, hit Rebuild and then F5...

What do you mean by this? Do you mean set the <compilation
debug="true"in the web.config file or something else?
I have <compilation debug="true"in the web.config, but the error
still appears. I have had a look around to see if there are any other
settings which i can change, but still the same problem.

Sep 9 '07 #4
Found the problem. It is down to the Vista User security settings. If
I run Vista "As Administrator" the problem goes away.

Sep 9 '07 #5
"TheDude5B" <ti*******@gmail.comwrote in message
news:11**********************@22g2000hsm.googlegro ups.com...
Found the problem. It is down to the Vista User security settings. If
I run Vista "As Administrator" the problem goes away.
Ah yes...

Presumably, though, you mean that you need to run VS.NET 2005 as
administrator...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 9 '07 #6
On Sep 9, 10:21 pm, "Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote:
"TheDude5B" <timbja...@gmail.comwrote in message

news:11**********************@22g2000hsm.googlegro ups.com...
Found the problem. It is down to the Vista User security settings. If
I run Vista "As Administrator" the problem goes away.

Ah yes...

Presumably, though, you mean that you need to run VS.NET 2005 as
administrator...?

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
yes exactly. Have not got used to this feature of Vista yet so keep
coming across problems like this when trying to run different
programs. First thing I will try in the future is to run everything as
administrator. :)

Sep 10 '07 #7
"TheDude5B" <ti*******@gmail.comwrote in message
news:11**********************@o80g2000hse.googlegr oups.com...
yes exactly. Have not got used to this feature of Vista yet so keep
coming across problems like this when trying to run different
programs.
1) Right-click on the item on the Start menu which launches Visual
Studio.NET 2005

2) Select Properties

3) Click Advanced

4) Check Run as administrator

5) Click OK

6) Click OK

7) Launch Visual Studio.NET 2005
First thing I will try in the future is to run everything as
administrator. :)
I strongly advise you *NOT* to do that! Visual Studio.NET 2005 is very much
an exception - hardly any applications need to be run as administrator...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 10 '07 #8

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

Similar topics

16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
40
by: Spiros Bousbouras | last post by:
Do you have an example of an implementation where sizeof(short int) does not divide sizeof(int) or sizeof(int) does not divide sizeof(long int) or sizeof(long int) does not divide sizeof(long long...
1
by: David Lozzi | last post by:
Howdy, Is there a better newsgroup for this? Debugging has changed, i think, in Visual Studio 2005 between XP Pro and Vista Ultimate. When I go to debug a ASP.NET development server starts on...
2
by: Wayne | last post by:
I'm experiencing the following intermittent problem with Access 2003 (Access 2000 file format) under Vista. Sometimes when I close a database by closing the database window I get the following...
5
by: ink | last post by:
Hi all, I cant seem to debug my windows service on my Vista machine. It seems it has something to do with 0 Session. What I would normally do is add the following code to my OnStart() but it...
0
by: Dave | last post by:
We have an application developed for .NET 2.0 that has been working a long time on Windows XP. However, when we put it on Vista, we get all sorts of "Out of Memory" and "Access Violation"...
0
by: stimpy_cm | last post by:
Hi everyone, I’m not a programmer but have a little notion about how things work. I recently downloaded an emulator for my calculator (Texas Instruments Voyage 200), the program uses a library...
1
by: nathanpr | last post by:
I am having problems with adding a deleting a printer port in code for Windows Vista. I am creating the port with AddPortEx() (I know this is obsolete, but the adding works in Vista, so I have no...
4
by: =?Utf-8?B?aGFycG8xNA==?= | last post by:
I have installed firefox 3 for my new vista operated machine. I get the following error message: Could not initialise the application's security component. The most probable cause is problems...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.