Open Xml + Unable to create mutex

The error which took us a while to figure out to fix. As any mysterious error around this one also took a while to crack it. However the exception was IsolatedStorageException. We weren’t able to find the cause of the error.

Isolated Storage:  It is a disk location on server which is used when the processing of document size is bigger or a complex document structure, this was our interpretation. The definition says  “Isolated storage is a storage mechanism that provides isolation and safety by defining standardized ways of associating code with saved data.” You can find the details @ here

Then we got this stackoverflow link http://stackoverflow.com/questions/19465653/openxml-and-unable-to-create-mutex

We were not comfortable with accepted solution because It requires running IIS with elevated permissions which is a security weakness. May be we should have done further research on the Isolated storage and where the file location is created, however after going through the same link couple of weeks later we found another solution which mentioned something about to set Load User Profile to True. That solution worked for us.

Details on User Profile can be found here blogs.msdn.microsoft.com/vijaysk/2009/03/08/… and  iis.net/learn/manage/configuring-security/…

What we learned from this mistake is one has to go into the technical detail of an issue and read all available material related to  topic and do appropriate research before concluding the issue.

Advertisements

After a year of Entrepreneurship

It is almost an year now since I quit my job. It was an exciting year of owning my own business. The transition from thinking like an employee to a business owner was tougher than I thought. I had always known that I will start my business. Once you are in this side of the world the game is totally different. You cannot be grateful enough to your family and friends for standing by you.

Here is what owning a business taught me in past one year

  1. To think longer term and short term at the same time is unproductive.
  2. Your business acumen is directly proportional to managing uncertainty.
  3. Decisions need to be taken for lot of things and need to be changed dynamically.
  4. Being busy and building your business are two different things.
  5. You are more energetic on Monday morning than on Friday evening.
  6. You meet all different kinds of people, some ideas are worth listening.
  7. You start observing all the businesses around with more detail.
  8. Every single month is like a new year.
  9. Have to say No for lot of things and at times need to fight for it.
  10. The only person responsible for everything that is happening around me – Its me 🙂

Happy Entrepreneurship!