Webconfig

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
Hi, good night to all!

I Have a problem to install NopCommerce see:

Im go URL http://localhost/NopCommerceStore/Install/Install.aspx (I have dell servers here for test) to install Nop and i see this msg:



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

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 91:       </expressionBuilders>
Line 92:     </compilation>
Line 93:     <authentication mode="Forms">
Line 94:       <forms name="NOPCOMMERCE.AUTH" loginUrl="~/Login.aspx" protection="All" timeout="43200" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="~/default.aspx" enableCrossAppRedirects="false"/>
Line 95:     </authentication>


Source File: C:\inetpub\wwwroot\nopcommercestore\web.config    Line: 93



Show Additional Configuration Errors:


It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (C:\inetpub\wwwroot\nopcommercestore\web.config line 96)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (C:\inetpub\wwwroot\nopcommercestore\web.config line 100)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (C:\inetpub\wwwroot\nopcommercestore\web.config line 105)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (C:\inetpub\wwwroot\nopcommercestore\web.config line 110)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (C:\inetpub\wwwroot\nopcommercestore\web.config line 111)
                      
What this?

Thks for all!


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
14 years ago
As per the Parser Error, "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS"

Solution: Open IIS Manager. In the left panel (the "Connections" panel) right click on the name of your website (store) and click "Convert to Application". (I am assuming you have added nopCommerceStore as a virtual directory in IIS).

-NJ-
14 years ago
Hi, im try make and sucess!

but now I have another problem:


An error occured: There is already an object named 'Nop_SpecificationAttribute' in the database.
Running scripts from file: C:\inetpub\wwwroot\loja\NopCommerceStore\install\Scripts\nopCommerce_createDatabase.sql

do you have another solution :)

Thanks a lot!
14 years ago
Note:

I  run script on database and sucess! but on painel install this msg continue:

An error occured: There is already an object named 'Nop_SpecificationAttribute' in the database.
Running scripts from file: C:\inetpub\wwwroot\loja\NopCommerceStore\install\Scripts\nopCommerce_createDatabase.sql
14 years ago
Hi,

I am getting same set of Error while installtion of the file on Server. After checking the Database I found the SP is already there. Deleted that sp over there but issue still presist.


An error occured: There is already an object named 'Nop_SpecificationAttribute' in the database.
Running scripts from file: \\fs4-n01\stor3wc2dfw1\473251\beta.altruisticsports.com\web\content\install\Scripts\nopCommerce_createDatabase.sql



Will you please help me.

Thanks,
-Webtech4rindia
14 years ago
Please create a new database and reinstall the application
13 years ago
Can you help me out ?? please .. I am trying to install it but i get the following error :


An error occured: There is already an object named 'Nop_SearchLog' in the database.

Running scripts from file: D:\inetpub\vhosts\SITENAME.com\httpdocs\install\Scripts\nopCommerce_createDatabase.sql



My host provider says that nopCommerce is trying to create a database .. What is the possible solution . Please help ..
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.