Menu
  • HOME
  • TAGS

Not getting Downloaded - “Azure DocumentDB Data Migration Tool”

mongodb,azure,migration,azure-documentdb

Are you downloading from http://www.microsoft.com/en-us/download/details.aspx?id=46436? You will need to temporarily enable popups for the download to initiate.

Kestrel Running which framework?

azure,asp.net-5,dnx,dnvm,.net-5.0

In Visual Studio 2015, the framework used is determined in this order: The project properties. Right-Click the .xproj in your Solution Explorer and select Properties. Head to the "Application" section (the default), and you can "Use Specific DNX version", including version, platform, and architecture. The global.json. I don't know if...

Retrieving user created roles and user info in Azure

tsql,azure,sql-azure,user-administration

Here is what worked: SELECT p.[name] as 'Principal_Name', CASE WHEN p.[type_desc]='SQL_USER' THEN 'User' WHEN p.[type_desc]='DATABASE_ROLE' THEN 'Role' END As 'Principal_Type', --principals2.[name] as 'Grantor', dbpermissions.[state_desc] As 'Permission_Type', dbpermissions.[permission_name] As 'Permission', CASE WHEN so.[type_desc]='USER_TABLE' THEN 'Table' WHEN so.[type_desc]='SQL_STORED_PROCEDURE' THEN 'Stored Proc' WHEN so.[type_desc]='VIEW' THEN 'View' END as 'Object_Type', so.[Name] as 'Object_Name' FROM...

Azure mobile service pullasync not retrieving data

c#,android,azure,xamarin

The problem was not the toDoTable.PullAsync command, but the way I inserted data on the table and expected to retrieve it. I was using the mobile-service website and didn't let the table auto-generate data for auto-generated columns { "id_user": 1, "username": "sample string 2", "password": "sample string 3", "is_doctor": 4,...

website creation fails with serverfarm not found Azure Powershell

json,powershell,azure,server-farm

It looks like the web app is unable to find the server farm (AKA app service plan) since it's in a different resource group. To fix this, try creating the ServerFarm and web app in the same resource group. i.e. use this command: PS C:\scripts> New-AzureResourceGroup -Name "azurepowershellush" -TemplateFile F:\DeployerScript\Acquiacom.AcquiaDrupal7SQL.0.3.16-preview.json...

ShardMapManager.TryGetRangeShardMap wont retrieve the RangeShardMap

c#,azure,sql-azure,azure-elastic-scale

This was a silly mistake from my side. I was about to close this question but thought to post my mistake here as it might be helpful to someone else. The code to call this function was like this: RangeShardMap<int> shardMap = ShardManagementUtils.CreateOrGetRangeShardMap<int>(shardMapManager, Configuration.ShardMapName); Notice the int which tells the...

409 Conflict when attempting to revert a Page Blob to a previous snapshot

azure,azure-storage-blobs

Currently, a copy within or between Premium Storage accounts require that the destination blob does not have snapshots when initiating the copy. Please see our Snapshots and Copy Blob when using Premium Storage article for more information. Thank you for your feedback, however. This is in our feature request list,...

Validate access token for WEB API protected by Azure AD

azure,asp.net-web-api,azure-active-directory

In your service start up you register OWIN and when your controller is decorated with Authorize attribute then the authentication challenge will happen and OWIN will try to validate the token on each request.. The token validation happens because you have OWIN Dll references AND you have the startup.auth class...

Azure diagnostics configuration after reimaging

azure,azure-diagnostics,windows-azure-diagnostics

Yes, the diagnostics configuration will survive all of those operations. The diagnostics configuration is stored as an extension, which is part of the cloud service (the parent cloud service, not just one of the slots). Any time something happens to your role (ie. a ReImage) the guest agent in the...

Azure : HOWTO/BEST-Practice : Publish WebApp with Webjob using blobs Q's to multiple destinations?

visual-studio,azure,windows-azure-storage,publish

If i understand your question : set key in your App webconfig with dummy values <appSettings> <add key="BLOBAzure1" value="Check Azure" /> </appSettings> Get connection string for blob at runtime with something like this: CloudStorageAccount storageAccount = CloudStorageAccount.Parse( CloudConfigurationManager.GetSetting("BLOBAzure1")); Inside Azure Panel go to your Web app properties and set REAL...

