Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

Rate It (1)

Last post 05-08-2009 7:49 PM by sean.gahan. 7 replies.

Sort Posts:

  • Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

    11-25-2006, 5:22 AM
    • Member
      36 point Member
    • rgoyal76
    • Member since 11-25-2006, 9:59 AM
    • Posts 30

    Hi.. Smile

    I am new for Asp.Net Ajax. I have developed the Demo Application using asp.net Ajax Beta 2. I just created the Grid On Page with

    <

    asp:ScriptManager ID = "SM1" runat ="server"/>

    <asp:UpdatePanel ID = "UP1" runat = "server" UpdateMode ="Conditional">

    <Triggers>

    <asp:AsyncPostBackTrigger ControlID ="btnSearch" />

    </Triggers>

    <ContentTemplate>

    Grid with Page and Sord option

    </ContentTemplate></asp:UpdatePanel>

    It is working perfectly on My Machine (On which it was developed with XP Professional, VS2005). I tested it on Different Machine it was also XP Professional with .Net Framework 1.1 and 2.0 (Installed from Microsoft Downloads) and didn't Install Asp.net Ajax Beta2 on test machine, all dll related to Ajax are cpoied in bin folder. It worked again properly with out any error. Smile

    But when I upload it on Win 2003 server (installed .Net Framwork 2.0 on it before upload the Application) it loads the Grid properly but gives the Error 'Sys' is Undefined and Ajax do not work Sad.

    I tried some solutions available on Net but unable to resovle this problem. Is this problem is related with Win 2003 server or I have to change My code. One more thing I Copied all Ajax dll into bin folder didn't Install ASP.Net Ajax Beta 2 on Win 2003 server.

     

    Please guide what I do to sole this problem.

     

     

    Filed under: ,
  • Re: Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

    11-25-2006, 7:14 PM
    • All-Star
      25,662 point All-Star
    • Luis Abreu
    • Member since 02-12-2005, 6:22 AM
    • Madeira [Portugal]
    • Posts 5,368
    • TrustedFriends-MVPs
    hello.
    well, you should have installed ajax extensions on the site. you say that you-ve copied the dll into the bin folder...have you configured your web site to run at full trust?
    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    EN blog:http://msmvps.com/blogs/luisabreu
  • Re: Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

    11-27-2006, 6:37 AM
    • Member
      36 point Member
    • rgoyal76
    • Member since 11-25-2006, 9:59 AM
    • Posts 30

    Thanks for response,

    I didn't Install ajax extensions on My test mahchine (XP Pro) and also didn't configured it "Full Trusted" but it is working fine from bin folder. One thing I also Noticed that On Win 2003 server Share Point Service is also running with Web.config file at root directory. I was unable to run my application on Server due to Share Point Service. For test i Just changed the name of Web.config of root and ran my application. My application Displays the data properly with 'Sys' is Undefined'. 

    Then I Installed ajax extensions on Server... Got The Same Result..'Sys' is Undefined  Surprise Angry

    On Server OS Win 2003 server and IIS6 with share point service are installed.

     

  • Re: Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

    11-27-2006, 9:52 AM
    • Member
      5 point Member
    • maysoft
    • Member since 09-21-2006, 3:20 PM
    • Posts 1

    I used VS2005+Ajax 1.0 beta 2 had the same error.But I install Microsoft Visual Web Developer 2005 Express+Ajax 1.0 beta 2 had no error.Why?

     PS:I create another web site.

     

    Sorry about my English.

    ^_^

  • Re: Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

    11-27-2006, 7:13 PM
    • All-Star
      25,662 point All-Star
    • Luis Abreu
    • Member since 02-12-2005, 6:22 AM
    • Madeira [Portugal]
    • Posts 5,368
    • TrustedFriends-MVPs

    hello again.

    1. if i'm not mistaken, web apps run at full trust in xp

    2. if you're hosting sharepoint, make sure that your web app is on a different application pool and not in a sub vdir of your sharepoint app

    3. well, it seems like your web app was not properly set up...

    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    EN blog:http://msmvps.com/blogs/luisabreu
  • Re: Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

    05-18-2007, 8:53 AM
    • Member
      8 point Member
    • HNunes
    • Member since 05-18-2007, 12:50 PM
    • Posts 4

    On the Win 2003 Deployment machine create a file in the root directory of your site with the name "ScriptResource.axd".

    This file can be empty, it just needs to exist.

  • Re: Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

    05-08-2009, 4:10 PM
    • Member
      14 point Member
    • abz52
    • Member since 04-22-2009, 6:31 PM
    • Posts 8

    I put an empty file, ScriptResource.axd, but now I am getting empty object or object expected error and when I took it to debug it stopped at  

    WebForm_InitCallback.....

     

    any other suggestion?

     ABZ

     

  • Re: Getting Error 'Sys is Undefined' on Deploy on Win 2003 server

    05-08-2009, 7:49 PM
    • Member
      433 point Member
    • sean.gahan
    • Member since 09-27-2007, 10:19 AM
    • Posts 67

     rgoyal7,

    I am sure that you have already checked this, but have you verified the properties of the website on your 2k3 Server?  For example, the ASP.NET Version to 2.x and Verified the Application name is not empty.

    Best regards,

    Sean Gahan

    If this helps, please mark the answer
Page 1 of 1 (8 items)