求助:The requested database webstdConnectionString does not have provider name set in the connection string
本机XPSP2,错误提示:
Server Error in '/' Application.
--------------------------------------------------------------------------------
The requested database webstdConnectionString does not have provider name set in the connection string.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Configuration.ConfigurationErrorsException: The requested database webstdConnectionString does not have provider name set in the connection string.
Source Error:
...(个中省略)
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
web.config连接SQL数据库是
<connectionStrings>
<add name="webstdConnectionString" connectionString="Provider = Sqloledb; User ID = sa; Password = ; Initial Catalog = dfhgd; Data Source = (local)"/>
</connectionStrings>