Azure: Passing credentials to constructor of ComputeManagementClient requiring incorrect type

c#,.net,azure

Instead of: using Microsoft.WindowsAzure; try using Microsoft.Azure; The second using statement is the one that contains the correct SubscriptionCloudCredentials object to use. It looks like the documentation is out-of-date (not uncommon)....

Backing up a single file in Azure website

azure,backup,azure-web-sites

You can specify a list of files and folders to exclude from your backups by listing them in a _backup.filter file. In your case it sounds like you want to exclude everything, so you would want to specify the root folder as the folder you want to exclude Full details...

Azure deployment from source without TFS?

asp.net-mvc,azure,deployment

You can build and deploy from git to azure, try this link https://azure.microsoft.com/en-gb/documentation/articles/web-sites-publish-source-control/ update I take it back, this link will help you setup everything and will build the project as well http://blogs.msdn.com/b/kaevans/archive/2014/03/31/deploying-an-azure-web-site-using-git-and-continuous-integration.aspx Or you could setup TeamCity to do the building of the project and then use MS Deploy...

Scheduled WebJob deployed via Visual Studio 2013 Update 4 results in On Demand Job

azure,visual-studio-2013,azure-web-sites,azure-webjobs

Currently the new Azure portal doesn't support scheduled WebJobs. So you can't create a scheduled WebJob there and it will not recognize a WebJob that has a scheduler job associated with it. So for now please use the current Azure portal for managing scheduled WebJobs....

Azure Service Bus 1.1 Failing to Start

azure,fabric,azureservicebus

TL;DR; Download dropbox.com/s/cb5fro1rv... - thanks Arash Rahimi Navigate to your SDK tools sn -Vr Microsoft.Cloud.Common.AzureStorage.dll gacutil /i Microsoft.Cloud.Common.AzureStorage.dll This issue was caused by installing the Visual Studio 2015 RC. Thankfully someone else has already experienced this and an answer has been posted. Please see this answer on How do I...

Slow Azure Table Search and Insert Operations on small tables

azure,azure-storage-tables

You can refer to this post for possible performance issues: Microsoft Azure Storage Performance and Scalability Checklist. The reason why you can only get one property is you're using EntityResolver, please try to remove that. Refer to Windows Azure Storage Client Library 2.0 Tables Deep Dive for the usage of...

Can I run SignalR hub through Azure API Management?

c#,azure,signalr,azure-api-management

websocket is currently not supported in Azure API Management. Please feel free to raise a feature request: http://feedback.azure.com/forums/248703-api-management/filters/new

SoapException: Host is not known, only when called from WebService

asp.net,web-services,azure

The error message was a bit of a red herring. Turns out the problem was that the external web service was throwing a 500. We solved that and the error disappeared.

How can I add a .props file to a C# project?

azure,visual-studio-2013,azure-webjobs

From my understanding in this article it is enough that you add a new text och xml file and name it WebJobs.props. Look also at the screenshot explaining how you should edit it. Here is a different example of this file. https://github.com/davidebbo-test/WebAppWithWebJobsVS/commit/15e7579075312d620fe42a8746503ba82adf5305

How can I view asp.net Azure internal errors?

asp.net,azure

If this is for a Azure Web App, you can enable Application Logging to write errors to the file system. You can also enable Failed Request Tracing (FREB) to see what is happening with the request. For a complete list of logging for Azure App Service (formerly Azure Websites), please...

Access Registry From WebJob/WebApp

powershell,azure,azure-web-sites,azure-webjobs

You cannot achieve this with a WebApp. Because WebApps run in a multi-tenanted environment access to the registry is restricted. This page contains a feature comparison between WebApps and WebRoles. https://azure.microsoft.com/en-gb/documentation/articles/choose-web-site-cloud-service-vm/...

TelemetryClient does not send any data unless Flush is called

azure,ms-application-insights

For performance reasons, the Application Insights SDK batches telemetry and sends it up in chunks. To see this in action you can replace your Flush call with a call to Thread.Sleep (70000) and you will see the instrumentation uploaded to AI once the app terminates.

