starter kits

L

Lee Connell

I have posted on asp.net forums and I havn't gotten a response yet. I have
installed the Commerce starter kit on my win2k3 server, and I am trying to
open and debug the project, but I get an error saying to check the
web.config file and make sure its valid and that debug="true" etc.... Is
there something that I need to set differently? I also cannot debug the
project locally.

Thanks.
 
A

Aymer

open the web.config file. it should be located in the
root application folder. when the file is opened, you
should see settings in xml strin format. look for the xml
tag called compilation. now, set the compilation tag's
debug="true". something like this:
<compilation defaultLanguage="vb" debug="true" />

hope that helps,
aymer
aymerb[@]yahoo.com
 
L

Lee Connell

This is the web.config file of the starter kit. I am still getting the "not
configured to be debugged error".

Thank you!

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<!-- application specific settings -->

<appSettings>

<add key="ConnectionString"
value="server=localhost;Trusted_Connection=true;database=Commerce" />

</appSettings>

<!-- forms based authentication -->

<system.web>

<compilation defaultLanguage="c#" debug="true" />

<pages validateRequest="true" />

<!-- enable Forms authentication -->

<authentication mode="Forms">

<forms name="CommerceAuth" loginUrl="login.aspx" protection="All" path="/"
/>

</authentication>

<!-- enable custom errors for the application -->

<customErrors mode="RemoteOnly" defaultRedirect="ErrorPage.aspx" />

<!-- disable session state for application -->

<sessionState mode="Off" />

<globalization fileEncoding="utf-8" requestEncoding="utf-8"
responseEncoding="utf-8"/>

</system.web>

<!-- set secure paths -->

<location path="Checkout.aspx">

<system.web>

<authorization>

<deny users="?" />

</authorization>

</system.web>

</location>

<location path="OrderList.aspx">

<system.web>

<authorization>

<deny users="?" />

</authorization>

</system.web>

</location>

<location path="OrderDetails.aspx">

<system.web>

<authorization>

<deny users="?" />

</authorization>

</system.web>

</location>

</configuration>
 
A

Aymer

one problem could be that u don't have the web.config in
the right folder. make sure it is on the root virtual
folder. try moving the web.config around until you get
the desire effect. remember that web.config can be
overidden. meaning that u can have different web.config
in every folder and/or sub-folder. meaning that u can
several web.config for every folder and/or sub-folder.

if that doesn't work. search for machine.config in ur
local machine. this is the master configuration file.
this will effect every web application in ur system. so
be very careful. make a backup copy before doing
anything. okay, find and open machine.config and change
the compilation tag.
<compilation defaultLanguage="c#" debug="true" />
like so.

hope that works,
aymer
aymerb[@]yahoo.com
 
L

Lee Connell

I will try this thanks. Should I do this on the server right? How about
the client? I'm gonna try and reinstall this starter kit and see what
happens. Also in the project properties enable asp.net debugging is true.

Aymer said:
one problem could be that u don't have the web.config in
the right folder. make sure it is on the root virtual
folder. try moving the web.config around until you get
the desire effect. remember that web.config can be
overidden. meaning that u can have different web.config
in every folder and/or sub-folder. meaning that u can
several web.config for every folder and/or sub-folder.

if that doesn't work. search for machine.config in ur
local machine. this is the master configuration file.
this will effect every web application in ur system. so
be very careful. make a backup copy before doing
anything. okay, find and open machine.config and change
the compilation tag.
<compilation defaultLanguage="c#" debug="true" />
like so.

hope that works,
aymer
aymerb[@]yahoo.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top