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

'Sys' is Undefined

8 Answers 225 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 2
Nick asked on 12 Sep 2008, 12:34 PM
Hi, I have a fresh Vista Enterprise install, with VS 2008 SP1, 3.5 SP1, and the latest teleriks.  When I got into debug mode using local IIS, I have started getting 'Sys' is undefined on all my pages.

The application has been setup with all defaults, ie. there's no dynamic compression or anything like that. 

This code was working on a previous setup under XP and local web server, so the only thing that has changed is Vista.  I did a search and compared my web.config against all the settings shown in the ajax setup, and everything looks fine.

So I'm at a loss here.  The code is runing on a Windows Server 2003 machine, so it's not a code problem, at least until it gets under Vista ( and I suspect IIS 6).
Is there an IIS6 setting that I am missing or something?  

Regards,
Nick H

8 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 12 Sep 2008, 12:55 PM
Hi Nicholas,

Is it possible that the registration of the http handlers under IIS 7 integrated mode causes this error? Review the following documentation topic which elaborates on this subject:

http://www.telerik.com/help/aspnet-ajax/registering_the_httphandlers_on_windows_vista_iis_7_integrated_mode.html

Additionally, verify that you web site contains all ASP.NET AJAX configuration elements discussed under the corresponding paragraph of this help article.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 2
answered on 12 Sep 2008, 04:58 PM
I added the IIS 7 entry and it didn't help.

The link you provided is severely out of date - it's for .NET 1.x from the looks of the entries.  I've compared it to what is in my config - I have at least what it has, with later versions as well as additional entries, I assume for 3.5

So I am still dead in the water.  

I don't see how something that has been working just fine under XP and it's local IIS suddenly stops working under Vista and it's local IIS and it be something that hasn't already been ran into by someone.

BTW, this exact website is live under Server 2003, .NET 3.5 SP1. 

It seems to be related to Telerik for ajax - I have another website using the old telerik controls and it works fine.
0
Nick
Top achievements
Rank 2
answered on 12 Sep 2008, 05:04 PM
The fix is to select 'classic .NET apppool' in the basic settings for IIS 7.

What's up with that?
0
Sebastian
Telerik team
answered on 15 Sep 2008, 07:08 AM
Hello Nicholas,

Can it be that you are using RadUpload for ASP.NET AJAX in your application when encountering this erroneous behavior? I think that the issue you discovered (and the solution for it) is discussed in this public forum post.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 2
answered on 15 Sep 2008, 11:40 AM
This web app isn't using any sort of upload and it happened on every page, including the base login page that only had a radcombo box on it.

One of my friends ran into this exact same issue under server 2008 - again IIS 7.  Same fix corrected it.

Nick H
0
Sebastian
Telerik team
answered on 15 Sep 2008, 11:49 AM
Hello Nicholas,

Unfortunately I am running out of ideas here - please excuse me for not being able to provide more definite explanation of this abnormality. I am glad that you discovered how to bypass it and hope that the solution is feasible workaround for you.

Kind regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Tracy
Top achievements
Rank 1
answered on 24 Sep 2008, 06:48 PM
I am also seeing this error on XP SP3 with VS 2008 SP1 and .NET 3.5 SP1.
I put a RadPanel on my master page with the main navigation for the site. It is on a LoginView so that it doesn't show up except on pages behind login (the whole site really). But on the login page I get "'Sys' is Undefined" JS errors. I can continue past them, but there are two of them. Any ideas? Am I doing something wrong?

~Lee
0
Tracy
Top achievements
Rank 1
answered on 24 Sep 2008, 07:06 PM

Was able to work around it by adding:

if(Page.User.IsAuthenticated)  
Page.Form.Controls.Add(new RadScriptManager()); 

Seems like the long way around, though.

Let me know if there is a better way.

~Lee

Tags
General Discussions
Asked by
Nick
Top achievements
Rank 2
Answers by
Sebastian
Telerik team
Nick
Top achievements
Rank 2
Tracy
Top achievements
Rank 1
Share this question
or