Could not load file or assembly 'DotNetGallery' or one of its dependencies.

Last post 06-23-2010, 2:09 AM by Kenneth. 2 replies.
Sort Posts: Previous Next
  •  06-22-2010, 8:18 AM 61933

    Could not load file or assembly 'DotNetGallery' or one of its dependencies.

    hi there,
     
    in my system.web i got:
      <httpModules>
    <add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery" />
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    </httpModules>
     
    in bin folder i got:
    DotnetGallery.dll
    dotnetgallery.lic
     
    and still i get that error, pointing to the UploadModule in web.config 
     
    help, please... 
    Filed under:
  •  06-22-2010, 11:44 AM 61938 in reply to 61933

    Update!

    I change the web.config part as in clasic mode.
    now the error is no longer on the web.config but on the containing page itself:
     
    Parser Error Message: Could not load file or assembly 'DotNetGallery' or one of its dependencies. The module was expected to contain an assembly manifest.
     
    Line 2: MasterPageFile="~/tabledMasterPage.master" %>
    Line 3:
    Line 4: <%@ Register Assembly="DotNetGallery" Namespace="DotNetGallery" TagPrefix="DotNetGallery" %>
    Line 5:
    Line 6: <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> 

    Source File: /AlbumView.aspx Line: 4
     
    any ideas? 
  •  06-23-2010, 2:09 AM 61951 in reply to 61938

    Re: Update!

    dj5000:
    I change the web.config part as in clasic mode.
    now the error is no longer on the web.config but on the containing page itself:
     
    Parser Error Message: Could not load file or assembly 'DotNetGallery' or one of its dependencies. The module was expected to contain an assembly manifest.
     
    Line 2: MasterPageFile="~/tabledMasterPage.master" %>
    Line 3:
    Line 4: <%@ Register Assembly="DotNetGallery" Namespace="DotNetGallery" TagPrefix="DotNetGallery" %>
    Line 5:
    Line 6: <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> 

    Source File: /AlbumView.aspx Line: 4
     
    any ideas? 
     
    Hi dj5000,
     
    Please add reference to file DotnetGallery.dll and try again.
     
    Regards,
     
    Ken
View as RSS news feed in XML