Tag Archives: SharePoint

How to: run a 32 bit web application on a SharePoint 2013 Server

When installing a separate 32 bit web application in a SharePoint 2013 Farm the new application might fail to load and give a general 503 Service Unavailable error message. When looking in IIS manager, the Application Pool for the new app would be in the stopped state.

The following error messages might be visible in the Event log…

For the new 32 bit web application

event_error_message

Event ID 5002 – Error <date and time> WAS 5002 None

Application pool ‘<App Pool Name>’ is being automatically disabled due to a series of failures in the process(es) serving that application pool.

And

Event ID 5139 – Warning <date and time> WAS 5139 None

A listener channel for protocol ‘http’ in worker process ‘<process number>’ serving application pool ‘<App Pool Name>’ reported a listener channel failure. The data field contains the error number.

 For SharePoint 2013

Event ID 2282 – Error <date and time> IIS-W3SVC-WP 2282 None

The Module DLL ‘C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\isapi\spnativerequestmodule.dll’ could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.

The Microsoft link for the issue will only redirect you to the www.iis.net web site.

Solution / work around

The solution to this issue is to enable 32 bit applications to be loaded together with SharePoint and ask the SharePoint Module to only load in 64 bit mode. This can be done by running the following command, located in the %WINDIR%\System32\inetsrv\ folder:

appcmd.exe set config -section:system.webServer/globalModules /[name=’SPNativeRequestModule’].preCondition:integratedMode,bitness64

More information on configuring IIS can be found here: http://technet.microsoft.com/en-us/library/cc627313.aspx

Hat Tip to my colleague Markus Lind for pointing this out.

Cube Status – a new open source project for BI in SharePoint

I have released my Cube Status project (http://cubestatus.codeplex.com) to http://www.codeplex.com.

cubestatusscreenshot

This web part for SharePoint provides the possibility to visualize both the current status of a SQL Server Analysis Services (SSAS) cube or tabular model (BISM) and some of its metadata.

This web part can be used in BI portal type pages in SharePoint to show the current status of a cube used for reports and analysis. This means that there is no need to guess the update status or last process time etc. of a cube.

Both the source code and a .wsp solution file for deployment are available for download from the project page: http://cubestatus.codeplex.com

This project is described in more detail here

This project also works quite well together with the SQL Server Agent Job Status project found at http://jobstatus.codeplex.com and with more details here

Please, feel free to suggest updates and new features etc. either here on the blog or on CodePlex.

Unable to open SharePoint Online document library in File Explorer

Introduction

SharePoint features a very useful function that enables users to open a document library as if it is a normal folder inside File Explorer. This would give the user access to normal file operations such as copy, move etc.

fileexplorer-english

Look and feel of Open with Explorer in SharePoint 2013 in English

fileexplorer-swedish

Look and feel of Öppna med Utforskaren in SharePoint 2010 in Swedish

Issue

When using Windows 7 and Internet Explorer 10 to open a document library the following error message appears and the library does not open in File Explorer:

fileexplorer-errormsg-english

We’re having a problem opening this location in File Explorer. Add this web site to your Trusted Sites list and try again.

A similar error message in Swedish:

fileexplorer-errormsg-swedish

Klienten har inte stöd för att öppna den här listan med Utforskaren.

Solution

Update: There is now a hotfix available at: http://support.microsoft.com/kb/2846960 that should solve the issue for Windows 7 and IE10.

Not really…

At the moment this is a known issue with Internet Explorer 10 in Windows 7. The suggestion from Microsoft is to de-install IE10 and use an earlier version. Another option would be to upgrade to Windows 8.

Unfortunately my current PC (HP EliteBook 8540w) does not support Windows 8, and Internet Explorer 9 isn’t really an option anymore.

Read more at the Microsoft support site: http://support.microsoft.com/kb/2835527

More supporting information here: How to use the “Open with Explorer” command and how to troubleshoot issues with this option in SharePoint Online – http://support.microsoft.com/kb/2629108

This is posted as a follow up to my post on how to get explorer view to work in SharePoint 2010: http://www.stefanjohansson.org/2012/01/how-to-get-explorer-view-to-work-in-sharepoint-2010/ – obviously this won’t cut it in the above scenario.

SharePoint 2013 and Office 2013 launch seminar at Microsoft

On May 17th (2013) we held a very successful seminar as part of the launch and roll out of the SharePoint 2013 and Office 2013 family. The event took place at Microsoft Sweden’s newly renovated office just north of Stockholm.

StefanAtMicrosoftSeminar17thMay2013

Photo by Björn Nylander

The event focused on the new capabilities for BI in SharePoint 2013, SQL Server 2012 and Office 2013 and looked at the possibilities of the platform from a strategic ROI point of view.

geoflow_demo

 

GeoFlow demo

The main part of the seminar was my presentation and demonstration of the Solver BI Framework that enables BI in SharePoint 2013 to live in a structured platform with plenty of information about report and system status, integrated news and much more. We also showcased the new GeoFlow 3D data visualization (download here) features of Excel 2013 that was very well received.

powerview_demo

 

Power View demo

More information on the Microsoft Business Intelligence start page here: http://www.microsoft.com/en-us/bi/default.aspx

If you are interested in the materials from the seminar or if you would like to see the seminar contents or demonstration, please contact me.

Unable to create folder in SharePoint 2013 library

1-aspx_debug_error

This error, “Sorry, something went wrong. The aspx_debug attribute on the page directive is not allowed in this page” occurs when trying to create a folder in some types of document libraries, such as the Report Document Library used for SQL Server Reporting Services report documents in SharePoint 2013.

The error comes from some bad /Upload.aspx files that are used by SharePoint 2013.

identifying the upload file for a Report Document Library gives us this standard file path:

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\ReportsAndDataListTemplates\ReportDocumentLibrary\Upload.aspx

The standard contents:

3-upload_aspxfile

By updating the contents with something that makes more sense we can get the folder creation feature to work again:

workingfilecontents

Do note that all page directives needs to go, and we need to update the UIVersion property from 15 to 4 otherwise we just get new exciting errors.

Continue reading