Hi
I'm trying to debug the sample application in ASP.NET (CommereVBSDK) but the .NET environment is not allowing me to debug. I get the following error
Error while trying to run project. Unable to start debugging on the web server. The project is not configured to be debugged.
The solution says to set 'debug=true' in the web.config file and it already has that setting. I do the development on the webserver (code , and development all on the same server). Project opened in VB .NET.
Here is the web.config file contents: (Please let me know what is wrong and how I could debug the project).
<?xml version="1.0" encoding="utf-8" ?><configuratio n><!-- application specific settings --><appSettings>< add key="Connection String" value="server=l ocalhost;Truste d_Connection=tr ue;database=Com merce" /></appSettings><!-- forms based authentication --><system.web><c ompilation debug="true" /><pages validateRequest ="true" /><!-- enable Forms authentication --><authenticatio n mode="Forms"><f orms name="CommerceA uth" loginUrl="login .aspx" protection="All " path="/" /></authentication> <!-- enable custom errors for the application --><customError s mode="RemoteOnl y" defaultRedirect ="ErrorPage.asp x" /><!-- disable session state for application --><sessionStat e mode="Off" /><globalizati on fileEncoding="u tf-8" requestEncoding ="utf-8" responseEncodin g="utf-8"/></system.web><!-- set secure paths --><location path="Checkout. aspx"><system.w eb><authorizati on><deny users="?" /></authorization></system.web></location><locat ion path="OrderList .aspx"><system. web><authorizat ion><deny users="?" /></authorization></system.web></location><locat ion path="OrderDeta ils.aspx"><syst em.web><authori zation><deny users="?" /></authorization></system.web></location></configuration>
I'm trying to debug the sample application in ASP.NET (CommereVBSDK) but the .NET environment is not allowing me to debug. I get the following error
Error while trying to run project. Unable to start debugging on the web server. The project is not configured to be debugged.
The solution says to set 'debug=true' in the web.config file and it already has that setting. I do the development on the webserver (code , and development all on the same server). Project opened in VB .NET.
Here is the web.config file contents: (Please let me know what is wrong and how I could debug the project).
<?xml version="1.0" encoding="utf-8" ?><configuratio n><!-- application specific settings --><appSettings>< add key="Connection String" value="server=l ocalhost;Truste d_Connection=tr ue;database=Com merce" /></appSettings><!-- forms based authentication --><system.web><c ompilation debug="true" /><pages validateRequest ="true" /><!-- enable Forms authentication --><authenticatio n mode="Forms"><f orms name="CommerceA uth" loginUrl="login .aspx" protection="All " path="/" /></authentication> <!-- enable custom errors for the application --><customError s mode="RemoteOnl y" defaultRedirect ="ErrorPage.asp x" /><!-- disable session state for application --><sessionStat e mode="Off" /><globalizati on fileEncoding="u tf-8" requestEncoding ="utf-8" responseEncodin g="utf-8"/></system.web><!-- set secure paths --><location path="Checkout. aspx"><system.w eb><authorizati on><deny users="?" /></authorization></system.web></location><locat ion path="OrderList .aspx"><system. web><authorizat ion><deny users="?" /></authorization></system.web></location><locat ion path="OrderDeta ils.aspx"><syst em.web><authori zation><deny users="?" /></authorization></system.web></location></configuration>