同样的一段代码马上就失效了出现
"ArgumentException: Invalid appId\u000d\u000aParameter name: appId : ID=3643.V2_Json.Translate.2CECB971"
的错误。
而且按照说明文档里使用SOAP接口做发也一直都是报
"ArgumentException: Invalid appId\u000d\u000aParameter name: appId : ID=3643.V2_Json.Translate.2CECB971"的错误

解决方案 »

  1.   

    “/”应用程序中的服务器错误。
    --------------------------------------------------------------------------------ArgumentException: Invalid appId
    Parameter name: appId : ID=3743.V2_Soap.Translate.2F1EEA03 
    说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ServiceModel.FaultException: ArgumentException: Invalid appId
    Parameter name: appId : ID=3743.V2_Soap.Translate.2F1EEA03源错误: 
    行 668:        
    行 669:        public string Translate(string appId, string text, string from, string to, string contentType, string category) {
    行 670:            return base.Channel.Translate(appId, text, from, to, contentType, category);
    行 671:        }
    行 672:        
     
      

  2.   

    已经申请APPid,还是出现这种问题。哪位大虾知道哦
      

  3.   

        Back in September 2011, we deprecated the use of Bing AppIDs for the Translator service. In reality, existing and new AppIDs continued to work until yesterday. We have now disabled the use of new Bing AppIDs: requests using a Bing AppID that has not been used with the Translator service before March 31, 2012 will be denied.    Please upgrade to the secure method of Azure Marketplace tokens.
    ------------------------------------------------------------------------
    Bing App ID is deprecated and is no longer supported.  Go to Azure Marketplace and sign up for Microsoft Translator.  https://dataet.azure.com/developer/applications/ 
    ------------------------------------------------------------------------
    引自微软的2个通告 简单来说就是翻译API所用的APPID已经分离了 要去上面的网址另外申请
      

  4.   

    申请完账户以后到https://dataet.azure.com/dataset/1899a118-d202-492c-aa16-ba21c33c06cb去购买翻译服务取得APPID 目前2,000,000字元/月的服务是免费的 以上要另外付费(学GOOGLE开始收费了...)详细使用参考http://msdn.microsoft.com/en-us/library/gg312152.aspx
      

  5.   

    楼主问题解决了吗?我按照kaotuby的方法弄,去购买翻译服务没获取到APPID啊,怎么弄啊?
      

  6.   


    意思是要申请两次?https://dataet.azure.com/developer/applications/这个地址怎么申请APP_ID?
      

  7.   


    你好,请问我订阅过之后怎么做成API使用呢?没找到API呀?也没有APP_ID?