Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Target="_blank" doesn't work

Status
Not open for further replies.

jspag16

Programmer
Aug 31, 2001
3
US
I have an IIS application developed in VB6. I have 2 test environments, a Windows 2000 Pro and NT Server. I have an event connected to a submit button on the htm page, which works fine on W2K Pro and NT.

On the Windows 2000 Server when you click the submit button no action occurs.

Anyone have any ideas why?
 
which iis are u using ? iis4 or iis5 ? as far as i know, vb6 webclasses does not work by default with iis5. Here is what msdn says :

"SYMPTOMS
When developing IIS Applications (WebClasses) on Microsoft Windows 2000, the following error message occurs:

Internet Information Server or Peer Web Services version 3.0 or later must be installed to run WebClass.
which is then followed by these additional error messages:
Errors during load. Refer to 'C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects\WebClass.log' for details.
C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects\WebClass.Dsr' could not be loaded.

CAUSE
The WebClass Designer searches the registry for the Active Server Pages (ASP) 2.0 Type Library key. By default, Windows 2000 only has the registry key for the 3.0 version of the ASP Type Library. Because of this, the above error messages occur.

RESOLUTION
NOTE: The following resolution requires the use of Regtlib.exe, which is contained in Visual Studio Service Pack 3. To obtain Visual Studio Service Pack 3, see the following Microsoft Web site:

Registering the ASP.tlb Type Library adds the 2.0 key to the ASP Type Library registry entry. The asp.tlb file can be found on Disk 1 of either the Professional or Enterprise version of Microsoft Visual Studio in the following directory:
Common\IDE\IDE98
Copy asp.tlb to the following directory:
Program Files\Microsoft Visual Studio\Common\IDE\IDE98
Use the regtlib.exe file to register the ASP 2.0 Type Library. "
 
Thanks for they reply Bluebytez.

The webclasses do run, it's only when I try and set the target to _blank in the form of the htm page that the clicking the submit button takes no action.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top