问题描述
小弟用得是VS2005,装了AJAXExtensions插件。现在有这样一个问题,我在index.aspx页面用了Ext布局,并使用autoLoad加载Default.aspx,Default.aspx有<asp:ScriptManagerID="ScriptManager1"runat="server"></asp:ScriptManager>IE下发现错误:行2char1语法错误FF下查看错误控制台发现错误:“Sysisnotdefined”http:/localhost/ExtDemo/js/ext-all.js我不知道为什么会有这样的错误,请帮忙解决一下
解决方案
解决方案二:
你把ajax目录下的那个扩展dll复制到项目中去试试。或者你设debugger;调试下javascript看具体是什么原因引起的错误。
解决方案三:
估计是AJAX扩展没安装好,如果是刚安装,最好重启一下,并把IE的缓存全部清空
解决方案四:
估计是AJAX扩展没安装好,如果是刚安装,最好重启一下,并把IE的缓存全部清空
解决方案五:
web.config里面没设好,添加几句配置文件就好了
解决方案六:
<configSections><sectionGroupname="system.web.extensions"type="System.Web.Configuration.SystemWebExtensionsSectionGroup,System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"><sectionGroupname="scripting"type="System.Web.Configuration.ScriptingSectionGroup,System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"><sectionname="scriptResourceHandler"type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"requirePermission="false"allowDefinition="MachineToApplication"/><sectionGroupname="webServices"type="System.Web.Configuration.ScriptingWebServicesSectionGroup,System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"><sectionname="jsonSerialization"type="System.Web.Configuration.ScriptingJsonSerializationSection,System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"requirePermission="false"allowDefinition="Everywhere"/><sectionname="profileService"type="System.Web.Configuration.ScriptingProfileServiceSection,System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"requirePermission="false"allowDefinition="MachineToApplication"/><sectionname="authenticationService"type="System.Web.Configuration.ScriptingAuthenticationServiceSection,System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"requirePermission="false"allowDefinition="MachineToApplication"/></sectionGroup></sectionGroup></sectionGroup></configSections><connectionStrings>紧挨着放在<configuration>下面,必须是它的第一个节。还不行的话,new一个ajax的website,这段代码是自动添加的。
解决方案七:
我的web.config是从新建的ajax的website的东西复制过来的,应该没问题,以前做项目都正常的,现在我用了ext,就出现这样莫名其妙的问题