How to override Azure Sql connection in Azure portal

entity-framework,azure,sql-azure

Ok I found an answer relative to my issue, but also I figured out something First of all the connection string should be like metadata=res://*/DataAccess.MyDataBase.csdl|res://*/DataAccess.MyDataBase.ssdl|res://*/DataAccess.MyDataBase.msl;provider=System.Data.SqlClient;provider connection string="Server=tcp:server.database.windows.net,1433;Database=MyDataBase;User [email protected];Password=xxxxxx;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" And notice the quotation should be " not &quot; , Also as Nick said it...

How to set network security group rules for azure storage services?

azure,sql-azure,azure-table-storage,windows-azure-networking

You cannot use network security rules for Azure Storage Services because: Azure Storage Services are not part, and cannot be part of (as of 2015-06-12) a Virtual Network. You cannot determine IP range for an Azure Storage Account, as the actual server serving particular request can change in any time...

Publishing a MVC App in Azure Web App

sql,sql-server,asp.net-mvc,azure

The other answers gave me the guidelines to find out the solution. I'll try to describe the steps I followed: Using the new azure portal (portal.azure.com currently in preview) I established a connection between the Azure Web App and the Virtual network: Home > Browse > Click on Azure Web...

How to set-up Wordpress Multi-sites on Azure using sub-directories

wordpress,azure,multisite

This stackoverflow question on IIS has the answer: getting 404 error on admin panel for sub-directory multisite on a sub-domain in wordpress It gives this XML for the web.config <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="WordPress Rule 1" stopProcessing="true"> <match url="^index\.php$" ignoreCase="false" /> <action type="None" /> </rule> <rule...

Update individual instance of Azure Cloud Service

wcf,azure,azure-cloud-services

You have a few options: Why are your cloud services themselves not responsible for refreshing their own data on a schedule? Why do they have to be told to do this from external? Using a scheduled task or timer inside the role instances themselves would be the easiest and most...

Control access to web apps on Azure

azure,azure-web-sites

If you haven't looked into API Apps, you will find a lot of functionality already existing there. For example, limiting the visibility of the API App is as simple as going to the API App blade -> All Settings -> Application Settings and setting the Visibility to "Internal". This will...

Different output when run on Azure than on local build

c#,asp.net-mvc,azure,encoding

I suspect there is a difference in the local and remote configuration. I would check the environment variables for your web app, and compare them with your local app to see if there's any differences (i.e. CLR version, IIS version). You can check environment variables with the SCM site, which...

Azure, login to separate accounts with one email

azure,azure-active-directory

You can only view subscriptions for a single directory at a time. If you click your name in the top right corner of the portal you can select which directory you want to work from. There is a suggestion on the Azure feedback site to add the ability to view...

Azure VM: Single disk (filesystem) greater than 1023 GB?

azure,azure-virtual-machine

You are correct. You need 4 disks in Raid0 to get 4TB of data. You can follow the guide below; just make sure to change parameters accordingly because the guide uses 3 disks only. Configure Software RAID on Linux https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-configure-raid/ Regarding redundancy, no matter what kind of storage you configured...

Azure Active Directory Graph Client 2.0 - Contains Expression

c#,azure,active-directory,graph-api-explorer

Contains is generally not supported by the Graph API itself. And there is no alternative. It is strange that EndsWith works. You can find more about supported queries and filters on the following official documentation: https://msdn.microsoft.com/en-us/library/azure/dn727074.aspx...

Is there a way to implement a wcf service connected to a database without paying for azure?

database,wcf,azure,windows-phone-8

Here are some interesting articles about WCF Services in Windows Phone world. How to consume an OData service for Windows Phone 8 Using WCF Service in Windows Phone 8.1 (same in Windows Phone 8) Now you can host the WCF Service in your own server, hosting provider or anything else....

It was not possible to connect to the redis server(s); to create a disconnected multiplexer

c#,azure,azure-redis-cache

The error you are getting is usually a sign that you have not set abortConnect=false in your connection string. The default value for abortConnect is true, which makes it so that StackExchange.Redis won't reconnect to the server automatically under some conditions. We strongly recommend that you set abortConnect=false in your...

