Solved

Upgrading to 3.5 framework on Windows Server 2003

Posted on 2008-10-02
11
1,489 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 22

Accepted Solution

by:
Snarf0001 earned 500 total points
Comment Utility
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
Comment Utility
Aha!  No... I did not.  Let me see if that fixes the error.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 13

Author Comment

by:jmundsack
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you for all your help!  It's working perfectly now with framework 3.5 sp1 installed.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now