Popup window problem
-
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 -
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 -
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.
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? :)
-
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? :)
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.
-
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.
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
-
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, GennadyI'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, GennadyMy English is permanently under construction. Be patient !!
-
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, GennadyHello, 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
-
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
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 !!