Showing posts with label SharePoint. Show all posts
Showing posts with label SharePoint. Show all posts

Monday, 29 August 2016

TFS15 RC1 (TFSvNext) - Resolving - There are no accessible team projects in this Team Project Collection. Contact your Team Foundation Server administrator.

In TFS15 RC1 (TFSvNext) when you setup a tem project with SharePoint site configured, you might see below error.

There are no accessible team projects in this Team Project Collection. Contact your Team Foundation Server administrator.

Shapoint site issues

How to resolve.

To get the SharePoint read access to the team project, add “SharePoint Web Application Services” group to Team Project’s, Readers.image

image

This will allow the SharePoint portal to read the team project information.image

Friday, 22 May 2015

Resolve – TF250049 and TF250067

Setting up SharePoint extensions for TFS in a remote server might cause below error.
*******************************************************************************************************
TF250049: The following URL for Team Foundation Server could not be verified: <TFSUrl>. The following error was received: TF250067: No connection could be made to Team Foundation Server at the following address: <TFSUrl>. Either the specified URL does not point to a server that is running Team Foundation Server, the server is not available, or the service account for SharePoint Products does not have sufficient permissions on that server. The service account for SharePoint Products might not have been added to the required group in Team Foundation Server. For more information, see the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=254457).. This error must be corrected before you can grant access between Team Foundation Server and the SharePoint Web application. For more information, see the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=254457).
*******************************************************************************************************
b4.1

SharePoint Application pool user for SharePoint central admin and SharePoint Web Application for TFS, is required to be in TFS SharePoint Web Application Services group.
Go to TFS Administration Console in TFS AT and add SharePoint Application pool user to SharePoint Web Application Services group.
b4.2
This will allow to grant access to SharePoint in a remote server for TFS.
b4.3

Monday, 18 May 2015

Enable Excel Reports for Team Project When SSRS Configured Later for TFS

If the TFS server is setup and the reporting services are not configured, the newly created team projects will not have excel reports enabled in SharePoint project portal.
1
Once the TFS is configured with SSRS the Excel reports for SharePoint project portal can be configured following below instructions.
Check reporting is configured properly in TFS. Verify project collection configured for reports.
2
2.2

Go to the Project SharePoint portal settings.
3
Click Manage site features.
4.
Deactivate Agile Dashboard.
5

Activate Agile Dashboard with Excel Reporting.
6
Excel reports are available for the SharePoint portal.
7
10

Dashboard is enabled with SSRS reports.
8

Monday, 10 March 2014

TFS Build - SharePoint Projects - Assembly Versioning

Just thought of sharing my experience last week with SharePoint 2013 projects built with TFS.

The Requirement

Create a QA Build (to do releases to QA) for a solution with SharePoints projects. Version number of each assembly must be changed as specified below.(How to version number change with TFS is here)

Version number should be in x.x.x.x format and last number should increment by one in each QA build. Example if first version build assembly version number is 1.0.0.1 then in second it should be 1.0.0.2. (I used my own build template to do this but you can do this as described here)

All went well and my TFS Build created necessary .wsp files in build drop.

so

Where it went wrong?

When .wsp files deployed to SharePoint it deployed, but creating a site collection utilizing .wsp files gave famous "Something went wrong" SharePoint error. One sleepless night to diagnose the issue with no luck with my little knowledge in SharePoint (believe me it was a huge SharePoint product I was dealing with and I do not still have a clue how share point works :) , I was doing only my part use TFS and get a build working )

Tried with a build without changing version number and all went well. huh! then this is about version numbers? Had a good look at that "Something went wrong" page. Aha..In url it had some mentioning cannot load assembly with reflection.

What was the solution?

Simply modified my build template to change only AssemblyFileVersion without touching AssemblyVersion. It did the trick and I could successfully deploy the .wsp s built with TFS - version number changed (only AssemblyFileVersion), and use them in a SharePoint site creation.

Further investigation to code base lead to find the culprit. It was SharePoint Feature, ReceiverAssembly syntax. The experts in SharePoint told me it is the way it is, and they did not like my idea of TFS Build manipulating these files to change version number here as well :( . (My ideal solution)







Friday, 28 February 2014

Resolve Issues in TFS Team Project Portal in SharePoint 2013 Enterprise

Once TFS configured to use a SharePoint 2013 enterprise, it needs to be configured for dashboard compatibility - (SharePoint Server only sections).

03.02

If SharePoint Enterprise 2013 is in a different box from TFS, there are few issues that needs to be fixed one time, for all team projects to correctly load reports team project portal.

Issue 01

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

 

This error occurs since SharePoint unable to access TFS database. Open SQL port (default 1433) as inbound rule in Window Firewall resolved the error and Issue 02 is next :) .

 

Issue 02

Message below appears

Be careful. This workbook contains one or more queries that might be unsafe. Do you want enable these queries?

02.01

 

Click on Yes will give below message

An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh. TfsOlapReport

02.02

 

My guess this should be something to do with analysis services. This forum answer confirms it. Opened analysis services port (default 2383) in TFS SQL server did the trick.

02.03

 

Issue 03

 

Whenever portal revisited or refreshed again this message appears for all reports in team project portal.

02.01

 

This article explains how to fix this issue.

 

03.01

When this is unchecked and saved as explained in the article, it fixes the issue for future team projects to be create as well.

Sunday, 12 January 2014

04. Setup SharePoint Foundation 2013 for TFS - Setup Virtual Environment for TFS 2013 - Using Virtualbox

In this fourth step of Setup Virtual Environment for TFS 2013 - Using Virtualbox, I will explain how to setup SharePoint Foundation 2013 in the TFS server (I am going to setup SharePoint Foundation 2013 in the TFS box since I do not have hardware for many machines in my laptop).

But you have following choices to set up SharePoint for TFS (extract from TFS Installation Guide below) .
  • You can use Team Foundation Server standard or advanced configuration wizards to install SharePoint Foundation 2013 on the same server as Team Foundation Server. The Team Foundation Server extensions for SharePoint Products are installed automatically during Team Foundation Server installation.
  • You can use Team Foundation Server extensions for SharePoint Products configuration wizard to install SharePoint Foundation 2013 on a different server from the one running Team Foundation Server.
  • You can use SharePoint Server. If you use the enterprise version of SharePoint Server, you must configure it for dashboard compatibility (more on dashboard requirements later).
  • You can use a different version of SharePoint Foundation than the one that ships with TFS.
Even though it is possible to let TFS configuration wizard to install SharePoint Foundation 2013 automatically, I prefer to setup SharePoint Foundation and configure by my self.

01. First create TFS report reader domain account in the PDC, which we will be using as SharePoint service account (report reader account will be SharePoint service account if installed with TFS configuration wizard).


02. To fulfill the TFS report reader account requirement, grant it Allow Log on Locally in the TFS server VM.  (Refer Accounts Required for TFS)





03. Download SharePoint Foundation 2013. Log on to TFS server with TFS administrator account and launch the SharePoint installation and install the prerequisites. For installing prerequisites in offline mode refer to here.






04. Once the prerequisites installation completed successfully restart the VM and Install SharePoint Foundation. 





05. Once Installation done run the configuration wizard.




06. Select Create a new farm.




07. Specify a free port here.





08. Once configuration wizard Finish clicked it will launch SharePoint Central Administration website. Access with TFS Administrator account.


09. Start SharePoint farm configuration wizard.


10. Use the report reader  as service account and deselect all other options and click next.




11. In Create site collection step provide below details



With above steps we have completed setting up SharePoint Foundation 2013 for TFS. Our next step will be installing and configuring TFS Server.

Popular Posts