Wednesday, May 19, 2010

IIS Config for ASP web Site

IIS Config...

When we try to browse web sites which published on IIS sometimes it will not be shown in localhost and it will be given some error message by saying try again, XML page can not shown or likewise. Show Figure 1 and 2.




















Figure 1




















Figure 2

Figure 3 shows that the Error Message.









Figure 3

IIWe can fix that problem simply following below step.

Step 1: Goto Start----> Run
and type cmd












Step 2: now you can we see CMD.
on it goto C:\ (to root by cd.. xxxx)

And goto C:\Windows\Microsoft.NET\Framwork\v2.0.50727\aspnet_regiis.exe

And next should uninstall by typing -u

C:\Windows\Microsoft.NET\Framwork\v2.0.50727\aspnet_regiis.exe -U
Figure 5 show that how to follow 2 step











Figure 5

After uninstaled it looks like figure 6











Figure 6

Step 3: Now install again

C:\Windows\Microsoft.NET\Framwork\v2.0.50727\aspnet_regiis.exe

And next should uninstall by typing -i

C:\Windows\Microsoft.NET\Framwork\v2.0.50727\aspnet_regiis.exe -i
Figure 7 show that Step 3












Figure 7

Step 4: Now follow bellow step.
C:\Windows\Microsoft.NET\Framwork\v2.0.50727\aspnet_regiis.exe -r
show figure 8 and figure 9










Figure 8










Figure 9


Now error is fixed. now you can browse web site.

0 comments:

About This Blog

  © Blogger templates 'Neuronic' by Ourblogtemplates.com 2008

Back to TOP