- 确定SQL server数据库版本,安装数据库。
- 还原数据库(在数据库右键可以看到)
- 安装IIS
这里写链接内容
(这里因为是MVC,ASP.net要勾选)
修改连接符字符串
打开web.config
<!-- 数据库连接字符串-->
<connectionStrings>
<add name="ConnectionString" connectionString="server=localhost;uid=sa;pwd=123456;database=sunpowers;"/>
</connectionStrings>
修改 temp安全权限为修改
c:/windows/temp/
IIS_IURS的权限为修改!!!