Technical Notes |
|
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.
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.
<%@ WebService Language="c#" Codebehind="Name.asmx.cs" Class="Name.NameService" %>-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.)
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.
Run the Microsoft ASP.NET IIS Registration tool at the Command Prompt shell. For example:
C:\>CD \WINDOWS\Microsoft.NET\Framework\v1.1.4322C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis -iStart 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. For more information on converting your projects for use with .NET Framework version 2.0, see Technical Note 10056.