'role discovery data is unavailable' cloud service (staging)

This has been posted on stackoverflow, so apologies for the cross post, but I'm trying to gain traction on fixing this and losing time.
I currently have a production cloud service working. I moved a project dependency from being a direct dll reference to local nuget package and after some re-factoring, decided to deploy my efforts to the staging site.
Locally, the changes with the dependency appears to be working correctly; the site loads and works well using the azure compute emulator.
However, when I deploy to the staging environment (via visual studio publish to azure option) the deployment fails as it detects multiple cycles of the instance which points to a spin up issue. When I've jumped on the box to try and find the route cause, I
can see the dreaded role discovery data is unavailable exception.
My gut hunch is nuget has updated a package which caused this but can't see what and why it would work locally but not in the cloud. I thought it might be the azure caching but it looks as though I'm using the same version as the live (working) site.
- Does anyone have a fix for this?
- If this works locally (cuts out many answers I've seen when you see this using the emulator), what am I missing or including to prevent this working in the cloud?
- Is there a way I can debug this further to find out why I'm getting the exception
Many, many thanks in advance to anyone who spares any time reading this

Hi Sir,
Base on my experience, if we  implement the references using NuGet, we could see those DLL files from  "References". I recommend you could set those DLL files "Copy Local" to "true". And try to deploy project
again. And I wondered know what error details when you deployed project.  The link below is about how to remote debug cloud service, please try it.
http://msdn.microsoft.com/en-us/library/azure/ff683670.aspx
Sample:
http://code.msdn.microsoft.com/windowsazure/Remote-Debugging-Windows-dedaaec9
For this error information, you could see the similar thread:http://stackoverflow.com/questions/11547855/azure-role-discovery-data-is-unavailable-error-when-switching-from-iisexpress
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.

Similar Messages

  • Down Time When we swap Cloud service Staging and Production

    Hi Team,
    Any one help me to know.
    What will be the downtime while we doing the VIP Swap of Staging Production environment (Cloud service - web role / worker role)?
    Cloud service in Production down time.
    Thanks in Advance.

    Because of update domains, if you have more instances for your roles, each role's instance that is part of one update domain will be updated during that update domain's update, so there is absolutely no downtime.

  • Is there a way other than redeployment to migrate existing Cloud Services from one data center to another?

    We have a need to correct affinity of Cloud Service, Azure DB, Storage and Mobile Services such that they are on a singl datacenter and do not get impacted by network latency when these components communicate with each other. Also to distribute various environments
    across different data centers we need to realign some environments to mitigate all environments getting impacted if there is outage.
    Existing Cloud Services and related Service Bus queues and topics need to be moved to a different datacenter. Is there a way to do this without having to redeploy cloud services (web and worker roles) or recreate the service bus entities (queues and topics)?
    Also, the existing Cloud Service URL need to be retained without with user authentication won't be possible and hence when completed, the new cloud service should have the same URL.
    Please provide best available options for achieving this or ask question if more information is needed.

    Hi sumeetd,
    As far as I know, currently there is no directly way to move services from one data center to another unless redeployment. You could submit a feature suggestion via this page (http://feedback.azure.com/forums/34192--general-feedback
    ). And at the same time,you could contact with azure support team via the channel below:
    http://www.windowsazure.com/en-us/support/contact/
    Any questions, please feel free to let me know.
    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.

  • Exe on Cloud Service crashing for slightly larger data

    Hi,
    I have launched a C++ exe in cloud service which is working fine for smaller data and crashing as we provide slightly larger data which is taking hardly 5 minutes to solve when running locally.
    Can anyone suggest what could be the issue???
    Thank you.

    Hi ,
    It seems that this is the executionTimeout error. Please try to change "executionTimeout" value.
    <system.web>
    <httpRuntime executionTimeout="600" />
    </system.web>
    >>Also, can you explain the parallel approach that we can use to handle data on azure role. I am using a single web role in my application.
    I am not familiar with C++, but I think you could use the concurrent or multiple threads on your projects:
    http://stackoverflow.com/questions/218786/concurrent-programming-c
    And I found some resource about how to deploy exe on azure, please refer to it:
    http://www.codeproject.com/Articles/331425/Running-an-EXE-in-a-WebRole-on-Windows-Azure
    Another way, You also used the startup script to start and run the EXE file, you could see this blog,
    http://blogs.msdn.com/b/mwasham/archive/2011/03/30/migrating-a-windows-service-to-windows-azure.aspx
    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.

  • Diagnostics Data for Virtual Machine and Cloud service

    Hi,
    We have an azure cloud account, contains Virtual Machine(Windows) with worker role and one Web Role. In this setup, we need to collect diagnostics data of virtual machine and cloud service. How to enable the diagnostics data in our setup and How to retrive
    the data
    I have read the below link says diagnostics data stores in WAD Table. How to read the data from table? Is there any query available.
    Or can we get this data from REST API. We need the perfomance data of every 5 min . Please help me to solve this.
    http://msdn.microsoft.com/en-us/library/azure/hh411534.aspx
    Thanks & Regards
    Rathidevi

    Hi,
    You can configure Azure diagnostics by using Visual Studio. Azure diagnostics captures system data and logging data on the virtual machines and virtual machine instances that run your cloud service and brings transfers that data into your storage account.
    References :-
    http://msdn.microsoft.com/en-us/library/azure/dn186185.aspx
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-diagnostics/
    Regards,
    Mekh.

  • What are Azure limitations for Websockets in Cloud Services (web and worker role)?

    A WebSocket Server should be built on Azure platform with OnPrem connections and have questions regarding limitations for Websockets in Azure Cloud Services - web and worker roles.
    Websockets can be configured for Web Sites and limitations are understood, but Azure Websites is not an option. 
    Nevertheless it is planned to run a web service (without UI - no web site) as a Cloud service which has secure websocket (WSS) connections to OnPrem machines. Websocket protocol is enabled for IIS8 on Cloud services web and worker roles. Azure Service Bus Relay
    is not an option.
    Questions:
    1) Are Websockets supported for Azure Cloud services web and worker roles? we assume yes
    2) What are potential limitations from Azure side to support concurrent Websocket connections? We are aware that CPU, memory etc are limitations, but are there additional limitations from MS Azure side? 
     

    Hi,
    As I know, azure cloud service web and worker role support Websockets, users can connect to the role via the special endpoint, if we use Azure cloud service, I think we can monitor the metrics such as CPU, memory, etc... and scale our cloud service via these
    metrics to keep the websockets working, refer to
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-scale/ for more information about how to scale a cloud service.
    Regards

  • Change basicHttpBinding to wsHttpBinding in azure cloud service web role

    So I created a cloud service project in visual studio and added wcf service web role to cloud service.
    By default wcf service web role binding is set to basicHttpBinding.
    Currently my web.config looks like this:
    <?xml version="1.0"?>
    <configuration>
    <system.diagnostics>
    <trace>
    <listeners>
    <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    name="AzureDiagnostics">
    <filter type="" />
    </add>
    </listeners>
    </trace>
    </system.diagnostics>
    <system.web>
    <compilation debug="true" targetFramework="4.0" />
    </system.web>
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior>
    <!-- To avoid disclosing metadata information, set the value below to false before deployment -->
    <serviceMetadata httpGetEnabled="true"/>
    <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
    <serviceDebug includeExceptionDetailInFaults="false"/>
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
    </system.serviceModel>
    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <directoryBrowse enabled="true"/>
    </system.webServer>
    </configuration>
    How do I change my config to use wsHttpBinding?

    Hi,
    Please refer to
    http://msdn.microsoft.com/en-us/library/ms733099.aspx. From my experience, in Windows Azure, we cannot use Windows authentication (the default configuration for WSHttpBinding), unless we use WAAD and let the cloud server join the local domian. So it is
    needed to turn off authentication, or use an alternative authentication mechanism (such as username and password).
    Best Regards,
    Ming Xu
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • Azure PAAS Cloud service Role restart scenario

    Hi Azure team,
    I want to know if i'm changing any configuration setting value through azure portal, Will it restart the Role instance?
    Steps:
    Azure portal login->cloud service->configure->change and save the configuration value.

    It depends on the change, adding disks won't restart. Changing the underlying hardware - i.e. changing the size of the machine will force a restart. 

  • Can a Worker Role process call Antimalware for Azure Cloud Services programmatically?

    I'm trying to find a solution that I can use to perform virus scanning on files that have been uploaded to Azure blob storage.  I wanted to know if it is possible to copy the file to local storage on a Worker Role instance, call Antimalware for Azure
    Cloud Services to perform the scan on that specific file, and then depending on whether the file is clean, process the file accordingly.  If the Worker Role cannot call the scan programmatically, is there a definitive way to check if a file has been scanned
    and whether it is clean or not once it has been copied to local storage (I don't know if the service does a real-time scan when new files are added, or only runs on a schedule)?  

    Hi,
    I would suggest you have a look at this article:
    http://azure.microsoft.com/blog/2014/10/30/microsoft-antimalware-for-azure-cloud-services-and-virtual-machines/, please note the Microsoft Antimalware Client and Service is not installed by default in cloud service, please try to use the PowerShell
    cmdlet, Set-AzureServiceAntimalwareExtension to enable antimalware in your cloud service. Here's some more info:http://msdn.microsoft.com/en-us/library/azure/dn771718.aspx
    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.

  • Async / Await in Cloud Services Worker Roles?

    Good evening,
    I was wondering if and how one would be able to utilize async / await for Azure Cloud Services' Worker Roles? Basically I have background jobs that will/shall run on worker roles, however many of those are performing up/downloads from Azure Storage blobs
    and ideally I'd like to await those calls.
    So is async/await natively supported for CS Worker Roles (using Azure SDK 2.5) and if so, how? And if not.. is it planned at all?
    Thanks,
    -Jörg

    Hi,
    I would suggest you have a look at this thread:
    http://stackoverflow.com/questions/15991287/async-await-in-azure-worker-role-causing-the-role-to-recycle
    A simple solution is to just do this:
    public override void Run()
    RunAsync().Wait();
    public async Task RunAsync()
    while (true)
    await Task.Delay(60000);
    Hope this helps.
    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.

  • Is it possible to do Continuous deployment for azure cloud services(website,web and worker roles) using VSO Release management?

    Hi,
    I am trying to do continuous deployment using visual studio online and release management for Azure cloud services. But not able to find the way to do it(with the help of different blogs, those are describing using VM only).
    I tried using Release management visual studio extension also. But no Luck.
    Please help me if it is possible to do continuous deployment using release management.
    Thanks,
    Phani

    Hi,
     Please refer to the following Forum Thread with similar question which has been answered. Let us know if this helps.
     https://social.msdn.microsoft.com/Forums/en-US/9d8322f6-36e5-4cca-a982-d420d34d2072/realease-management-deployment-to-azure-websites-webworker-roles?forum=tfsbuild
    Regards,
    Nithin Rathnakar

  • Accessing/processing geospatial data types in Azure cloud services using Python

    Hi
    We are creating a cloud-services in Azure using Python and Django,
    and are trying to store the geospatial data into SQL Database,
    however Django doesn't not have a built-in spatial data support (unless we use GeoDjango, which doesn't support sqlserver through odbc)
    scenario:
    1. user saves current location, stored in column (geography/geometry type)
    2. user will also do some geospatial query (intersect)
    what is the preferred solutions for this? Python or .Net for azure ?

    Based on what you wrote, my understanding is that you will need to craft the queries yourself no matter whether you use Python or .Net (C#). Python might appear to be a simpler approach because you can stay in the same development environment. The benefit
    of the Microsoft .Net/C# approach that I can see is that both layers in your stack are then officially supported by Microsoft.
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • How to develop and deploy multiple worker roles in single azure cloud services?

    I am Manikandan, From Myeasydocs.com.
    We have developed our application as web projects.  Now we are going to move to azure cloud services, i have successfully migrated our application in cloud services and it worked fine. I am having difficulties with back ground task. i have nearly 12
    schedule tasks in our applications. I need assist on creating multiple worker role creation and deployment.
    Is there is any site on explaining the worker role process in details?
    Thanks in advance .. !!

    Hi,
    In Worker role, Applications hosted within worker roles can run asynchronous, long-running or perpetual tasks independent of user interaction or input. It is a service component that is useful for generalized development, and may perform background processing
    for a web role. A worker role is frequently used for long-running tasks that are non-interactive, but you can host any type of workload.
    I suggest you to follow the below article which explains about Creating and Deploying of Web Roles and Worker Roles in Azure Cloud Service using Visual Studio.
    https://msdn.microsoft.com/en-us/magazine/jj618299.aspx
    Hope this helps !
    Regards,
    Sowmya

  • Cloud service web role did not get request

    Hi Team,
    we have an application host in web role in a cloud service, 
    sometimes it keeps loading when clicking a button in GUI and got no response till our GUI timeout (30 minutes)
    we use Fiddler to trace the http request and also check IIS logs and found that sometimes the web role didn't get a request,  sometimes the IIS
    got the request and finished to processe the request but didn't return result to GUI.
    it seems the message lost during interaction between UI and web role.
    note that this problems comes out just recently.
    is there some known issues related with this kind of problems. 
    thanks in advance.

    hi Baker,
    Firstly, I need confirm what's meaning is GUI from your description ? The GUI is your cloud service project UI? Or your UI in your client?
    Secondly, base on my experience, we usually could occur timeout error because of the azure load balancer and the long time request.
    For this error, I recommend you refer to those thread:
    Azure Web Role - Long Running Request (Load Balancer Timeout?)
    Windows Azure Load Balancer TimeOut for Cloud Service Roles (PAAS Web/Worker)
    Windows Azure Load Balancer Timeout Details
    http://social.msdn.microsoft.com/Forums/windowsazure/en-US/89b283f0-dfca-49a7-99fe-c3b73d77ff6d/azure-load-balancer-sending-http-request-to-multiple-web-role-instances?forum=windowsazuredevelopment
    If I misunderstood, please let me know.
    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.

  • 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

Maybe you are looking for