Question : Setting up ASPX application on IIS - Could not load file or assembly

Hi,

I am trying to setup an an application written in ASPX (c#.net) on our sbs2008 server. It wasnt written by me howver it is currently running on our sbs2003 machine perfectly.

I want to get it working on our sbs 2008 machine.

However I get the attached error. I cant find out why.

I have installed Microsoft Office 2007 as I thought that was a requirement.

Any input is greatly appreciated.

Mitch
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
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: Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Source Error: 

Line 56:   
Line 57: 	   
Line 58:   
Line 59:   
Line 60:   

Source File: C:\www\web.config    Line: 58 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.VisualStudio.Tools.Applications.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

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

Answer : Setting up ASPX application on IIS - Could not load file or assembly

Try this:

Go to the Advanced settings of the Application pool. and set the option: Enable 32 Bit Applications to True.

Then try run the site again.
Random Solutions  
 
programming4us programming4us