Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 28th, 2004, 07:28 PM
Authorized User
 
Join Date: Jun 2003
Location: Norwalk, CA, USA.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default FileManager Application

Hi Guys,
I am trying to build FileManager Application. I have built tha same folder structure and and have put files in respective folders, but at the time of building the app I get following error message:

"Could not find file "c:\inetpub\wwwroot\ThePhile\Footer.ascx"

Although I have file in location
C:\Inetpub\wwwroot\ThePhile\Modules\Contros\User

and my register directive looks:

<%@ Register TagPrefix="FileManager" TagName="Footer" Src="Footer.ascx" %>
<%@ Register TagPrefix="FileManager" TagName="Header" Src="Header.ascx" %>

even by giving excate path like \ThePhile\Modules\Contros\User\Footer.ascx
I get the same error!

Any help is welcome!

Thank you.

Bharat Gadhia
__________________
Bharat Gadhia
  #2 (permalink)  
Old January 28th, 2004, 09:22 PM
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you want the relative path to look like this:
src="/ThePhile/Modules/Controls/User/Footer.ascx", although this is not the directory structure given by the example in the book. For the file manager app, it it locate in directory /ThePhile/Modules/FileManager with the application header and footer in that directory as well.

  #3 (permalink)  
Old January 29th, 2004, 09:16 PM
Authorized User
 
Join Date: Jun 2003
Location: Norwalk, CA, USA.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do mean I have to copy the folder Module in FileManager directory?
I have:
ThePhile\Modules\Contros\User---> where Footer and Header controls are and
ThePhile\Modules\FileManager\Web---> is the place where FileManager
application lies.

I get following error:

Parser Error Message: Could not find a part of the path "c:\inetpub\wwwroot\ThePhile\Modules\Controls\User \Footer.ascx".

Source Error:


Line 1: <%@ Page language="c#" Codebehind="BrowseFiles.aspx.cs" AutoEventWireup="false" Inherits="CM.WebModules.Filemanager.Web.BrowseFile s" %>
Line 2: <%@ Register TagPrefix="FileManager" TagName="Footer" src="/ThePhile/Modules/Controls/User/Footer.ascx" %>
Line 3: <%@ Register TagPrefix="FileManager" TagName="Header" src="/ThePhile/Modules/Controls/User/Header.ascx" %>
Line 4: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >


Source File: c:\inetpub\wwwroot\ThePhile\BrowseFiles.aspx Line: 2

can you please let me know how to proceed?

Thank you so much
Bharat Gadhia

Bharat Gadhia
  #4 (permalink)  
Old February 3rd, 2004, 04:01 PM
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

if you are going by the example in the book, it still sounds like your file and folder structure is not correct.
It sounds like you are confusing the SiteFooter and SiteHeader controls which are located in /ThePhile/Controls and the file manager Header and Footer which are in /ThePhile/Modules/FileManager

my tag prefixes for the filemanager browsefiles.aspx web form look like:
<@ Register TagPrefix="FileManager" TagName="Footer" Src="Footer.ascx" %>
<%@ Register TagPrefix="FileManager" TagName="Header" Src="Header.ascx" %>

because the browsefiles.aspx, header.ascx and footer.ascx are all in the same folder


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FileManager - Permission Denied fieroguy BOOK: ASP.NET Website Programming Problem-Design-Solution 3 July 22nd, 2004 08:52 PM
FileManager CreateDir FrancesValdes BOOK: ASP.NET Website Programming Problem-Design-Solution 2 May 18th, 2004 12:31 PM
FileManager--cannot upload or edit uvasid BOOK: ASP.NET Website Programming Problem-Design-Solution 4 February 17th, 2004 05:16 PM
Secure FileManager yingmingming BOOK: ASP.NET Website Programming Problem-Design-Solution 0 February 16th, 2004 11:19 AM
FileManager - download function culam BOOK: ASP.NET Website Programming Problem-Design-Solution 2 November 4th, 2003 10:57 AM



All times are GMT -4. The time now is 07:19 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.