Attaching TFS sharepoint database to Sharepoint 2010

Hello,
I'm in the middle of upgrading from TFS 2008 (on one server) to TFS 2013 (on another server).  I was able to get the TFS portion of the upgrade working, but I'm encountering some difficulty with the Sharepoint database portion.  Due to the specs
of the server, I will need to use Sharepoint 2010 instead of Sharepoint 2013.  I have a copy of the Sharepoint databases on a SQL Server 2012 instance (on a different server then the actual Sharepoint software).  Should I just proceed to attach the
TFS Sharepoint database to the Sharepoint 2010 instance?  If so, isn't that done with a stsadm.exe command?  I have also yet to configure the Sharepoint 2010 instance in case there is some special considerations when dealing with the TFS sharepoint
databases.
Thanks!

check this one:
http://blogs.msdn.com/b/tfssetup/archive/2014/05/15/migrating-team-foundation-server-databases.aspx
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Similar Messages

  • Problem in Opening Attachment of Sharepoint 2010 list in new Window?

    Hi,
        I have a sharepoint 2010 list which contains attachments in list items. As per our requirement list should open in modal dialog. when users trying to open attachment from modal dialog its closing modal dialog and opening attachment in same
    window.
       Now the requirement is to open list item attachment in new window.
      I have tried with below script.
    function AttachTargetToAttachments()
     var anchors = document.getElementsByTagName("a"); 
    for (var i=0; i<anchors.length; i++) {
            var anchor = anchors[i];
            if (anchor.getAttribute("href"))
              anchor.target = "_blank";
    This is working when list item opening in separate browser(landing in different page). But when list item opened in modal popup its not working. 
    Please help.
    Thanks in advance.

    Hi,
    If this does not work in modal dialog, the workaround is to avoid to open the dispfrom.aspx page in
    modal dialog when clicking the Title field.
    You can open Allitems.aspx page using SharePoint Designer> locate the title filed <a onfocus=”onlink(this)
    …… onclick =”EditLink2(this,….)”>, remove the onclick =”EditLink2(this,{$viewcounter)}); return false;” from the tag. It will open the dispform page in normal when clicking the field.
    Xue-Mei Chang

  • Store sharepoint 2010 list data in sql server

    Hi,
    I want to store sharepoint list data to sql server database.
    SO can anyone guide how can i attach my sharepoint 2010 with sql server 2008.
    Please help to solve the issue.
    Thanks in advance.
    Regards
    Rajni

    Hi,
    The screenshot indicates that SharePoint Designer is crashing when trying to add new External Content Type.
    Remove the SharePoint Designer and reinstall it to check the result.
    Microsoft Business Connectivity Services (BCS) enables users to read and write data from external systems—through Web services, databases, and Microsoft .NET Framework assemblies—from within Microsoft SharePoint 2010 and Microsoft Office
    2010 applications.
    There are lots of blog articles showing how to configure BCS in SharePoint 2010. You can start from:
    Understanding Business Connectivity Services
    http://blogs.msdn.com/b/sharepointdev/archive/2011/12/26/understanding-business-connectivity-services.aspx
    Using Business Connectivity Services in SharePoint 2010
    http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Rename State Service Database in SharePoint 2010

    As the title says, I want to rename/change database for State Service Application.
    I did some experiments wit it as suggested by others but I think I somehow managed to broken my service.
    I can SharePoint Products Configuration again and I got another database State_Service_GUID which I didnt want at the first place.
    I followed the steps on
    http://technet.microsoft.com/en-us/library/ff851878.aspx#State and it failed as well, and I am in middle of no where.
    I am even not sure if my service is properly running or not. I can see it in Service Applications page in Central Administration as Started but I cannot select it and use ribbon operations on it.

    Hi ,
    Rename the Service Database 
    Go to SQL Management Studio and rename the database
    Open SQL Management Studio. You may have to go to your SQL Server to do this.
    Attach to the instance that host SharePoint
    Find your database
    Right click on the database name and choose Rename
    Delete the GUID off the end of the name or make the name whatever you want then press Enter. SQL Database is now renamed. Notice I changed all of the spaces to underscores. Why? Because DBAs hate spaces in names more than they hate GUIDs and I am a nice
    guy.
    Now go to your SharePoint Server and use PowerShell to set the database name.
    Click Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell. If you have UAC enabled be sure to run it as Administrator.
    Then run the following line. Be sure to replace your info for service app and database name.
    Now you can celebrate you have saved the world another GUID. I have a master post here with all of the anti GUID posts linked in one place. Right here.
     Thx
    Surendra Singh, MCITP: SharePoint Administrator 2010

  • Added a content database from Company A's SharePoint 2010 farm to ours

    I have added a content database from a company (Company A) that we are acquiring. The sent it my SFTP, we downloaded it, added it to the sql db, and I added it as a content database to a SharePoint 2010 farm  at our company (Company B) that is built
    to the exact build that Company A's farm was built to.
    Presently, the database resides in our Development Environment which is a single server that interacts with SQL, which resides on a different server.
    If I copy the URL for the site collections from the Company A's DB (from the site collection list), the content renders perfectly, but  when I attached the database to a Web application that was tied to a host header with an IP address on the DNS Server
    here, at company B, the content doesn't render at all. The only thing that happens is that I am asked to enter my credentials. None of the farm credentials or my credentials (all domain users) work.
    I have made myself via the farm administration password the owner of the site content, but I must be missing something, because I get this error from the page when I try to render it:
    <b>Error message 401.2.: </b> Unauthorized; Logon failed due to server configuration. &nbsp; Verify that you have permission to view this directory or page based on the credentials you supplied and the authenticatio methods enabled
    on the web server.
    I am wondering if this has something to do with the origin of the content, due to the fact that it was created on a different farm under completely different credentials and what I have to do to get it to work outside of the server as content
    under a new Web app.

    Hi,
    Do you have any update?
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Reporting Services 2012 in SharePoint 2010 - SQL database edition?

    We currently have a SharePoint 2010 farm, running on a SQL Server 2008 R2 Standard database.  On one of the SharePoint 2010 servers, we have an instance of Reporting Services 2008 Enterprise running in SharePoint integrated mode.  (We require Enterprise
    for data-driven subscriptions)
    We'd like to upgrade to Reporting Services 2012 for Data Alerts and a few other new features.  However, I noticed something on
    this blog stating that the SharePoint 2010 database server edition needs to match the Reporting Services edition. My concern is that I've not seen any official mention of this in Microsoft's documentation, and would like to avoid upgrading to Enterprise
    for the SharePoint 2010 database if I can avoid it.
    So, what I'd like to run is:
    SharePoint 2010
    SharePoint database: SQL Server 2008 R2 Standard
    Reporting Services 2012 Enterprise
    Reporting Services database: same as SharePoint database, so SQL Server 2008 R2 Standard
    Is this possible?  Or do I need to upgrade the SharePoint database to SQL Server 2008 R2 Enterprise?  
    Alternatively, could I install a separate database engine just for Reporting Services to host its databases (for example, SQL Server 2012 Enterprise), so I don't have to mess around with upgrading the SP database?

    While you don't need to upgrade your SQL 2008 R2 to 2012, you will need to install an instance of SQL 2012 & SSRS 2012. They can be side-by-side and independent of each other. The following blog post provides steps to do so,
    http://www.madronasg.com/blog/how-configure-sql-server-reporting-services-2012-use-sharepoint-2010#.UuEVd2Ao74Y
    Dimitri Ayrapetov (MCSE: SharePoint)

  • SharePoint 2010 web analytics not working - not all web requests hitting the logging database

    Hi there, I have 2 windows 2008 web front end servers, 1 windows 2008 application server and 2 clustered windows 2008, SQL Server 2008 SP2 clustered servers in my farm. 
    I am having trouble getting Web Analytics configured and googled for days and followed everything I have found but still no luck.  The problem is that the logging database is only logging requests to Central admin URL only but if I hit any other
    site in my farm it doesn't log in the database.  Hence why I am not getting any reports in the front end. 
    These are also missing from the ULS logs too.  Only central admin entries in the logs.
    Anyone seen this before?
    Thanks

    Hi CharlieBoy,
    Please enable the verbose ULS log for category "Web Analytics Services category", then see if there are more related ULS log message appearing (may need to wait a day).
    Also check the following 2 articles about troubleshooting the web analytics issue, which should be helpful.
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2012/03/16/troubleshooting-sharepoint-2010-web-analytics.aspx
    http://blogs.technet.com/b/manharsharma/archive/2012/10/13/sharepoint-2010-web-analytics-troubleshooting-reporting-db.aspx
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Problem rename sharepoint 2010 search service application admin database

    Hi all,
    i have a problem that hopefully someone has an answer to.  i am not too familiar with sharepoint so please excuse my ignorance.
    we have sharepoint 2010 on a windows 2008r2 server.  everything seems to work fine.  but as you know, the default database names are horrendous.  i have managed to rename all of them, except for the "search service application" admin
    database.
    the default is: Search_Service_Application_DB_<guid>
    the other 2 databases (crawl and property) were renamed without a problem.
    we are following the article from technet on how to rename the search service admin db (http://technet.microsoft.com/en-nz/library/ff851878%28en-us%29.aspx).  it says to enter the following command:
    $searchapp | Set-SPEnterpriseSearchServiceApplication -DatabaseName "new database name" -DatabaseServer "dbserver"
    however, i get an error about identity being null.  no big deal, i add the -Identity switch and the name of my search service application.  but the real problem comes the error it throws:
    Set-SPEnterpriseSearchServiceApplication : The requested database move was aborted as the associated search application is not paused.
    At line:1 char:54
    + $searchapp | Set-SPEnterpriseSearchServiceApplication <<<<  -Identity "Search Service Application" -DatabaseName "SharePoint2010_Search_Service_Application_DB" -DatabaseServer "dbserver"
        + CategoryInfo          : InvalidData: (Microsoft.Offic...viceApplication:
       SetSearchServiceApplication) [Set-SPEnterpriseSearchServiceApplication], I
      nvalidOperationException
        + FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.SetSearchS
       erviceApplication
    when i look at the crawling content sources, i see "Local SharePoint Sites" and it's status is Idle.  i even looked at this article on how to pause the search to no avail.  (http://technet.microsoft.com/en-us/library/ee808864.aspx)
    does someone know how i can rename my Search Service Applcation Admin database properly?  or at least "pause" that service so i can rename it?
    thank you all in advanced

    If you want to have no guids for your search admin db, i recommend you check out this script :)
    just delete your search service application (assuming you have just started)
    Alpesh Nakar's Blog
    Alpesh
    Just SharePoint Just SharePoint Updates
    SharePoint Conference Southeast Asia
    Oct 26-27 2010 Contributing Author
    SharePoint 2010 Unleashed
    MCTS: SharePoint 2010 Configuration
    MCITP: SharePoint 2010 Administrator

  • Databases running in compatibility range, upgrade recommended. Sharepoint 2010 SP2 after installing December 2013 CU

    I just installed December 2013 CU for Sharepoint 2010 with SP2.  I runned the Product Configuration Wizards a couple of time and exexute "PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures".
     But still I'm left with one database that is out of date.
    The following databases have versions that are older than the current SharePoint software, but are within the backwards compatible range: 
    Search_Services_Application_DB_0256be25a85b4c3081387181e4a8c6c7.
    Do you know what can I try next to fix this?
    Thanks!

    Hi Steve,
    In the Upgrade log what is the error when PSconfig attempts the Upgrade, I am assuming it completes with a warning?
    Cheers,
    -Ivan

  • Customize Access Requried page with code behind attached to it in sharepoint 2010

    Hi,
    I have modified default AccessDenied page to my custom accessdenied.aspx page and put Request Access button on it and javascript client side redirection to my requestaccess (reqestaccess.aspx, reqestaccess.aspx.cs) application page.
    Here the problem is whenever i try to redirect to custom requesaccess page in _layouts it again shows me accessdenied page since user is not having access.
    I changed requrestaccess to my custom requestaccess through Powershell command (UpdateMapping - 5). I can only modify the UI part of requestaccess.aspx and can not bind code behind where i want user to select combination of what access is required
    on the site, there are lots of controls on requestaccess page e.g. dropdown that fetches data from list\external list and so on.
    I tried many things to attach code behind to requestaccess page e.g. <%@ Page Inherits="codebehind.cs" /> and all.
    Q - How can i redirect user to custom request access page (includes both aspx, aspx.cs) and allow user to interact with custom page? Is there any way OR WORKAROUND to do this in Sharepoint 2010?
    OR
    Can we overide with ElevetedPermissions in UI\CodeBehind and show the application page to user?
    OR
    Can user access application page even though they donot have rights to access site? Anything will do.
    OR
    In short, I need to redirect a user to some .aspx\.aspx.cs page from AccessDenied page, irrespective of user having access or not. 
    I hope question is clear enough to understand the issue. :)
    Regards,
    Rahul

    Hi,
    According to your post, my understanding is that you had an issue about the custom Access Required page.
    Microsoft supported using code behind, but for these pages it seemed some difference.
    However, as a workaround, we can put all the functionality to the aspx page directly.
    http://umbraes-tower.blogspot.com/2011/10/custom-request-access-page-in.html
    More reference:
    http://onlinecoder.blogspot.com/2011/05/how-to-customize-requestaccess.html
    http://oszakiewski.net/eric/customizing-the-access-request-page-in-sharepoint-2010
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Validation settings for a list in Sharepoint 2010 to find if there is a document attached to the list item

    Hi Everyone,
    Greetings!!!
    I have a very peculiar question on List validation settings. I want to validate a list item whether user has attached a document to the list item or not? The list item should not be saved until a document is attached to it. Is it possible to perform this
    validation for a list item in a list?
    Please let me know.
    Thanks,
    Thiru
    Tirumal

    Can be done using java script as below
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c93d7611-f634-4c03-ae0d-3b5ecfe5ca6a/how-to-make-attachment-required-field?forum=sharepointadminlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5a3fe11a-75ea-44bd-aab9-80817640290f/how-to-make-an-attachment-required-field-in-a-custom-newform-sharepoint-2010-list?forum=sharepointcustomizationprevious
    Dont think below is right
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fba48bc1-8708-401c-8a37-bc00f77eeae3/making-attachments-required-in-a-custom-list?forum=sharepointadminlegacy

  • Error when attaching workflows to Sharepoint 2010 lists

    Hi,
    I am getting an error when trying to attach an approval workflow to any SharePoint 2010 list on my development server. From the below error in the log I remember that I got this
    same error in Sharepoint 2007 MOSS. It occurs because I have underscores in the server name. I know that I can get around this by either changing the server name or using alternative access mappings to access the server without the underscores. Does anyone
    know of a way to fix this so that the srever name can have underscores which I believe are viable characters in a server name.
    System.ArgumentNullException: Value cannot be null.  Parameter name: g    at System.Guid..ctor(String g)     at Microsoft.Office.Workflow.WrkAssocPage.AssociationOnLoad(EventArgs
    ea)     at Microsoft.Office.Workflow.CstWrkflIPPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint) b06aa203-3cbe-4180-806a-4ed994fbbee9

    I think you are referring to the following KB about special characters. 
    http://support.microsoft.com/kb/905231
    This is not the reason we are experiencing the workflow problem though.  It is related to Internet Explorer security which changed.
    Issues after you install updates to Internet Explorer or Windows
    http://support.microsoft.com/kb/325192
    "Cookies on ASP pages are blocked if the server name contains characters that are not supported by Domain Name System (DNS). For example, you cannot use underscore characters (_) in the server name. This behavior is by design."
    Resolutions include:
    Removing underscore from server name
    Use Alternate Access Mappings
    Extend and map using a web application that uses a URL path that does not use the servername
    Decrease the security level in IE on the Security tab (not recommended)
    Uncomment a line in the web.config which is commented by default (not recommended)
    <add name="Session" type="System.Web.SessionState.SessionStateModule" />
    Hope this makes the issue more clear.  I have updated the SharePoint KB to point to the Internet Explorer KB so people will be aware that the IE change does affect SharePoint behavior.  This is not a SharePoint issue however.
    Fred Ellis - MSFT

  • Content Database Status Error in SharePoint 2010 Central Administration

    Hi,
    I am having a new problem with SharePoint 2010 on Windows Server 2008 R2. I have SQL Server 2008 R2 as SharePoint Database on Windows Server 2008 R2. I have total no. of
    Seven Content Databases for one Web Application. I found
    two of my Content Databases showing Error under the
    Database Status column in Manage Content Database section in
    Central Administration. Five Content Databases are showing
    Started.
    Would someone please guide how to resolve it and whats wrong is going on? 
    Thanks in advance.

    What is the output of:
    $db = Get-SPContentDatabase <error'ed db name>
    $db.Status
    And can you set it to Started?
    $db = Get-SPContentDatabase <error'ed db name>
    $db.Status = "Online"
    $db.Update()
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Sharepoint 2010 - configuration database size limit

    Hi,
       We have below scenario in our production farm. Ours is a SharePoint 2010 Enterprise Edition server.
    Medium size farm (4 WFE, 4 App Servers, Content DBs in separate tier. No SharePoint search in this farm)
    Configuration DB reached 250+ GB. Please clarify below queries.
    1. What is the boundary limit for configuration database size?
    2. How we can scale the configuration database?
    3. Can we add multiple configuration database per farm?
    4. What are the best practices and regular maintenance activities to be done to keep the configuration db size under control?
    It would be really really great if someone gives some good knowledge in this area.

    1) Not aware of one
    2) You can add multiple files to the file group
    3) No
    Is the growth in the MDF or the LDF (log file)? If it is in the log file, are you using high availability (Clustering, Mirroring, Log Shipping, AlwaysOn)? If so, you need to run a BACKUP LOG periodically to maintain the LDF size, or allow you to truncate
    the LDF.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • How do I add just a portion of a song to iMovie?

    How do I add just a portion of a song to iMovie?

  • Default Warehouse on a Sales Order

    Hi, Is it possible to default a warehouse depending on the BP selected on a Sales Order? I know you can default warehoue depending on the User. Thank you....Naomi

  • Google web listings don't change color after clicking on them

    I don't know if this is a Google or a Firefox problem. When I do a search on Google and then click on one of the sites they list, the listing used to change from blue to purple so when I went back to that page of listings, I'd know which I had alread

  • Restoring iPhone backup to iPod touch?

    Hi guys! Due to hardware issues, I'm replacing my first generation iPhone with a used 1st generation iPod touch. Is it possible to save my progress in the applications I've used on my iPhone? I tried restoring my iPod touch from the iPhone's backup,

  • Visual Studio Sample Code for Web Services Integration

    I am new to the CRM OnDemand web services and am looking to write an interface for querying and updating data. I have imported the .wsdl and got the log-in and log-out functioning but rather than re-inventing the wheel I was wondering if anybody had