名称以无效字符开头。处理资源 'http://localhost/发布了的/Default.aspx' 时出错。第 1 行,位置: 2

 

解决方法:

1.在命令窗口中运行"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i"问题得以解决.

2..NetFramework2.0,需要运行的是C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

Software, the promoters of the progress of the times!------Shawn

原文地址:https://www.cnblogs.com/hekeboy/p/1250711.html