Page doesn't display on Safari browser

  1. #1

    Page doesn't display on Safari browser

    Hi Ext.Net team,

    We are developing our application by using Ext.Net controls, and we get error: 'Status Code: 200, Status Text: OK', 'undefined' is not an object (evaluating ObjectResponse.Sucess) when we run application on Safari browser. The application runs fine on Safari browser when we debug on developer machine, but we get that error on Production that use IIS 7.0.

    Could you please help?

    Thanks,
    fac
  2. #2
    Hi,

    Is there the following thing in your Web.config?

    Required for IIS7
    <!-- 
        The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0.
        It is not necessary for previous version of IIS.
    -->
    <system.webServer>
        <modules>
            <add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net"/>
        </modules>
        <handlers>
            <add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler"/>
        </handlers>
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
  3. #3
    Thanks for your quick response.

    We did try as you suggested but it doesn't work. The application that are deployed on IIS7 runs perfectly on IE, FF, Chrome but not in Safari (5.1.2 version).
    I also attach error image. Please advice us.
    Attached Thumbnails Click image for larger version. 

Name:	Request Failure.jpg 
Views:	122 
Size:	21.9 KB 
ID:	3630  
  4. #4
    I'm afraid I can't help without a sample to reproduce.

    Please provide a simplified sample, leaving only required things to reproduce the problem. I will test.
  5. #5
    Hi guys,
    When we were trying to debug the application today, we can see that in Safari, it doesnot return serviceResponse property in result object. However with the same website, when we test in Chrome, it works perfectly fine. Do you have any idea on this?
    Attached Thumbnails Click image for larger version. 

Name:	ExtNET_does_not_work_on_Safari.png 
Views:	167 
Size:	73.8 KB 
ID:	3660  
  6. #6
    Well, it appears that a server returns a wrong response. I have no idea why it happens with Safari, but not with Chrome.

    By the way, how does it behave in IE and FireFox?

    Could you provide a sample to reproduce?
  7. #7
    Quote Originally Posted by Daniil View Post
    Well, it appears that a server returns a wrong response. I have no idea why it happens with Safari, but not with Chrome.

    By the way, how does it behave in IE and FireFox?

    Could you provide a sample to reproduce?
    In short, it fails only in Safari + IIS7
    Browser Deployment Environment Pass/Failed
    Safari ISS Server failed
    Safari Development Server pass
    Chrome/ IE/ Firefox IIS Server pass
    Chrome/ IE/ Firefox Development Server pass
    I'm trying to put things down in a sample for you to repro the problem, however it's very difficult because as you can see it depends on the deployment environment. From the summary matrix above , do you have any idea?
  8. #8
    Shoot...
    Today when I perform a redeployment of our application into another machine, the problem is solved. I don't know why, may be there's some thing wrong with the IIS settings.
    I feel very terrible/unpleasant because of the reason still is a mystery. However, the main problem is solved. Thank you very much for your help!
  9. #9
    Is the issue still reproducible on the first machine?

    If the issue will persist, please try to add the following thing into the Web.config.

    Example
    <system.web>
      ...
      <webServices>
        <protocols>
          <add name="HttpGet"/>
          <add name="HttpPost"/>
        </protocols>
      </webServices>
    </system.web>

Similar Threads

  1. GridPanel doesn't resize with browser
    By jimlahey in forum 1.x Help
    Replies: 1
    Last Post: Aug 18, 2011, 2:58 AM
  2. Replies: 1
    Last Post: Aug 12, 2011, 1:35 PM
  3. Replies: 6
    Last Post: Feb 18, 2011, 2:12 PM
  4. Replies: 2
    Last Post: May 05, 2010, 10:23 AM
  5. Replies: 4
    Last Post: Aug 31, 2009, 12:10 PM

Posting Permissions