'Sys' is undefined.

Rate It (6)

Last post 07-24-2009 11:40 AM by Thomas Thayil. 201 replies.

Sort Posts:

  • Re: 'Sys' is undefined.

    03-28-2009, 2:15 PM
    Locked
    • Member
      8 point Member
    • malari
    • Member since 03-27-2009, 11:14 PM
    • Posts 4

    Please have a look at this link it may be helpful

    http://forums.asp.net/p/1206468/3044068.aspx#3044068

    MOHAMMAD A LARI
  • Re: 'Sys' is undefined.

    03-30-2009, 11:20 AM
    Locked
    • Member
      96 point Member
    • Ravina
    • Member since 01-09-2008, 8:16 PM
    • Posts 91

    Here's another post which talks about a similar error: http://forums.asp.net/t/1206468.aspx

    Ravina Brar
    Software Developer
    University Of Alberta
    --------------------------
    The man who smiles when things go wrong has thought of someone to blame it on.
    - Robert Bloch
  • Re: 'Sys' is undefined.

    05-27-2009, 11:12 AM
    Locked

    Iam getting the same error when i use Telerik RadScriptManager. Just to document this, iam placing here.

    Try this:

    <location path="Telerik.Web.UI.WebResource.axd">  
       <system.web> 
         <authorization> 
           <allow users="*"/>  
         </authorization> 
       </system.web> 
     </location>

  • Re: 'Sys' is undefined.

    06-05-2009, 4:10 PM
    Locked
    • Member
      7 point Member
    • Jerrz
    • Member since 05-24-2009, 9:47 PM
    • Posts 13
    I had this problem too, but only on a couple of pages: the following was my error:

    protected override void OnPreRenderComplete(EventArgs e)
    {
      
    //My Code
    }

    MUST be:

    protected override void OnPreRenderComplete(EventArgs e)
    {
        base.OnPreRenderComplete(e); 
        //My Code
    }

  • Re: 'Sys' is undefined.

    06-26-2009, 6:03 AM
    Locked
    • Member
      2 point Member
    • Tarmuar
    • Member since 06-26-2009, 9:45 AM
    • Posts 1

    Mr Blue Coat:

    ScriptResource.axd handles the ScriptManager control that AJAX requires.  WebResource.axd handles embedded resources (such as embedded css files, embedded images, etc.)  SiteMinder intercepts all page calls and verifies any referenced file or resource exists before allowing the associated code to run.  ScriptResource.axd is referenced on your page (view the source code when running to see for yourself) but the ScriptResource.axd file only exists in memory (.NET 2.0 creates it dynamically).  Thus, SiteMinder sees a reference to a file that "supposedly" doesn't exist and therefore blocks the creation of the 'Sys' object (hence, 'Sys' not defined).  Likewise, the WebResource.axd file "supposedly" doesn't exist so SiteMinder blocks built-in css styles (i.e. ajax__calendar) and your toolkit controls will appear without any formatting.

    This one is a bit old, but it still applies to those who use SiteMinder (CA Netegrity) if you are having this problem. If this is already answered elsewhere in this thread sorry for the repeat in advance.

    Our problem manifested not as a "Sys" problem, but just that everything that was AJAX based didnt appear which, in our case, was about 70% of the information provided by our site. Not a good thing. A check of the weblogs showed every single call to an .axd file was returned as a 404 error. We turned off Siteminder and tried again and everything worked fine.

    What Blue Coat wrote is correct, but you don't need to add the two empty files. As stated elsewhere it does work but it doesn't address the root of the problem. To make Siteminder stop blocking it:

    1. Go into your IIS Manager and right-click the root of your site and select Properties.
    2. Under Home Directory, click Configuration. 
    3. There should be a Wildcard entry for ISAPI6WebAgentDLL there (we are using CA Siteminder v6.xx so its there for us). Highlight it and click Edit.
    4. Make sure the checkbox for Verify that file exists is unchecked.
    5. Click through on OK.

    I was pulling my hair out trying to figure this one out, we are standing up a new server and everything mirrored the old one yet SSO worked on the old and not on the new. After a couple days of working with the helpdesk found out that the updated installation documentation we were provided omitted that fact to ensure you uncheck that checkbox, the older documentation we used to install on the old server had it. By default, when adding a Wildcard Mapping that checkbox is checked.

    No guarantees this will work 100% of the time but as soon as I unchecked the box everything on my new server site worked, menu bars, tabs, all the AJAX just suddenly appeared. Oh Happy Day...heh heh. Hope this helps.

  • Re: 'Sys' is undefined.

    07-03-2009, 12:28 AM
    Locked
    • Member
      2 point Member
    • Mattski78
    • Member since 08-06-2007, 5:00 AM
    • Posts 2

    I found that running aspnet_regiis.exe - i from the v2.0x Microsoft.Net folder (under Windows) solved my problem. 
    The web.config entries were all correct, but until i reset the script mappings i had no luck.

  • Re: 'Sys' is undefined.

    07-24-2009, 11:40 AM
    Locked
    • Member
      2 point Member
    • Thomas Thayil
    • Member since 07-24-2009, 11:37 AM
    • Posts 1

    Try adding this under <system.web> in web.config: -

    <httpHandlers>

    <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>

Page 14 of 14 (202 items) « First ... < Previous 10 11 12 13 14