Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-05-17
10
Medium Priority
?
482 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
  • 5
  • 5
10 Comments
 
LVL 84

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 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 84

Expert Comment

by:David Johnson, CD, MVP
ID: 39177677
which operating system and which version of iis ? or are you using apache?
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
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 84

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 84

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 84

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

Independent Software Vendors: 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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

971 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