Print Page | Close Window

Error Page

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Getting Started
Forum Description: Installing, activating, and getting started with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3102
Printed Date: 07-July-2024 at 7:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Error Page
Posted By: joshs
Subject: Error Page
Date Posted: 12-October-2009 at 7:48pm
I am moving my store to a new server and I keep getting this error.

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.


I have a feeling the problem is my database connection string. 
Here is an example of my string (storeconstants)

working on MS SQL 2008

<%private const cCrypPass="02359o;gaw;o0ty0oth...Example"
Provider="sqloledb";
Data Source="12.34.56.78,1433";
Initial Catalog="pcdatabase";
User Id="pcdatabase";Password="football";
private const scDB="SQL"
private const scStoreURL="example.com"%>

Any help or ideas would be nice.

Josh



Replies:
Posted By: Matt
Date Posted: 12-October-2009 at 9:06pm
Hi Josh,

If that is your real ip address you should edit your post and remove it right away.

Did you follow the instructions http://wiki.earlyimpact.com/how_to/move_store - here ?

If you have access the server (e.g. vps or dedicated) you can view the web page with remote access.  When you view the web page from on the server you will get a more detailed error, not the generic 500 error.

Otherwise, if you are with GoDaddy or similar you can upload a web.config to view the detailed error messages. 


Posted By: joshs
Date Posted: 12-October-2009 at 9:08pm
the ip address is not real - or at least not mine
12345678 etc


Posted By: joshs
Date Posted: 12-October-2009 at 9:10pm
yes pretty much followed the instructions.
although I will review them one more time.


Posted By: Matt
Date Posted: 12-October-2009 at 9:13pm
Smile   lol.  Now that you mention it.


Posted By: Matt
Date Posted: 12-October-2009 at 9:15pm
If you create a web.config file and add the following code you will get detailed error messages, instead of the 500 error.  Then you can post the real error and we can help further.

Just add this to the web.config:

<system.webServer>
<httpErrors errorMode="Detailed" />
</system.webServer>



Posted By: joshs
Date Posted: 12-October-2009 at 10:13pm
so I added that to my web.config file.

Now this is the error I get:

An error occurred on the server when processing the URL. Please contact the system administrator.

If you are the system administrator please click http://go.microsoft.com/fwlink/?LinkID=82731 - here to find out more about this error.




Posted By: Matt
Date Posted: 12-October-2009 at 10:17pm
Now it sounds like you have an error in your web.config.  The key for you will be to get that web.config setup correctly so we can get an accurate error message.  That will tell us where the problem is located.  If you cannot get the web.config on your own, then I recommend that you open a ticket.


Posted By: joshs
Date Posted: 12-October-2009 at 11:27pm
I didn't get the error page to work correctly yet.  But I did make progress.  Somehow the enable parent paths didn't get enable the first couple tries. 

Working for now, we will see if I get any other errors.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net