azure

Azure web role project not creating MbUnit test project?

Hi everyone, We're creating an Azure cloud service project in VS 2010 with an ASP.Net MVC 2 web role. When we create the MVC project we're asked if we want to create a test project. Our choices are MbUnit3 (our preference) and MS Test. When we select MbUnit, a test folder is created in the file system, but no project is created. Cho...

Does Azure support <ipsecurity/> in web.config?

In this post (as of January 10th) Allen Chen says it does not. However, it seems like the other poster indicates that it does (at least in the dev fabric). Does anyone know if this is supported. My hope is to restrict access via IP address to my staging and dev sites. Adding this to the respective web.config's would be the easiest ...

Cannot convert existing ASP.NET MVC 2 solution to Azure Web Role in Visual Studio 2010

Hi Everyone, I've been working on an ASP.NET MVC 2 (.NET 4.0, Visual Studio 2010) application for a while and have decided that I would like to deploy it as an Azure application. After installing the latest (June 2010) Azure tools (through Visual Studio itself) I've added a blank CloudService to my solution. Whenever I try to add a "We...

Change http.sys registry settings on Windows Azure?

I would need to raise the UrlSegmentMaxLength of the Http.sys registry settings on Windows Azure. Does anyone knows how to do that? (or do something that leads to an equivalent behavior) ...

ASP.Net How do I get the base URL without HttpRequest?

I am trying to get the base URL from the worker role. I can't get it from there. How do I get the base URL in this situation? I have found this property: Application.Current.Host.Source but, in order for this to work, I need the reference System.Windows.dll which is in the Silverlight folder. Since I am not using Silverlight for thi...

Connecting SqlAzure database in conventional way.

I need to know , can I connect to my Sql Azure database as we connect with our general Sql Server 8/9/10 databases, via Silverlight -WCF or ASP.Net or Winform App. My development environment is WinXP with SP3 / VS 2008 Professional. I am asking so while installing Windows Azure SDK and Toolkit i got Platform incompatibility error that i...

No Event Logs in Diagnostic on Windows Azure?

I'm trying to get .NET Remoting to work on Windows Azure, with a web role. I get a 500 internal server error when trying to access the URL. I've tried using Azure MMC (http://code.msdn.microsoft.com/windowsazuremmc), but I'm only able to get Infrastructure Logs. No Event Logs, Azure Logs or similar. What am I doing wrong? I've tried sett...

Error installing windows azure sdk for 64 bit OS - Windows 7

I tried installing Windows Azure SDK on Windows 7 Professional, with IIS 7.5, but failed. The system says,et "To use this software you should enable windows internet information services 7.0 with Asp.Net support.See the product release notes for details" I also got into framework 4.0 from the commmand prompt and ran aspnetregiis -i , ...

Windows Azure: Can I change the instances count of worker role while the application is running on the cloud

Can I be able to change the instances count of a worker role while the application is running. I have created an application which executes a sequence of code parallely a number of times depending on the user's query. Say, If user request the result to be very accurate, then I will have to run the code for 1000 or more times parallely o...

Unable to start azure application in dev fabric

Hi, Suddenly my windows azure application is stopped running in dev fabric. It was working fine. When I added two project "AspProviders" and "StorageClient" in my solution then, its not running. It is not firing any events also. There is no error but not not running. Output has the following message: 'WaWebHost.exe' (Managed): Loaded ...

Sql 2008 Developer to Sql Azure Migration

Hi My company is deciding for switching its existing application to azure platform (only Sql Part). So we need to upload our db from local to cloud. For migration i came across various tools like 1. cerebrata 's tools 2. SqlAzure Migration wizard 3. Microsoft Sql Data Sync 4. Conventional Script way via management studio. But all the a...

Error mounting CloudDrive snapshot in Azure

Hi, I've been running a cloud drive snapshot in dev for a while now with no probs. I'm now trying to get this working in Azure. I can't for the life of me get it to work. This is my latest error: Microsoft.WindowsAzure.Storage.CloudDriveException: Unknown Error HRESULT=D000000D ---> Microsoft.Window.CloudDrive.Interop.InteropCloudDri...

How to create a sub container in azure storage location

Hi all How to create a sub container in the azure storage location. Please let us know ...

How do i get my Windows Azure Worker Role to connect to my Ado.NEt Entity-based db

I've built a backend in ASP.NET MVC2 which has an underlying ADO.NET Entity-based Database. In the MVC Backend, I call my database entities, i.e.: Entities entities = new Entities(); ...and that all works fine. Unforutnetly, in my Azure/mvc2 project, My worker role makes the azure project throw weird exceptions: "The specified name...

Azure WorkerRole running on local dev-fabric, but not on azure

My WorkerRole seems to just fine locally. However, it wont run on Azure itself - the role just keeps coming up as 'Busy' and never reaches the ready/running stage. The associated web role works perfectly. Could this just be a minor config bug or? ...

Getting 'Access is Denied' exception message when running WCF service on Windows Azure

I am trying to build a Healthvault WCF web service that requires an x509 certificate to deploy on Windows Azure in C# using Visual Studio 2010. When I debug the solution on my local IIS7, I can perform all functions no problem. When I deploy to Windows Azure and try to run any of my methods, I get this error. The server encountered ...

How do you implement "Site under maintenance" for Windows Azure Web Site?

Hi folks, In one of our ASP.NET Web site solutions I need to roll out an update that might take reasonable time. It spawns multiple Windows Azure Workers and projects and so simple Deployment Swap is ruled out. Essentially I'm just thinking about way to redirect all web requests to a "site is under maintenance" page for some time, give...

Looking for advise regarding provisioning development environment on the Cloud

Hello. I'd like to prepare a development environment on the cloud. My target platform is Microsoft .Net Based on theory and some basic experiments, I am tilting in favour of Amazon AWS infrastructure. If I purchase a High-Memory On-Demand Instance, I'll be able to deploy 8-20 instances of developer VMs within and also deploy VMs for dat...

DataServiceRequestException was unhandled by user code. An error occurred while processing this request.

DataServiceRequestException was unhandled by user code. An error occurred while processing this request. This is in relation to the previous post I added public void AddEmailAddress(EmailAddressEntity emailAddressTobeAdded) { AddObject("EmailAddress", emailAddressTobeAdded); SaveChanges(); }...

Exception of type 'Microsoft.WindowsAzure.StorageClient.StorageClientException' was thrown.

Exception of type 'Microsoft.WindowsAzure.StorageClient.StorageClientException' was thrown. Sometimes even if we have the fabric running and the role manager is up, we get an exception of this sort. The code breaks at the line emailAddressClient.CreateTableIfNotExist("EmailAddress"); public EmailAddressDataContext(CloudStorageAccou...