asp2.0 中不安装sqlexpress 的解决办法
\Windows\Microsoft.NET\Framework\[.Net Framework]\iisreg_Sql.exe
设置aspnetdb 的数据存放数据库
然后在 web.config 中设置
注意那个<remove name="LocalSqlServer">
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
![](/Images/OutliningIndicators/None.gif)
<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data Source=XXGL;Initial Catalog=aspnetdb;User ID=sa"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
更详细的可以
在这看看
http://aspalliance.com/739
设置aspnetdb 的数据存放数据库
然后在 web.config 中设置
注意那个<remove name="LocalSqlServer">
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
更详细的可以
在这看看
http://aspalliance.com/739