Debugging Not Working With IIS 7?
Mar 1, 2011I tried to running a website in debug more (F5), and I get the following error message. Note, that I am using a local IIS 7 server on windows 7 64 bit machine.
How can I get the debugger to work?
I tried to running a website in debug more (F5), and I get the following error message. Note, that I am using a local IIS 7 server on windows 7 64 bit machine.
How can I get the debugger to work?
Just upgraded my MVC application to mvc 2 and visual studio 2010 and now I am unable to edit the views while it is running (debugging). Is this a known problem and what is the fix?
View 9 Repliesi 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.
I moved from VS2008 running on XP 32 bit to VS2010 running on Win7 64 bit and just noticed that I can't debug in NUnit like I used to.
On my old system, I just went to Debug|Attach to Process, chose NUnit.exe, and ran my tests from the NUnit GUI. VS2008 would stop at the breakpoints just as normal.
Now when I try this using NUnit 2.5.5.10112 on the new configuraiton it just skips over my breakpoints.
I had the strangest bug yesterday while trying to debug in vs.net 2005....
I had an '05 web application. I clicked the "Run" button to start debugging, and the webpage popped up fine. I could run through the pages fine. Everything seemed fine....UNTIL!
Until I tried to start inserting breakpoints into my code. The application ignored them. In addition, I noticed my little green visual studio "Start Debugging" arrow (which is normally greyed out while in debug mode) was green. It was as if visual studio completely detached itself from my website I was trying to debug.
After playing around with it for a while, I realized I also had a vs.net 2008 solution open as well. My '08 solution wasn't in debug mode or anything, it was just sitting there open. I just happened to close it, not thinking anything of it, and presto! My 2005 debugger started working again!
So basically, I can't debug an '05 solution (or at least a web solution, as that's all I tried) while I also have an '08 solution open.
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 RepliesI'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.
I am running Visual Studio 2010 (as Admin), IIS 7 on Windows 7 x64. I am able to run the ASP.NET web site in IIS 7 without debugging just fine, but when I press F5 to debug it, I get: Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging. Unfortunately the help link is not helping me much and leads down a heck of a large tree of things. I checked the following:
Security requirements — I don't recall having to do anything special before. The worker process in IIS7 is w3wp.exe. It says that if it's running as ASPNET or NETWORK SERVICE I must have Administrator privileges to debug it. How do I find out if I need to change something here? Web site Property Pages > Start Options > Debuggers > ASP.NET is checked. Use custom server is set to the URL of the site (which works fine without debugging). Debugging is enabled in web.config. Application is using ASP.NET 3.5 (I want to move to 4.0 eventually but I have some migration to deal with). Application pool: Classing .NET AppPool (also tried DefaultAppPool). Surely it shouldn't be that hard to install IIS, VS, create a web site, and start testing it?
I have a vb.net web application in visual web developer 2008 with a dll file and i need to debug a method in that dll. I also have project source files for the dll file itself. How could i make the web application use the source instead of the dll file so that i'd be able to debug it? I've tried debugging the dll project itself, but it's not a very good solution, because it seems the dll depends on the web application settings and data and it would simply be too much work to get it working.
View 1 Repliesmy client/iis (not sure which) usually times out after about 30s - 1 minute while im debugging (stepping through code) which not only causes me to lose my spot and have to start over (usually stepping faster, making more mistakes) but the IIS Debug session closes completely and I have to warm up the entire session again.
What's the best way to get more time out of a debugging session?
Debugging a vanilla 3.5 Web Site (not app) on IIS 7.5 Classic Pipeline
I have an SMTP contact form here URL...contact that is just not working. I have checked twice with my Web hosting service about SMTP credentials and all is fine. I have asked three other people to check my SMTP code and each tells me the code works on their servers (gmail, for example).I have started to debug my code and get an unrelated JS error which, I am told by one JS top dog, is irrelevant to the form problem I have.
I assume, therefore, that the problem lies deep in the code. In order to debug it, do I just select each file from App_Code, bin, Scripts, etc, - the whole Solution Explorer - and select Debug?
Yesterday I've installed IE8 but now my debugging and breakpoints does not work in VS 2005! How can I make it work again? Is it a special browser setting?
View 2 RepliesFirst of all, this is my first attempt at a silverlight app and it's a prototype. I have a pre-existing solution with multiple projects. One of those projects is a web portal that has a services directory and publish a .asmx. I added the silverlight app to my solution.When I run the silverlight prototype, it gives me the message: "The silverlight project you are about to debug uses web services. Calls to the web service will fail unless the silverlight project is hosted in and launched from the same web project that contains the web service." That's fine. How do I do that? When I run the silverlight app directly, it runs in the browser as
"C://file/.../PrototypeTestPage.html"
I tried taking that HTML file and adding it to my portal and then navigating to the HTML file. That just gives me a blank page. After the page loads, the browser shows a "Waiting for localhost..." as if it's making the service calls, but my breakpoints on the service calls aren't being called. Can someone give me some pointers?
If I have a dll in bin (in a dev environment) that I need to debug and the dll doesn't currently have its associated PDB file in bin, what's the best way to get the PDB file into bin (if I have the source code of the dll)? Will it work to just copy the PDB to bin, or if I re-add the reference to the source dll through visual studio will that also bring in the pdb?
View 1 RepliesI've tried to debug sample ASP.NET and ASP.NET MVC applications in MonoDevelop 2.4 (on Mono 2.8 on Windows 7) but breakpoints doesn't work.If debugging MVC Application MonoDevelop prints the following into the output:
Mono.Debugger.Soft.VMDisconnectedException: An exception of type "Mono.Debugger.Soft.VMDisconnectedException" thrown.
at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
at Mono.Debugger.Soft.Connection.Type_GetInfo(Int64 id)
[code]...
is it possible to debug an ASP.Net-Website with a post-request and post parameters? Visual Studio 2010 only debugs withGET and no parameters and I wasn't able to find any option about this.
View 1 RepliesI am having real trouble with a site I have to change that uses urlrewritingnet. The site works great when I run it in IIS however when I run it in VS2008 the pages have no CSS or JS. This is a real pain as it relys heavily on JS and I cannot debug without it.Would it be better just to turn urlrewritingnet off when working in VS? if so how would I go about it?
[Code]....
When I try to start my application in debug mode (F5), 1 out of three times IE opens with a blank screen, and Visual Web Developer says it cannot start the application. Sometimes it also says "Element not found". I can only shut down IE by using the task manager.
View 6 RepliesMy webpage contains :
I did a break points on the Tools.JS , but while debugging I didn't found my JS in Script Documents (Run Time mode) , and i remarked the exclamation message on my BP saying that this break point willn't be take in mind cause the JS document isn't charged.
My question is : Is there another way to load a JS to be available in the debugging mode? and how could i debug my JS in this case ?
How to debug a web service localhost after hosting the webservice in IIS
i am not able to find a solution how to debug a web service locally . ie
i am not able to put a breakpoint in afterdeserialize and before serialize method
can any provide a sample code..
Any help
How do i disable script debugging of IE using C# code?
View 1 Repliesis it possible to change my debuging kyes instead of function keys..
because am using the laptop and always i have to press "fn" key to prss the f10 or f11
is there any solution ..or can i permanantly press the fn click event ?
I put a breakpoint on a Page_Load method for a .aspx page and I'm getting the following error when trying to run in debug mode:Quote:The breakpoint will not currently be hit. No symbols have been loaded for this document.I checked the "Modules" window and the DLL for this project is not listed there, but it does list all the DLLs for the other projects in the solution. I also checked web.config and verified that debug="true".
View 5 RepliesWe are trying to add a new page to a running web application. such that a new dll and aspx file are being added. I've setup break points in the code file and Built the application transfering the dll to the remote machine bin file and the aspx page to a folder within the web application. Note this folder is not in the same folder hierarchy as it built in. I'm not sure if thats the problem. Basically we are appending new functionality to a web application.I've copied the correct Remote Debug Monitor to the server and have it running.
View 1 RepliesI have two projects: A web application project, that has a webpage that hosts a Silverlight application, as well as a web service A Silverlight application project, the one hosted in the above web application
If I debug the Silverlight application, it wants to run this with a generated web page, which will of course not start my web application, and web service calls fails due to some cross-site security model. So even if I have the web application running, the Silverlight application won't use it.
If I debug the Web application (that is, set it as a start project and hit Debug), then the Silverlight application is apparently correctly hosted, but I can't debug it. Any breakpoints in it shows up as those hollow circles.
So what am I doing wrong? How should I configure my projects so that I can start the web application, host my Silverlight application, and debug it?
I'm betting it is one of those "dough" moments when someone tells me, but I can't figure it out.
This is Visual Studio 2008, .NET 3.5 and Silverlight 3.