?
Solved

Configuration Error - I Moved a web site from IIS 6 machine to IIS 7.5 machine

Posted on 2011-02-16
5
Medium Priority
?
695 Views
Last Modified: 2012-05-11
I have a web site on a Windows Server 2003 / IIS6 box that works fine.

I moved it to a new Windows Server 2008R2 / IIS7.5 ZenServer VM, set it up in IIS7.5, changed the DNS Host(A) record, etc.

When I browse to the site I get the error below with line "Line 32:" in red.

This is the first web site I've attempted to move from our existing web server to our new virtualized server, so I'm not sure what configuration chanages may be necessary.  Anyone done this and know what the "gotcha's" are?

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

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: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

Source Error: 


Line 30: 		<compilation debug="true">
Line 31: 			<assemblies>
Line 32: 				<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 33: 				<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 34: 				<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 

Source File: E:\inetpub\Reports\web.config    Line: 32 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 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.4927; ASP.NET Version:2.0.50727.4927

Open in new window

0
Comment
Question by:megnin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 8

Accepted Solution

by:
TheMozz earned 2000 total points
ID: 34908293
Is the .Net Framework 3.5 installed on the machine?
0
 
LVL 1

Author Comment

by:megnin
ID: 34908410
It's Windows Server 2008R2 so I just assumed that if Framework 4.0 was on it that 3.5 was as well.  I guess not.  Should I download and install Framework 3.5 only or anything else?
0
 
LVL 20

Expert Comment

by:informaniac
ID: 34908512
Windows Server 2008 shd have 3.5 installed on it by default. Maybe some .dll is missing on the server.
0
 
LVL 1

Author Comment

by:megnin
ID: 34909047
I just ran a Window Update (it's a new install) and installed 47 "important" updates.   There were several updates for .Net Framework 3.5 SP1.  Rebooting the server and will check it again.  I appreciate the information.  Server 2008 is pretty unfamiliar compaired to 2003 and everything that came before.
0
 
LVL 1

Author Closing Comment

by:megnin
ID: 34910504
I finally found in "Add Windows Features" that .Net Framework 3.5 was not installed.  I installed it and the web site works fine now.  Thank you!
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question