个人网站开发者工具包
我在web.config中修改为<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="Data Source=.;Integrated Security=True;User Instance=True;AttachDBFilename=C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSite3\App_Data\aspnetdb.mdf" />
<add name="Personal" connectionString="Data Source=.;Integrated Security=True;User Instance=True;AttachDBFilename=C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSite3\App_Data\Personal.mdf"
providerName="System.Data.SqlClient" />
</connectionStrings>
添加Personal.mdf数据库到sql2000中提示错误,就用上面的方法配置Personal.mdf数据库
运行个人网站开发者工具包时,出现了错误
行 2: <configuration>
行 3: <connectionStrings>
行 4: <add name="Personal" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Personal.mdf" providerName="System.Data.SqlClient" />
行 5: <remove name="LocalSqlServer"/>
行 6: <add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" />
提示第4行出错
在百度搜了一圈,都是前面说的修改方法,还是不能运行,应该怎么修改呢,安装vs2005时没安装sqlExpress