Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 15th, 2007, 03:05 AM
Registered User
 
Join Date: Dec 2004
Location: Lahore, Punjab, Pakistan.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Could not find a part of the path

When I am saving file on server through system.io.file.copy using ajax timer control then following error will occurred.

Could not find a part of the path
  #2 (permalink)  
Old August 15th, 2007, 11:13 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

How are you constructing the path? Obviously, the system can't find part of the path you are specifying, but without more detail it's rather hard for us to diagnose your problem.

-Peter
  #3 (permalink)  
Old August 21st, 2007, 12:15 AM
Registered User
 
Join Date: Dec 2004
Location: Lahore, Punjab, Pakistan.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I am saving file on server through system.io.file.copy using ajax timer control then following error will occurred.
Could not find a part of the path

I have used fileUpload control and its path is saved in hidden field on button click when file uploaded to server.



Thanks
Peter


  #4 (permalink)  
Old August 21st, 2007, 09:05 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Are you trying to save the file received to the path provided by the browser?

If I upload a file from my local path "E:\myfiles\somefile.ext" and you try to save the uploaded file using that same path, what will happen if your web server doesn't have a drive "E:"?

-Peter


Similar Threads
Thread Thread Starter Forum Replies Last Post
Table path using 4 part naming convention snufse SQL Server 2000 1 February 1st, 2008 07:45 PM
Need Help with path for loading Pics (app.path) Tabbasum Beginning VB 6 2 November 15th, 2007 04:57 AM
Error: Could not find a part of the path eelisMX Pro VB.NET 2002/2003 2 July 4th, 2006 02:22 AM
Convert logical path to absolute path zoostar J2EE 1 April 15th, 2005 10:36 AM
iis cannot find images in relative path vhrao ASP.NET 1.x and 2.0 Application Design 4 November 30th, 2004 11:00 AM





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