惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
爱范儿
爱范儿
T
The Exploit Database - CXSecurity.com
量子位
T
Tailwind CSS Blog
T
Threatpost
The GitHub Blog
The GitHub Blog
AWS News Blog
AWS News Blog
云风的 BLOG
云风的 BLOG
K
Kaspersky official blog
P
Proofpoint News Feed
博客园 - 司徒正美
L
LangChain Blog
T
Threat Research - Cisco Blogs
C
CERT Recently Published Vulnerability Notes
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
S
Secure Thoughts
The Last Watchdog
The Last Watchdog
Spread Privacy
Spread Privacy
H
Hacker News: Front Page
T
Troy Hunt's Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
W
WeLiveSecurity
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
P
Proofpoint News Feed
T
Tor Project blog
T
The Blog of Author Tim Ferriss
I
Intezer
P
Privacy & Cybersecurity Law Blog
美团技术团队
N
Netflix TechBlog - Medium
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Vulnerabilities – Threatpost
Application and Cybersecurity Blog
Application and Cybersecurity Blog
G
Google Developers Blog
Attack and Defense Labs
Attack and Defense Labs
T
Tenable Blog
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
J
Java Code Geeks
腾讯CDC
Microsoft Security Blog
Microsoft Security Blog
A
About on SuperTechFans
Last Week in AI
Last Week in AI

博客园 - MFKSoft

IIS7运行WCF服务出现404错误的解决方法 [转]windows2008域服务器上创建实例报错,DIM-00019 租的吧 LOGO 全集 百度 父亲节 Logo 竟与 租的吧 “撞衫” 极速QQ作者向腾讯道歉 宣告永久停止更新 令人咋舌!瑞典设计师惊艳的PS修图作品 H1N1流感分布图 发短信赚2元话费咯 Doodle 4 Google “我的中国”谷歌国际少年绘画大赛 -- 作品赏 SharePoint 通过下拉框来筛选列表 - (续) - (更新) SharePoint 通过下拉框来筛选列表 不用寫程式也能客製化 - SharePoint 与SPD整合應用說明 Infragistics Resource String 对照表 -- UltraGrid Infragistics 部分控件汉化 VS2008简体中文正式版 + Team.Suite团队版 下载地址 告别黑色肺!禁烟公益广告海报 JavaScript控制文本被选中 IBM开发新型内存 读写速度比闪存快10万倍 2008年Logo设计10大趋势
Ajax .NetFrameWork3.5 Sys未定义 解决方案
MFKSoft · 2009-03-10 · via 博客园 - MFKSoft

问题描述:

最初是192.168.168.17服务器上面的项目在外网上不能正常访问。后面发现只是在IE6下才不能访问,但是在IE7能正常访问。错误提示为微软Ajax框架报错“sys未定义”

如下图:

问题解决:

1.    检查站点下的Web.Config文件里是否含有以下信息:

        <compilation debug="true">

            <assemblies>

                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

            </assemblies>

        </compilation>

        <pages>

            <controls>

                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

            </controls>

        </pages>

        <httpHandlers>

            <remove verb="*" path="*.asmx"/>

            <add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2"/>

            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

        </httpHandlers>

        <httpModules>

            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

        </httpModules>

2.    如果这些信息都存在并且一致,检查一下IIS的配置信息。

检查是否有将.axd映射进来:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

3.    如果这些设置都正常。再检测一下服务器上的时间。

第二天发现服务器上的年份是2006年,而昨天查看时间的时候没有去查看年份只查看了时间(估计昨天这一步可能就过了,就不要做下面的事情。

4.    比较了一下测试服务器上与产品服务器上的配置,没有什么差别。

5.    如果以上所述都正常的话,就得考虑是否是.Net FrameWork造成的尝试修复或者重装

这次问题是由于服务器上的.Net FrameWork版本跟开发环境上的版本不一致引起的,服务器上的版本是3.5的而开发环境上的是3.5 Sp1的,所以后面将服务器上的版本打上SP1补丁就正常了。