Azure Mobile Service requires authentication for SignalR HTML/Javascript Client

azure,signalr,azure-mobile-services

Have you looked at this blog post? http://blogs.msdn.com/b/azuremobile/archive/2014/05/30/realtime-with-signalr-and-azure-mobile-net-backend.aspx You can set your authorization globally with: public static void Register() { // Initialize SignalR SignalRExtensionConfig.Initialize(); // Use this class to set configuration options for your mobile service ConfigOptions options = new ConfigOptions(); options.SetRealtimeAuthorization(AuthorizationLevel.Anonymous); ... } ...

Azure NextMarker

azure,windows-azure-storage,azure-storage-blobs

Actually the query string parameter is marker and not nextmarker (https://msdn.microsoft.com/en-us/library/azure/dd135734.aspx) :). So if you try: https://attosolstorage.blob.core.windows.net/files?comp=list&maxresults=1&marker=1!16!aW1nL3JlZC5qcGc-, things should work just fine....

Does SQL Azure support REPLACE T-SQL function with cyrillic characters?

sql-server,tsql,azure,sql-azure,management-studio-express

The replace function itself works in Azure SQL Database. What does not work in SQL Database is USE [aaa]. You have to connect to the correct database first and then issues the statement in....

How can I deploy an app using Identity Model to Production on Azure?

c#,asp.net,asp.net-mvc,azure,sql-azure

You need to allow Windows Azure Services for your Azure DB through managing the allowed IP addresses, because your DB is initially inaccessible, except from an IP range that you specify. ...

Unable to publish to Azure after 2014 update

asp.net,asp.net-mvc,azure,sql-azure

There are multiple options available to you, but I think below 2 best meet your demand: Integrated in Visual Studio you have the SQL Server Data Tools. When you switch the target for the deployment to Azure SQL DB you'll get the list of incompatibilities, which you can then fix...

Setup Codeigniter For Windows Azure

php,codeigniter,azure

I have downloaded the Codeigniter3.0 from the official site: http://www.codeigniter.com/download, and set session to autoload then publish it to Azure web app, everything goes well, there is no special configurations in my testing, from the error message, it seems the resource is missing, I would suggest you use Kudu to...

Azure AD Change Password with patch call

c#,azure,azure-active-directory,change-password,http-patch

I found the error. I was using user_id as UPN and you cant use a password that have the UPN in it. So I changed the way I made the UPN and it works like a charm!

the size of a string is the same size of a image after convert the image into string?

c#,string,azure

To split long string into collection of multiple shorte strings use String.substring. Something like: var slices = Enumerable.Range(0, longString.Length/ blockSize + 1) .Select(blockIndex => longString.Substring( startIndex: blockIndex * blockSize, length: Math.Min(longString.Length - blockIndex * blockSize, blockSize))); Note that approach with slicing of the string requires sending multiple messages to satisfy...

Handling service bus Message.Complete() exceptions

c#,azure,servicebus,idempotent

I have similar challenges in a large scale Azure platform I am responsible for. I use a logical combination of the concepts embodied by the Compensating Transaction pattern (https://msdn.microsoft.com/en-us/library/dn589804.aspx), and Event sourcing Pattern (https://msdn.microsoft.com/en-us/library/dn589792.aspx). Exactly how you incorporate these concepts will vary, but ultimately, you may need to plan on...

The RPC server is unavailable while creating user in Active Directory

asp.net,azure,active-directory,rpc,membership-provider

I resolved the issue by removing the port from the connection string. I don't know exactly why this solved it because Microsoft Support assured me that 389 is the port I need. ...

connect to mysql database which is in ubuntu server

php,mysql,ubuntu,azure,virtual-machine

1) change my.conf (whatever your mysql conf file is called). And set bind-address to 0.0.0.0 as it is prob 127.0.0.1 2) stop/restart mysql daemon Connections now are not limited to those from localhost (what you are when you ssh). The default is localhost for obvious security reason until dev guy...

setting up azure ad certificate auth using powershell

powershell,azure,azure-active-directory

