Skip to main content

Posts

Showing posts from January, 2016

Install app for SharePoint: The file exists

If you have the below error in Visual Studio when you try and debug a SharePoint App:
Severity Code Description Project File Line Error Error occurred in deployment step 'Install app for SharePoint': The file exists. (Exception from HRESULT: 0x80070050) [AppName]  0
You have properly already tried:
 - Clean the solution
 - Manually uninstall the solution
 - Upgraded the App version number
 - Retracting the solution

If none of the above works and you are pulling your hair for a solution, try and run Visual Studio in Administrative mode.

This have fixed the problem for me many times and i think it was time to share it :-).

SharePoint 2016 and Project Server 2016 in preview

Release Candidate for SharePoint 2016 and Project Server 2016 is ready for download.
Notice the installer now contains both SharePoint and Project Server. Previously it have been two different installers.
SharePoint and Project Server 2016 RC Download

If you are using SharePoint Online or Project Online you will already know a lot of the new features.
New features (among many):
 - Better mobile and touch support
 - App Launcher (Waffle)
 - Integration with OneDrive
 - Large file support
 - Resource Engagements (Project Server Only)
 - Video Portal
 - Yammer support
 - Delve (Intelligent Search)


Source: https://blogs.office.com

Sys is undefined, Type is undefined

Problem
So today I came across a strange error in SharePoint/Project Online.
3 users were not able to see the Project Center, Resource Center or add new items to a document library.
The issue was clearly related to their PC's as other users had the same problem on their PC's and they didn't have the problem on other PC's.
Everybody had the same version of Internet Explorer, Same regional settings and same language installed.

In their IE log they were all receiving the following error.
SCRIPT5009: 'Sys' is undefined projects.aspx, line 124 character 219 SCRIPT5009: 'Sys' is undefined projects.aspx, line 150 character 1 SCRIPT5007: The value of the property 'WebForm_InitCallback' is null or undefined, not a Function object projects.aspx, line 656 character 1 SCRIPT5007: The value of the property '$get' is null or undefined, not a Function object shell.js?rev=YwnNMDxuVwsNnI9A1oL38w%3D%3D, line 2 character 50132 S…