Saturday 21 December 2013

AppFabric 1.1 un-installation crises , Broken App Catalog Creation - SharePoint 2013

Recently whilst setting up Workflow Manager for SharePoint 2013, I accidentally removed AppFabric 1.1 from application server. This application server was also hosting CA and few Service Applications. Nothing got affected immediately but as soon as I tried to configure Apps Catalog Site Collection I was presented with popular message i.e. "Sorry, something went wrong..."

After checking ULS, I found these two culprits and after jogging my memories I realized that this may be happening due to AppFabric un-installation.


w3wp.exe (0x1384)   0x1378 SharePoint Foundation         Upgrade                       ajywy Unexpected w3wp (0x1384) 0x1378 SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 232d629c-7667-9002-c266-7e335d287cf6 232d629c-7667-9002-c266-7e335d287cf6

w3wp.exe (0x1384)                       0x1378 SharePoint Foundation         Upgrade                       ajywy Unexpected w3wp (0x1384) 0x1378 SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 232d629c-7667-9002-c266-7e335d287cf6 232d629c-7667-9002-c266-7e335d287cf6

After installing AppFabric 1.1 from below link resolved my issue.


Moreover, during AppFabric installation if you run into issues then this could be due to missing environment variable i.e - PSModulePath. As behind the scene, msi tries to fire some powershell scripts which fail to run in result of this missing variable. 

You will need to dig into msi log files in order to find what exactly causing this. All the best!


http://stackoverflow.com/questions/11205927/appfabric-installation-failed-because-installer-msi-returned-with-error-code-1

After installing AppFabric if it still doesn't work then drag and drop dlls from this location to GAC

C:\Program Files\AppFabric 1.1 for Windows Server

Crises over! 

1 comment:

Anonymous said...

Great Blog Majid....It saved me a tons of time....Couldnt figure out the problem from past 3-4 days..Then your blog came as a saviour

Iconise ‘Add Picture’ control in PowerApps

Default look you get for ‘Add Picture’ control is not very appealing for end user and there is no OTB way of specifying icon for this con...