locked
"Sys" is undefined RRS feed

  • Question

  • User771506077 posted

    I have migrated my application to .Net Framework 4.5. I am not using any update panel and not even script manager.

    One of the page which is throwing this error has the below code:

    <bod><form>

    <script>

           Sys.Application.add_load(SectionMethod)

    </script>

    This was working fine before migration.

    I used fiddler and found that ScriptResources.axd?,,,,,,,, file is not able to locate at server. But its working fine in my machine and at other server.

    Tuesday, April 1, 2014 8:04 AM

Answers

  • User771506077 posted

    Thanks a lot for all replies.

    In my case:

    1. I migrated my application to VS2012 and .Net 4.5. VS2012 migration wizard removed this settings under HttpHandlers tag and Http modules from web.config.

    2. I am using Integrated Managed Pipeline mode settings.

    3. My application dont have any update panel and script manager.

    Solution:

    1. From fiddler; i found that application is not able to found the scriptResource.axd file

    2. From IIS, Handler Mappings option. i have added ScriptResource.axd.

    after adding the mappings; the application start behaving properly.

    Thanks a lot to everyone for guidance.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 3, 2014 12:22 AM

All replies