The 'value' field for the key credentials is always returned as 'null' for applications and service principals.

Azure - Enable diagnostics for worker/web role

azure,logging,azure-diagnostics

To answer your questions: No WAD containers are created in my storage account. Are they not supposed to be created after I have enabled and specified the storage account credentials? If you're looking for wad-control-container, then it won't be created. However you should see containers for IIS Logs, Failed Request...

Add azure db to mvc5 project

asp.net,azure,visual-studio-2013,asp.net-mvc-5,sql-azure

I think that you need to create the DB in Azure from the Azure control panel. Once it is there, EF can use the connection string for Azure to add tables/data to an existing DB. Due to the configuration requirements of Azure DB, I haven't found any option but the...

Error deploying database to SQL Azure

sql-server,azure,forms-authentication,sql-azure

This was solved by generating a SQL Azure script for the DB, and running it on Azure. Here's how I solved it: First, open SQL Server, right click the database you want to transfer and click "Tasks > Generate Scripts..." Next, click "Advanced" on the scripting options panel and find...

Is it possible to configure an NServiceBus endpoint (on Azure transport) to accept a simple string as input?

azure,nservicebus,azureservicebus,nservicebus5

As mentioned on twitter earlier, but just including it here for completeness... If you want to integrate natively, then you have to modify parts of the nsb pipeline to accomodate for your environment. See https://github.com/yvesgoeleven/NServiceBus.AsbNativeIntegration for an example of such an integration....

Update activity time on concurrent connections

c#,sql,asp.net,sql-server,azure

You're in luck! Azure SQL uses SQL Server, which supports MERGE: MERGE User_Activity AS target USING (SELECT @UserNr, GETUTCDATE()) AS source (userNr, rightNow) ON (target.userId = source.userNr) WHEN MATCHED THEN UPDATE SET end_date = source.rightNow WHEN NOT MATCHED THEN INSERT (user_id, stat_date, start_date, end_date) VALUES (source.userNr, source.rightNow, source.rightNow, source.rightNow) (not...

Azure linked Resource: Web app + SQL db. What does it actually do?

azure,sql-azure,azure-web-sites

It's for resource organization only. It causes the Web App and SQL DB to show up in each other's resource maps as linked resources: ...

How to refactor repeated code using reflection

c#,linq,generics,azure,reflection

