开发者

ASP.NET Ajax File Upload, Access Denied

开发者 https://www.devze.com 2023-01-19 02:09 出处:网络
I\'m having some trouble using the ASP.NET AJAX File Uploader. I always get either: Unhandled Exception: Access is Denied

I'm having some trouble using the ASP.NET AJAX File Uploader.

I always get either:

Unhandled Exception: Access is Denied

or

U开发者_高级运维nhandled Exception: The File Attached is Invalid

To give you some background i'm working on .NET 4.0 and using the Ajax toolkit dll

To get to this state all i have done is dragged a script manager onto the page, dragged the file upload onto the page and declared and linked a function to handle the upload success (save it etc..) I get the same errors with and without this function.


You should check the target directory for access level. it seems, the reason for your problem might be about the "write access"

If you need an asp.net ajax upload sample project, check this

0

精彩评论

暂无评论...
验证码 换一张
取 消