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">
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
so please help me to solve it
Tahnks & Regard,
Mahesh Pardeshi,
Tech Mahindra