Answering on original question how to rewrite this in generic way with reflection, so that method should not require changes for every new social network. If MySpace gonna be handled, you need just to add it to handlerMapping, HandleAnySocialNetworkByMapping() not changing (see code below). class Program { private readonly static...

Where does Azure keeps non-vm logs? Can them be downloaded programmatically?

azure

The Service Management REST API can be used to retrieve the operation logs programmatically. List Subscription Operations https://msdn.microsoft.com/library/azure/gg715318.aspx...

Windows Azure. Worker role billing

azure,billing

You're still getting billed. The analogy here is a like a hotel room. If you still occupy a room (deployed) but you're not there (stopped) you still occupy the room and consume resources (the room cannot be reused). ...

Using MVC App to run CRUD operations on Existing Azure Database

asp.net,asp.net-mvc,azure,sql-azure

Take a look at your web.config file. You'll find a section: <connectionString> <add key="DefaultDB" value="....."/> </connectionString> Just change it to your existing database. Another option, you can change the connection string when you'll publish the application: https://acomdpsstorage.blob.core.windows.net/dpsmedia-prod/azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/20150514052253/rrc2.png If you followed the steps on the previous link you've post,...

Azure Cloud Service connected with Azure Virtual Network - is the internal IP static or dynamic?

azure,azure-virtual-network,azure-vpn,virtual-network,cscfg

I had the same problem with multiple instances. As far as I know the ips are dynamic. That's for a good reason. When dynamically adding instances for different roles, prediction of the ips would be a configuration nightmare. I solved it via an internal load balancer. Using an internal load...

azure method blows up if the records does not exist

azure,azure-mobile-services

NULL would mean there is a record for id = 8, but its value is `NULL'. But in your case you do not have a record. Which is different. What you observe is what you should observe if you do not have a record. And this is a standard for...

Excel file (azure blob) does not download in chrome

excel,azure,azure-storage-blobs

You missed blockBlob.SetProperties(); Try this: var blockBlob = container.GetBlockBlobReference(randomFileName); blockBlob.DeleteIfExists(); blockBlob.Properties.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; blockBlob.SetProperties(); // This is for commiting changes. Note that for .xls files you need to set content-type to application/vnd.ms-excel. FYI: If you want to update property values in existing blob you need to fetch the current values,...

azure existing vpn and gateway, add address space

azure,vpn,gateway

Two things: The gateway needs to recreated, just close/ recreate connection does not help. For recreation of the gateway the new preshared key has to be passed over to the owner of the network again. the user interface of the address spaces is implemented in a strange way. It only...

Cordova with Windows Azure Storage, if the access to my container is public, do I still need authentification?

cordova,azure,azure-storage-blobs

For those who might get in the same problem as me, it was the fileURL path that was incomplete. At the end of the fileURL, you have add your file's name, so mine would be: var fileURL = cordova.file.dataDirectory+"test2.txt";...

Azure data sync not syncing sql database data properly as expected

azure,sql-azure,azure-data-sync

Yes, the situation you met is possible. For a 1 hub-2 member sync, it will actually trigger two pair-to-pair sync: [Hub1] <-> [DB1] and [Hub1] <-> [DB2]. But the order which pair will synchronize first is random. So in your case, mostly the [Hub1] <-> [DB1] is triggered first but...

Can't associate Office 365 with Azure subscription

azure,office365

The problem appears to be my browser is blocking third party cookies . When I turned that option, it worked.

How to set ContentDisposition using Set-AzureStorageBlobContent

powershell,azure

You're not doing anything wrong. I don't think ContentDisposition is supported just yet in Azure Cmdlets (It is fully supported in REST and .Net API though). I am basing my statement on the source code here: https://github.com/Azure/azure-powershell/blob/dev/src/ServiceManagement/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageBlobContent.cs. Source code from the same page: //only support the common blob properties for...

Change load-balanced server for Azure web site?

asp.net,azure,session-state,azure-web-sites

The "stickiness" is controlled by the Application Request Routing Affinity cookie (ARRAfinity). By clearing this cookie, you might get another roll of the web balancer dice. Here's a similar question P.S. A common technique for identifying the web farm server remotely is embedding the server hostname in an HTML comment...

How to expose existing REST API through Azure Service Bus (or through something else)

rest,azure,azureservicebus

If you want to access an On-Premise service from the Azure service/websites what you need is a Hybrid Connection. For that you will need a BizTalk service to redirect the trafic to your on-prem service. Here are the steps to how to setup a Hybrid connection: https://azure.microsoft.com/en-us/documentation/articles/web-sites-hybrid-connection-get-started/...

Do I need other roles than Worker Role for a web site and service layer in Azure?

azure,azure-web-roles,azure-worker-roles,azure-cloud-services

The answer is, it depends... A web role is essentially a Worker role with IIS installed + configured. You could host a WebApi/MVC, WCF AND process events all from the same web role if you really wanted to, reducing costs. Remember that each role is a separate VM that you...

Signal that an Azure worker role should not be scaled down while processing

azure,azure-worker-roles,azure-cloud-services

You can't refuse a shutdown within a role instance, but you can delay it, in OnStop() (I believe you can delay up to 5 minutes). You'd probably want to prevent the role instance from ingesting more queue messages, while it was finishing its current item(s), which should be pretty straightforward...

Azure Mobile Services: migrate to non-Azure Windows Server

asp.net,azure,azure-mobile-services

It is entirely possible to move the .NET runtime - This is just an ASP.NET Web API site, and it can be hosted anywhere that you might run ASP.NET. However, some features such as the login functionality will not be available. For the Node.JS runtime, the actual process running the...

Why does NServiceBus on Azure not use my specified endpoint name?

azure,nservicebus,nservicebus5

Azure servicebus does not allow to name multiple entities of different types with the same name, so each endpoint defines an input queue named after the endpoint name and a publishing topic with '.events' appended. You cannot publish to a specific topic, an endpoint can only publish on it's own...

PHP MSSQL Database Azure

php,sql-server,json,azure

You need to: Find out the public IP of your free web hosting provider (the public IP that your PHP script uses to make calls. And this with free web hosting provider means that this IP will most likely change on an irregular basis. Check the Azure SQL Database Firewall...

Enabling OPTIONS method on Azure Cloud Service (to enable CORS)

azure,cors,azure-api-management

In the end I ended up removing the handlers as in my question, but adding two custom handlers: <remove name="SimpleHandlerFactory-Integrated-4.0" /> <remove name="SimpleHandlerFactory-Integrated" /> <remove name="SimpleHandlerFactory-ISAPI-4.0_64bit" /> <remove name="SimpleHandlerFactory-ISAPI-4.0_32bit" /> <remove name="SimpleHandlerFactory-ISAPI-2.0-64" /> <remove name="SimpleHandlerFactory-ISAPI-2.0" /> <remove name="OPTIONSVerbHandler" /> <!-- Added the following handlers --> <add...

Application Insights TraceListener: Setting Severity level

azure,ms-application-insights,trace-listener

It is a known limitation that if you add application insights listener under "listeners" tag in your config filters will not work. But if you add it under shared listeners with a filter it should work.

Exporting data from Azure DocumentDB

azure,azure-documentdb

There is no built-in export option in the database service itself. However, the DocumentDB Data Migration Tool, published by the DocumentDB team, is available and provides both import and export capabilities (export is to JSON). Everything is documented on the DocumentDB area of the Azure site, specifically here. This isn't...

Azure WebJob or Scheduler or another technology?

azure,azure-webjobs

You have a few options: Web Jobs, Scheduler, and Worker Roles. Web Jobs are a nice addon to an existing azure web app and have the benefit of no additional cost. Web Jobs use Scheduler under the covers if you choose to schedule the Web Job to run at an...

Why does NServiceBus on Azure append “.events” to my Topic names?

azure,nservicebus,nservicebus5

See Why does NServiceBus on Azure not use my specified endpoint name? Nsb has been designed not do this, business endpoints can only subscribe to other business endpoints, not to stand alone technical constructs like topics. PS: if this is related to your integration question, and your intend is to...

Getting error 400 bad request when accessing Azure blob storage - all latest components

azure,windows-azure-storage,azure-storage-blobs

Please take a look at the following articles for monitoring, diagnosing, and troubleshooting Microsoft Azure Storage. Monitor, diagnose, and troubleshoot Microsoft Azure Storage End-to-End Troubleshooting using Azure Storage Metrics and Logging, AzCopy, and Message Analyzer ...

C# azure download all files

c#,azure,download,storage,blobs

The problem is that item.ToString() will return "Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob" and therefore no such blob exists resulting in a 404 error. Change that line to CloudBlockBlob blockBlob = container.GetBlockBlobReference(((CloudBlockBlob)item).Name); Edit: The code to write the file locally is incorrect as well. Try this foreach (var item in ListBlobs) { string name =...

Azure: How to manage development and production websites

azure,azure-web-sites

Using the Connection Strings in the Azure Portal, specify the production connection string in the production site configuration and the dev connection string in the dev site configuration. these connection strings are injected into your .NET configuration connectionStrings settings at runtime, overriding existing entries where the key equals the linked...

When upload Bitmap stream to Azure storage, it store zero/empty image

asp.net-mvc,azure,cloud

I think you need to set the position back to the start of the stream before uploading img.Save(memoryStream, System.Drawing.Imaging.ImageFormat.Png); blob.Properties.ContentType = model.File.ContentType; memoryStream.Position = 0; blob.UploadFromStream(memoryStream); ...

Domain redirection to Azure subscription

azure

you need to configure a new custom domain for you Azure Web App. You can follow the tutorial: https://azure.microsoft.com/en-us/documentation/articles/web-sites-custom-domain-name/

Distributed session implementation detail

c#,asp.net,session,azure

Yes, session state assumes that provider deserializes/serializes whole state and hence more data is stored more time it takes to start/end request. As an option if you need to store a lot of data - store infrequently needed pieces outside of session state and keep information on location of the...

Trying to use Java Message Service (JMS) API with Service Bus and AMQP

java,maven,azure,amqp

Solved by downloading the jars separately and installing them into the Maven repository according to this document: How to add local jar files in maven project? Then adding the pom definitions from the jar installs into the project's pom.xml file....

A parameter cannot be found that matches parameter name 'MaxSizeGB'

azure,sql-azure,azure-powershell

Business and Wed editions are a deprecated service level. Now, the service levels are Free, Basic, Standard & Premium as the error shows. About the parameter, are you using the Azure PowerShell module configured as "Resource Manager" or "Service Management"? The first one hasn't that value but the second one...

How To Update a Web Application In Azure and Keep The App Up the whole time

azure,web-applications,azure-web-sites,azure-deployment

Use deployment slots. Azure Web Apps let you create staging slots for your site. They're effectively independent sites that you can deploy your test/staging bits to. Then when you have the staging site ready you can push a button and make it your public production site. See here for more...

Instrumenting windows service with Application Insights

azure,windows-services,ms-application-insights

I'll make the docs a bit more clear on this. You can instrument anything if there's a core SDK that will build with it. So any kind of .NET, Java, PHP, OSX, iOS, Android, .... If you want additional modules that log web requests, crashes, etc, you're a little bit...

Active Directory membership provider using LDAP

asp.net,azure,active-directory,ldap,membership-provider

I fixed the issue by replacing the domain with the IP address in the connection string. From what I could find, asp will always always try to use a secure connection, even when using the insecure port (389). It will not attempt this when an IP address is given. My...

Azure web site FTP access / 530 User cannot log in

ftp,azure

I opened a case with Microsoft, and after some back and forth and testing, two things came out: There was a service issue which may or may not have impacted us - it's not clear as it was a partial outage edge case situation. There seems to be a bug...

View local Azure Webjobs SDK dashboard for debugging WebJobs SDK console process

azure,azure-webjobs,azure-webjobssdk

TO get the Dashboard to run locally you can sync the dashboard sources from GitHub (https://github.com/azure/azure-webjobs-sdk) and add your Storage connectionstring and run the dashboard locally.

Timeout accesing SQL Azure on Basic/Standard tier - works fine on Web tier

sql,azure,timeout,sql-azure,tiers

The Basic and Standard service tiers have different performance characteristics than the Web service tier. Specifically in Web you can get up to Premium P2 performance if the machine that the DB is hosted on is not busy. When you run the above code connect to your database and query...

How to remove Inbound rule from Azure loadbalancer

azure,azure-resource-manager

Cmdlets with “Config” suffix only change in-memory data ($loadBalancer object in this case). After Remove-AzureLoadBalancerInboundNatRuleConfig -LoadBalancer $loadBalancer -Name RuleName Do Set-AzureLoadBalancer -LoadBalancer $loadBalancer Let me know...

How to avoid a 404 when deleting batches from Azure Table Storage

c#,.net,azure,azure-table-storage

You could PUT empty entities with the same PartitionKey and EntityKey before DELETEing them. This way you'll be sure you won't have 404 errors. It's two consistent calls for every batch instead of retrying many times and complicate the logic of your app. Not an ideal answer but we don't...

Upload file to Azure Blob from HTML webpage (C#)?

c#,azure,file-upload,azure-storage-blobs

You should not try to cast UploadedFile.InputStream to a FileStream. CloudBlockBlob.UploadFromStream requires a Stream object, so it should be able to work directly with UploadedFile.InputStream.

Application for viewing Azure service bus dead letters

azure,azureservicebus,dead-letter

After a few creative searches later, I have found the project "Service Bus Explorer" by Paolo Salvatori that does exactly what I need. I hope this helps out other people searching for the same thing. It can be found on the code.msdn.microsoft.com site under Microsoft Azure and Sample code. https://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer-f2abca5a...

Azure Active Directory Login: Web App Permissions, User Consent not triggered

azure,oauth,active-directory,azure-active-directory

If an admin creates an application in their tenant, and requests permissions to other applications, then users in that same tenant are pre-consented for that application. I believe this is why you are not seeing the consent dialogue when user's in your tenant are signing into your application. If you...