TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
toanhoi bui
NA
70
207.1k
Error Upload file when this web was up host
Sep 13 2011 9:08 AM
I write a application to upload file and up to host :
http://www.buiductoan.somee.com/default.aspx
My code:
if (FileUpload1.PostedFile != null)
{
String filename = FileUpload1.PostedFile.FileName;
FileUpload1.PostedFile.SaveAs("C:\\"+filename);
}
I run success in local host but I run on http://www.buiductoan.somee.com/default.aspx has error :
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
And
Access to the path 'C:\Untitled.png' is denied.
Can you help me,please?
Reply
Answers (
7
)
Find Printers Name Of client Side
ASP.NET 2010 tool box controls