Error running Classic-Layout.aspx

Last post 02-24-2011, 11:02 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  02-24-2011, 7:45 AM 66417

    Error running Classic-Layout.aspx

    I am havingtrouble getting the ready-made templates to work.
    I get the following arror message:
     
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0234: The type or namespace name 'ApplicationBlocks' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

    Source Error:

    Line 19: 				<add namespace="System.Drawing"/>
    Line 20: 				<add namespace="System.Net"/>
    Line 21: 				<add namespace="Microsoft.ApplicationBlocks.Data"/>
    Line 22: 				<add namespace="Microsoft.VisualBasic"/>
    Line 23: 				<add namespace="System.Globalization"/>

    Source File: \\xxxxx\public_html\Web.config    Line: 21

    I get however the simple version to work:

    <%@ Register TagPrefix="DotNetGallery" Namespace="DotNetGallery" Assembly="DotNetGallery" %>

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

     

    <dotnetgallery:gallerybrowser id="dotnetgallery1" GalleryFolder="/myGallery" runat="server"></dotnetgallery:gallerybrowser>

    </asp:Content>

    What am I missing?
    Many thanks in advance!
  •  02-24-2011, 11:02 AM 66425 in reply to 66417

    Re: Error running Classic-Layout.aspx

    Try removing the following code:
     
    <add namespace="Microsoft.ApplicationBlocks.Data"/>
    I think your web.config is wrong. And it has invalid entries.
     
    I suggest you create a new web.config file.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML