Web.config file?
- gio50000
- Commander (CMDR)
- Posts: 123
- Joined: Mon Feb 18, 2008 12:51 pm
- Location: Orlando, FL
- Contact:
Web.config file?
Guys,
My web host is moving our AbleCommerce site to another web server. The say the AC software is using a file called web.config as the application's configuration file and must be decrypted before they can move it. Can this be done in the admin area of the software?
Gio
My web host is moving our AbleCommerce site to another web server. The say the AC software is using a file called web.config as the application's configuration file and must be decrypted before they can move it. Can this be done in the admin area of the software?
Gio
Thank you,
Gio
Gio
- gio50000
- Commander (CMDR)
- Posts: 123
- Joined: Mon Feb 18, 2008 12:51 pm
- Location: Orlando, FL
- Contact:
Re: Web.config file?
Guys I could really use your help on this issue below.
Server error:
"Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster."
Has anyone had this issue?
Gio
Server error:
"Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster."
Has anyone had this issue?
Gio
Thank you,
Gio
Gio
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Web.config file?
That does happen occasionally on a dev machine and re-starting the machine could fix it. For the live site, it is better to put a key in the web.config. That key is normally picked up from the server and if you move your site to another server or run it on a web farm, you will have trouble unless you use one you have set in the web.config file.
This post talks about some of the problems and how to add a machine key.
viewtopic.php?f=42&t=7121&hilit=machinekey
If you search for machinekey on the forums, there are also posts about getting that error if you have added <form> tags to the page since there is already a set of them generated automatically.
The web.config is not encrypted, but there are other configuration files in the App_Data folder that can cause a problem with a move. There are help topics at help.ablecommere.com that deal with moving a site.
This post talks about some of the problems and how to add a machine key.
viewtopic.php?f=42&t=7121&hilit=machinekey
If you search for machinekey on the forums, there are also posts about getting that error if you have added <form> tags to the page since there is already a set of them generated automatically.
The web.config is not encrypted, but there are other configuration files in the App_Data folder that can cause a problem with a move. There are help topics at help.ablecommere.com that deal with moving a site.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Web.config file?
Please read following topic
http://wiki.ablecommerce.com/index.php/ ... ed_problem
http://wiki.ablecommerce.com/index.php/ ... ed_problem
- gio50000
- Commander (CMDR)
- Posts: 123
- Joined: Mon Feb 18, 2008 12:51 pm
- Location: Orlando, FL
- Contact:
Re: Web.config file?
Gange,
mazhar - I attempted this resolution recommendations in the ASP.NET article but no luck.
jmestep - I recently added a constant contact signup form. Are you suggesting the forms tags from something like that could casuse issues?
Ideas anyone else?
Gio
mazhar - I attempted this resolution recommendations in the ASP.NET article but no luck.
jmestep - I recently added a constant contact signup form. Are you suggesting the forms tags from something like that could casuse issues?
Ideas anyone else?
Gio
Thank you,
Gio
Gio
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Web.config file?
Yes, they could cause that. Take it off the page and see if that helps.
Here is a site that had that problem and they had to recode it.
http://www.christmasdealz.com
I believe his forum name is combra, but I'm not sure.
Here is a site that had that problem and they had to recode it.
http://www.christmasdealz.com
I believe his forum name is combra, but I'm not sure.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- gio50000
- Commander (CMDR)
- Posts: 123
- Joined: Mon Feb 18, 2008 12:51 pm
- Location: Orlando, FL
- Contact:
Re: Web.config file?
jmestep - That was it! I removed the constant contact sign up code and now all is well. It was added to the left side bar layout snippet.
Now, I still need a newsletter sign up form on the left side of our site. Any work around suggestions?
Gio
Now, I still need a newsletter sign up form on the left side of our site. Any work around suggestions?
Gio
Thank you,
Gio
Gio
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Web.config file?
You might be able to use the view source on the page for the link I gave you. It looks like his is inside an asp:panel. I just don't remember what he said his web person did to get it to work. He might have taken the contents from the <form> tag from CC, put that inside a conlib in the custom folder, then used that conlib in the left nav. Maybe you can pm him.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- gio50000
- Commander (CMDR)
- Posts: 123
- Joined: Mon Feb 18, 2008 12:51 pm
- Location: Orlando, FL
- Contact:
Re: Web.config file?
Guys,
Any other ideas on how to use form tags in your site without experiencing the issues I had in this thread?
Gio
Any other ideas on how to use form tags in your site without experiencing the issues I had in this thread?
Gio
Thank you,
Gio
Gio
Re: Web.config file?
May be it helps
viewtopic.php?f=42&t=8322
viewtopic.php?f=42&t=8322