当发布网站后得到这样的错误:
A name was started with an invalid character.
可以用以下方法解决:
1) Open a command prompt and navigate to this dir
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
2) Run these commands in this order from command prompt:
a. aspnet_regiis.exe –i
b. aspnet_regiis.exe –e
3) Restart IIS