Cannot find assembly when handling .html files through isapi

R

rgparkins

Hi

I have just converted my .net 1.1 website into .net 2 and I have run
into a problem when handling html files. I have configured the .net
engine to handle .html files beacuse my client wants to have simple
URLs so that people and search engines can use them easier.

In my .net 1.1 version this worked well. However in .NET 2.0 I am
getting a failure to load an assembly whenever I browse to an .html
file. the error is shown below and it would be great if someone can
help, it seems to be an issue with System.Transactions which cannot be
found

Many thanks

Richard

Configuration Error
Description: An error occurred during the processing of a
configuration file required to service this request. Please review the
specific error details below and modify your configuration file
appropriately.

Parser Error Message: File or assembly name System.Transactions, or
one of its dependencies, was not found.

Source Error:

Line 43: <add assembly="System.Windows.Forms, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 44: <add assembly="System.Design, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 45: <add assembly="System.Transactions, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies>
Line 46: </compilation>
Line 47: <!-- CUSTOM ERROR MESSAGES


Source File: E:\ASP.NET.2.0\www.ylt.com\wwwroot\web.config Line: 45

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

=== Pre-bind state information ===
LOG: DisplayName = System.Transactions, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///E:/ASP.NET.2.0/www.ylt.com/wwwroot
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS
\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET
\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: System.Transactions, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
ASP.NET Files/root/983a73c9/5cd899f/System.Transactions.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
ASP.NET Files/root/983a73c9/5cd899f/System.Transactions/
System.Transactions.DLL.
LOG: Attempting download of new URL
file:///E:/ASP.NET.2.0/www.ylt.com/wwwroot/bin/System.Transactions.DLL.
LOG: Attempting download of new URL
file:///E:/ASP.NET.2.0/www.ylt.com/wwwroot/bin/System.Transactions/System.Transactions.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
ASP.NET Files/root/983a73c9/5cd899f/System.Transactions.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
ASP.NET Files/root/983a73c9/5cd899f/System.Transactions/
System.Transactions.EXE.
LOG: Attempting download of new URL
file:///E:/ASP.NET.2.0/www.ylt.com/wwwroot/bin/System.Transactions.EXE.
LOG: Attempting download of new URL
file:///E:/ASP.NET.2.0/www.ylt.com/wwwroot/bin/System.Transactions/System.Transactions.EXE.
 
R

rgparkins

HI

I found my issue..! I had set the .net 1.1 isapi to handle the .html
and .htm files!

Easy mistake but might help someone in the future :)

Cheers

Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top