Friday, January 15, 2010

HRESULT: 0×80040E14 error when adding items to SharePoint

When attempting to create a new folder in our SharePoint, I faced the following error message: Exception from HRESULT: 0x80040E14 with an impressive stack filling in my entire screen.

Googling this error message will send you to the Microsoft KB 841216 as first result. However the 3rd result will display an alternative solution from Alex Pearce's SharePoint blog. Alex suggest that your the reason can be in fact totally trivial and due to:

  1. Your SQL server data drive being full, or
  2. Your data or log file reached there full allocated size, or
  3. Your database size is full and not set to increase.
In my case, the log file was full and I simply needed to shrink it. Kind of stupid, no ?

Saturday, January 9, 2010

Deploying Microsoft Dynamics Sure Step Project SharePoint Site

Because we run several Dynamics AX projects in parallel, with many more to come, we decided to start using more and more the Microsoft methodology: Sure Step. The 2010 version of the Microsoft Dynamics Sure Step client allows you to create a local project repository or instead a SharePoint site on your SharePoint portal.

The portal deployment wizard is quite straightforward and if you are the primary administrator of your SharePoint site collection then there should not be any problem.

Except we ran into a rather strange issue. While the Sure Step wizard showed we have the right permissions to create a site, we ran immediately into an error which caused the SharePoint site creation to fail and simply stated that it could not be created.

After checking the Events and logs on the SharePoint site, the Events and firewall settings on the local computers (we tried from several computers), and even the network firewalls settings, we were still stuck with no clue. That error message remained cryptic and sadly, googling it did not bring any help as all words are far too generic.

We then decided to use fiddler to at least check if the problem was on the local computer or on the server by checking where it will stop. That helped a lot. Through Fiddler, we spotted a returned error message stating that the Sure Step Project Site.stp template could not be found. So we manually uploaded it in the Site Template Gallery and restarted the Sure Step Project Wizard. This time, the Sure Step Project site was perfectly deployed and the result can be seen below, using a Dynamics AX 4.0 project as example.