Click here to Skip to main content
16,019,435 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have created a WPF application which I am trying to run on an IIS server for a corporate network. The application works fine in debug. I published it to the IIS root folder and tried to run it. I get trust error issues. I have followed several information paths which suggest I need to register some mime files which I did, another suggest I need to change the retention time on the IIS manager to 1 minute which I did. Next I am told that I need a certificate which I attempted to create using the following code C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin>makecert -sv MyKey.pvk -r -n "C
N=Aring" MyKey.cer which generates the following error after I have entered two different passwords. Error: Can't access the key of the subject ('MyKey.pvk')
Failed
Another suggested using an automatic deployment option which is not available on the 2010 express studio. Does anyone know of step by step directions for deploying a WPF application so that it can be accessed through the web? My frustration level is at a peak. I thought using vs2010 and WPF would allow creation of a web page easly which it did however Microsoft has made deploying it a nightmare. Thank you for any help you can provide, I don't want to dump weeks of work but I can't seem to get through all of the issues.

Dave D.
Posted
Comments
db7uk 31-May-12 15:23pm    
WPF provides 3 main ways for deployment. To confirm, you are trying to deploy an xbap? You have probably looked but this link should be of help?

http://msdn.microsoft.com/en-us/library/aa969776.aspx#Deploying_WPF_Applications

1 solution

 
Share this answer
 
Comments
Ammar Shaukat 19-Jun-19 5:14am    
there is difference between a certificate and setup

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900