zoukankan      html  css  js  c++  java
  • .net开发过程中遇到的错误,及解决办法记录

    一、在证书存储区中找不到清单签名证书。

      解决方法:右击项目属性—>签名—>为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_MACHINESOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_RESTRICT_ABOUT_PROTOCOL_IE7的权限有问题。手动打开“完全读取”权限,我的问题就解决了,重新安装,然后uc再提示的话,就允许篡改就没事了。

      参考:http://www.cnblogs.com/coding-hundredOfYears/archive/2012/10/20/2732490.html

  • 相关阅读:
    jQuery之概念以及基本使用
    微信小程序开发(八)-生命周期
    微信小程序开发(七)-自定义组件
    微信小程序开发(六)-常⻅组件
    微信小程序开发(五)-⼩程序事件的绑定与样式
    微信小程序开发(四)-列表渲染
    微信小程序开发(三)-数据绑定
    vue中使用v-echars
    原生aspx页面如何引用公共js和css
    layui常用的验证
  • 原文地址:https://www.cnblogs.com/zzgblog/p/4645332.html
Copyright © 2011-2022 走看看