Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-05-17
10
Medium Priority
?
479 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 83

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 83

Expert Comment

by:David Johnson, CD, MVP
ID: 39177677
which operating system and which version of iis ? or are you using apache?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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 83

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 83

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 83

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

721 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