Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting connection error with local emulator
    primarykey
    data
    text
    <p>In my Azure application when I am trying to connect to local emulator, I am getting an error.</p> <p>The line of code I am getting the error on is:</p> <pre><code>CloudStorageAccount CSC = CloudStorageAccount.Parse( RoleEnvironment.GetConfigurationSettingValue("connection")); </code></pre> <p>In CS Def</p> <pre><code>&lt;ConfigurationSettings&gt; &lt;Setting name="connection" /&gt; &lt;/ConfigurationSettings&gt; </code></pre> <p>In .cscfg</p> <pre><code>&lt;Role name="WebRole1"&gt; &lt;Instances count="1" /&gt; &lt;ConfigurationSettings&gt; &lt;Setting name="connection" value="UseDevelopmentStorage=true" /&gt; &lt;/ConfigurationSettings&gt; </code></pre> <p></p> <p>Stack Trace:</p> <pre><code>at RdGetApplicationConfigurationSetting(UInt16* , UInt16** ) at RoleEnvironmentGetConfigurationSettingValueW(UInt16* pszName, UInt16* pszDest, UInt32 cchDest, UInt32* pcchRequiredDestSize) at Microsoft.WindowsAzure.ServiceRuntime.Internal.InteropRoleManager.GetConfigurationSetting(String name, String&amp; ret) at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetConfigurationSettingValue(String configurationSettingName) at WebRole1._Default.Page_Load(Object sender, EventArgs e) in c:\users\gowdes\documents\visual studio 2010\Projects\WindowsAzureProject20\WebRole1\Default.aspx.cs:line 19 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload