Solved

Upgrading to 3.5 framework on Windows Server 2003

Posted on 2008-10-02
11
1,493 Views
Last Modified: 2013-11-08
I downloaded VWD2008 and created a web site that uses LINQ heavily.
It was only then that I realized we don't have the 3.5 framework on our Intranet server (where the project is to be used).
This is our first ASP.Net application on this server so I don't need to worry about breaking any 1.1 / 2.0 progams.
I installed the dotnetfx35.exe on this Windows Server 2003 machine, but I still cannot select version 3.5 on my website properties.

Question: What am I missing?
0
Comment
Question by:jmundsack
  • 6
  • 5
11 Comments
 
LVL 22

Expert Comment

by:Snarf0001
ID: 22623974
Select version 2.
As long as 3.5 is on the machine, the extra parts will be used, but it uses the same asp reg as 2.0.
0
 
LVL 13

Author Comment

by:jmundsack
ID: 22624078
Oh...

Then I think I have asked the wrong question.  You see I used the "Copy Website" function in VWD2008 to install the application on the server, and now when I run the application I am getting an error which I *assumed* meant that somehow my 3.5 installation wasn't being recognized.  Could I impose on you to theorize about the cause of this error, or should I enter a new question?

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.Web.DynamicData, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 50:         <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 51:         <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 52:         <add assembly="System.Web.DynamicData, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 53:         <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 54:         <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

Source File: C:\Inetpub\wwwroot\hal\web.config    Line: 52

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.DynamicData, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 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.1433; ASP.NET Version:2.0.50727.1433
0
 
LVL 22

Expert Comment

by:Snarf0001
ID: 22624150
Strange, should have been taken care of when you installed 3.5.
Let me hunt for a moment and see if i can come up with anything.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 22

Accepted Solution

by:
Snarf0001 earned 500 total points
ID: 22624164
Aha, i believe some of those (DynamicData, etc) were not part of 3.5 originally, but part of sp1 or sp2.  Did you install the service packs as well?
0
 
LVL 13

Author Comment

by:jmundsack
ID: 22624173
Aha!  No... I did not.  Let me see if that fixes the error.
0
 
LVL 13

Author Comment

by:jmundsack
ID: 22624232
Whoops...  apparently I *did* install sp1.  This was the download page I used:

http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en

I selected the "Full Package" link at the bottom because system policies beyond my control prevent Internet access from the server.

I wonder if that has something to do with it.
0
 
LVL 22

Expert Comment

by:Snarf0001
ID: 22624304
Hmm, strange.
Not quite sure what it would be then...  you did have 2.0 installed first, yes?
0
 
LVL 13

Author Comment

by:jmundsack
ID: 22624342
Yes.

Do you think maybe I should uninstall *all* frameworks, then re-install 3.5 (which reportedly *contains* all the previous versions)?
0
 
LVL 22

Expert Comment

by:Snarf0001
ID: 22624389
Check out this link, seems to be the same problem you're having, with some possible solutions:

http://forums.asp.net/p/1173067/2133738.aspx
0
 
LVL 13

Author Comment

by:jmundsack
ID: 22625519
Actually....  Now I think it IS the service pack issue!

When I went to microsoft.com to download sp1 after you suggested it, the link for the full download was purple (meaning I'd already visited that link before), so I assumed this was the file I downloaded and didn't proceed.

But just now I went to the page for 3.5 original release (not sp1) and that link was purple too.  So I think that's the one I downloaded.  (Do you have this file so I could compare the "Version" information?  Mine says, "File version: 3.5.21022.8".  I'm curious to know if the sp1 full package download has a different version number.)

I must have tried to download the sp1 file yesterday at some point and the download failed or was interrupted.  The problem is I access the Internet through my work PC and they have a virus scan running on some distant proxy server for every file that gets downloaded -- and it keeps crapping out whenever it tries to scan this particular file!

I think somehow I ended up on the framework 3.5 (non-sp1) page this morning (when I was able to finally download the file), and didn't realize that there were in fact two separate download pages and I was on the wrong one.

So unless I can get this sp1 download to work, I'm going to have to download it from home, and bring it in on a flash drive, so I won't know until tomorrow if that was the issue.
0
 
LVL 13

Author Closing Comment

by:jmundsack
ID: 31502369
Thank you for all your help!  It's working perfectly now with framework 3.5 sp1 installed.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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