How to upload the file through website

Posted by Vanchi050585 under ASP.NET on 11/30/2010 | Points: 10 | Views : 2733 | Status : [Member] | Replies : 5
hi all,

when i am trying to upload a file through the website, the following error will be occured. can anyone tell me. pls urgent.

Could not find a part of the path 'C:\inetpub\vhosts\zaika.co.in\httpdocs\UploadFiles\24_Balaji.jpg'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\inetpub\vhosts\zaika.co.in\httpdocs\UploadFiles\24_Balaji.jpg'.

Thanks
tvn

Thanks
tvn



Responses

Posted by: Vuyiswamb on: 11/30/2010 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
it means it did not find this path

'C:\inetpub\vhosts\zaika.co.in\httpdocs\UploadFiles\


go to your Server and make sure the path exist.



Thank you for posting at Dotnetfunda
[Administrator]

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: T.saravanan on: 11/30/2010 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi Vanchi,

Same exception is discuss in following links...Refer those links...

http://bytes.com/topic/net/answers/103302-system-io-directorynotfoundexception-could-not-find-part-path

http://forums.asp.net/t/1298854.aspx

http://forums.asp.net/t/1185634.aspx

Cheers :)


Thanks,
T.Saravanan

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raja on: 11/30/2010 [Member] Starter | Points: 25

Up
0
Down
@Lalji_mer,

Thanks for giving links to the post that may help Vanchi050585, however it would be good if you can detail him the problem and guide the solution or at least guide him in the correct direction and then if needed provide the link to visit for more details.

Just providing links doesn't solve the issue much and anybody can do that by googling. Hope you understand and will not see links post from you again.

On top of that the Spider link you have given has no solution at all, the author has still not get the solution.

Thanks

Regards,
Raja, USA

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lalji_mer on: 11/30/2010 [Member] Bronze | Points: 25

Up
0
Down
@ Raja...Thanks for give me suggestion i will try may best to improve answer quality...

Thanks again..

LP MER

Vanchi050585, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response