Site Search:
Sign in | Join | Help

This Blog

Syndication

Tags

ComponentArt

June 2007 - Posts

  • Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies

    Here's a little poser that I have run across a few times. You get

    Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies

    after loading the Componentart 2007.1 code and trying to run the site for the first time.

    The answer is to install ASP.NET AJAX 1.0. I read somewhere else that you need to make all the characters in the publicKeyToken (31bf3856ad364e3) uppercase, but I can't verify that.

    Note:
    I was able to verify that you don't need to do the 'uppercase' thing noted above, but you do need to 'restart' the application. Any edit to web.config will achieve this.

     

    As always, comments are welcome.

  • Intellisense for Component Art

    Follow these steps to extend Visual Studio's .aspx/.ascx file Intellisense to include ComponentArt.Web.UI control tags:
    Download ComponentArt.Web.UI ASPX Intellisense Schema file from: http://www.componentart.com/download/ComponentArt.Web.UI.xsd.zip


    Uncompress the .xsd file and place it in the following folder: (Visual Studio installation folder)\Common7\Packages\schemas\xml, overwriting any previous ComponentArt.Web.UI Intellisense files that may already be there.


    Restart Visual Studio for the changes to take effect.


    Open the .aspx (or .ascx) file containing a reference to ComponentArt.Web.UI. The file will contain a @Register directive such as: <%@ Register Assembly="ComponentArt.Web.UI" Namespace="ComponentArt.Web.UI" TagPrefix="ComponentArt" %>



    In Visual Studio 2002 and 2003 (version 7.x) add the following attribute to the body tag:
    <body xmlns:ComponentArt="http://schemas.componentart.com/intellisense/webui">
    where the second part of the attribute name xmlns:ComponentArt must match the TagPrefix specified in the @Register directive.


    In Visual Studio 2005 (version 8.x) add the following directive to the body tag:
    <body xmlns="http://schemas.componentart.com/intellisense/webui/">
    It is not necessary to use the body tag. Intellisense can instead be enabled locally by placing the attribute on another HTML tag such as a span or a div. Intellisense then applies to all the content within this tag. In fact since .ascx files do not contain a body tag, Intellisense for them has to be enabled locally in this fashion.