Visual Studio :: Debugging Stand-Alone ASPX Pages?
Sep 23, 2010
I inherited a web site which contains many stand-alone aspx pages (with the .NET code in the page rather than in a code-behind file). I'm wondering how to debug these pages; I cannot set breakpoints in them (I can set breakpoints in the code files on the site without issue). I'm using Visual Studio 2008.
View 1 Replies
Similar Messages:
Sep 21, 2010
I'm used to working with VS 2008 and toggling bookmarks in aspx pages was very useful, however in VS 2010 I'm unable to toggle bookmarks using the CTRL + K + K or the actual "Toggle bookmark" button from the bookmarks tool. Is there an option to enable this on the ASPX page, it works everywhere else though.
View 1 Replies
Jun 3, 2010
I get this error when I hit F5 in VS 2008. I have checked that Windows authentication is enabled on the site and it is. I can mannully attach the debugger to the IIS process and it works. What could be wrong? I have tried alot of things without success.
View 2 Replies
Mar 7, 2011
I'm trying to debug my web application on my localhost machine in Visual Studio 2010 and I keep getting this error: "unable to start debugging on web server. The Microsoft Visual Studio remote debugging monitor(MSVSMON.exe) does not appear to be running on the remote computer."
Is there a way I can turn this off as I'm not trying to make any attempts debugging remotely.
View 1 Replies
Feb 9, 2011
I run the start debugging option...it runs successfully. but still is shows start debugging option is shown in the Visual studio 2005 IDE. And one more problem is ::I applied break points in one page and run the application. but those break points are not detected....
View 1 Replies
Sep 7, 2010
I have upgraded a Visual Studio 2005 Web Site in a 32 bit server to Visual Studio 2008 maintaining the same 2.0 framework in a 64 bit server with Windows 2008 R2 Server. The Web Site has several class libraries.
After porting to Visual Studio 2008 2.0 Framework using the Upgrade Wizard, I found that I was unable to hit a break point in the Project code behind files while I was able to in the class libraries. The bin folder has the dlls and the corresponding pdb files for the class libraries. I did start the Web site as an Administrator and made sure whole bunch of IIS7 properties are properly set.
I tried to rebuild the solution as a Web Application in Visual Studio 2008 and gave up that approach as I faced hundreds of error messages pointing to missing references and namespaces inspite of adding whole lot of references and namespaces to the Web.
View 12 Replies
Apr 8, 2010
is there an easy way to debug an application in vs 2008 without actually logging onto my machine as different users? its a winforms app in 3.5 on xp...i know how to do the whole "run-as" option when the program is done and built, but for testing its getting really annoying! maybe something like impersonate that web apps have...anything like that for winforms?
View 2 Replies
May 7, 2010
i put a break point at ADD button, when ever i click on the button the it is not entering into that?
what might be the problem?
previously it has worked but its not working.
View 1 Replies
Apr 29, 2010
I am having an issue in VS 2010 trying to get even the default ASP.NET Web Application to run in Debug mode. I get the error:
"Unable to start program 'http://localhost:1443/Default.aspx'.
The system cannot find the file specified."
I am stumped here and cannot find anything out there with this error.
View 4 Replies
Dec 6, 2010
I have a site that I am developing with VS 2008. I have a breakpoint set in my code behind file. This file is vast as some of it was created with Iron Speed 7.0. What I'd like to do is limit the debugger to the one file. That is, no matter where the code goes it skips over code in other files, and automatially breaks when execution returns to the file I put the break point in. The code is too vast to step a bit at time and choose to step into or out of bit of code. I want it to just debug the current file.
View 1 Replies
Jan 27, 2010
When I click "Start Debugging", VS2005 cannot hit a break point. How can it be resolved?
View 3 Replies
Feb 15, 2011
I have a problem with Visual Studio 2010. When I start debugging it works slowly.
Internet Explorer opens, but the website loads extremely slowly.
My workmate and me work on the same project and he doesn't have any problem like that.
My hardware is 4G memory + Intel Core i5 CPU 3.20 GHz.
I stopped my anti-virus program but it couldn't be resolved.
View 2 Replies
Nov 22, 2010
I have used Visual Web Developer (versions up to 2010) with no problems for several years. Starting last week I am no longer able to run or debug any ASP.Net application locally. I am running Windows XP, IIS 5.1, IE8, Visual Web Developer 2005, targetting .Net 2.0. I am not able to Start Debugging or Start Without Debugging for any project. When I attempt to Start Debugging, IE browses to [URL] instead of to the project I am attempting to run. When I Start Without Debugging, IE opens to about:blank and then when I close that window another IE window opens to [URL]
Maybe irrelevant, but I had the same problem with IE7 and VWD 2010 (versus IE8, VWD 2005). IIS is set to .Net version 2.0. I have the same problem whether I add a virtual directory to my project in IIS or not.
View 5 Replies
Jul 16, 2010
Older machine (2 years), Visual Studio 2008 SP1, Windows 7.
Error message when trying to open previously created mvc2 web app on IIS through Open Web site > Local IIS
"Unable to open the Web site "htpp://localhost/websitename" To access local IIS Web sites you must install the following IIS components:"
(no items on list)
then the open in admin mode notice.
I have tried everything I have found on the internet for 3 days.
View 3 Replies
Mar 14, 2011
I want to edit my code while debugging. Some projects i am able to work but in some rojects i am not. When i edit my code I got the following error:"Changes are not allowed while code is running or if the option "Break all processes when one process break' is disabled. The option can be enabled in Tools, Options, Debugging."I tried to do as per the above instructions but still i am getting the same error. Any one know the solution plz help me. By the way i am using Windows application and using VS 2008
View 2 Replies
Oct 13, 2010
I want to use the web.config transformation that works fine for publish also for debugging.When i publish a web app, visual studio automatically transforms the web.config based on my currenc build configuration.How can i tell visual studio to do the same when i start debugging.On debug start it simply uses the default web.config without transformation.
View 5 Replies
Dec 22, 2010
I have IE V 6 and firefox V 3.6 installed on my computer, when I debug my website with asp.net by Visual studio 2008 it shows my page in IE V 6,I want to debug my site with firefox, because VB 2008 shows me this MSGhttp://www.mediafire.com/i/?i0r5b7mi260wcb3
View 3 Replies
Jul 11, 2010
I.E. is not my default browser (Google Chrome is). However I would like to use I.E. as my browser when debugging from within VS2010. How do I tell VS2010 to use I.E. as the session debug browser without setting I.E. as my default browser?
View 1 Replies
Jul 28, 2010
Is there any way to debug, or just simply run an ASP.Net page or project without using Local Host? F5 or Ctrl F5 sometimes load the page fairly fast and sometimes it just does not happen. (At least not within my span of patience.) It seems that when it stalls, if I close the browser or click Stop Debugging, and then try again, it happens! But it is never consistent and usually frustrating.
View 2 Replies
Nov 13, 2010
i have 2 problems with running&debugging my web projects using visual studio 2008 pro :
1.when choosing to run without debugging , IE is being opened (which is ok , since i chose it to be the default one to be opened via VS ) , and yet when i close IE , it is being opened once again .
2.when choosing to debug , visual studio crashes and IE is being frozen (can only be killed via task manager) ,even when i don't have the "debugger;" string in the javascript code.
i've tried to re-install VS , and also uninstall it and then re-install it, but it didn't help. i have windows xp sp3 home edition 32bit. what should i do? EDIT:about #1 , it seems that from some reason, VS didn't install "Microsoft Visual Studio Web Authoring Component" , and this is also why i had another problem of not being able to use the design/split mode . after installing this component, it seems that IE doesn't run twice anymore. however, i still have crashes of VS when trying to debug (problem #2) ,even thogh script debugging is enabled on IE. the weird thing is that on maxthon2 , which uses IE engine, debugging works just fine.
View 2 Replies
May 6, 2010
Whenever I start a debug session for my Silverlight 4 app, IE first opens on top, then disappears behind VS 2010. It does this regardless of whether there are any breakpoints set or not and it's starting to get very annoying. Is there a setting to stop this happening?
View 3 Replies
Feb 1, 2011
I have my local Dev environment VS2K8 (ASP.NET) and our Dev server with no Dev tools. I have an app that runs just fine locally, but once I move to the Dev server I get an error. Another part of the problem is that I am moving the compiled dll for the website so I am not even getting the .cs line in the event log so it is very difficult to debug on the Dev server.
View 1 Replies
Jul 12, 2010
A .net web service is using C language dll. I would like to debug the C code in VC++ 6.0 whilst it's functions are called from .NET web service.
There is no attach process option in VC++6.0 to give aspnet_wp.exe.
how to debug C code called .NET web services.
View 2 Replies
Jan 14, 2010
I got a probem when debugging web application using VS 2008. Here is the situation:I marked two breakpoints, one in the Page_Load event and the other on the button click event. When the debugger hit the breakpoint in the page_load event, everything was fine but when it hit the breakpoint in the button click event, VS 2008 suddenly stopped debugging. It seemed that the IIS worker process was terminated.I really don't understand this situation.
View 5 Replies
Jul 24, 2010
I'm trying to debug sitecore 6 asp.net code using visual studio 2008 (Windows server 2003 OS), concretely i am trying to get breakpoints to work. I tried setting the breakpoint and then on VS, debug-> attach to process.. -> IIS web server process, but nothing happens when i browse to a certain aspx where a breakpoint is located at the beginning of the Sitecore.Web.UI.WebControl.DoRender method
I tried setting on the website properties home directory->configuration->debugging and check both client-side and server-side debugging but nothing changes. Tried stopping the website, recycling the appPool and restarting, reataching the debugger and nothing happens
View 2 Replies