Rank: Member
Joined: 11/10/2008(UTC) Posts: 1
|
Hey, I am a local tech support guy and have been given the task by one of my clients to move their current online store to a new hosting service. I have copied all of the files over and imported the DB backup. However now when I try to click on any of the BV Commerce links I get a "Configuration Error" page. I will include the error below. I would include a link to the site but it displays the current DB username/password in the error message... The error seems to be in the "connectionString" line of my web.config file. I noticed there were a couple of example entries and I have tried to use both of them as templates for my own setup but something is still definitely borked. I have replaced the DB name, username and password in the error message below to protect the innocent(?). There is one "connectionString" line that I am currently using as well as my previous attempt. DISCLAIMER: I have never used BV Commerce before though I am quit familiar with webservices etc. Any help would be greatly appreciated. ;-) ~ Jeremy ---ERROR MESSAGE--- Code: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: An error occurred while parsing EntityName. Line 43, position 128.
Source Error:
Line 41: <!--<add name="Bvc5Database" connectionString="Server=.\SQLEXPRESS;Initial Catalog=<db_name_here>;Persist Security Info=True;User ID=<db_username_here>;Password=<db_password_here>" providerName="System.Data.SqlClient"/>--> Line 42: <!-- added by Jeremy on 10NOV08 --> Line 43: <add name="Bvc5Database" connectionString="Server=.\SQLEXPRESS;Database=<db_name_here>;uid=<db_username_here>;pwd=<db_password_here>" /> Line 44: </connectionStrings> Line 45: <system.web>
Source File: C:\inetpub\vhosts\goboat.ca\httpdocs\shop\web.config Line: 43
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Does your server name, database, username or password contain any XML reserved characters like "<", """,">" If you have reserved characters in any of those field you'll have to XML escape them.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.