MVC :: Unable To Upload Files?
Jun 2, 2010I am unable to upload files, here is my aspx file
<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminSite.Master"
I am unable to upload files, here is my aspx file
<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminSite.Master"
i am trying to upload files through the ASP.NET File Upload control.
Every thing is working fine, except for the fact that when i try to upload the file on the server i am getting an error: (probably some authorization exception).
do i need to give some rights to the upload up there on the server. If so then for which account and do i need to restart the server after giving rights?
I am unable to upload even 75MB file ... it seems MS for some good sake is putting a limit of the file. how can I overcome this issue.
View 12 Repliesi am having problem uploading files to the application. When i click on the upload button, it does not upload the already selected file.
View 4 RepliesI was unable to upload files in a medium trust application and caught security exception.
If I change trust level to full it is working fine, but the hosting environment is set to run only medium trust application.
What are the settings to be done prior to upload files in a medium trust application.
I want upload file without refresh page. I use this [URL] .... it works great but my file size is greater than 10 mb ....
View 1 RepliesIm using a file uploader to upoad files to a folder used for upload.But the problem is this folder is a linux folder. I have made it a shared folder so that I can access from windows by samba. So, file transfer is successful when I'm using os but when I try to upload something from my websites uploader to this folder, this process is not successful. I have given all permissions to this folder.Don't know whats the problem.I have used both type of slashes for directory but still it is not successful.
View 4 RepliesI want to allow a user to upload several files with one upload action. What is the simplest way to do this?
View 3 Repliesi am using file upload control to upload the files in asp.net with vb.net as code behind. am storing the files in my local drive. my doubt is, how shall i read those file using asp.net application.
View 1 RepliesI am using the File Uploader to upload files. It is working fine. But I receive the page can not be displayed when I try to upload a file>4Mb in size.
View 1 Repliesi am making a module in which i have to uplod a file but unable to make it any one know
View 10 RepliesI've been trying to upload a video file on my local harddrive and it seems it cannot process the upload. The .flv MIME type is already registered on my IIS but still it cannot process upload.
View 2 Replieshow do i upload 20mb files using ASP.net. (using file upload control i have mentioned the following in httpruntime of web config file.
executionTimeout="90"
maxRequestLength="65536"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100"
enableVersionHeader="true"
how to upload .txt files to sql database using asp.net(C#)
View 1 RepliesHow to upload files from ASP.NET web application to any web server(linux)..
View 2 RepliesI've been looking for a way to achieve this behavior and I found this sample project.
The trick in this project is that it changes the form target to an iframe created on the fly.
So far so good, I can get the byte[] on the server-side. But I need to change an image preview after the file is uploaded.
How can I get the iframe to update the main page? Would I have to save it on a file on the disk, make a javascript callback to change the image url? Is there another way to do this? What's recommended?
I have deployed my software on a server,In my software there is a tool which reads an excel file and displays the content in a gridView.
It's working fine on my stand-alone PC, how can I do it on the web?
Should I upload my excel files on server and then read it or directly read it from the user's PC?
i write a FileServer Project (For uploading Files and give them to users), it is webapplication, i want to upload files to another server ( i mean another computer), i have its address : (172.16.10.30), so what should i do?
View 7 Repliesi want to upload files that are only jpeg, jpg etc. But i couldn't filter the files in the opening window. I want to change the text "all files" to jpeg etc. in the asp.net. (C#)
View 3 RepliesI am trying to use the fileupload control to upload data. Everytime i browse the data and click on submit button, the "HasFiles" returns false i have checked like this:
[Code]....
I am uploading member's picture into my database. However, there are instances that the member will not upload its photo. In this case, I'd like to upload instead a picture that is stored in my web app's folder. How am I going to get the picture and store it in my database.
View 4 Repliesi am working on a assaignment in which i have to save the pics of my web user through fileupload control i am using this code:
<p>Dim ImgFileName As String
Dim fileup As Boolean
If chooseFile.FileName <> "" Then
ImgFileName = chooseFile.FileName.ToString()
chooseFile.SaveAs(Server.MapPath("~imagesusers") & ImgFileName)
End If
</P>
this code is working on local pc but when i use it on my web server (on web which is hosted ) this code is not working what is wrong in it.
I am working on a project, in which I need to upload the .swf file by using ASP.Net fileupload control. But, when I click upload button, it doesn't work even not arises any related error, but "Internet Explorer cannot display the webpage" this error arise which is not related to by problem. While, instead of .swf file, when I tried to upload .doc, .txt, it uploads without any error.
View 2 RepliesThat's maybe a strange subject but it was the best I could come up with. The thing is I need to upload a set of files from a web site into our CMS. I know how to do this via a file upload control but is it possible to do this when I've instead got URL's to the files? They are pictures by the way. Is it possible to get a file located on another server into a Stream?
View 8 RepliesCan I upload files without having a fileupload control? I was looking at the HttpFileCollection class, but I believe that only works with the fileupload control.
View 18 Replies