Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. JavaScript is removed in a server reply
QtWS25 Last Chance

JavaScript is removed in a server reply

Scheduled Pinned Locked Moved Unsolved Qt WebKit
webviewjavascriptvisual studioasp.netvmware
2 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jvadri
    wrote on 11 Jan 2016, 15:28 last edited by
    #1

    Hi everyone,

    I have an ASP.NET web created by Visual Basic 2010. In one page I need to interact with a dropdown list doing a post back. This list works with a javascript function in the aspx code.

    When I launch with my own browser (QT5 Web View) in any PC and the server is a real PC it works. The problem is when the server is a Virtual Machine (VMWare) and I try to access it, server doesn't send all the aspx code, it removes some javascript parts (not all).

    However using any regular browser (Chrome, IE, etc.) this functionality works in both configurations (real and virtual).

    I think that something VM configuration is wrong. Or I need to install something in the server ( W7 virtual machine with IIS and WindowsServer2008 virtual machine with IIS, both works), but i don't know what. Java is installed and windows updated.

    Any idea?

    Thank u a lot!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 12 Jan 2016, 13:58 last edited by
      #2

      same client and server setup, but different out put sounds very strange...
      I would suspect some misconfiguration on the VM webserver.
      But here are some thoughts:

      • Some servers also behave strange when no USER-AGENT header is sent with the request
      • Is the javascript embedded`/inlined or referenced externally as file in the yhead> section?
      • what do the IIS logs tell?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      2/2

      12 Jan 2016, 13:58

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved