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 verify that they all exist before your application actually starts its work. So your initial […]
Category: General
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 AutoMapper and need to do so before mapping entities 🙂 So in order to initialize […]
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 size mentioned. In this case, you either have to request for a new package which […]
Show ADFS login page instead of windows authentication pop up
Hi, I recently setup an ADFS website on a server and required the site to display the forms authentication page asking for log in credentials whenever the AD was accessed. But every time, I ended up getting the windows authentication pop up instead of the pop up. After doing some research online, I found that […]
Get password for IIS Application Pool account
Use the appcmd.exe in cmd prompt to retrieve password of the app pool.
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 error is apparent – Windows Identity Foundation (WIF, going forward) is not installed in my server. […]
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 now, with the new year starting tomorrow, I would like to take a resolution that […]
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 concert at Sydney Opera House, it would take about 9 sold-out performances for that many […]
[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 credentials of the other laptop and then suddenly this weird error message popped up. Multiple […]