Welcome Guest Search | Active Topics | Members | Log In | Register
ComponentArt.WEB.UI for .NET 3.5 Options
bobsts
Posted: Thursday, February 18, 2010 11:02:28 PM
Rank: Member

Joined: 4/19/2009
Posts: 8
Location: Ohio
I recompiled the source to use the 3.5 framework of AJAX and everything has been running fine. I noticed that the ComponentArt.WEB.UI.dll has a reference in it to System.Web.Extensions, Version=1.0.61025.0 which is not the version that I have Systems.Web.Extensions, Version 3.5.0.0 so whenever it loads up it cannot find this file and I get an error:
Error: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

The stack trace points to the ComponentArt.Web.UI:
ComponentArt.Web.UI

Target Site
Void OnLoad(System.EventArgs)

Stack Trace
at ComponentArt.Web.UI.Dialog.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

What I don't understand is that this has been working (and still does) on my other webserver. I'm moving to a brand new server running Windows Server 2008 R2 and IIS 7 so maybe that has something to do with it?

Is there a way to get a ComponentArt.Web.UI dll built with the newer System.Web.Extension of 3.5.0.0?
Thanks,
Bob

--- Maybe I just figured out a solution. I looked on my old server and it has both versions in the GAC. I just need to figure out what version that is, I suppose it is an earlier version of the framework that I must not have installed on the new server. ---
Roger Martin
Posted: Thursday, February 18, 2010 11:26:27 PM
Rank: Administration

Joined: 8/3/2007
Posts: 1,996
Location: Fort Atkinson, WI
I am pretty sure you can get this to work on a server with only 3.5 installed, but if nothing else you can always install MS Ajax 1.0 to install the 1.0.61025 version of System.Web.Extensions.dll.

Before you do that, though, make sure you have the following section in web.config:

Code:
<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727"><dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
        <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
    </assemblyBinding>
</runtime>





Roger Martin
Creator and Lead Developer of Gallery Server Pro
bobsts
Posted: Friday, February 19, 2010 6:49:14 AM
Rank: Member

Joined: 4/19/2009
Posts: 8
Location: Ohio
Roger,
You are brilliant! That worked. And that's worth a donation in my book so one will be forthcoming.
Thanks,
Bob
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.2 (NET v2.0) - 9/27/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.