The subject says it all mostly. I load the source in Visual Studio 2008, it converts the project to .net 2. I can build and run the project locally on my XP system, and it works fine. I to publish it to my Windows 2000 dev server (only supports .net 2.0 without hacks), and change the web.config to the correct one. I get this error:
Quote:
Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Website._Default" %>
Line 2:
Line 3: <%@ Register TagPrefix="gsp" Namespace="GalleryServerPro.Web" Assembly="GalleryServerPro.Web" %>
However the really confusing problem is that if I download the compiled version from the website, change to the correct web.config file it works just fine.
I've looked at all the projects in the source, and played around with the settings. It seems like
TIS.GSP.Business.Wpf targets the 3.0 framework. When I look in the source, it seems like the System.Windows.Media.Imaging class is only available with the 3.0 framework and higher. This all makes sense to me. All the DLLs look the same in the bin directory, the file sizes are the same, so what gives? I'm really confused by this!
Update:By selectively replacing DLLs, I have been able to track down the specific DLL to GalleryServerPro.Web.dll, which should be the website project DLL. I've verified that project should be compiling to .net 2.0, however the error I'm getting would indicate differently. Maybe this a basic asp.net issue I don't know about, but I have never seen this before.