Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Popup window problem

Popup window problem

Scheduled Pinned Locked Moved Web Development
helpcsharphtmlasp-netsysadmin
8 Posts 3 Posters 0 Views 1 Watching
  • 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.
  • G Offline
    G Offline
    Gennady Oster
    wrote on last edited by
    #1

    Hi to All ! I have two applications (web projects) in old good ASP 3.0. One of these applications has the strange problem with window.open, when the URL is asp page. The window opens blank and busy (hourglass cursor). The same URL pasted to explorer address bar brings the right result. No such problem with html pages. No such problem with the second project. The server is Windows 2003 .NET 1.1 and .NET 2.0 All extension on the IIS are enabled (including asp,.NET, Server Includes) For both projects defined the same version of .NET on ASP.NET tab (although I cannot imagine, how it may affect the ASP application). Every project is defined as a website with application(IIS definition). All definitions are identical. Both sites use the same Application pool and seat on the same IP with different headers. Popup blocker on the client side is disabled I've tried to use the following instead of window.open: var winHndl = window.open("","TestWindow"); winHndl.document.location = "test.asp"; I've tried also to use try-catch block, relative and absolute path,... Nop. No error, no results. Can somebody plz shed a light on this mystery ? What I need else to do/check ? Thanks in advance. Regards, Gennady

    S G D 3 Replies Last reply
    0
    • G Gennady Oster

      Hi to All ! I have two applications (web projects) in old good ASP 3.0. One of these applications has the strange problem with window.open, when the URL is asp page. The window opens blank and busy (hourglass cursor). The same URL pasted to explorer address bar brings the right result. No such problem with html pages. No such problem with the second project. The server is Windows 2003 .NET 1.1 and .NET 2.0 All extension on the IIS are enabled (including asp,.NET, Server Includes) For both projects defined the same version of .NET on ASP.NET tab (although I cannot imagine, how it may affect the ASP application). Every project is defined as a website with application(IIS definition). All definitions are identical. Both sites use the same Application pool and seat on the same IP with different headers. Popup blocker on the client side is disabled I've tried to use the following instead of window.open: var winHndl = window.open("","TestWindow"); winHndl.document.location = "test.asp"; I've tried also to use try-catch block, relative and absolute path,... Nop. No error, no results. Can somebody plz shed a light on this mystery ? What I need else to do/check ? Thanks in advance. Regards, Gennady

      S Offline
      S Offline
      sph3rex
      wrote on last edited by
      #2

      wonder why u dun just use window.open("full_path_url","name of the window");

      Code? Yeah i love it fried together with a glass of wine.

      G 1 Reply Last reply
      0
      • S sph3rex

        wonder why u dun just use window.open("full_path_url","name of the window");

        Code? Yeah i love it fried together with a glass of wine.

        G Offline
        G Offline
        Gennady Oster
        wrote on last edited by
        #3

        Where you get this idea that I didn't use window.open ? That was the first try. Simply in the question I tried to give the full picture of my "experiments and research". And additional question especially to you: did you read my message up to the end? :)

        S 1 Reply Last reply
        0
        • G Gennady Oster

          Where you get this idea that I didn't use window.open ? That was the first try. Simply in the question I tried to give the full picture of my "experiments and research". And additional question especially to you: did you read my message up to the end? :)

          S Offline
          S Offline
          sph3rex
          wrote on last edited by
          #4

          var winHndl = window.open("","TestWindow");
          winHndl.document.location = "test.asp";

          window.open("full_path_url","name of the window");

          i was asking why u dun use the "direct" way without having 2 declarations for one thing ... but whatever

          Code? Yeah i love it fried together with a glass of wine.

          G 1 Reply Last reply
          0
          • S sph3rex

            var winHndl = window.open("","TestWindow");
            winHndl.document.location = "test.asp";

            window.open("full_path_url","name of the window");

            i was asking why u dun use the "direct" way without having 2 declarations for one thing ... but whatever

            Code? Yeah i love it fried together with a glass of wine.

            G Offline
            G Offline
            Gennady Oster
            wrote on last edited by
            #5

            Sorry, you may beat me, but I cannot understand what one thing and two declarations you're talking about. May be, it's because of my English, that is permanently under construction. Thanks anyway. Regards, Gennady

            1 Reply Last reply
            0
            • G Gennady Oster

              Hi to All ! I have two applications (web projects) in old good ASP 3.0. One of these applications has the strange problem with window.open, when the URL is asp page. The window opens blank and busy (hourglass cursor). The same URL pasted to explorer address bar brings the right result. No such problem with html pages. No such problem with the second project. The server is Windows 2003 .NET 1.1 and .NET 2.0 All extension on the IIS are enabled (including asp,.NET, Server Includes) For both projects defined the same version of .NET on ASP.NET tab (although I cannot imagine, how it may affect the ASP application). Every project is defined as a website with application(IIS definition). All definitions are identical. Both sites use the same Application pool and seat on the same IP with different headers. Popup blocker on the client side is disabled I've tried to use the following instead of window.open: var winHndl = window.open("","TestWindow"); winHndl.document.location = "test.asp"; I've tried also to use try-catch block, relative and absolute path,... Nop. No error, no results. Can somebody plz shed a light on this mystery ? What I need else to do/check ? Thanks in advance. Regards, Gennady

              G Offline
              G Offline
              Gennady Oster
              wrote on last edited by
              #6

              I'd like to add the results of two additional tests: 1. Use the pure html page with .asp extension 2. The same page is loaded not in popup window, but instead of current page: document.location = "test.asp"; In both cases the result is the same - blank window with busy cursor. Regards, Gennady

              My English is permanently under construction. Be patient !!

              1 Reply Last reply
              0
              • G Gennady Oster

                Hi to All ! I have two applications (web projects) in old good ASP 3.0. One of these applications has the strange problem with window.open, when the URL is asp page. The window opens blank and busy (hourglass cursor). The same URL pasted to explorer address bar brings the right result. No such problem with html pages. No such problem with the second project. The server is Windows 2003 .NET 1.1 and .NET 2.0 All extension on the IIS are enabled (including asp,.NET, Server Includes) For both projects defined the same version of .NET on ASP.NET tab (although I cannot imagine, how it may affect the ASP application). Every project is defined as a website with application(IIS definition). All definitions are identical. Both sites use the same Application pool and seat on the same IP with different headers. Popup blocker on the client side is disabled I've tried to use the following instead of window.open: var winHndl = window.open("","TestWindow"); winHndl.document.location = "test.asp"; I've tried also to use try-catch block, relative and absolute path,... Nop. No error, no results. Can somebody plz shed a light on this mystery ? What I need else to do/check ? Thanks in advance. Regards, Gennady

                D Offline
                D Offline
                Dominic Goulet
                wrote on last edited by
                #7

                Hello, Does your problem only happens in IE? Or all browsers? Are you actually using window.open or window.showModalDialog? I would try adding a break point in code so you could see if the debugger actually goes into the code or does IIS blocks it. Have you checked what are the IIS log about this page?

                ______________________ Dominic Goulet FroggedSoft

                G 1 Reply Last reply
                0
                • D Dominic Goulet

                  Hello, Does your problem only happens in IE? Or all browsers? Are you actually using window.open or window.showModalDialog? I would try adding a break point in code so you could see if the debugger actually goes into the code or does IIS blocks it. Have you checked what are the IIS log about this page?

                  ______________________ Dominic Goulet FroggedSoft

                  G Offline
                  G Offline
                  Gennady Oster
                  wrote on last edited by
                  #8

                  Hi, Dominic ! Thanks. We solved the problem with the help of MS support. Using the debugdiag tool DebugDiag[^] we've found that one of asp pages loaded into the hidden frame (for debug purposes) filled out all available worker threads, executing the same one-time function more and more. This happened, as far as I could understand, after updating the SQL client on the server. Didn't understand the whole story yet. Regards, Gennady

                  My English is permanently under construction. Be patient !!

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups