English 中文(简体)
Upload vCard (.vcf) file to IIS7 Site
原标题:

I m trying to upload a vcard file to a site i ve built with ASP.NET. It s hosted on an IIS7 server.

I keep running into the "content type not allowed" error when i try to upload the file. I have write permission to the directory, I ve already added the MIME type for vcards and restarted the IIS server, however it still refuses to take it.

I m using DevExpress UploadControl and i ve removed any validation from it so i am fairly certain the control is not restricting the file upload.

Any other suggestions ?

最佳回答

Maybe your component just allow some content types by default and new ones must be granted access manually.

Can you to debug your server side code, to see if your page code executes and to spot exactly what component are throwing up that error?

It s an HTTP error or a .net exception?

问题回答

暂无回答




相关问题
session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

How to use appcmd to set debug=false in IIS7

I m trying to use APPCMD to set debug=false in web.config, per the documentation. The specific syntax I am using is: APPCMD SET CONFIG "SITE/VDIR" section:compilation /debug:False /commit:APP ...

Windows User Account that executes only IIS7 Provisions

I have a web application that executes IIS 7 provisions (using Microsoft.Web.Administration.dll) to create our web and ftp sites. When I run this using the administrator account, it works ok. I want ...

Could I get by HttpModule the URL that contains * before?

My web-site is working under ASP.NET 3.5, IIS7, Integrated pipiline mode. My HttpModule is getting request to all resources, including URLs like this: http://my-site.com/address And I would support *...

IIS 7 Http Handler development issue

I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 to develop an ASP.Net web site. I want to develop an Http module, which could inspect whether incoming request has some specific http header (e.g. ...

热门标签