Web configs ... arrrg

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
Hello,

I'm trying to go to mycart from a link in mydomain.  Mycart.config is in the nop cart web site folder that's under mydomain.  I keep getting errors and am going nuts getting no where.

Any ideaS??

DC
14 years ago
Are you sure you are using nopCommerce? "MyCart" is not an asp.net cart.
14 years ago
Oh yeah sorry that was just my abbreviation.  I'm using Visual Web Developer 2010 Express and nopCommerce cart.  Each run fine on their own but linking them is killing me.  Right now, I'm getting the error:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
14 years ago
Maybe if you explained exactly what you are doing, someone may be able to help you.

"Linking them" is greek. To me anyway.
14 years ago
sounds like you have one application inside a subfolder of the other without setting the subfolder as an application - but as asp5 says, you need to give us more information before we can help
14 years ago
Hello,

I tried settig the folder as an application folder but ended up with >>

*****************
We're sorry, an internal error occurred that prevents the request to complete.
Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time
********************

Not setting the folder as an application folder gave me the following >>

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
14 years ago
read this
https://www.nopcommerce.com/boards/topic.aspx?topicid=3847

and come back here
- hayden
14 years ago
Hello,

Thank you for the article and I could identify with the grief.

I tried a fresh install by following the 10 min screencast (very helpful - good support idea) but it still didn't go.  I got as far as uploading as per. and then trying to go to the install.aspx and got the following but didn't see any duplicate in the web.config:

>>>>>>>>>>>>>
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined  
Config File \\?\E:\web\ndtexamscom\htdocs\NOP\web.config
Requested URL http://www.ndtexams.com:80/nop/install/install.apsx
Physical Path E:\web\ndtexamscom\htdocs\NOP\install\install.apsx
Logon Method Not yet determined
Logon User Not yet determined
Config Source
    5:       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    6:         <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
    7:         <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
>>>>>>>>>>>>>>>>>>>>
14 years ago
it sounds like it might be inheriting another web.config file

when you installed the software, is it in a subfolder of another application?

if so, you will need to configure the folder where the store is running as an application - some times you can do this from you host administration, sometimes you need to contact the host company and ask them to do it
14 years ago
The nop cart is installed in a subfolder from mydomain (ndtexams.com) and is set as an application folder.   My host provider won't help this ticket.

I really need to get a shopping cart working on my site.  It works stand-alone.

The subfolder was created following the 10 screencast.  

When I try to go to mydomain/nop, or, mydomain/nop/install/install.aspx, I get the following error when both folders set as application folders, or not set as application folders:


************************
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined  
Config File \\?\E:\web\ndtexamscom\htdocs\NOP\web.config
Requested URL http://www.ndtexams.com:80/nop/install/install.apsx
Physical Path E:\web\ndtexamscom\htdocs\NOP\install\install.apsx
Logon Method Not yet determined
Logon User Not yet determined
Config Source
    5:       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    6:         <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
    7:         <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
*****************
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.