I have created a basic ASP.NET membership application, whereby users can login to view certain pages or create a new account. The problem is whenever I upload this to the server I am getting a configuration error (see below) Any ideas as to how I could fix this would be greatly appreciated.
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: The ‘=’
character, hexadecimal value 0x3D,
cannot be included in a name. Line 25,
position 10.Source Error:
Line 23: Set explicit="true" to force declaration of all variables.
Line 24: -->
Line 25: <addkey=”ConnectionString” value="server=mysqlhost\sqlexpress;uid=u70771928;pwd=6f4c4e;database=d60702836" />
Line 26: <customErrors mode="Off"/>
Line 27: <roleManager enabled="true" />
Source File:
\smb1\mnt\w0341\d49\s39\b021bcd6\www\web.config
Line: 25Version Information: Microsoft .NET
Framework Version:2.0.50727.3603;
ASP.NET Version:2.0.50727.3082
Try to use
"instead of”in<addkey=”ConnectionString”