Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1506
  • Last Modified:

Upgrading to 3.5 framework on Windows Server 2003

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
jmundsack
Asked:
jmundsack
  • 6
  • 5
1 Solution
 
Snarf0001Commented:
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
 
jmundsackAuthor Commented:
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
 
Snarf0001Commented:
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
Snarf0001Commented:
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
 
jmundsackAuthor Commented:
Aha!  No... I did not.  Let me see if that fixes the error.
0
 
jmundsackAuthor Commented:
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
 
Snarf0001Commented:
Hmm, strange.
Not quite sure what it would be then...  you did have 2.0 installed first, yes?
0
 
jmundsackAuthor Commented:
Yes.

Do you think maybe I should uninstall *all* frameworks, then re-install 3.5 (which reportedly *contains* all the previous versions)?
0
 
Snarf0001Commented:
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
 
jmundsackAuthor Commented:
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
 
jmundsackAuthor Commented:
Thank you for all your help!  It's working perfectly now with framework 3.5 sp1 installed.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now