Quantcast
Channel: Edwin's JourneySharePoint | SharePoint & Project management
Viewing all articles
Browse latest Browse all 11

Front-end file system cache problems might occur after a SharePoint configuration database restore.

$
0
0

database_restore_file_cache_problemsLast week I was working at a client who just restored one of their SharePoint environments because of a site error. Everything was functioning like normal, until we discovered a major issue with the InfoPath forms publishing mechanism.

For some of the Infopath forms we received an error while upgrading the form to a newer version. The error statement told us that we could not update the form because of an object in the database with the same ID.

To resolve the error we tried to remove the existing form, but instead of removing the form, SharePoint decided to do the opposite and it tried to start some kind of upgrade process. We had no more options to upgrade or even delete the existing form.

We knew that SharePoint generates a WSP for each InfoPath form that is published in the Central Administration. The deployment status of each WSP file can be seen in the Solution Management section. Right here we found the source of our problem. The Solution Management page informed us that the WSP package of the forms where Globally deployed, but they gave an Error status. The error status blocked every option to retract or re-deploy the WSP. Looking at the error details the following message was displayed:

SharePointServer : C:\WINDOWS\Temp\solution-fc4c343f-f8f7-4724-b6c0-8e658496bda9\form-template_myform.wsp could not be created because the contents could not be found under id 4795693a-2ec7-4a92-810f-eb9931a498e6 in the configuration database.

Somehow the environment was thinking that the content of the missing WSP package was deployed.

Finally the IT Pro of our client found the solution for the problem in KB939308. It turns out that after a database restore, the contents of the file system cache on the front-end servers can be different from that of the contents of the configuration database.

The only way to fix this is by performing some manual steps:

  1. All the XML configuration files have to be removed from the SharePoint config directory.
  2. The contents of the cache.ini file has to be cleared.
  3. The Windows SharePoint Services Timer has to be restarted.

A detailed guide of these steps is provided in the description of KB939308.

So next time if you have to do a database restore of your SharePoint Server, keep in mind some cache problems might occur.


Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles



Latest Images