Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library » Technical Notes

Technical Notes

.NET Project Does Not Run
Technical Note 10057
Last Reviewed 21-Jul-2006
Applies To
Verastream Host Integrator version 5.5 through 6.0
Summary

When attempting to run a .NET Web Application or Web Service that was built with Verastream Host Integrator Web Builder, your web browser may display a File Download prompt, error, or other unexpected results. This technical note describes the symptoms, explains the cause, and provides a solution.

Problem Symptoms

When running a .NET Web Application or Web Service project, you may see one of the following symptoms:

Note: Projects run automatically after building when the Web Builder Settings option "Launch in browser when build succeeds" is enabled.

  • When running a Web Service, the web browser displays a File Download dialog box prompting for the download of an .asmx or .aspx file (unknown file type).
  • When running a Web Service, the web browser displays a WebService tag. For example:
<%@ WebService Language="c#" Codebehind="Name.asmx.cs" Class="Name.NameService" %>
  • When running a Web Application, the web browser indicates an HTTP 500 internal error from the web server.
  • When running a Web Application, the web browser displays the following error from the web server:
-2147467259 (0x80004005)

This error is seen in Internet Explorer when the advanced option, "Show friendly HTTP error messages" is unchecked. (To find this check box, click Tools > Internet Options > Advanced tab.)

  • When running a Web Application, the pages display without the expected input edit fields or buttons.

Explanation

The ASP.NET web application runs under the Microsoft Internet Information Services (IIS) web server. This problem occurs because aspnet_isapi.dll has not been installed and registered and/or the IIS metabase script maps have not been updated to use the .NET Framework for processing the ASP.NET (C# or VB) pages.

Solution

Run the Microsoft ASP.NET IIS Registration tool at the Command Prompt shell. For example:

C:\>CD \WINDOWS\Microsoft.NET\Framework\v1.1.4322
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis -i
Start installing ASP.NET (1.1.4322.0).
Finished installing ASP.NET (1.1.4322.0).

Note: Verastream Host Integrator Web Builder version 5.5 was designed for use with Microsoft .NET Framework version 1.1.

Related Technical Notes
40025 HTTP Error 404 Running ASP Procedure-Based Web Application
40034 Error Running .NET Web Application: "Could not load file or assembly..."
40999 Verastream Host Integrator Technical Notes

horizontal line

Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.