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

Similar Messages

  • 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)

  • State Service database is full

    in my Sharepoint 2010, State Service Database is almost 49GB and it's not cleaning itself. So user get problems when it full.
    Any idea why is getting that big? Anyone knows how to clean it?
    Regards
    Lasantha

    Try 
    http://technet.microsoft.com/en-us/library/ff805063%28v=office.15%29.aspx
    Enable-SPTimerJob StateServiceExpiredSessionJobDefinitionShrink the database using below:http://technet.microsoft.com/en-us/library/hh564121%28v=office.15%29.aspxhttp://technet.microsoft.com/library/ms189035.aspx
    If this helped you resolve your issue, please mark it Answered

  • Question regarding the powershell creation of service applications in SharePoint 2010/2013

    Hi
    I create all my service applications in SharePoint 2010/2013 using Powershell.
    Is there a "best practice" when to start the service Instance for a service application? Is it better to start the service instance prior to creating a service application or after the service application has been create?
    I'm curious.
    best regards
    Bjorn

    Not that i'm aware of. If it works then go for it.
    I would tend to build the service application and only then activate the instances on servers, however that is going to depend heavily on the application in question. The real heavyweights like Search are a special case in any event.

  • Integrate Central Authentication Service (CAS) in SharePoint 2010

    Hi All,
    Going to implement Single sign one, with all internal application,
    Also some application is running in SharePoint, I want to integrate Central Authentication Service (CAS)
    in SharePoint 2010.
    Pls give me some idea. 
    Deepak

    You can do CAS and SharePoint auth using below
    Check below
    http://webcache.googleusercontent.com/search?q=cache:EhC3JLvqDWwJ:balendrant.blogspot.com/2013/05/external-authentication-providers-for.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-beta
    http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=9&ved=0CFEQFjAI&url=http%3A%2F%2Fdownload.microsoft.com%2Fdocuments%2FFrance%2FInterop%2F2010%2FFederated_Collaboration_With_Shibboleth_2_0_and_SharePoint_2010_technologies-1_0.docx&ei=i0u1U6bVB4KMuATP94II&usg=AFQjCNF09JusWUS97-em12JFpaH64Pxa3A&bvm=bv.70138588,d.c2E&cad=rja
    If this helped you resolve your issue, please mark it Answered

  • Service application in sharepoint 2010

    hi all,
    i'm new to sharepoint. i have a small problem, i have created a customer service application and deploey it to sharepoint and tested it, and everything worked fine for me. now i checked the IIS and under Sharepoint Web Services i couldn't find my service,
    can anybody tell what can be the cause for such an issue and how i can see the guid of my service under Sharepoint Web Services in IIS (Make sure that this is a custom service application).
    thanks very much !!

    Hi,
    if you deploy the custom service application, we can’t find it under SharePoint Web Service site in IIS. We can find it in SharePoint Central Administration.
    The following articles for your reference:
    Create Custom Service Application in SharePoint 2010
    http://sharepointegg.blogspot.in/2009/11/create-custom-service-application-in.html
    Building Customer Service Applications for the Right Situations
    http://msdn.microsoft.com/en-us/library/gg193964(v=office.14).aspx
    Creating Custom SharePoint 2010 Service Applications and Consumers
    http://msdn.microsoft.com/en-us/library/gg543112(v=office.14).aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to rename the search databases in sharepoint 2013

    Hi all,
    I have configure the search in sharepoint 2013 and 4 databases has been created in sqlserver.by default db are got created with GUID n sh i want change those DB names .
    could you pls help me how can i change the DB names.
    THanks
    Dhana
    sekhar

    Hi,
    Please check the below links,
    https://technet.microsoft.com/en-us/library/jj219654(v=office.15).aspx
    https://technet.microsoft.com/en-us/library/ff851878(v=office.15).aspx
    http://blogs.technet.com/b/meamcs/archive/2012/10/23/renaming-sharepoint-2010-search-service-database-name.aspx
    Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
    Mahesh

  • Reporting Services 2012 in SharePoint 2010 - do I need to install SSRS on each server?

    Have spent some time today setting up SSRS2012 with SP1 Business Intelligence Edition on our test SharePoint 2010 farm.  The SharePoint farm is four servers (plus a database) - one of the application servers will host the SQL Server 2012 instance and
    SSRS 2012.
    I've installed SSRS 2012 on one of the servers in SharePoint mode, and seems to be configured correctly in Central Admin - can view the system settings, it reports that the SQL Server Agent is running, etc.  I've also installed the SSRS 2012 SharePoint
    Add-In on all servers.  However, I'm getting the following error whenever I try to do anything with reports (such as deploying or running):
    Name=Request (POST:http://sharepoint/reports/ReportService2010.asmx) System.Runtime.InteropServices.COMException: The file you are attempting to save or retrieve has been blocked from this Web site by
    the server administrators.
    Sure enough, if I try to connect to that ReportService2010.asmx URL in a browser, I get the same error.  Note that http://sharepoint is NOT the server I installed SSRS on - this is a web front-end.
    Can I assume that I need to install SSRS2012 (SharePoint integrated) on all SharePoint servers in the farm?  Or is this another issue?

    You only need to install the Add-on for the additional servers. Have you configured the SSRS Service Application?
    http://blog.helloitsliam.com/Lists/Posts/Post.aspx?ID=66
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Can I create a call service database in Sharepoint

    Hi there, 
    I'm having a bit of trouble working out where in Sharepoint I can create a database for keeping track of calls for the IT help desk. 
    Should I go through Sharepoint CRM and then follow the Microsoft Dynamics CRM wizard? 
    I guess basically what I'm asking is which module of Sharepoint provides similar functionality to Microsoft Access, if any? 
    thanks, 
    J

    Check Access Web Database site templates in SharePoint 2010.
    Creating Web Databases with Access 2010 and Access Services
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Adding a custom rendering extension to SQL Server Reporting Services 2012 for SharePoint 2010 integrated mode

    We are attempting to add OfficeWriter report rendering extensions for SSRS 2012 in SharePoint (2010) integrated mode through powershell. The documentation for “New-SPRSExtension” is rather
    sparse and we have not found any clear examples on the internet. With SSRS 2012 in native mode, we make the following two changes to the config files:
    We add the following report rendering extension declaration to
    RSReportServer.config:
    <Configuration>
        <Extensions>
            <Render>
                <Extension Name="XLTemplate" Type="SoftArtisans.OfficeWriter.ReportingServices.ExcelTemplateRenderer,
    SoftArtisans.OfficeWriter.RS2008"/>
                <Extension Name="WordTemplate" Type="SoftArtisans.OfficeWriter.ReportingServices.WordTemplateRenderer,
    SoftArtisans.OfficeWriter.RS2008"/>
            </Render>
        </Extensions>
    </Configuration>
    We add the following security trust codegroup to
    RSSvrPolicy.config:
    <configuration>
        <mscorlib>
            <security>
                <policy>
                    <PolicyLevel version="1">
                  <CodeGroup version="1" PermissionSetName="Nothing">
                    <CodeGroup
                                version="*"
                                PermissionSetName="FullTrust"
                                Name="SoftArtisans_OfficeWriter_Strong_Name"
                                Description="This
    code group grants SoftArtisans OfficeWriter code full trust.">
                              <IMembershipCondition
                                class="StrongNameMembershipCondition"
                                version="*"
                                PublicKeyBlob="00240000048000009400000006020000002400005253413100040000010001004779CB207F11
                                5E86EF9DD3233F9F130F8891911345176650F72330F84CA3F54C96DEB08439680660F02872EEF5DA3955
                                A14C63F96E57DFB71B1535280C37DA2CB5BA37D78A9882414DB11F67FD66DEBC4AD93DD34F4A587D34D
                                B4D23D9C6AF83431D88A7EF42BB01082913F3560DCB50129C5BBA7ECA0DE8BC286DA74F58FADE"/>
                  </CodeGroup>
              </CodeGroup>
           </PolicyLevel>
        </policy>
       </security>
      </mscorlib>
    </configuration>
    What would be the equivalent syntax for “New-SPRSExtension” to do the above for SSRS 2012 in SharePoint (2010) integrated mode?
    Alison Bird SoftArtisans Technical Services www.softartisans.com

    Hi Alison,
    Unlike the deployment of other custom extensions such as custom delivery extension and data processing extension, it is not necessary to add a code group for the custom assembly that grants FullTrust permission for the extension during the deployment of
    custom rendering extension. If you have copy the custom assembly to the %ProgramFiles%\Microsoft SQL Server\MSRS11.<InstanceName>\Reporting Services\ReportServer\Bin folder, and modify the RSreportserver.config file to add the extention entry properly,
    please open the SSRS Service Application created on the SharePoint and verify that your extension is included in the list of available export types for a report.
    Reference:
    Deploying a Rendering Extension
    Regards,
    Mike Yin
    TechNet Community Support

  • 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

  • Publishing user profile service application in SharePoint 2010

    Hi,  Can I have a link specific to publishing the user profile service application in a step by step manner in SharePoint 2010. This is quite urgent.

    Hope the below link will be helpful
    http://blogs.msdn.com/b/alimaz/archive/2009/11/09/configuring-user-profile-service-application-in-sharepoint-server-2010.aspx

  • 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

  • Not able to open infopath form connected with database in sharepoint 2010

    Hi,
     I have created one infopath form which is connected with sql server database.
    Now when i am trying to open this form from sharepoint,its giving me following error:
    Please help to solve this issue.
    Thanks & Regards
    rajni

    Hello,
    If i understood you correctly, you have SP list and there are some records. Now you want to open your infopath form when clicks on add new item in the same list. I am still confuse about "from table 'Account'" this line. Are you saying that you are fetching
    records from SQL table to PS list?
    Anyway, you can modify the existing list form infopath so you could be able to open the infopath form instead of default newform.aspx page. Later you can create a new data connection in that customize form to display data in table format from same list.
    You can follow this video for connection:
    https://www.youtube.com/watch?v=6NySzgGhnaw
    http://office.microsoft.com/en-us/infopath-help/add-a-data-connection-to-a-sharepoint-document-library-or-list-HP010093160.aspx
    Let me know if i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • SSRS 2012 service application error in sharepoint 2010

    Hi, 
    I have installed MS SQL SERVER 2012 enterprise edition and sharepoint 2010 SP2 standalone as i want to learn a few things. Everyting went smooth upto the point when i wanted to configure a Create the Reporting Services Service application in sharepoint.
    Firstly i cant change the account from network service on the checkbox predifined  under Select security account for this application pool.
    Secondly I get a error if i try to proceed >>>>> "The database engine
    instance 'SERVER\SharePoint' does not meet the edition requirements for the Reporting Services database."
    Please help me on this one im stuck i cant proceed 

    Hello,
    I think this thread may help you:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/dddc7f63-935d-40fa-8402-ec43bd288c56/cant-create-a-ssrs-2012-service-application-in-sharepoint-2010?forum=sqlreportingservices
    http://blogs.msdn.com/b/psssql/archive/2013/02/20/rs-database-engine-does-not-meet-edition-requirements.aspx
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for

  • KM scheduler issue

    Hi everyone, I am planning to use KM job to periodically call an oracle stored procedure and send mail via javamail afterwards. Couple of questions: 1. which kind of DC should I use (I'm under NWDI)? 2. which dependencies should be included for db/ma

  • 1st crack of the whip - back for more later

    well, that was harder than i had expected! i've not come here to flame so don't flame me - i just wanted to share my first arch experience.  The install was easy – i still use Vector Linux – and the install is very similar.  I chose the 2.6 kernel an

  • GUI size problem

    When I run this code the GUI doesn't provide enough space for my buttons. It provides enough room for my JLabels and TextFields, but cut's off the buttons. public class ReceivingOrganizer extends JPanel      private JFrame frame;      private JPanel

  • CS3 Extended RAW file plug-in

    I use CS3 Extended on a Windows 7 computer. I have a Nikon D610 camera producing NEF RAW files. I have downloaded and installed the Adobe RAW plug-in and also the DNG file converter. Photoshop will still not recognise either the NEF files or the DNG

  • Tape list only contains one tape listed as offline

    I'm trying to recover a Hyper-V VM from tape using DPM 2012 R2 however when I click the link to view the tape list only one tape is shown and the library is listed as Offline. I'm using DPM with a superloader tape library containing 8 slots, each wit