I cannot stay Adminintration page ! ver2.2

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Thank you for your reply.
I set Machine Key in web.config of a remote server.  
And the problem was solved !!

Thank you indeed for your support, Andrei and Skyler.

ps.
I think it helpful to describe the necessity of including Machine Key in web.config when using a remote server and how to generate Machine Key in your "nopCommerce User Guide."

Shuichi Ohtsu
DigiPub Japan
12 years ago
ohtsu wrote:
Thank you for your reply.
I set Machine Key in web.config of a remote server.  
And the problem was solved !!

Thank you indeed for your support, Andrei and Skyler.

ps.
I think it helpful to describe the necessity of including Machine Key in web.config when using a remote server and how to generate Machine Key in your "nopCommerce User Guide."

Shuichi Ohtsu
DigiPub Japan


Hello ohtsu, I am having the same problem. How do you set the machine key in the web.config.

Thanks!
12 years ago
sortiz01 wrote:
Thank you for your reply.
I set Machine Key in web.config of a remote server.  
And the problem was solved !!

Thank you indeed for your support, Andrei and Skyler.

ps.
I think it helpful to describe the necessity of including Machine Key in web.config when using a remote server and how to generate Machine Key in your "nopCommerce User Guide."

Shuichi Ohtsu
DigiPub Japan

Hello ohtsu, I am having the same problem. How do you set the machine key in the web.config.

Thanks!


The link below has some pretty good information on the machineKey node.

http://www.codeproject.com/KB/aspnet/machineKey.aspx
12 years ago
A really good website, http://www.developerfusion.com/tools/generatemachinekey/ will generate a machineKey for you automatically. You then place this between your <system.web></sytem.web> tags.
12 years ago
I am running 2.3 and had the problem that it would log me out every few minutes. I added a machine key and do not seem to have the problem anymore. Thank you for this solution.
11 years ago
Ohtsu is quite right about the need to put info re machineKey in the user guide, admin tasks are a real pain until you do this.
11 years ago
EDIT: sorry replied to wrong post - ignore this
11 years ago
The same happened to me on Nopcommerce 2.6 I am trying the suggested fix it seems to be working.

I suggest to mention this configuration in the Nopcommerce installation guide.
11 years ago
I use nopCommerce 2.6 and I meet the same problem. But I didn't see machine key in web.config. Can you help me solve this issue?
11 years ago
publicacc wrote:
I use nopCommerce 2.6 and I meet the same problem. But I didn't see machine key in web.config. Can you help me solve this issue?


Default web.config does not include any "Machine Key."  You need to add your own "Machine Key."
You can get it easily by the following url.

http://www.developerfusion.com/tools/generatemachinekey/

If you get your own (globally unique) machine key, you need to copy and insert it into your web.config.
The location which you should insert it, is between "<system.web> and </system.web>.

The following is a sample of web.config.

-------------------------------------------------------

<system.web>
<machineKey validationKey="E220F192C8BD681EC9B5EA6AAE9F80F21
A794C8E060B6594F2E2C178E8CBB86FC90343179701A
DFAF1A3F2372640B4CE19B0000000000000000000000
23A1D4D" decryptionKey="B413E30A2ED3F2A9960AE6E4A642CEF8
B8708545B90000000000000000000000"
validation="SHA1" decryption="AES" />
<!-- TODO Update your <browserCaps> section in order to prevent adding <!-- Find more info in browserCaps.config file -->
<browserCaps configSource="browserCaps.config"/>
<customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly">
<error statusCode="404" redirect="filenotfound.htm" />
</customErrors>
<trace enabled="true" pageOutput="true" />
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Helpers, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=3.0.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.WebPages, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
<authentication mode="Forms">
<forms name="NOPCOMMERCE.AUTH" loginUrl="~/login"
protection="All" timeout="43200" path="/"
requireSSL="false" slidingExpiration="true" />
</authentication>
<pages>
<namespaces>
<add namespace="System.Web.Helpers" />
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<add namespace="System.Web.WebPages" />
<add namespace="Telerik.Web.Mvc.UI" />
</namespaces>
</pages>
<httpHandlers>
<add verb="GET,HEAD" path="asset.axd" validate="false"
type="Telerik.Web.Mvc.WebAssetHttpHandler, Telerik.Web.Mvc" />
<!--Uncomment the following lines in order
to enabled static file caching and compression for IIS 6
<remove verb="GET,HEAD,POST" path="*" />
<add verb="GET,HEAD,POST" path="*"
type="Nop.Web.Framework.StaticFileHandler" />-->
</httpHandlers>
</system.web>

----------------------------------------------------------------------------------------------------------
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.