Category Archives: General

Check if service bus topic/subscription/queue exists with SAS key not having Manage permission

Hi, Consider a scenario where you’ve developed an application health monitoring┬átype system which validates your application at application startup/periodically. Now as part of that if your application uses Azure service bus queues, topics, subscriptions, then it would be good to … Continue reading

Posted in .NET, C#, General | Tagged , , , , , , , , , , , | Leave a comment

Cannot access a disposed object. ‘System.Net.Http.StringContent’ While having retry logic.

Hi, I faced this scenario today when I was trying to make an HttpPost call using a retry logic wherein I was getting an ObjectDisposedException while trying to retry for the first time. Exception Message: Cannot access a disposed object. … Continue reading

Posted in General | Tagged , , , , , , , , , , , , | 4 Comments

Resolving “Mapper not initialized. Call Initialize with appropriate configuration.”

Hi, In case you’re using AutoMapper to map entity objects; something like below line of code Mapper.Map<User, UserEntity>(user); and if you get the exception, “Mapper not initialized. Call Initialize with appropriate configuration.“, then it means, well, that you’ve not initialized … Continue reading

Posted in .NET, General | Tagged , , , , , , , , , | Leave a comment

Recreate azure cloud service package with correct instance size from a package having incorrect VM size

Hi, Consider a scenario where you’re given azure cloud service packages for deployment and you don’t have access to the code base used to create that package. And in case one of the package’s ServiceDefinition.csdef file has an incorrect VM … Continue reading

Posted in .NET, General | Tagged , , , | Leave a comment

Get password for IIS Application Pool account

Use the appcmd.exe in cmd prompt to retrieve password of the app pool. Continue reading

Posted in General, IIS | Tagged , , , , | 7 Comments

Installing Windows Identity Foundation Runtime. Resolving Windows Identity Foundation SDK Installation error.

Hi, I had to install Windows Identity Foundation SDK in a Windows 2012 R2 server for setting up Claims-based authentication. So I downloaded the SDK and started the installation. Immediately I was shown this error popup. The cause of the … Continue reading

Posted in .NET, General | Tagged , , , , , , , , , , , , | Leave a comment

New year, new resolutions, new hopes. Happy New Year!!

Dear readers, Firstly, I would like to thank you for visiting my blog and encouraging me to write more posts. However, I’ve been very busy lately and have not been able to post much from the past few months. So … Continue reading

Posted in General | Leave a comment

2014 in review

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog. Here’s an excerpt: The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 23,000 times in 2014. If it were a … Continue reading

Posted in General | Leave a comment

[Resolved] – Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.

Hi, So I was working on two laptops today and had to copy few files from one laptop to the other. As I always do, I tried to access the second laptop using the Run command \\hostname\shared_folder. It asked for … Continue reading

Posted in General | Tagged , , , , | Leave a comment