当前位置: 代码迷 >> ASP.NET >> 急net连接SQLServer数据库的有关问题
  详细解决方案

急net连接SQLServer数据库的有关问题

热度:10040   发布时间:2013-02-25 00:00:00.0
急:.net连接SQLServer数据库的问题
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:   ' < ',   hexadecimal   value   0x3C,   is   an   invalid   attribute   character.   Line   17,   position   125.

Source   Error:  


Line   15:   <connectionStrings>
Line   16:       <remove   name= "LocalSqlServer "   />
Line   17:       <add   name= "SQLConnection "   connectionString= "data   source=.\;Initial   Catalog=BaoXiu;User   ID=sa;Password=luckpHHuYwUwuLn325,. <> "   providerName= "System.Data.SqlClient "   />
Line   18:     </connectionStrings>
Line   19:     <system.web>
 

Source   File:   D:\web\baoxiu\web.config         Line:   17  


--------------------------------------------------------------------------------
Version   Information:   Microsoft   .NET   Framework   Version:2.0.50727.42;   ASP.NET   Version:2.0.50727.42  


我是新手,这是什么原因谁能帮忙解决,谢谢

------解决方案--------------------------------------------------------
Password=luckpHHuYwUwuLn325,. <>

你的密码如此怪异?佩服

建议密码中别用 <> 字符
  相关解决方案