Solved

asp.net open vCard link not display the text in browser

Posted on 2013-05-17
10
467 Views
Last Modified: 2013-05-19
Hi I have a link to a vCard but if you click it in ie it displays the text ov the vCard. How do i get it to open it instead?
0
Comment
Question by:taz8020
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 39176595
You want the user to download the vcard?

Check your mime types
text/x-vcard .vcf
0
 
LVL 3

Author Comment

by:taz8020
ID: 39177504
How do you do it
0
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 39177677
which operating system and which version of iis ? or are you using apache?
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 3

Author Comment

by:taz8020
ID: 39177696
hi yes its .net4 and iis 7, So if i alter the mime types it will auto download the file?
0
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 39177706
if the user clicks on it yes the user will download the file
0
 
LVL 3

Author Comment

by:taz8020
ID: 39177754
do i alter it in the web.config file and if so how?
0
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 39177777
http://www.screencast.com/t/UKO6PzxXpeSJ
older
<mimeMap fileExtension=".vcf" mimeType="text/plain" />
<mimeMap fileExtension=".vcard" mimeType="text/plain" />

newest rules

<mimeMap fileExtension=".vcf" mimeType="text/vcard" />
<mimeMap fileExtension=".vcard" mimeType="text/vcard" />


http://en.wikipedia.org/wiki/VCard
0
 
LVL 3

Author Comment

by:taz8020
ID: 39177787
Hi thanks for the video, there was no sound though, do i delete it or edit it?
0
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 39178008
edit it.

No sound because I am deaf
0
 
LVL 3

Author Comment

by:taz8020
ID: 39178355
Amazing thank you so much, sorry was doing this late last night and did not see you had told me what to edit and how. Wish everyone one hear was as helpful.

Regards Craig
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question