Download will not function...

CodeHighlighter for ASP.NET Forum

Posted 18 years ago by David House
Avatar
After following the instructions in the readme.html file, we still get the following error...

Server Error in '/CodeHighlighterTest' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The format of the file 'ActiproSoftware.CodeHighlighter.Net20' is invalid.

Source Error:


Line 1: <%@ Page %>
Line 2: <%@ Register TagPrefix="CH" Namespace="ActiproSoftware.CodeHighlighter" Assembly="ActiproSoftware.CodeHighlighter.Net20" %>
Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 4:


Source File: H:\Inetpub\wwwroot\CodeHighlighter\InlineCode.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'ActiproSoftware.CodeHighlighter.Net20' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = ActiproSoftware.CodeHighlighter.Net20
(Partial)
LOG: Appbase = file:///H:/Inetpub/wwwroot/CodeHighlighter
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: ActiproSoftware.CodeHighlighter.Net20
LOG: Attempting download of new URL file:///H:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/codehighlightertest/45d1ea64/6c16983a/ActiproSoftware.CodeHighlighter.Net20.DLL.
LOG: Attempting download of new URL file:///H:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/codehighlightertest/45d1ea64/6c16983a/ActiproSoftware.CodeHighlighter.Net20/ActiproSoftware.CodeHighlighter.Net20.DLL.
LOG: Attempting download of new URL file:///H:/Inetpub/wwwroot/CodeHighlighter/bin/ActiproSoftware.CodeHighlighter.Net20.DLL.




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032


Both 1.1 and 2.0 runtimes are functional on the computer.

We also cannot find any examples for WinForms to use the product...

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
You are running the IIS virtual directory for CodeHighlighterTest in ASP.NET 1.1. See this line from your output above:
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032 
To fix it, go to the Properties of the CodeHighlighterTest virtual directory and change the ASP.NET version to 2.0.


Actipro Software Support

The latest build of this product (v4.0.59) was released 13 years ago, which was after the last post in this thread.