Asp.net在IIS上运行不了怎么办
我们在使用编程的时候是不是有试过Asp.net在IIS上运行不了的问题呢?
当Asp.net在IIS上运行不了怎么办呢?
那么接下来的内容中小编就为大家介绍Asp.net在IIS上运行不了的解决方法。
1、.NET 安装的顺序应该是先装IIS,再装VS.NET,如果次序反了,或者IIS重装了,就需要使用aspnet_regiis.exe -i来重新安装IIS Mapping(主要用于aspx, asmx等文
件的Extention的匹配)。在C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705目录下,运行下面的命令:aspnet_regiis.exe -i。
2、重设ASP.NET的密码,然后在下面的目录中找到Machine.config文件:%Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG(Systemroot是你的安
2、重设ASP.NET的密码,然后在下面的目录中找到Machine.config文件:%Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG(Systemroot是你的安
装目录),在标识中添加/修改:userName和password3。如果还不行,重装IIS,然后再按照方法1进行操作。
\如果你的机器是域控制器,大致讲一下操作的步骤:
1、在Administrative Tools->Active Directory Users and Computers中建立一个名为ASPUSER的用户,将该用户添加到用户组中(默认情况下已在
User Group 中)
2、在Administrative Tools->Local Security Settings->Local Policy->UserRight Assignment中,双击右栏的Log on as a batch job项,在弹出的窗口中点击
Add,选择或输入刚才建立的ASPUSER帐号,确定。
3、确保ASPUSER帐号有相应文件、目录的访问权限4。在下面的目录中找到Machine.config文件:%Systemroot%\Microsoft.NET\Framework\v1.0.3705
\CONFIG (Systemroot是你的安装目录),在标识中添加/修改:
userName="DomainName\ASPUSER" password="ASPUSERpassword" 其中ASPUSERpassword是刚刚建立的ASPUSER的密码,DomainName是你的
域名。
注意修改完成之后需要把机器重启一下。
198.44.231.6
198.44.231.7
198.44.231.8
198.44.231.9
198.44.231.10
198.44.231.11
198.44.231.12
198.44.231.13
198.44.231.14
198.44.231.15
198.44.231.16
198.44.231.17
198.44.231.18
198.44.231.19
198.44.231.20
198.44.231.21
198.44.231.22
198.44.231.23
198.44.231.24
198.44.231.25
198.44.231.26
198.44.231.27
198.44.231.28
198.44.231.29
198.44.231.30
198.44.231.31
198.44.231.32
198.44.231.33
198.44.231.34
198.44.231.35
198.44.231.36
198.44.231.37
198.44.231.38
198.44.231.39
198.44.231.40
198.44.231.41
198.44.231.42
198.44.231.43
198.44.231.44
198.44.231.45
198.44.231.46
198.44.231.47
198.44.231.48
198.44.231.49
198.44.231.50
198.44.231.51
198.44.231.52
198.44.231.53
198.44.231.54
198.44.231.55
198.44.231.56
198.44.231.57
198.44.231.58
198.44.231.59
198.44.231.60
198.44.231.61
198.44.231.62
198.44.231.63
198.44.231.64
198.44.231.65
198.44.231.66
198.44.231.67
198.44.231.68
198.44.231.69
198.44.231.70
198.44.231.71
198.44.231.72
198.44.231.73
198.44.231.74
198.44.231.75
198.44.231.76
198.44.231.77
198.44.231.78
198.44.231.79
198.44.231.80
198.44.231.81
198.44.231.82
198.44.231.83
198.44.231.84
198.44.231.85
198.44.231.86
198.44.231.87
198.44.231.88
198.44.231.89
198.44.231.90
198.44.231.91
198.44.231.92
198.44.231.93
198.44.231.94
198.44.231.95
198.44.231.96
198.44.231.97
198.44.231.98
198.44.231.99
198.44.231.100
198.44.231.101
198.44.231.102
198.44.231.103
198.44.231.104
198.44.231.105
198.44.231.106
198.44.231.107
198.44.231.108
198.44.231.109
198.44.231.110
198.44.231.111
198.44.231.112
198.44.231.113
198.44.231.114
198.44.231.115
198.44.231.116
198.44.231.117
198.44.231.118
198.44.231.119
198.44.231.120
198.44.231.121
198.44.231.122
198.44.231.123
198.44.231.124
198.44.231.125
198.44.231.126
198.44.231.127
198.44.231.128
198.44.231.129
198.44.231.130
198.44.231.131
198.44.231.132
198.44.231.133
198.44.231.134
198.44.231.135
198.44.231.136
198.44.231.137
198.44.231.138
198.44.231.139
198.44.231.140
198.44.231.141
198.44.231.142
198.44.231.143
198.44.231.144
198.44.231.145
198.44.231.146
198.44.231.147
198.44.231.148
198.44.231.149
198.44.231.150
198.44.231.151
198.44.231.152
198.44.231.153
198.44.231.154
198.44.231.155
198.44.231.156
198.44.231.157
198.44.231.158
198.44.231.159
198.44.231.160
198.44.231.161
198.44.231.162
198.44.231.163
198.44.231.164
198.44.231.165
198.44.231.166
198.44.231.167
198.44.231.168
198.44.231.169
198.44.231.170
198.44.231.171
198.44.231.172
198.44.231.173
198.44.231.174
198.44.231.175
198.44.231.176
198.44.231.177
198.44.231.178
198.44.231.179
198.44.231.180
198.44.231.181
198.44.231.182
198.44.231.183
198.44.231.184
198.44.231.185
198.44.231.186
198.44.231.187
198.44.231.188
198.44.231.189
198.44.231.190
198.44.231.191
198.44.231.192
198.44.231.193
198.44.231.194
198.44.231.195
198.44.231.196
198.44.231.197
198.44.231.198
198.44.231.199
198.44.231.200
198.44.231.201
198.44.231.202
198.44.231.203
198.44.231.204
198.44.231.205
198.44.231.206
198.44.231.207
198.44.231.208
198.44.231.209
198.44.231.210
198.44.231.211
198.44.231.212
198.44.231.213
198.44.231.214
198.44.231.215
198.44.231.216
198.44.231.217
198.44.231.218
198.44.231.219
198.44.231.220
198.44.231.221
198.44.231.222
198.44.231.223
198.44.231.224
198.44.231.225
198.44.231.226
198.44.231.227
198.44.231.228
198.44.231.229
198.44.231.230
198.44.231.231
198.44.231.232
198.44.231.233
198.44.231.234
198.44.231.235
198.44.231.236
198.44.231.237
198.44.231.238
198.44.231.239
198.44.231.240
198.44.231.241
198.44.231.242
198.44.231.243
198.44.231.244
198.44.231.245
198.44.231.246
198.44.231.247
198.44.231.248
198.44.231.249
198.44.231.250
198.44.231.251
198.44.231.252
198.44.231.253
198.44.231.254