错误:无法连接到GetConnString Handler!
Handler状态: 500
Handler响应: 编译错误

“/”应用程序中的服务器错误。

编译错误

说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误消息: CS0103: 当前上下文中不存在名称“isLocalRequest”

源错误:


行 16: if (!string.IsNullOrEmpty(remoteIP)) {
行 17:     // 妫€鏌ヨ繙绋婭P鏄惁涓烘湰鍦板湴鍧€
行 18:     isLocalRequest = (remoteIP == "127.0.0.1" || remoteIP == "::1" || 
行 19:                      remoteIP.StartsWith("192.168.") || remoteIP.StartsWith("10.") || 
行 20:                      remoteIP.StartsWith("172.") && 

源文件: c:\inetpub\wwwroot\GetConnString.ashx    行: 18






版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34009