Community discussion forum

ASP.NET AJAX Website problem

Tags: ajax, asp.net India
  • 1 year ago

    I have built a ASP.NET AJAX website using the VS 2005 template for the same.

    After building the project, I have published the website and deployed it on an IIS 6.0 server.

    I wish to change the html source of the page and set the width of some control. After I modify the and save the aspx page, I run it to get an error page which displays an error  w.r.t the syntax on the aspx page. When I verify; the sysntax error doers not exist on the aspx page.

    Is this a problem with the published website or is it some other problem?

    Regards

     

  • 1 year ago

    Hi,

    I can only suggest two things here:

    1.  Check the server application logs for a clue as to what has caused the error, let us see the exception and we might be able to help a little more

    2.  Check that you have installed the AJAX Extensions on the server/s hosting the site, I forgot that one when I did my first AJAX site

    Regards

    Simon C

  • 1 year ago

    Yeah! I have installed the AJAX extensions on the server. This error occurs when I modify the html source file.

    Note: In my precompiled web site, I do not have the aspx.cs file for my web form.

     

  • 1 year ago

    Sorry, my bad, I misunderstood the problem.

    When you edit the file, are you editing the one on the server or are you editing your local copy and then uploading that to the server?

    Also, do you have the updateable flag set on your precompiledapp.config?

    You are probably best editing the site locally and recompiling the whole lot and uploading again though.

    Regards

    Simon C

  • 1 year ago

    Hi Simon,

     Thanks for your reply.

    Whenever I publish the website, I select the Allow this precompilable site to be updateable checkbox.

    But when I try n make changes to the Webform's html, I get the above mentioned error.

    Regards

  • 1 year ago

    Hi,

    Ok, is there an application event log created for the error?

    Can you post it up here if there is?

    Si

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!