ScriptResource.axd and postback problems

Last post 01-25-2008 10:30 AM by NotANormalCoder. 0 replies.

Sort Posts:

  • ScriptResource.axd and postback problems

    01-25-2008, 10:30 AM

     I am unable to get the simplest of pages to work using a remote server. The server is running server 2003 and .net framework 3.5. I am also told this machine is running as a reverse proxy server (which I don't understand)

    I have uploaded a basic page, which works fine on my machine and if I run the page locally on the server using a vnc. However, if I view the page over the net, it loads fine but as soon as I cause the page to postback, I get errors on the page.

    Examining the returned code using firefox and firebug, I see the following code, (which I have trimmed to save space):

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>
    </head>
    <body>
    <form id="form1" action="Gridtest.aspx" method="post" name="form1">
    <div>
    </div>
    <script type="text/javascript">
    1
    2//<![CDATA[
     
    ......... Lots of valid javascript
     
    </script>
     
    <script type="text/javascript" src="/WebResource.axd?d=Ub-Coa7f3-u72i5iCAmarw2&t=633349448726718750">
    1function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {
     
    .......... Lots of valid javascript
     
    </script>
     
    <script type="text/javascript" src="/ScriptResource.axd?d=xKyr9NL0-5u5abzH7ygXYG2ec4Cg7KbWEApnMga26MCLsKMixUK3f8FGuwLdPjungko_E_M00F_InCNZglRfFNg2Jl2Jy_ud4DZKFXvyxrY1&t=633349451092656250">
    1 Here's a problem - No valid code returned ‹
    </script>
     
    <script type="text/javascript" src="/ScriptResource.axd?d=xKyr9NL0-5u5abzH7ygXYG2ec4Cg7KbWEApnMga26MCLsKMixUK3f8FGuwLdPjunEkrFEmx-8Acf7ugoqNYRqP4y61L0qzBNnMV1NlKu4U41&t=633349451092656250">
    1 Here's the problem again - No valid code returned ‹
    </script>
    <div>
    </div>
    <div style="height: 319px; width: 556px;">
    <img id="ImageMap1" style="border-width: 0px;" usemap="#ImageMapImageMap1" src="ProductGraphics/TigTorches/Interlas/IT121Torch.gif"/>
    <map id="ImageMapImageMap1" name="ImageMapImageMap1">
     
    ............. Here is lots of image map co-ordinates
     
    </map>
    </div>

    <script type="text/javascript">
    1
    2//<![CDATA[
    3Sys.Application.initialize();
    4//]]>
    5
    </script>
    </form>
    </body>
    </html>

    There seems to be a problem where I have marked - Firefox reports errors here and IE reports errors on page. I took a look with another utility and saw that the returned code appeared to be garbage.

    Can any of you experts point out what I am doing wrong. I have read various articles and tried just about everything - the web.config is correct, the date/time is correct on the server, I just cannot figure out what's going wrong - is it to do with the reverse proxy server? if so, how do I fix it?

    Frustrated beyond belief.

    Dave
     

     

Page 1 of 1 (1 items)