This is a migrated thread and some comments may be shown as answers.

Sys is undefined error

1 Answer 168 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Satish
Top achievements
Rank 1
Satish asked on 26 Mar 2013, 02:13 PM
Am getting the following error while accessing my web site

This error is captured from firebug in firefox--
"NetworkError: 403 Forbidden - http://MyServer/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ScriptManagerMaster_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.929.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a15a8cff0-9e51-4282-a100-c2dcd204ecf2%3a16e4e7cd%3af7645509%3a24ee1bba%3a19620875%3a874f8ea2%3a490a9d4e%3abd8f85e4%3bAjaxControlToolkit%2c+Version%3d3.0.30930.22451%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a308b3473-9a10-42d7-abe0-9740a95490da%3adc2d6e36%3ab14bb7d5%3aa3e10fa2%3a13f47f54%3a701e375f%3a1d056c78%3a3c55b13e%3ade51bc8f%3aa4313c7a%3a5acd2e8e%3af8a45328"

I have gone through many online available resources but no luck.The same works on a different server b8ut not on a new one.
We are using win server 2k8 and IIS 7.0.Please help..
Here is my web config(only sys.web and sys.webserver are included)

<system.web>
				<machineKey validationKey="ValidationKey" decryptionKey="decKey" validation="SHA1" decryption="AES" />
				<customErrors mode="Off" />
				<pages validateRequest="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
						<controls>
								<add tagPrefix="CustomControls" namespace="CustomControls" assembly="CustomControls" />
								<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
						</controls>
				</pages>
				 
				<compilation debug="false" targetFramework="4.0">
						<assemblies>
								<add assembly="Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
								<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
								<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
								<add assembly="System.Workflow.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
								<add assembly="System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
								<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
								<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
								<add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
							<add assembly="System.Web.Extensions,     Version=1.0.61025.0,       Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
						</assemblies>
				</compilation>
				 
				<authentication mode="Windows" />
				<identity impersonate="true" />
				
				 
				<httpHandlers>
						<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
						<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
						<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
						<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
						<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
					<remove verb="*" path="*.asmx"/>
					<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
					<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
					<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
				</httpHandlers>
 
			<httpModules>
				<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions,  Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
			</httpModules>
 
			<sessionState mode="StateServer" stateConnectionString="My state server"  timeout="60" stateNetworkTimeout="40" useHostingIdentity="true" compressionEnabled="true"  />
				<httpRuntime maxRequestLength="16384" executionTimeout="1800" waitChangeNotification="5" maxWaitChangeNotification="15" />
		</system.web>
<system.webServer>
				<validation validateIntegratedModeConfiguration="false" />
			<modules>
				<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
			</modules>
				<handlers>
						<remove name="ChartImage_axd" />
						<remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
						<remove name="Telerik_Web_UI_DialogHandler_aspx" />
						<remove name="Telerik_RadUploadProgressHandler_ashx" />
						<remove name="Telerik_Web_UI_WebResource_axd" />
					<remove name="WebServiceHandlerFactory-Integrated"/>
 
					<add name="handler-wa" path="*" verb="*" modules="IsapiModule" scriptProcessor="d:\Apps\Program Files\Netegrity\webagent\win64\bin\ISAPI6WebAgent.dll" resourceType="Unspecified" requireAccess="None" preCondition="bitness64" />
						<add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
						<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
						<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv4.0" />
						<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv4.0" />
						<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv4.0" />
						<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv4.0" />
					<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
					<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
				 
				</handlers>
				<security>
						<requestFiltering>
								<requestLimits maxAllowedContentLength="16777216" />
						</requestFiltering>
				</security>
				<staticContent>
						<mimeMap fileExtension=".log" mimeType="application/octet-stream" />
				</staticContent>
				<defaultDocument>
						<files>
								<clear />
								<add value="default.aspx" />
								<add value="Default.htm" />
								<add value="Default.asp" />
								<add value="index.htm" />
								<add value="index.html" />
								<add value="iisstart.htm" />
						</files>
				</defaultDocument>
				<isapiFilters>
						<clear />
						<filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" />
						<filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" />
						<filter name="ASP.Net_2.0_for_V1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="runtimeVersionv1.1" />
						<filter name="ASP.Net_4.0_64bit" path="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="runtimeVersionv4.0,bitness64" />
						<filter name="ASP.Net_4.0_32bit" path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enabled="true" enableCache="true" preCondition="runtimeVersionv4.0,bitness32" />
						<filter name="SiteminderAgent" path="d:\Apps\Program Files\Netegrity\webagent\win64\bin\ISAPI6WebAgent.dll" preCondition="bitness64" />
				</isapiFilters>
		</system.webServer>

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 29 Mar 2013, 01:17 PM
Hi,

Most probably the problem comes from not sufficient permissions. The scripts that are needed for the Ajax framework could not be loaded by the ScriptManager.

You could try to compare the permissions on the new and on the old server and gain them equal permissions to access the files. Thus you should fix the issue.

You could also check this and this help topics which discuss resolutions for those type of problems.

All the best,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Satish
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or