jit 调试失败,出现以下错误:拒绝访问。jit调试由用户帐户"NT AUTHORITY\NETWORK SERVICE" 启动

今天本来程序运行好着呢,中间修改了一段代码,出现如下错误:
jit 调试失败,出现以下错误:拒绝访问。
jit调试由用户帐户
"NT AUTHORITY\NETWORK SERVICE" 启动。
有关更多信息,请查看文档索引中的“实时调试,错误”。
在网上查了一下出现这种问题的还挺多,找到一个解决方法如下:
设置--控制面板--管理工具--Microsoft .NET Framework 1.1 配置
打开配置信息窗口,在左侧菜单里面找到 “我的电脑--运行库安全策略”。点击“运行库安全策略” 在右侧窗口选择“调整区域的安全级别--下一步--选择‘本地 Intranet’”,在下面的“为该区域中的程序集选择信任级别”把该解别调到最高,然后“下一步--完成”即可。
当前解决方案只是使用一部分问题,具体问题还要具体分析,这只是我的一个解决方法供大家参考。
posted on 2007-09-22 14:01  Edwin dong  阅读(4473)  评论(1编辑  收藏  举报

<% Function googleColor(value, random) Dim colorArray colorArray = Split(value, ",") googleColor = colorArray(random Mod (UBound(colorArray) + 1)) End Function Function googleScreenRes() Dim screenRes, delimiter, resArray screenRes = Request.ServerVariables("HTTP_UA_PIXELS") delimiter = "x" If IsEmpty(screenRes) Then screenRes = Request.ServerVariables("HTTP_X_UP_DEVCAP_SCREENPIXELS") delimiter = "," End If resArray = Split(screenRes, delimiter, 2) If (UBound(resArray) + 1) = 2 Then googleScreenRes = "&u_w=" & resArray(0) & "&u_h=" & resArray(1) End If End Function Function googleDcmguid() Dim dcmguid dcmguid = Request.ServerVariables("HTTP_X_DCMGUID") If Not IsEmpty(dcmguid) Then googleDcmguid = "&dcmguid=" & dcmguid End If End Function Dim googleTime, googleDt, googleScheme, googleHost googleTime = DateDiff("s", "01/01/1970 00:00:00", Now()) googleDt = (1000 * googleTime) + Round(1000 * (Timer - Int(Timer))) googleScheme = "http://" If StrComp(Request.ServerVariables("HTTPS"), "on") = 0 Then googleScheme = "https://" googleHost = Server.URLEncode(googleScheme & Request.ServerVariables("HTTP_HOST")) Dim googleAdUrl, googleAdOutput googleAdUrl = "http://pagead2.googlesyndication.com/pagead/ads?" &_ "ad_type=text_image" &_ "&channel=" &_ "&client=ca-mb-pub-6539345765131754" &_ "&dt=" & googleDt &_ "&format=mobile_single" &_ "&host=" & googleHost &_ "&ip=" & Server.URLEncode(Request.ServerVariables("REMOTE_ADDR")) &_ "&markup=xhtml" &_ "&oe=utf8" &_ "&output=xhtml" &_ "&ref=" & Server.URLEncode(Request.ServerVariables("HTTP_REFERER")) &_ "&url=" & googleHost & Server.URLEncode(Request.ServerVariables("URL")) &_ "&useragent=" & Server.URLEncode(Request.ServerVariables("HTTP_USER_AGENT")) &_ googleScreenRes() &_ googleDcmguid() Set googleAdOutput = Server.CreateObject("MSXML2.ServerXMLHTTP") googleAdOutput.Open "GET", googleAdUrl, false googleAdOutput.Send Response.Write(googleAdOutput.responseText) %>