windows azure中defaultendpointsprotocol中的错误 [英] error in defaultendpointsprotocol in windows azure

查看:340
本文介绍了windows azure中defaultendpointsprotocol中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,



我创建了一个应用程序来将数据上传到windows azure storage&我已经使用了以下连接字符串,

Hi friend,

I have created one application to upload data to windows azure storage & i ha ve used follwing connection string ,

<connectionstrings>
    <add name="ApplicationServices">
		 <connectionString="DefaultEndpointsProtocol=https;AccountName=acc_name; AccountKey=key">


<add name="DefaultConnection">
		 		 <connectionString="DefaultEndpointsProtocol=https;AccountName=acc_name; AccountKey=key">



但是当我在windows azure portal上发布我的应用程序时,我上传成功,但在浏览时显示错误,如




but when i publish my application on windows azure portal , i get uploaded successfully but at the time of browsing it shows an error like

Keyword not supported: 'defaultendpointsprotocol'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: Keyword not supported: 'defaultendpointsprotocol'.

Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 
[ArgumentException: Keyword not supported: 'defaultendpointsprotocol'.]
   System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +6467134
   System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) +134
   System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +103
   System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +35
   System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +260
   System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) +60
   System.Web.Providers.Entities.ModelHelper.CreateEntityConnection(ConnectionStringSettings setting, String csdl, String ssdl, String msl) +661
   System.Web.Providers.Entities.ModelHelper.CreateSessionEntities(ConnectionStringSettings setting) +113
   System.Web.Providers.DefaultSessionStateProvider.PurgeExpiredSessions() +96
   System.Web.Providers.DefaultSessionStateProvider.PurgeIfNeeded() +41
   System.Web.Providers.DefaultSessionStateProvider.InitializeRequest(HttpContext context) +46
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +293
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +115
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375



所以请帮我解决它



Tahnks&注意,

Mahesh Pardeshi,

Tech Mahindra


so please help me to solve it

Tahnks & Regard,
Mahesh Pardes
Tech Mahindra

推荐答案

首先,defaultendpointsprotocol键是错误的。

秒,请显示源代码
first , "defaultendpointsprotocol" keys is wrong.
second, Please show the souce code


这篇关于windows azure中defaultendpointsprotocol中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