cannot debug on the webserver

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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,
 
Back
Top