Bug in Azure Emulator

// Initialize a new instance of the CloudStorageAccount
var cloudStorageAccount = CloudStorageAccount.Parse("DefaultEndpointsProtocol=https;AccountName=01nethemis;AccountKey=[key]");
// Create blob client
var writerBlobClient = cloudStorageAccount.CreateCloudBlobClient();
// Get container name
var outputContainer = writerBlobClient.GetContainerReference("test");
outputContainer.CreateIfNotExists();
when this code is running from the compute emulator CloudBlobContainer.Exists() or CloudBlobContainer.CreateIfNotExists() - throws an exception 
{"The remote server returned an error: (404) Not Found."}
The specified container does not exist.
but the same code deployed on azure or run from the console application - works fine.
Azure Compute Emulator 2.3.0
SS

Hi,
As far as I know, this issue has been fixed, Microsoft Azure Storage Team Blog has announced this issue at: 27 Nov 2013, see more at:
http://blogs.msdn.com/b/windowsazurestorage/archive/2013/11/27/windows-azure-storage-release-introducing-cors-json-minute-metrics-and-more.aspx (Please read "Storage Emulator Guidance" section towards the end of the post), at currently, please consider
upgrade azure storage and Windows Azure Storage Emulator.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • "Warning : VMName is not supported in the Windows Azure Emulator in role 'WorkerRole1'"

    I have a WorkerRole and I am trying to use the vmName attribute is the cscfg file;
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <ServiceConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="2" osVersion="*" serviceName="AzureDeploymentProject">
    <Role name="WorkerRole1" vmName="vma">
    <Instances count="2"/>
    When I run it up with the following ;
    "C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\csrun.exe" /run:"C:\Users\john\workspace-azure\AzureRunMeOutside\deploy\WindowsAzurePackage.cspkg";"C:\Users\john\workspace-azure\AzureRunMeOutside\deploy\ServiceConfiguration.cscfg" /usefullemulator
    I get the following error;
    "Warning : VMName is not supported in the Windows Azure Emulator in role 'WorkerRole1'."
    Does this mean that the ComputeEmulator does not support use of the vmName attribute, or am I doing something wrong.

    Hi Jambor.
    Thanks for the reply.
    I am using Compute Emulator 2.3:
    c:\Users\john\workspace-azure\AzureRunMeOutside\emulatorTools>"C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\cs
    run.exe"
    Windows(R) Azure(TM) Desktop Execution Tool version 2.3.0.0
    for Microsoft(R) .NET Framework 4.0
    Copyright © Microsoft Corporation. All rights reserved.
    Use "csrun /?" for command-line syntax.
    c:\Users\john\workspace-azure\AzureRunMeOutside\emulatorTools>
    and SDK 2.3 and I still get this warning. Am I using the correct namespace/version for the configuration?
    xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration"
    Where is the vmName registered, and how can I get access to it?
    If I use the following, the DNS name is not registered in my standard DNS ( I am using Windows 7 Pro SP1 x64 and the machine is outside a Windows Domain, using a corporate DNS server ). Is there some 'Compute Emulator' DNS that I need to lookup, or do I
    have to set the DNS part of the Role Endpoints to point to my local DNS server? In the cloud Azure provides DNS services Azure
    Name Resolution (DNS), is there any Compute Emulator equivalent?
    private void printOutInterestingInfo()
    Tracer.WriteLine("Hostname is " + Dns.GetHostName(), "Information");
    foreach (var endpoint in RoleEnvironment.CurrentRoleInstance.InstanceEndpoints)
    string variable = endpoint.Key;
    string value = endpoint.Value.IPEndpoint.Port.ToString();
    string ipAdress = endpoint.Value.IPEndpoint.Address.ToString();
    try
    IPHostEntry hostEntry = Dns.GetHostEntry(ipAdress);
    string machineName = hostEntry.HostName;
    Tracer.WriteLine("\tEndpoint "+variable+": Machine name: " + machineName, "Information");
    catch(Exception e)
    Tracer.WriteLine("\tEndpoint "+variable+": Machine name is not available for ipAdress: "+e, "Information");
    Tracer.WriteLine("\tEndpoint "+variable+": IP Address: " + ipAdress, "Information");
    Tracer.WriteLine("\tEndpoint " + variable + ": Port: " + endpoint.Value.IPEndpoint.Port, "Information");
    foreach (var role in RoleEnvironment.Roles)
    foreach (RoleInstance roleInstance in role.Value.Instances)
    Tracer.WriteLine("Role: " + roleInstance.Role.Name, "Information");
    Tracer.WriteLine("\tInstance: " + roleInstance.Id, "Information");
    foreach (RoleInstanceEndpoint roleInstEndpoint in roleInstance.InstanceEndpoints.Values)
    Tracer.WriteLine("\t\tInstance endpoint IP address and port: " + roleInstEndpoint.IPEndpoint, "Information");
    Information: MU: 2014-09-02 10:36:42Z Hostname is mu
    A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
    Information: MU: 2014-09-02 10:36:46Z Endpoint Debugging: Machine name is not available for ipAdress: System.Net.Sockets.SocketException (0x80004005): No such host is known
    at System.Net.Dns.InternalGetHostByAddress(IPAddress address, Boolean includeIPv6)
    at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
    at WorkerRole.RunMe.printOutInterestingInfo() in c:\Users\john\git\AzureRunMe\WorkerRole\RunMe.cs:line 355
    Information: MU: 2014-09-02 10:36:46Z Endpoint Debugging: IP Address: 127.255.0.0
    Information: MU: 2014-09-02 10:36:46Z Endpoint Debugging: Port: 8091
    A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
    Information: MU: 2014-09-02 10:36:51Z Endpoint http: Machine name is not available for ipAdress: System.Net.Sockets.SocketException (0x80004005): No such host is known
    at System.Net.Dns.InternalGetHostByAddress(IPAddress address, Boolean includeIPv6)
    at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
    at WorkerRole.RunMe.printOutInterestingInfo() in c:\Users\john\git\AzureRunMe\WorkerRole\RunMe.cs:line 355
    Information: MU: 2014-09-02 10:36:51Z Endpoint http: IP Address: 127.255.0.0
    Information: MU: 2014-09-02 10:36:51Z Endpoint http: Port: 81
    A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
    Information: MU: 2014-09-02 10:36:55Z Endpoint http-alt: Machine name is not available for ipAdress: System.Net.Sockets.SocketException (0x80004005): No such host is known
    at System.Net.Dns.InternalGetHostByAddress(IPAddress address, Boolean includeIPv6)
    at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
    at WorkerRole.RunMe.printOutInterestingInfo() in c:\Users\john\git\AzureRunMe\WorkerRole\RunMe.cs:line 355
    Information: MU: 2014-09-02 10:36:55Z Endpoint http-alt: IP Address: 127.255.0.0
    Information: MU: 2014-09-02 10:36:55Z Endpoint http-alt: Port: 8081
    The thread 0x2504 has exited with code 259 (0x103).
    The thread 0x1728 has exited with code 259 (0x103).
    Information: MU: 2014-09-02 10:37:09Z Endpoint telnet: IP Address: 127.255.0.0
    Information: MU: 2014-09-02 10:37:09Z Endpoint telnet: Port: 24
    Information: MU: 2014-09-02 10:37:09Z Role: WorkerRole
    Information: MU: 2014-09-02 10:37:09Z Instance: deployment23(267).AzureRunMe.WorkerRole_IN_0
    Information: MU: 2014-09-02 10:37:09Z Instance endpoint IP address and port: 127.255.0.0:8091
    Information: MU: 2014-09-02 10:37:09Z Instance endpoint IP address and port: 127.255.0.0:81
    Information: MU: 2014-09-02 10:37:09Z Instance endpoint IP address and port: 127.255.0.0:8081
    Information: MU: 2014-09-02 10:37:09Z Instance endpoint IP address and port: 127.255.0.0:24
    outputs;

  • System.InvalidOperationException' occurred in System.Web.dll in while running windows Azure Emulator

    I have Cloud Service, when I package and deploy my cloud service in Azure it works perfectly fine. But when I try to debug the CloudService on my local desltop as Azure Dev Fabric which uses Windows Azure Emulator to start the service, I get below exception
    in my VisualStudio  and I see HTTP 500 thrown when I try to access the service from IE.
    System.InvalidOperationException occurred
      HResult=-2146233079
      Message=Failed to map the path '/App_Browsers/'.
      Source=System.Web
      StackTrace:
           at System.Web.Configuration.ProcessHostConfigUtils.MapPathActual(String siteName, VirtualPath path)
      InnerException:
    I am very new to Windows Azure, would appreciate if anybody could help me resolve this issue, so that I can run my service as Dev Fabric on my local devbox for debugging.
    Below are details that I see in VS output window
    A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.dll
    A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in WaIISHost.exe
    The program '[40] WaIISHost.exe: Program Trace' has exited with code 0 (0x0).
    The program '[40] WaIISHost.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.JScript\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll', Symbols loaded.
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mvc\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll', Symbols loaded.
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\f6d295f2\8ea8542d_2deace01\System.Web.Http.WebHost.dll', Symbols loaded.
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\4cee119b\9c4b182c_2deace01\Microsoft.Web.Mvc.FixedDisplayModes.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\WebMatrix.WebData\v4.0_2.0.0.0__31bf3856ad364e35\WebMatrix.WebData.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\b623c6da\a6ec742c_2deace01\System.Web.Optimization.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\804e0ba3\117e8e2d_2deace01\Microsoft.Web.WebPages.OAuth.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Runtime\v4.0_1.2.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Runtime.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Web.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Web.Infrastructure.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.Razor.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\20894f78\ca56b126_2deace01\DotNetOpenAuth.Core.dll'
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\WebMatrix.Data\v4.0_2.0.0.0__31bf3856ad364e35\WebMatrix.Data.dll'
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll', Symbols loaded.
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\App_global.asax.w9xb-vle.dll', Symbols loaded.
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\cff74b05\b9def50f_2bfcce01\MvcWebRole1.dll', Symbols loaded.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    Bypass prompt for source file: f:\dd\ndp\fx\src\xsp\System\Web\Hosting\ProcessHost.cs.
    Bypass prompt for source file: f:\dd\ndp\fx\src\xsp\System\Web\Hosting\ProcessHost.cs.
    SRCSRV: The module 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll' does not contain source server information.
    The thread '<Thread Ended>' (0x24d0) has exited with code 0 (0x0).
    The thread '<Thread Ended>' (0x24dc) has exited with code 0 (0x0).
    'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'

    After I changed my CloudService prject setting to use full IIS, I do not get HTTP 500 exception any more and have been able to get to Index page of my service. But then past login page it crashes and in VS, it is indefinely in loop and getting the below
    exception.
    If things are working fine in Azure Web portal, what could be different for it fail in Emulator?
    'C:\windows\assembly\GAC_MSIL\Microsoft.ServiceHosting.Tools.DevelopmentFabric.Runtime\1.0.0.0__31bf3856ad364e35\Microsoft.ServiceHosting.Tools.DevelopmentFabric.Runtime.dll',
    Symbols loaded.
    A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.dll
    A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in WaIISHost.exe
    The program '[8196] WaIISHost.exe: Program Trace' has exited with code 0 (0x0).
    The program '[8196] WaIISHost.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
    The program '[13560] w3wp.exe: Program Trace' has exited with code 0 (0x0).
    The program '[13560] w3wp.exe: Managed (v4.0.30319)' has exited with code -2 (0xfffffffe).
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'd:\source\main-empty-1\private\packages\CU.WatchdogAndProbe.Library\CUProbeCloudService2\CUCloudService\csx\Debug\roles\MvcWebRole1\base\x64\WaIISHost.exe',
    Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll',
    Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll',
    Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\assembly\GAC_64\msshrtmi\2.0.0.0__31bf3856ad364e35\msshrtmi.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.WindowsAzure.ServiceRuntime\v4.0_2.0.0.0__31bf3856ad364e35\Microsoft.WindowsAzure.ServiceRuntime.dll',
    Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Symbols
    loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll', Symbols
    loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll',
    Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Diagnostics.ServiceModelSink\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll',
    Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll', Symbols
    loaded.
    Auto-attach to process '[9376] w3wp.exe' on machine 'BISHAH-DESKTOP' succeeded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Symbols
    loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Utilities.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Utilities.v4.0.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Caching\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Caching.dll', Symbols
    loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.JScript\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mvc\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\f6d295f2\8ea8542d_2deace01\System.Web.Http.WebHost.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\4cee119b\9c4b182c_2deace01\Microsoft.Web.Mvc.FixedDisplayModes.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\WebMatrix.WebData\v4.0_2.0.0.0__31bf3856ad364e35\WebMatrix.WebData.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\b623c6da\a6ec742c_2deace01\System.Web.Optimization.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\804e0ba3\117e8e2d_2deace01\Microsoft.Web.WebPages.OAuth.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Runtime\v4.0_1.2.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Runtime.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Web.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Web.Infrastructure.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.Razor.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\20894f78\ca56b126_2deace01\DotNetOpenAuth.Core.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\WebMatrix.Data\v4.0_2.0.0.0__31bf3856ad364e35\WebMatrix.Data.dll'
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\App_global.asax.cpd6pvg_.dll', Symbols
    loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\cff74b05\bf69e15a_0808cf01\MvcWebRole1.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll', Symbols
    loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\e0bcdeea\976ab42c_2deace01\System.Web.Http.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\655cb0ee\da1f8c2c_2deace01\System.Net.Http.Formatting.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac30e99e\63a0062f\assembly\dl3\6d974981\6e6e7440_2deace01\Newtonsoft.Json.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll', Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll',
    Symbols loaded.
    'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll', Symbols loaded.
    'WaIISHost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\assembly\GAC_MSIL\Microsoft.ServiceHosting.Tools.DevelopmentFabric.Runtime\1.0.0.0__31bf3856ad364e35\Microsoft.ServiceHosting.Tools.DevelopmentFabric.Runtime.dll',
    Symbols loaded.
    The thread '<No Name>' (0x1dfc) has exited with code 0 (0x0).
    The thread '<No Name>' (0x2b18) has exited with code 0 (0x0).
    A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.dll
    A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in WaIISHost.exe
    The program '[4304] WaIISHost.exe: Program Trace' has exited with code 0 (0x0).
    The program '[4304] WaIISHost.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
    The program '[9376] w3wp.exe: Program Trace' has exited with code 0 (0x0).
    The program '[9376] w3wp.exe: Managed (v4.0.30319)' has exited with code -2 (0xfffffffe).

  • Cloud service created works fine in local Azure Emulator. But doesnot work when deployed to actual azure and says Restarting (Role has encountered an error and has stopped. Unhandled Exception: System.IO.FileNotFoundException)

    Hi,
    I have a created a cloud service and when i run locally in azure emulator it works fine. But when I am trying to deploy that to azure it says: Restarting (Role has encountered an error and has stopped.
    Unhandled Exception: System.IO.FileNotFoundException)
    Can anyone please help me on this.
    Thanks,
    Satya Chenna

    Any specific reason you are having timer on role start up? are you using thread.sleep for longer duration in the method?
    If you are using azure diagnostics - make sure these things
    1. Azure storage connection string is set to correct storage account and not to the development storage.
    2. Check session state provider - local is not supported on azure.
    Also you can refer this for more information 
    http://blogs.msdn.com/b/kwill/archive/2013/09/06/troubleshooting-scenario-3-role-stuck-in-busy.aspx
    Bhushan | Blog |
    LinkedIn | Twitter

  • An Exception thrown "Unable to cast transparent proxy to type " when running on Azure emulator

    Hello, When i run my solution on azure emulator this exception thrown:
    System.InvalidCastException was unhandled
      HResult=-2147467262
      Message=Unable to cast transparent proxy to type 'Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge'.
      Source=WaWorkerHost
      StackTrace:
           at Microsoft.WindowsAzure.Hosts.Worker.Loader.CreateConsoleRole(Parameters parameters)
           at Microsoft.WindowsAzure.Hosts.Worker.Loader.Main(String[] args)
      InnerException: 
    Any help?

    We are having the same issue - our worker role just recycles with this "Unable to cast transparent proxy to type 'Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge'." error.
    We can't really put a breakpoint in CreateConsoleRole and Main - that's Microsoft code from the Azure SDK.
    Not sure why this was marked as answered.

  • How do you locate a bug WITHOUT the emulator and the console?

    Hi.
    I'm new here and my English is not perfect but I'll try my best to explain my problem.
    I'm trying to port J2ME games to various mobile phone devices. I've no problem fixing bugs on Nokia, Sony Ericsson, or any models that offer an emulator and a console window.
    *** The problem is: In some case, The same build runs fine on Nokia/Sony emulator, but crash/freeze on LG phones.
    (this is just an example, it's not only LG phones that have this problem though)
    I believe it is possible to locate the bug by:
    - use the 'try/catch' block and print the error message using something like
    g.drawString(e.toString(),0,0,0);
    where 'g' and 'e' is a Graphics and Exception objects.
    But I wonder if there's a way to print 'everything that should be printed on the console', on the phones's display. So we don't need to manually put try/catch block.
    ok, to sum up the question.
    Question:
    1. Is there a way to print 'everything that will normally appear on the console', on the phones's screen?
    2. If no, then I'll need to try/catch the problem.
    But how can you use try/catch and "drawString" everywhere in the code?, while the actual drawing will be done only in the "paint()" method?
    I'm thinking of using 'getGraphics().drawString' when using try/catch outside the paint() method. but what's the point if the actual drawing will be done only in paint() method anyway...
    Sorry if it's a stupid question. I just started learning Java programming 3 months ago, let alone J2ME. >_<
    Thank you. =)
    /bow

    Hi Kakyoin,
    What I found was helpfull is creating a method in the MIDlet where you can display messages. For instance:
        public void createFormScreen(Alert alert) {
            // Set up the initial screen for the MIDlet
            Form formScreen = new Form("Your MIDlet name");
            firstScreen.append("Welcome to your MIDlet");
            myChoice = new ChoiceGroup(null, ChoiceGroup.EXCLUSIVE);
            myChoice.append("Your first choice", null);
            myChoice.append("Your second choice", null);
            formScreen .append(myChoice);
            formScreen .addCommand(OKCOMMAND);
            formScreen .addCommand(EXITCOMMAND);
            formScreen .setCommandListener(this);
            theListener = this;
            if (alert == null) {
                 theDisplay.setCurrent(formScreen Screen);
            } else {
                theDisplay.setCurrent(alert, formScreen);
        }So, from your constructor call the createFormScreen method, and your initial screen will be displayed.
    When an allert situation occurs in an object, call createFormScreen in a method like:
         protected void displayMessage(String title, String msg) {
              // Display the error message
              Alert error = new Alert(title, msg, null,
                        AlertType.ERROR);
              error.setTimeout(Alert.FOREVER);
              myMIDlet.createStartScreen(error);
         }Now the error message will be displayed on the screen indefenitaly. Off course your object where the error occurred should have a reference to the MIDlet object. I hope this helps you.
    Maik

  • Bug in Azure CLI client to update ACL

    % azure vm endpoint acl-rule create $AZURE_HOST HTTP 2 deny 0.0.0.0/0
    info: Executing command vm endpoint acl-rule create
    error: cidr part 0 should be a number in the range [1, 32] in paramater <remote-subnet>
    error: vm endpoint acl-rule create command failed
    The 0 CIDR part here is clearly valid, the web UI allows me to add it. Perhaps a bug in the CLI client?

    azure vm endpoint acl-rule
    create theorem-abeer HTTP 2
    deny 0.0.0.0/0
    is the command I used, where theorem-abeer.cloudapp.net is the command I used.
    In case it helps, I'm on Mac OSX, on Azure CLI tool 0.8.10.

  • Azure Emulator too slow while debugging

    Hi,
    I am developing Azure Web Roles and hosting them on Cloud Services. During development and debugging, I find that the time taken for emulator to start and continue debugging is too much. At times I have to wait for 15 16 minutes for the debugger to continue.
    My system configuration is:
    AMD Athlon || X2 245 Processor 2.89 GHz
    8 GB RAM.
    Please provide some valuable inputs.
    regards,
    Ritvik

    Hi,
    From my experience, your system is sufficient for the azure develop, Please note azure computer emulator and storage emulator will take some time in the first time, I think you'll not spend so much time to debug later. If this doesn't give you help, I suggest
    you re-install azure SDK again.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Minor Bug in Azure Portal Preview

    Hello,
    When I create rule for database access, I receive "Firewall rule name must be unique" error if I write IP address before rule name.

    Hi Cha0s,
    Thanks for posting here.
    I tried to created the SQL db firewall rules using the management portal it worked fine by following these steps mentioned in the link.
    http://msdn.microsoft.com/en-us/library/jj553530.aspx
    Server-Level Firewall Rules
    Server-level firewall rules can be created and managed through the Microsoft Azure Management Portal, Transact-SQL, Azure PowerShell, or REST API.
    Manage Server-Level Firewall Rules through Management Portal
    From the Management Portal, click SQL Databases. All databases and their corresponding servers are listed here.
    Click Servers at the top of the page.
    Click the arrow beside the server for which you want to manage firewall rules.
    Click Configure at the top of the page.
    To add the current computer, click Add to the Allowed IP Addresses.
    To add additional IP addresses, type in the Rule Name,
    Start IP Address, and End IP Address.
    To modify an existing rule, click any of the fields in the rule and modify.
    To delete an existing rule, hover over the rule until the X appears at the end of the row.  Click
    X to remove the rule.
    Click Save at the bottom of the page to save the changes.
    Note: Unique does not mean new name to you while setting up the firewall rules, but it should be a new name provided where your database is located in the specified location(for eg. North Europe, East US datacenters.)
    Girish Prajwal

  • Strange behavior of Windows Azure Compute Emulator (SDK 2.3)

    Today, after an update of the Azure SDK from 2.2 to 2.3, I noticed that only one of the two instances of my web role is started in
    the Azure Compute Emulator, the output of the Start-AzureEmulator is this:
    VERBOSE: Starting Emulator...
    VERBOSE: Role is running at http://127.0.0.1:81/
    Role is running at tcp://127.0.0.1:3389/
    Role is running at tcp://127.0.0.1:3389/
    VERBOSE: Started
    and only one instance is started in the Azure Compute Emulator.
    But in the past was something similar to this one:
    VERBOSE: Starting Emulator...
    VERBOSE: Role is running at http://127.0.0.1:81/
    http://127.0.0.1:82/
    Role is running at tcp://127.0.0.1:3389/
    Role is running at tcp://127.0.0.1:338/
    VERBOSE: Started
    and two instances were started.
    I already found this thread:
    http://stackoverflow.com/questions/13946634/strange-behavior-of-windows-azure-compute-emulator-sdk-1-8-with-multiple-role
    but it was not useful in my case (Microsoft.WindowsAzure.Common.WorkArounds.BindToAllIpsWorkAroundEnabled is False).
    Thanks in advance for any help.
    OS: Windows 8.1
    Azure SDK: 2.3
    Azure Compute Emulator: 2.3.0.0

    Hi,
    As far as I know, powershell didn't have a parameter to start azure emulator with full express, please try to use Command-line to test, refer to
    http://msdn.microsoft.com/en-us/library/gg433130.aspx for more details, if this didn't give you help, please feel free to let me know.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Emulator GUI bug?

    Hi, I posted a thread about a possible bug of teh emulator interface, but i guess that this sub forum is more appropriate.
    I will not repost the same question here, just have a look at the previous post: http://forum.java.sun.com/thread.jspa?threadID=5223021
    Please help, Matteo

    128? That's not a random number. This is a typical 8-bit array that's often used in mobile applications. Often times array goes out of bounds when the # of records go beyond 128, 256 or 512. Trust me, this happens all the time. I was a software tester.
    Tell me if your address book is 128+ and you do not see the problem I described.

  • Diagnostics not working in web role for Azure SDK 2.5.1

    I am working with Azure SDK 2.5.1, mainly on the new designed diagnostics stuffs. However, I found I cannot get it run for my web role.
    So, I created a cloud service project, added a web role. Then, I appended one Trace message at the end of Application_Start in Global.asax.cs:
    Trace.TraceInformaction("Application_Start end.");
    After that, I right clicked the WebRole and opened the Properties tab.
    In the diagnostics config window:
    General: I choose 'Custom
    plan', also specified the storage account, keep the 'Disk
    Quota in MB' as default '4096'
    Application Logs: 'Log
    level' switch to 'All',
    others kept as default
    Other tabs are in default config settings
    After I deployed the project to cloud, I found some unexpected things:
    There is no WADLogsTable exists
    in Table storage. That's very strange, if I use a Worker Role, it would work as expected. So in web role, I just cannot find the Trace logging?
    For the performance counters, since I am using the default config with 8 counters, I can only see 8 in WADPerformanceCountersTable table
    storage. In my assumption, over time, there would be more and more values of this 8 counters transferred to this table. But it was just not happened, after several hours, it still had that 8 counter values.
    I just thought the diagnostics for Web Role just crashed or not working at all. Meanwhile, I checked the logs located at "C:\Logs\Plugins\Microsoft.Azure.Diagnostics.PaaSDiagnostics\1.4.0.0\DiagnosticsPlugin.log" in
    server, at the end of this file there is an exception said some diagnostics process exit:
    DiagnosticsPlugin.exe Error: 0 : [4/25/2015 5:38:21 AM] System.ArgumentException: An item with the same key has already been added.
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
    at Microsoft.Azure.Plugins.Diagnostics.dll.PluginConfigurationSettingsProvider.LoadWadXMLConfig(String fullConfig)
    DiagnosticsPlugin.exe Error: 0 : [4/25/2015 5:38:21 AM] Failed to load configuration file
    DiagnosticsPlugin.exe Information: 0 : [4/25/2015 5:38:21 AM] DiagnosticPlugin.exe exit with code -105
    From MSDN,
    the code -105 means:
    The Diagnostics plugin cannot open the Diagnostics configuration file.
    This is an internal error that should only happen if the Diagnostics plugin is manually invoked, incorrectly, on the VM.
    It doesn't make sense, I did nothing to the VM.
    As I said above, I just did very tiny changes to the scaffold code generated by Visual Studio 2013. Did I do something wrong or it's a bug for Azure SDK 2.5?
    By the way, it seems everything is ok for Worker Role.

    Hi,
      This issue could be an internal issue, I do not have any update on this as of now. There was a similar issue due to a regression last month that has been resolved, however i dont think this issue is related.
      Please follow the below article on how to enable Diagnostics and let us know if it works.
    http://azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/
      I will let you know if I have any update on this issue from my side.
    Regards,
    Nithin Rathnakar.

  • Best practice to use the Slot on Azure Website

    Hi Team,
    I want to understand the website slot feature little deeper. Can anyone suggest that How should we plan while we have testing, staging & production environment on Azure? (Development might be from Visual Studio Azure Emulator)
    Take an example, we have ToDoApp. How should we use Azure Website & Slot feature to make it available for Testing, Staging & Production?
    Q1) Should we create two different site (1 for Testing and Staging while 2 for Production) or should we use all in one with 3 slot?
    Q2) If we create two different site like as I said in Q1 How should we move the package from Staging to Production once it done with staging?
    Q3) If we have one single site instead of two, Can we have role based feature like, Whoever is swapping the slot from testing to staging would do upto that level only. while from staging to production except Product Admin no-one can do?
    Q4) If none of the above is recommended then what would it be & How should we use swapping feature there for move package on production?
    Regards, Brijesh Shah

    Hi Brij,
    Deployment slots were developed with whole development lifecycle in mind. A good practice is to have a source control branch for stage of the environment so you know what are the changes. There are generally two types of development:
    One branch - always fix forward and goes to production at least once per day. The build might get deployed to staging environment (slot) to run full functional validation before taking live traffic and then deployed to Production. With Azure Websites this
    could be as simple as swap staging to Production slot. After swap (new) staging is ready to take next build and run another set of validation. So one site with many slots here
    Multiple branches - when deploying to Prod is slower you need multiple branches and slots, and stabilization phase. This means you can have Dev branch where is vNext - vNext slot (you can setup continuous deployment here so every check in is deployed),
    Main branch where only selected changes are integrated or when is time for a major Release or hotfix - points on Stage slot, Release branch pointing to PreRelease slot which later to be swapped with Production after deployment to avoid
    cold start. Better to stay with one site and may slots as well but current limitation is 5 slots.
    Thus said swap is the easiest way to move code thru stages :). There are many features there that can be used:
    during swap some settings stay at slot while others are moved with the code (this is available only in PowerShell and SDK at the moment)
    Auto swap - to avoid cold start you can deploy to PreRelease slot and auto swap with Production slot right after it finishes the deployment (this is available only in PowerShell and SDK at the moment)
    TiP - redirect only small % of the traffic to PreRelease slot (vNext or your choice) to expose let's say 1 % of customers to new code base.
    Video
    on Q3: RBAC(role based access control) allows you to do exactly this. only admin can have access to Production slot and separate groups can have access to other slots. Thus only admin can swap with production
    Hope that helps,
    Galin Iliev [MCSD.NET, MCPD], http://www.galcho.com

  • WCF Service hosted in Azure Cloud Service errors after published

    I have a project with several WCF services (mix of REST and SOAP).  The project has been running On-Prem for 6 months without an issue.  We are moving this to Azure but have run into an issue that will prevent us from going live.
    The project uses Autofac for it's IOC.  We are gonig to host this in a Cloud Service in Azure.  Everything appears to work correctly when running locally in the Azure Emulator however once we deploy using the Cloud Service project, everything builds
    and deploys correctly, but we receive the following error when trying to access a service.
    Server Error in '/' Application.
    Value cannot be null. Parameter name: key
    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.ArgumentNullException: Value cannot be null. Parameter name: key
    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:
    [ArgumentNullException: Value cannot be null.
    Parameter name: key]
       System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) +48
       System.Collections.Generic.Dictionary`2.FindEntry(TKey key) +38
       System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value) +20
       System.ServiceModel.Dispatcher.WebHttpDispatchOperationSelector..ctor(ServiceEndpoint endpoint) +2459
       System.ServiceModel.Description.WebHttpBehavior.GetOperationSelector(ServiceEndpoint endpoint) +125
       System.ServiceModel.Description.WebHttpBehavior.ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) +1955
       System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +4245
       System.ServiceModel.ServiceHostBase.InitializeRuntime() +119
       System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +45
       System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +553
       System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +350
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1614
    [ServiceActivationException: The service '/Event/Calendar' cannot be activated due to an exception during compilation.  The exception message is: Value cannot be null.
    Parameter name: key.]
       System.Runtime.AsyncResult.End(IAsyncResult result) +925
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +528
       System.ServiceModel.Activation.AspNetRouteServiceHttpHandler.EndProcessRequest(IAsyncResult result) +107
       System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +151
    It appears that it's having an issue with the service configuration endpoint.  That is registered through Autofac WCF integration using the OOTB RouteTable here:
    RouteTable.Routes.Add(new ServiceRoute("Event/Calendar", new AutofacWebServiceHostFactory(), typeof(CalendarSvc)));
    All of this works fine in IIS and the local Azure emulator, but once deployed to the cloud service is where we get an issue.

    I don't know Autofac. What is it doing? If you use a normal WCF REST service, or ASP.NET Web API, do you see the same issue? If it does work, you may want to post a question on Autofac's forum:
    https://github.com/autofac/Autofac/issues.

  • Windows azure worker role cannot debug in local environment

    Hi,
    I'm unable to debug the worker role application in local envirnoment with windows azure compute emulator.
    I receive the below error when debug the worker role.
    Microsoft Visual Studio
    Windows Azure Tools for Microsoft Visual Studio
    The system is missing a prerequisite to execute the service. See output window for more information.
    OK   
    In my output window the below messages have been displayed.
    Windows Azure Tools: Error: The installed Windows Azure Emulator does not support the role binaries. Please install the latest Windows Azure Emulator and try again.
    Windows Azure Tools: Warning: The Windows Azure development fabric and development storage are running on a 32-bit workstation. In the cloud, Windows Azure Hosted Services run in a 64-bit environment. The use of native code execution or .Net Full
    Trust features such as P/Invoke may require migration to 64-bit. See http://go.microsoft.com/fwlink/?LinkId=145047 for details.
    Windows Azure Tools: The system is missing a prerequisite to execute the service. Please see the release notes.
    My windows azure tools version: November 2011. What i was missing and do i need any upgrades?
    Vel

    hi Vel,
    According to the error message, I suggest you could try to use the latest version of Azure SDK and Emulator. Also, you could refer to this document via (http://msdn.microsoft.com/en-us/library/windowsazure/dn459835.aspx#BKMK_knownIssues ).
    You could get the latest version form this page (http://www.windowsazure.com/en-us/downloads/ ).
    please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for