I have uploaded MS Project files in my SP Foundation librarty. But when I wan't to open it in browser I get an error:
no apps are installed to open this type of link (ms-project).
How can I fix it?
Please see this answer from Juan Pablo Pussacq Laborde >
There is no application to open project in the browser. What exists is Microsoft Project Server, but does not work on SharePoint Foundation. You need to install SharePoint Enterprise and Project Server . It also requires Microsoft Project Professional as a client
See https://products.office.com/en/project/enterprise-project-server
https://sharepoint.stackexchange.com/questions/177256/ms-project-file-open-in-sharepoint
Related
I have been reading several articles to get SharePoint Online client context with the generated access token. All of them use TokenHelper class to get the client context as shown below:
ClientContext clientContext = TokenHelper.GetClientContextWithAccessToken(targetWeb, AccessToken);
My question is how do we access TokenHelper class? I could not find it in the reference Microsoft.SharePoint.Client version 16.1.0.0. What reference do we need to add to access this class?
I was able to get answer from here. In case anyone needs it in future, below is the answer:
Just add the NuGet package AppForSharePointOnlineWebToolkit. It will add the TokenHelper.cs and SharePointContext.cs files to your project.
Please install the below NuGet package in your solution:
--> AppForSharePointWebToolkit
Installation will add the following files & references to your solution :
For more information:
https://www.nuget.org/packages/AppForSharePointWebToolkit/
Please Note:
AppForSharePointWebToolkit is for SharePoint 2013
If you are working on SharePoint 2016 or working on Visual Studio 2017 you have to install AppForSharePoint16WebToolkit
You don't need any NuGet packages or other external sources as long you work with Visual Studio and you have the Office developer Tools and SharePoint Server 2013 Client Components SDK installed, just as written in the forum thread you referred to.
Simply create a new project, and select the SharePoint Add-in project template from Installed / Visual C# / Office/SharePoint / Add-ins hive. On the first page of the project wizard select the Provider-hosted option (I think it is the default one), and on the second page select SharePoint Online if you want to work with O365. The TokenHelper.cs will be included in the project generated by Visual Studio.
See these tutorials for more details:
Create high-trust SharePoint Add-ins
How to Create a High-Trust, Provider-Hosted Add-In?
Get started creating provider-hosted SharePoint Add-ins
Step by Step approach to create a Provider Hosted Application in SharePoint 2013
I'm trying to migrate our existing TFS 2008/SharePoint installation to TFS 2012/SharePoint 2010. If I do it without SharePoint it all works OK, but if I try and include SharePoint it fails.
At the moment I'm starting from scratch and including SharePoint.
I've run the Configure Extensions for SharePoint Products Wizard, restored the TFS 2008 databases, run STSADM from the command line, and now I'm attempting to run the TFS 2012 Upgrade Wizard: it fails at the, Configure the Server Running SharePoint step with the error "TF250004: The SharePoint Products installation is either corrupt or is not valid. Verify that SharePoint Products is a supported version and is functioning properly, and then try again."
Can someone please advise me what I've done wrong?
It seems that your TFS server can't detect you SharePoint .
Where is your Sharepoint server, is it running on the same computer with TFS server or on another machine?
With your upgrade ,did you change your hardware or use the same hardware as before.
Accroding to your description, you didn't mention whether you need to upgrade your SharePoint. You should finish SharePoint upgrade before your TFS server upgrade.And match TFS upgrade requirements https://msdn.microsoft.com/en-us/library/vstudio/dd631912(v=vs.120).aspx
You should also pay attention to your sharepoint permission.I suggest you use a "Full Permission" Account in sharepoint which interact with TFS .For your reference:http://social.msdn.microsoft.com/Forums/sr/tfsadmin/thread/ea2ef379-dd14-4e23-86e6-fbc156e430d8
I eventually unchecked the "Configure SharePoint Products for Use with Team Foundation Server" option to exclude SharePoint during the upgrade and then manually configured SharePoint after the upgrade, overcoming a host of problems along the way.
How can I get the version of SharePoint that is installed on my server?
Run this PowerShell script
get-spfarm | select BuildVersion
It's crazy that there is no easy way to find out what Edition (SKU) of SharePoint 2013 are you running. To find out, you have to dig the registry:
Open Regedit
Navigate to HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\InstalledProducts
Compare the guids with these:
C5D855EE-F32B-4A1C-97A8-F0A28CE02F9C -- SharePoint Server 2013
CBF97833-C73A-4BAF-9ED3-D47B3CFF51BE -- SharePoint Server 2013 Preview
B7D84C2B-0754-49E4-B7BE-7EE321DCE0A9 -- SharePoint Server 2013 Enterprise
298A586A-E3C1-42F0-AFE0-4BCFDC2E7CD0 -- SharePoint Server 2013 Enterprise Preview
D6B57A0D-AE69-4A3E-B031-1F993EE52EDC -- Microsoft Office Web Apps Server 2013
9FF54EBC-8C12-47D7-854F-3865D4BE8118 -- SharePoint Foundation 2013
35466B1A-B17B-4DFB-A703-F74E2A1F5F5E -- Project Server 2013
BC7BAF08-4D97-462C-8411-341052402E71 -- Project Server 2013 Preview
Reference : http://www.thesysadminhimself.com/2013/01/identify-sharepoint-2013-foundation-or.html
msdn Link : http://msdn.microsoft.com/en-us/library/jj659075.aspx
You can use powershell too
Open SharePoint Powershell with Run as administrator
Run this command:
get-spfarm | select BuildVersion
Thanks Naim Murati.
If it's up and working, or just a webserver running SharePoint and you don't have access to console/admin/registry or s.th. else, just good ol' browser, you might add _vti_pvt/service.cnf after your base SharePoint-URL to determine the version number.
You'll get something like this:
vti_encoding:SR|utf8-xx
vti_extenderversion:SR|15.x.x.x
And Versionmapping... As far as I remember (please correct me if incorrect):
v12.x = SP2007/WSS
v14.x = SP2010
v15.x and higher = SP2013
Dunno the one for SP2007 anymore.
Just had to figure this out and found this answer is missing here, though you might (?) not be able to get more insight, just the general version (as said, please correct me if it's more specific, in the comments).
Edit: Here you can find the exact Version numbers from SP2007 to SP2013: http://blog.fpweb.net/what-sharepoint-version-am-i-using/#.VBlbNucv-9Y (you have to scroll a bit, just under the mid of the article).
open SharePoint Management shell and type command
(Get-SPFarm).Products
you will get the GUIDs. Find your GUID from below list. That will be your installed SharePoint version
GUID Product
35466B1A-B17B-4DFB-A703-F74E2A1F5F5E Project Server 2013
BC7BAF08-4D97-462C-8411-341052402E71 Project Server 2013 Preview
C5D855EE-F32B-4A1C-97A8-F0A28CE02F9C SharePoint Server 2013
CBF97833-C73A-4BAF-9ED3-D47B3CFF51BE SharePoint Server 2013 Preview
B7D84C2B-0754-49E4-B7BE-7EE321DCE0A9 SharePoint Server 2013 Enterprise
298A586A-E3C1-42F0-AFE0-4BCFDC2E7CD0 SharePoint Server 2013 Enterprise Preview
D6B57A0D-AE69-4A3E-B031-1F993EE52EDC Microsoft Office Web Apps Server 2013
9FF54EBC-8C12-47D7-854F-3865D4BE8118 SharePoint Foundation 2013
I am following the Microsoft tutorial for creating my first sharepoint 2013 app.
(http://msdn.microsoft.com/en-us/library/fp142379.aspx )
I have installed on a windows 2008 R2 Server Sharepoint 2013 RTM, done all the farm config stuff RTM, and installed all of Visual Studio 2012 ultimate and update 1 and restarted the server.
I have also followed the instructions for "How to: Set up an on-premises development environment for apps for SharePoint" which is at http://msdn.microsoft.com/en-us/library/fp179923.aspx (I have to do this as our dev environment has no internet access)
I have got to the point where running Visual Studio as an Administrator I have named it and chosen "sharepoint-hosted" and validated the server and clicked finish (Step 5).
Instead of getting the next step where I open the AppManifest.xml file I get a message saying "An error occurred whilst trying to load some required components, Please ensure the following prerequisite components are installed. Microsoft Web Developer Tools and Microsoft Exchange Web Services"
I have checked VS setup and web developer tools is definetely installed (the only option I have would be to remove it)
Any help would be greatly appreciated. I know Im a noob here (this is my first post) but I have googled this and searched stack exchange and found nothing that helps me.
Got it after a few trial and errors
With an offline install you have to download the Exchange Web Services component. I had downloaded "EwsManageApi" and installed that.
As the error message specifically refers to Exchange Web services, I looked at other versions and tried the older 1.1 and the 32 bit version, but they didn't work either, ** until ** I relised in my haste that I installed using the default settings (which is for the current user) and not for all users of the machine.
So installing EwsManagedApi32 for all users on a 64 bit server does the trick (for me)
I tried reinstalling the EWS Managed API for All Users, but that didn't solve it for me. In the end the solution was simple:
Just uninstall BOTH the EWS Managed API and the Microsoft Office Developer Tools for Visual Studio 2012. After that reinstall ONLY the Office Developer Tools. This time the Web Platform Installer will ensure the correct EWS Managed API is also installed.
I also wrote a small blog about this problem:
https://leonzandman.com/2013/02/07/prerequisite-components-error-when-creating-a-visual-studio-2012-sharepoint-2013-app-project/
Answer for the year of 2014:
Install Microsoft Exchange Web Services Managed API 2.1 (the latest version I can find at this time).
I want to install sharepoint 2007 in my PC. Before installation of sharepoint 2007 server, what are the requirements and after having all the requirements, what are the steps to install in my PC.
Regards,
Abhimanyu
Find the detailed installation guide of SharePoint 2007 on a system here
or you can use SharePoint 2007 VHD (available on microsoft site) and integrate via Virtual PC tool on your machine having XP, Vista OS (not a server OS 2003 or higher).
The first requirement is that you are running an actual Windows Server, not a PC. After that you need to decide if you are going to use a full SQL Server 2005 installation or the free express version. User authentication should also be considered before beginning: will you be using Active Directory, some other directory services or forms based authentication with your own user database?
I suggest you try the MS sites for more details and best practices. This is a good place to start: http://technet.microsoft.com/en-us/library/cc288005%28office.12%29.aspx