|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
cannot debug on the webserverSeems to me that a lot of people have had this problem.
I went through http://www.gotdotnet.com/team/csharp/learn/whitepapers/howtosolvedebuggerproblems.doc but none of the solutions worked. I'm still not able to debug my asp.net app. Any help is welcome... thanks, there are several reasons for this, i have had the same problem and
found out the following: 1) check that you have enabled debbuging on your pages you should have <%@ Debug="true" %> on top of the page. 2) check that your webserver has the same .NET version that you have. 3) add <customErrors mode="Off"/> to your web.config file inside <system.web> maybe if you post what your web.config file has we might be able to help you more Nuki Philippe wrote: Show quote > Seems to me that a lot of people have had this problem. > I went through > > http://www.gotdotnet.com/team/csharp/learn/whitepapers/howtosolvedebuggerproblems.doc > > but none of the solutions worked. I'm still not able to debug my asp.net app. > > Any help is welcome... > thanks, ok,
1) in web.config <configuration> <system.web> <compilation defaultLanguage="vb" debug="true" /> <customErrors mode="RemoteOnly" /> <authentication mode="Windows" /> <authorization> <allow users="*" /> <!-- Allow all users --> </authorization> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" /> <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> </system.web> </configuration> 2) the webserver is my local IIS, so the version running on that is the same that is used by visual studio 3) done -- the error is not diplayed as a webpage but as a windows dialogbox. Thanks, Show quote "Nuki" wrote: > there are several reasons for this, i have had the same problem and > found out the following: > 1) check that you have enabled debbuging on your pages you should have > <%@ Debug="true" %> on top of the page. > 2) check that your webserver has the same .NET version that you have. > 3) add <customErrors mode="Off"/> to your web.config file inside > <system.web> > > maybe if you post what your web.config file has we might be able to > help you more > > Nuki > > Philippe wrote: > > Seems to me that a lot of people have had this problem. > > I went through > > > > http://www.gotdotnet.com/team/csharp/learn/whitepapers/howtosolvedebuggerproblems.doc > > > > but none of the solutions worked. I'm still not able to debug my asp.net app. > > > > Any help is welcome... > > thanks, > > |
|||||||||||||||||||||||