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 20th, 2004, 01:14 PM
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default FileManager--cannot upload or edit

There must be a simple resolution to this....
I am developing the project on an XP box with MDSE, when i try to upload or edit a file in the file manager module, i keep getting the error: Access to path "c:\.............\file i'm trying to upload or edit.aspx" is denied.
I am an administrator on the machine, i have checked my iis permissions and folder security, not sure what else could be the problem.
something i'm overlooking?

  #2 (permalink)  
Old January 21st, 2004, 09:30 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Are you using asp.net to edit the aspx page? If so, try giving write permissions on the folder to the ASPNET user.

  #3 (permalink)  
Old January 22nd, 2004, 11:53 AM
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that is what i was overlooking, i thought i had the asp.net user on this project, but it wasn't there when i went back to check
thanks!

  #4 (permalink)  
Old January 26th, 2004, 11:37 PM
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what am i missing if i get this error when trying to upload a file or change a current file and save:

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client

  #5 (permalink)  
Old February 17th, 2004, 05:16 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try changing the EditFile.aspx page to inclucde : validateRequest="false"

like so:
<%@ Page language="c#" Codebehind="EditFile.aspx.cs" AutoEventWireup="false" Inherits="Wrox.WebModules.FileManager.Web.EditFile " validateRequest="false" %>
 


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
Secure FileManager yingmingming BOOK: ASP.NET Website Programming Problem-Design-Solution 0 February 16th, 2004 11:19 AM
FileManager Application bpgadhia BOOK: ASP.NET Website Programming Problem-Design-Solution 3 February 3rd, 2004 04:01 PM
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 01:30 AM.


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