搭建IIS









新建网站






搭建网站步骤都一样

这种错误一般是数据库有特殊字符,把数据库改个名字并给他写入权限就可以

这种错误就是 启动父路径 并给写入权限

这种错误就是右键这个网站 -权限-给用户写入权限

这种错误就给这个网站添加 iuser 账号

这种情况就是 虚拟机ie的flash不支持 用谷歌浏览器打开并打开父路径
asp网站一般都是access数据库,扩展名为mdb ,适用于小企业,用户数比较小,一般用户同时在线100-200个人左右所以我们要搭建·搭建aspx
搭建aspx
1、要运行aspx就要安装.net 框架,.net 跟据aspx的代码要求来决定,部分代码要求.net 4.0以上
2、aspx网站一般与mssql数据库结合,记得先安装mssql2008再安装.net4.0
然后我们安装.net4.0
安装net 4.0之后,进入iis管理器,把asp.net v2.0禁用,开启asp.net v4.0
选 定aspx网站右击--属性--找到asp.net选项--把2.0改4.0--点击应用确定
如果aspx能运行说明,aspx 环境没有任何问题
如果出现红色的报错,记得设置给everyone所有权限
当出现此图片上时说明aspx环境没问题
然后我们就要打开mssql,选定数据库右击导入testdb.mdf--testdb数据库导入进来之后记得右击属性进行配置

找到第二个安全性--登录名下面有个NT authortty\network service(如果没有手工添加一个)帐号--右击--属性如图配置
然后配置完成后运行查看是否成功
网友评论