Contact Me

Contact Us
For an informal discussion

Everyone's business is different. Our business is software - ask where we can help.
eMail: john at appsolo.com

Quick Note on Debugging problem in VS 2010

Posted on Monday, 4th July, 2011

 

 

 

 

 

 

 

I’m currently working on a project that involves an .ashx page with code behind and I was trying to debug it when I came across this error. A lot of confused people out there talking about this error in different situations.

2011 07 04 2321 Symbols not loaded thumb Quick Note on Debugging problem in VS 2010

The solution to this in this in my case which may help others is in two steps

1. in the mark-up for the .ashx file make sure you specify the debug=true attribute

<%@ WebHandler Language="C#" CodeBehind="FileUpload.ashx.cs" Class="SilverlightFileUploadWeb.FileUpload" debug="true"%>

2. Then make sure that under the properties for the website part of you application has native Code debugging set to true. VS will then load the debug symbols for the .ashx ASP page and allow breakpoints in the server code.

 

2011 07 05 0000 Project settings thumb Quick Note on Debugging problem in VS 2010

I have to say I had to stumble around for a long time to figure this out and the solution is 90% intuition and the 90% picking through other peoples posts and yes that is 180% of my time!! The MS information on the debugging process is rank and I’ve seen so much disparity in ideas on this error that I points to (as usual) it raising it’s ugly head in different circumstances. But this is my story and now I can move on to finding out where the server side errors are. If you want to be further boggled take a look at MS’s description of what they think native code is about. It’s counter intuitive. What’s it all about MS!!

Comments are closed.

latest news

Running a web site hosting SL4 OOB on local host using II express

Posted on Saturday, 4th February, 2012

Free Tools available:
IIS Express free download
Visual Studio 2010 express free download (there might be a licensing issue here)
or Visual Web developer express 2010
SQL Server 2008  Express R2 free download (2010 version is available in RC0 version)
Making sure that IIS Express is installed you can develop against it
So you create your web site and client [...]

Testimonials

Excellent design skills

Posted on Sunday, 2nd May, 2010

We at Taxonomy.ie are happy to be associated with Appsolo and look forward to further work together.

follow me

twitter facebook delicious

AppsoloLtd. VAT No. IE97548691 - Copyright © 2010.