一、在證書存儲區中找不到清單簽名證書。
解決方法:右擊項目屬性—>簽名—>為ClickOnce清單簽名,將勾掉的選項去掉。
參考:http://www.cnblogs.com/190196539/archive/2011/12/03/2272861.html
二、使用wcf中遇到的問題
錯誤消息:
錯誤 1 Reference.svcmap: 未能為服務引用“SMSService”生成代碼。 無法導入 wsdl:portType 詳細信息: 在運行 WSDL 導入擴展時引發異常: System.ServiceModel.Description.DataContractSerializerMessageContractImporter 錯誤: 類型“Newtonsoft.Json.Linq.JToken”是不支持的遞歸集合數據協定。請考慮修改集合“Newtonsoft.Json.Linq.JToken”的定義,移除對其自身的引用。 錯誤來源的 XPath: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='ISendMsgService'] 無法導入 wsdl:binding 詳細信息: 導入 wsdl:binding 所依賴的 wsdl:portType 時出錯。 wsdl:portType 的 XPath: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='ISendMsgService'] 錯誤來源的 XPath: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_ISendMsgService'] 無法導入 wsdl:port 詳細信息: 導入 wsdl:port 所依賴的 wsdl:binding 時出錯。 wsdl:binding 的 XPath: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_ISendMsgService'] 錯誤來源的 XPath: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='SendMsgService']/wsdl:port[@name='BasicHttpBinding_ISendMsgService'] App_WebReferences/SMSService/
解決方法:
1、

2、

參考:http://bbs.csdn.net/topics/390466658
三、安裝virtual studio 2012中遇到的嚴重錯誤

首先看vs提供的錯誤日志,發現最后一條錯誤代碼為0x80070643
解決辦法:
網上有很多遇到這個問題的,貌似也有各種各樣的問題,我遇到的是:注冊表的權限被uc瀏覽器“斃掉”了;
因為我是新裝的系統,只有一個uc瀏覽器,然后裝的vs2012,安裝過程中,uc就提示被其他程序篡改默認瀏覽器什么玩意的,然后我就點拒絕篡改了,然后就杯具了
具體方法是:注冊表中HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_ABOUT_PROTOCOL_IE7的權限有問題。手動打開“完全讀取”權限,我的問題就解決了,重新安裝,然后uc再提示的話,就允許篡改就沒事了。
參考:http://www.cnblogs.com/coding-hundredOfYears/archive/2012/10/20/2732490.html
