file upload working in one and not the other help
Posted
by rod
on Stack Overflow
See other posts from Stack Overflow
or by rod
Published on 2010-06-18T16:00:49Z
Indexed on
2010/06/18
16:03 UTC
Read the original article
Hit count: 362
ASP.NET
|asp.net-mvc
Hi All,
I have a web application which has 2 different versions deployed. 1 is a ASP.Net web forms version and the other is an ASP.Net MVC version
I have a File Upload page which dynamically creates a directory folder for the target location of the file to be uploaded to.
The application is using Forms Authentication for outside users and Integrated Windows Authentication for inside the network users.
I have an issue where a user can upload a file in the ASP.Net Web Forms version fine. But when the same user tries to upload the file in the MVC version the user gets a File.IO permission error.
Here's a kicker: I can upload the same file in both versions. The user is in a remote location but I believe they're still inside the network because they can work on the other parts of the application just fine.
Possible clues: In the event log there's an info that says Event code:4005 Forms authentication failed for the request. Reason: Ticket supplied was invalid.
What would be your initial thoughts on why this is happening?
Thanks,
Rod.
© Stack Overflow or respective owner