Re: Blank page problem

  •  11-20-2009, 4:45 AM

    Re: Blank page problem

    Hello there
     
    I'm also having the blank page problem, and have tried the above with no success, which is shame as it it is exactly what I'm after (we use version 1.2 and it looks like this is leaps and bounds ahead)
     
    We're on .NET 3.5, IIS 6. I'm using a trial version of 3.0.
     
    My test application has a root of dotNetGalleryTest. Images are in dotNetGalleryTest/Images. Permissons set to full for everyone on all directories
     
    The page includes the directive and DNG tag like this:
     
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="galleryTest2.aspx.vb" Inherits="dotNetGalleryTest.galleryTest2" %>
    <%
    @ Register TagPrefix="DotNetGallery" Namespace="DotNetGallery" Assembly="DotNetGallery" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml" >
    <
    head runat="server">
    <title>Untitled Page</title>
    </
    head>
    <
    body>
    <
    form id="form1" runat="server">
    <div>
    <dotnetgallery:gallerybrowser id="dngGallery1" GalleryFolder="~/images" runat="server"></dotnetgallery:gallerybrowser> </div>
    </form>
    </
    body>
    </
    html>
     
    In the codebehind I've put :

    dngGallery1.AlbumID = "General"

    In web.config I've added the httpmodule:

    <httpModules>
    <
    add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <
    add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery"/>
    </
    httpModules>

    When I run the page, the page comes up blank as in the other examples shown here.

    I've tried different paths, number/size of images, permissions, setting paths in codebehind, and have run out of ideas. Would grateful for help - I don't reall want to develop the app I need to do in the old version!
     
    Thanks
     
    Tony
     
     
     

     
     
     

     
     
View Complete Thread