Solved

Upgrading to 3.5 framework on Windows Server 2003

Posted on 2008-10-02
11
1,500 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
[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
  • 6
  • 5
11 Comments
 
LVL 23

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 23

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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 23

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 23

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 23

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

631 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