Create Local Term Store in code

I've seen some posts on how to create Term Stores on Central Admin level but I was wondering if it's possible to create a Local Term store using c# ?
Thanks in advance !

Yes you can you just need to use the following members:
TaxonomySession.DefaultSiteCollectionTermStore
TermStore.GetSiteCollectionGroup(site);
These hold the correct magic values.
A code snippet using them:
vartaxonomySession =
newTaxonomySession(elevatedSite);
vartermStore = taxonomySession.DefaultSiteCollectionTermStore;
vartermGroup = termStore.GetSiteCollectionGroup(elevatedSite);
vartermSet = termGroup.TermSets.SingleOrDefault(ts
=> ts.Name.Equals(displayName, StringComparison.Ordinal));
if(termSet ==
null)
    termSet = termGroup.CreateTermSet(displayName);
    termStore.CommitAll();
field.SspId = termStore.Id;
field.TermSetId = termSet.Id;
field.Update(pushChangesToLists:
true);

Similar Messages

  • ORACLE VIRTUAL DIRECTORY - Create Local Store Adapter

    Hi,
    I have some problem with the LSA creation.
    I follow this steps:
    *5.2 Creating a Local Store Adapter*
    Create Local Store Adapter dc=oracle,dc=com, as follows:
    *1.*
    Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".
    *2.*
    Click the Adapter tab. On the Adapter page:
    *1.*
    Click the Create Adapter icon and choose Local Store Adapter.
    *2.*
    Enter the Adapter name LSA.
    *3.*
    Leave Template set to Default.
    *4.*
    Click Next.
    *3.*
    On the Settings page:
    *1.*
    Enter the Adapter Suffix/Namespace dc=oracle,dc=com.
    *2.*
    Enter data/localDB for Database File.
    *3.*
    Use the default values for the rest of the fields on the Settings page.
    *4.*
    Click Next.
    *4.*
    Review the summary page and click Finish if everything looks correct.
    Note:
    If, for some reason, you decide to delete the adapter and create a new one, use a different Adapter name and a different Database File name.
    *5.3 Adding Entries*
    Create an entry in the local store as follows:
    *1.*
    Using a text editor, create an LDIF file that looks like this:
    version: 1
    dn: dc=oracle,dc=com
    objectclass: top
    objectclass: domain
    dc: oracle
    *2.*
    Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".
    *3.*
    Click the Data Browser tab.
    *4.*
    Highlight dc=oracle,dc=com under Client View.
    *5.*
    Click the Import LDIF icon.
    *6.*
    Browse to the LDIF file you created and click Open.
    When I try to import the ldif I have this error:
    __ldap_add: Object class violation (65)__
    - vde.log
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - Selected backend for:(Adapter#_OCTETSTRING_ROOT)
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=CN=Users,DC=pluto,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=Users,OU=pippo,DC=pluto,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=BaseOU,DC=sysfil,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=CN=Users,DC=sysfil,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=ExternalUsers,OU=fiam,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - REQUEST dn= suffix=cn=Schema
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - Routing selected by filter for: Adapter#_OCTETSTRING_ROOT
    2009-09-22 13:25:09,732 DEBUG - VDELogger.java - setting backend com.octetstring.vde.backend.BackendRoot@676437
    2009-09-22 13:25:09,747 DEBUG - VDELogger.java - runGet has all attribs : false
    2009-09-22 13:25:10,982 DEBUG - VDELogger.java - Selected Default View for IP/DN: 127.0.0.1/cn=Admin
    2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=
    2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=CN=Users,DC=pluto,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=Users,OU=pippo,DC=pluto,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=BaseOU,DC=sysfil,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=CN=Users,DC=sysfil,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=ExternalUsers,OU=fiam,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:10,982 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=cn=Schema
    2009-09-22 13:25:10,982 INFO - VDELogger.java - Attempted ADD has NO target adapters: dc=oracle,dc=com
    2009-09-22 13:25:17,372 DEBUG - VDELogger.java - 'cn=Admin' Performed getServerInfo
    2009-09-22 13:25:17,825 DEBUG - VDELogger.java - 'cn=Admin' Performed getServerInfo
    2009-09-22 13:25:19,216 DEBUG - VDELogger.java - Reading schema for adapters
    2009-09-22 13:25:19,216 DEBUG - VDELogger.java - Edit version #     18
    2009-09-22 13:25:19,232 DEBUG - VDELogger.java - Schema version #     30
    2009-09-22 13:25:19,232 WARN - VDELogger.java - Server configuration version (303) does not match configuration schema version(30).
    2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Reading schema for adapters
    2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Edit version #     18
    2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Schema version #     303
    2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Reading schema for adapters
    2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Edit version #     18
    2009-09-22 13:25:19,419 DEBUG - VDELogger.java - Schema version #     303
    2009-09-22 13:25:19,482 INFO - VDELogger.java - Provisioned adapters: [dc=oracle,dc=com
    2009-09-22 13:25:19,482 INFO - VDELogger.java - 'cn=Admin' Provisioned adapters: [dc=oracle,dc=com]
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Reading schema for adapters
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Edit version #     19
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Schema version #     303
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Reading schema for adapters
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Edit version #     19
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Schema version #     303
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing INCLUSION filter for #dc=oracle,dc=com filter=
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing EXCLUSION filter for #dc=oracle,dc=com filter=
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - !Routing levels for: !dc=oracle,dc=com = -1
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing PLUG-IN filter for #dc=oracle,dc=com filter=
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing Priority filter for #dc=oracle,dc=com value=50
    2009-09-22 13:25:19,935 DEBUG - VDELogger.java - Routing criticality for #dc=oracle,dc=com value=true
    2009-09-22 13:25:19,951 DEBUG - VDELogger.java - [#dc=oracle,dc=com] Presence index: [sn, cn, description, seeAlso, objectclass, ou, uid, mail]
    2009-09-22 13:25:19,951 DEBUG - VDELogger.java - [#dc=oracle,dc=com] Exact index: []
    2009-09-22 13:25:19,951 DEBUG - VDELogger.java - [#dc=oracle,dc=com] Ordering index: [sn, cn, description, seeAlso, objectclass, ou, uid, mail]
    2009-09-22 13:25:19,951 DEBUG - VDELogger.java - [#dc=oracle,dc=com] Substring index: [sn, cn]
    2009-09-22 13:25:19,951 WARN - VDELogger.java - Allowing searches for unindexed attributes
    2009-09-22 13:25:19,966 INFO - VDELogger.java - [#dc=oracle,dc=com] Processing Outstanding Transactions
    2009-09-22 13:25:19,966 INFO - VDELogger.java - Truncating Transaction Log
    2009-09-22 13:25:20,966 INFO - VDELogger.java - [#dc=oracle,dc=com] Initializing Memory Indices
    2009-09-22 13:25:20,966 INFO - VDELogger.java - 'cn=Admin' Loaded Adapters : [dc=oracle,dc=com]
    2009-09-22 13:25:21,107 DEBUG - VDELogger.java - 'cn=Admin' Performed getServerInfo
    2009-09-22 13:25:25,279 DEBUG - VDELogger.java - Periodic tracking cycle running.
    2009-09-22 13:25:25,279 DEBUG - VDELogger.java - Current operations per connection (cn=Admin/10.68.3.154, 1/0).
    2009-09-22 13:25:25,279 DEBUG - VDELogger.java - Current operations per connection (cn=Admin/10.31.16.23, 1/0).
    2009-09-22 13:25:26,294 DEBUG - VDELogger.java - runGet has all attribs : false
    2009-09-22 13:25:26,294 DEBUG - VDELogger.java - Selected Default View for IP/DN: 127.0.0.1/cn=Admin
    2009-09-22 13:25:26,294 DEBUG - VDELogger.java - REQUEST dn= suffix=CN=Users,DC=pluto,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:26,294 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=Users,OU=pippo,DC=pluto,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:26,294 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=BaseOU,DC=sysfil,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:26,294 DEBUG - VDELogger.java - REQUEST dn= suffix=CN=Users,DC=sysfil,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - REQUEST dn= suffix=OU=ExternalUsers,OU=fiam,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - REQUEST dn= suffix=dc=oracle,dc=com
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - REQUEST dn= suffix=
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - SELECT dn= suffix=
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - Selected backend for:(Adapter#_OCTETSTRING_ROOT)
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - REQUEST dn= suffix=cn=Schema
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - Routing selected by filter for: Adapter#_OCTETSTRING_ROOT
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - setting backend com.octetstring.vde.backend.BackendRoot@676437
    2009-09-22 13:25:26,310 DEBUG - VDELogger.java - runGet has all attribs : false
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Selected Default View for IP/DN: 127.0.0.1/cn=Admin
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=CN=Users,DC=pluto,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=Users,OU=pippo,DC=pluto,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=BaseOU,DC=sysfil,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=CN=Users,DC=sysfil,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=OU=ExternalUsers,OU=fiam,DC=paperino,DC=pippo,DC=com
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=dc=oracle,dc=com
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Routing selected by filter for: Adapter#dc=oracle,dc=com
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - COMPARE: dn=dc=oracle,dc=com suffix=cn=Schema
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Checking Class: top
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Checking Class: domain
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Failure On : dc=oracle,dc=com
    2009-09-22 13:25:30,779 DEBUG - VDELogger.java - Failure On : objectclass: top
    objectclass: domain
    dc: oracle
    2009-09-22 13:25:30,779 ERROR - VDELogger.java - Failure On : dc=oracle,dc=com
    2009-09-22 13:25:30,779 ERROR - VDELogger.java - Failure On : duplicate value
    Can you help me?
    best regardes
    Alessandro

    Hi Saggu,
    You are absolutely right. It's working fine now. I need to know one more like performance.
    If i have three adapters in the adapter configuration, and 21 adapters in the adapter configuration.
    Which kind of configuration will help to improve the performance?
    Two Scenarios:
    1. Three Adapters
    2. 21 Adapters.
    Explanation:
    1. Adapters are mapped at Root DN level.
    Example: dc=company,dc=groups,dc=com
    2. Adapters are mapped to interior level.
    Example: ou=Firstgroup,o=initialemp,dc=company,dc=group,dc=com
    Based on the above two scenarios which mapping is the best regarding the performance level.
    Can you please suggest me on this performance issue.
    Thanks in Advance,
    Sandeep D

  • Creating sub menus with the Term Store Management Tool

    I am using the Term Store Management Tool to configure my menus.
    How can I have one of my menu have sub menus?

    I believe this is what you want
    So you have to go to Site Settings -> Term Store Management at _layouts/15/termstoremanager.aspx to create a term structure like below
    Regards, <br/> Patrick Yong <br/> Please remember to click Mark As Answer if a post solves your problem or Vote As Helpful if it was useful. It'll help other users who are visiting your thread for the similar problem.

  • Foreign app store codes in local app store?

    Hey guys,
    I'm from Italy, living on the border to Austria, so for christmas i got an app store giftcard which was bought in Austria. Now i can't use it while living in Italy with an italian iTunes-account. Hope someone has a solution to my problem.
    Thanks for your answers,
    Greetings
    M.B.

    odd I've heard about people using giftcards in places in europe where movies were not sold in the local itunes store
    to buy them from the american itunes store
    have you tried to change the itunes store locatation on your computer to austria and use the giftcard to get stuff and then change it back to your local store?

  • How to check whether a user has permission to create term in Taxonomy Term Store using CSOM ?

    I want to check programmatically whether the current user is a Term Store Administrator or not.

    I am not sure how Tomcat handles this, but you need to use two-way (mutual authentication) request but not enforce SSL between Tomcat and the client browser. This will make the browser prompt the user for the cert they want to send. Then you'll need to tackle the other part of your problem, getting the correct content displayed depending on whether the user sent a cert or not. I'm even less help there than I was on the first part of your question.
    So, yeah - good luck with that
    Lee

  • What is the use of custom properties for terms in term store management of SharePoint 2013

    Hi All,
    Can some one pls explain what is the purpose of custom properties for terms in term store management tool of SharePoint 2013.
    In general, for each term we have shared and local properties. What is the real purpose in terms of SharePoint development.
    Please share with possible scenarios. Does it refer's to a hierarchical metadata in SharePoint ?
    Thanks keshav,Share point Developer

    The custom properties for terms allow you to further define or clarify a term via the properties. You can then display these properties in search results or specify query rules that look for specific custom properties.
    Here is an example of how to create a query rule using custom properties:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/a8b53ffe-869e-4c86-8c43-d239370ee7d5/custom-properties-of-the-managed-metadata-service?forum=sharepointgeneral
    Here is an example that uses code to verify that a custom property exists on a term object that is pinned to another term object:
    http://msdn.microsoft.com/en-us/library/jj163273.aspx#SP15_H2UseCodeToPinTerms_CodeVerifyCustomProperty
    Doug Hemminger http://www.sharepointdoug.com

  • Custom tag cloud webpart based on keywords from a Term Set in the Term Store .

    Hi Guys
    Does anyone have developed a custom Tag Cloud webpart in SharePoint 2010? I'm
    looking for a custom Tag cloud based on keywords from a Term Set in the Term Store.
    Unfortunately
    out of the box Tag Cloud Web Part only reference the Social Tags from the User.
    in my case editors have created pages and tagged a page using terms from the Term store.
    What I would like to see is a web part which could display “Top Keywords”, and the output is something like this:
    http://electronicdiscovery.info/what-additional-features-would-you-like-to-see-in-sharepoint-word-cloud-survey-electronic-discovery/
    Thanks In advance
    Tanaji Chavan

    Hi  Ramakrishnaraja ,
    Thanks for sharing the links , i tried using web part in second link but that’s not working , have also gone through the code of that web part seems like it is referring to some list like
    "Categories" and "Posts"
    however I'm looking for a custom Tag cloud based on keywords from a Term Set in the Term Store .
    Thanks 

  • Claims debacle (error) with Term Store: "Could not retrieve a valid windows identity" for all sites in a particular web app.

    When I pull up the Term store in CA or any MySite collection, it works.
    When I do so in any other site collection (HNSCs, incidentally), It doesn't return any term stores.
    My ULS log immediately before and after the "/_vti_bin/taxonomyinternalservice.json/CheckPermission" POST on termstore .aspx triggers the WCF call:
    Claims Authentication af30y Verbose Claims Windows Sign-In: Successfully signed-in the the user 'contoso\domainUser' for request url 'https://sp13-root-prd.contoso.com/_vti_bin/taxonomyinternalservice.json/CheckPermission'.
    Claims Authentication af30q Verbose Updating header 'LOGON_USER' with value '0#.w|contoso\domainUser' for the request url 'https://sp13-root-prd.contoso.com/_vti_bin/taxonomyinternalservice.json/CheckPermission'.
    Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|contoso\domainUser, ClaimsCount=77
    Logging Correlation Data xmnv Medium Site=/
    Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://CONTOSOFE3:32843/00e6d55691824965ac223f1d1cfae6d2/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:590e916c-c89a-4f89-9819-a82c97fabcaa'
    Claims Authentication bz7l Medium SPSecurityContext: Could not retrieve a valid windows identity for username 'contoso\domainUser' with UPN '[email protected]'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: WTS0003: The caller is not authorized to access the service. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: WTS0003: The caller is not authorized to access the service. at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(WindowsIdentity callerIdentity) at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogon(Func`1 logonOperation, Int32 pid) at SyncInvokeUpnLogon(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet))..
    Claims Authentication g220 Unexpected No windows identity for contoso\domainUser.
    The "The caller is not authorized to access the service." message seems pertinent.
    Both web apps are using only NTLM auth.
    The url for both web apps ends in the same contoso.com domain. 
    I get the same errors no matter what account I use, including the install account.
    Things I've tried:
    Deleting and building a new HNSC root web app and site. Error happens in all sites in all web apps except the PBSC hosting MySites.
    Giving the root site app pool identity full control of the metadata service app (even though the MySite identitiy doesn't have it)
    Giving the root site app pool identity full permissions on the metadata service app.
    Comparing database and web app config permissions between dev (where everything works perfectly) and prod (where it does not).
    Made sure IIS auth settings on both sites are identical
    Both sites are using the same SSL certificate (though the call to the web service appears to be http)
    Reprovisioned the metadata service app with a new database and new app pool identity.
    Made sure C2WT is running. Tried it with the service stopped as well.
    Web.configs are identical between working and non-working apps.
    I'm stumped but still Googling. I'm hoping to avoid having to call Micrososft. Any help would be appreciated!
    UPDATE:
    Interestingly, when I restored the web application from backup (via CA), I ended up with 3 identical "Windows Authentication" authentication providers assigned to the problem web app. Since there was more than one, I was directed to the provider-chooser
    page when visiting the site. Upon choosing 1 of the 3, I was authenticated, and *poof*, no more authentication errors and the term store loaded term sets as expected.
    Of course, 3 providers was not an ideal state, so I grabbed the one that worked (#1) via get-spauthenticationprovider, and assigned it to the web app via set-spwebapplication, and my problem returned.
    I am currently updating the farm to SP1 from June 2013 CU. Fingers crossed.
    Update:
    The update to SP1 went smoothly, but did not resolve the issue. Also related (I believe) are the random authentication errors when trying to upload images to some libraries, and 401-errors on the accessdenied.aspx page itself.
    Update:
    The problem is resolved, seemingly after making 4 changes. I'm trying to narrow down which change was the cure, if any:
    I installed SP1 on all 6 servers, rebooted and upgraded. This appeared to have no effect.
    Removed an old login from SQL that no longer existed in AD because of this ULS error:
    System.Runtime.InteropServices.COMException: The user or group contoso\svc_xxxxxxxxx' is unknown., StackTrace:    at Microsoft.SharePoint.Utilities.SPUtility.GetFullNameFromLoginEx(String loginName, Boolean&
    bIsDL)
    This login was the identity of the application pool that used to run the web app in question.
    This login was the schema owner of a schema named after itself on every SharePoint database so I changed the schema owner to dbo but left the schema attached.
    The problem may have surfaced initially when the app pool identity was changed in CA, but went unnoticed?
    Note that the web app had been deleted and recreated many times with a new identity and pool to no avail, but the URL remained the same throughout each attempted fix. Relevant?
    Grasping at straws, I changed the app pool identity for this web app to the same one that runs the MySite web app pool as per this only slightly related problem: http://www.planetsharepoint.org/m/preview.php?id=372&rid=34764&author=Vlad+Catrinescu
    I changed the authentication method from NTLM to Negotiate.
    I am rolling back #3 and #4 to see if the issue resurfaces.
    Update:
    It doesn't appear to have been the NTLM/Negotiate setting. Web app is currently set to NTLM and all is well. No strange accessdenies, and term Store is still manageable from all sites.
    Update: Sorry for the delay. I am administering 6 farms these days. Will update as soon as the final phase of rollbacks happens.
    I think I can. I think I can.

    maybe that web app was accidentally created with classic auth?
    here's an example of how to create claims based, with classic, and then "doing 2013" claims
    #Create the example web application, as mentioned above, either with gui, and pick later, or
    New-SPWebApplication-ApplicationPool$applicationPool-ApplicationPoolAccount$serviceAcct-Name$WebApp-Port
    5050
    -databaseName$contentDB-securesocketslayer
    #If doing for 2013
    New-SPWebApplication-ApplicationPool$applicationPool-ApplicationPoolAccount$serviceAcct-Name$WebApp-Port
    5050
    -AuthenticationProvider(new-spauthenticationprovider)
    -databaseName$contentDB-secureSocketsLayer

  • Unable to get the dataSources while creating the persistent stores.

    Hi, While I am trying to create a persistent store (JDBC Store) I am unable to see the already created DataSources in the dropdown menu. I also tried creating new DataSource from Persistent Store creating screen but still could not see.
    Following steps followed while creating DataSource.
    Fill in the values for
    Name, E.g.: JD-JDBC-Store.
    JNDI Name – jdbc/JobDispatcherDS.
    DatabaseType – Oracle
    Database Driver - Retain the default selection
    Click on ‘Next’
    Click on ‘Next’
    Fill in values for:
    Database Name – SID of the Database
    Host Name – The hostname/IP on which the Database is running
    Port – DB Port
    Database User Name - JOBUSER.
    Password – JOBUSER
    Click on ‘Next’
    Click on ‘Test Configuration’ to ensure the correctness of the values. Got a success message on the screen.
    Click on ‘Next’
    Select your target server. E.g.: AdminServer
    Click on ‘Finish’
    Following steps while creating the Persistent Store
    Clicked on New button. Select ‘Create New JDBC Store’ Option
    Fill in the values.
    name – E.g.: JD-JDBC-Store
    Target server - admin Server.
    data source - not able to get any to select from the DropDown.
    Thank You,
    Naresh.

    Dear Rajesh ,
    I am assuming your server is on Windows  :
    For Eg.
    My SID is PRD and system number 02 and hostname prdserver then command should be execute like : 
    E:\usr\sap\PRD\DVEBMGS02\exe>jcmon pf=E:\usr\sap\PRD\SYS\profile\PRD_DVEBMGS02_prdserver
    Rest all are same :
    In JControl Monitor Program - Main Menu :
    Select : 20 : Local Administration Menu
    And check the status of server0 process it shoud be up and running .
    Regards ,
    Santosh

  • Adding a new server to Enterprise pool failing when installing local configuration store

    We have Enterprise edition running. It includes one Enterprise pool, on director pool and one edge pool. SQL is installed on a separate backend server in default instance. No other databases on the same server.
    The problem comes up when trying to add another server to the enterprise or director pool. Same error message is shown when trying to install the Local Configuration Store:
    PS C:\Users\administrator.DOMAIN\appdata\local\temp\2> Import-CsConfiguration -FileName .\CSConfigData-2012_03_22-09_29_14.zip -Verbose -LocalStore
    Import-CsConfiguration : The 'MaxPublishBatchSize' attribute is invalid - The value '100' is invalid according to its datatype 'PositiveInteger' - The MaxIncl
    usive constraint failed.
    At line:1 char:23
    + Import-CsConfiguration <<<<  -FileName .\CSConfigData-2012_03_22-09_29_14.zip
     -Verbose -LocalStore
        + CategoryInfo          : NotSpecified: (:) [Import-CsConfiguration], XmlS
       chemaValidationException
        + FullyQualifiedErrorId : System.Xml.Schema.XmlSchemaValidationException,M
       icrosoft.Rtc.Management.Xds.ImportConfigurationCmdlet
    Same error comes from the GUI. Any ideas?

    Hi,
    run these commands earlier:
    PS C:\Users\administrator.domain> Get-CsManagementStoreReplicationStatus -CentralManagementStoreStatus
    LastUpdatedOn : 28.3.2012 12:51:03
    ActiveMasterFqdn : LYNCFE-01.domain.local
    ActiveMasterLastHeartBeat : 28.3.2012 12:51:42
    ActiveFileTransferAgentFqdn : LYNCFE-01.domain.local
    ActiveFileTransferAgentLastHeartBeat : 28.3.2012 12:51:41
    ActiveReplicas : {lyncdir-01.domain.local, lyncfe-
    01.domain.local, lyncedge-01.domain.lo
    cal, lyncdir-02.domain.local}
    DeletedReplicas : {}
    PS C:\Users\administrator.domain> Invoke-CsManagementStoreReplication
    PS C:\Users\administrator.domain> Get-CsManagementStoreReplicationStatus -CentralManagementStoreStatus
    LastUpdatedOn : 28.3.2012 12:52:21
    ActiveMasterFqdn : LYNCFE-01.domain.local
    ActiveMasterLastHeartBeat : 28.3.2012 12:52:42
    ActiveFileTransferAgentFqdn : LYNCFE-01.domain.local
    ActiveFileTransferAgentLastHeartBeat : 28.3.2012 12:52:42
    ActiveReplicas : {lyncdir-01.domain.local, lyncfe-
    01.domain.local, lyncedge-01.domain.lo
    cal, lyncdir-02.domain.local}
    DeletedReplicas : {}
    After that I tried to add the server again, same error message. I also tried to re-join the server to domain and even re-created the whole virtual server

  • I have a mid 2010 macbook pro 15" and recently it started crashing so I took it to my local Apple store to have it looked into and they told me its a graphics card issue requiring the replacement of the logic board at a cost to me of $340.

    I took my laptop to my local Apple store to have the problem diagnosed and they told me the problem lies in the grpahics card which will require the replacement of the entire logic board at a cost to me of $340.
    after that I did some research on the topic and found that this was a massive problem on this model of macbook pro and Apple never issued a recall to fix the issue, are there any class action suits in this category currently underway? if so how can I join?

    I also have a mid-2010 Macbook Pro 15". Also, I had paid $100 for Apple Developer account and I can't even use Xcode or Unity3D to work on my game because the moment I write a line of code, my computer crashes. Scratch that, I used to have an Apple Developer account (I let it expire a couple of weeks ago). It hasn't been of much use since my Macbook Pro crashes 15 times a day.\
    A month after buying a mid-2010 Macbook Pro 15" directly from Apple, it began to crash. At first, I assumed it was my fault as I had been messing around with Bootcamp and doing other heavy stuff, but I quickly learned it would randomly decide to shutdown regardless of the task at hand. I was very busy at the time. I was a fledgling teacher in France, and I hardly had any time, or money, to put toward a 84 euro train ticket to Paris. Also, OS X updates were around the corner (Lion, Mountain Lion), so I held out, hoping the issue would be resolved with the updates.
    During my investigation of the issue, I did find the TS4088 article. It recommended I install some updates, and then it described a problem that seemed similar to my own, but the order in which the problems occured, as described in the TS4088 article, did not follow the same pattern that my computer had been experiencing–there was no gray or black screen after the restart warning message when my mac crashed. The first time I found TS4088 on Apple's Support page (at a time when their product recalls were easier to locate before they redesigned their website), it was a couple of months after I had bought the computer. I reasoned that my Macbook Pro must not be suffering from the same issues as I had never seen the video freeze or go black before seeing a restart message. The restart warning message is the last thing I saw, no loss of video or black(or gray) screen afterwards. My computer would simply start to boot up again.
    About two years after buying the computer, and suffering from about 3 GPU panics a day, I searched for the TS4088 article again, wondering if I had misread it, and that maybe the issues described in the article were the same issues I was experiencing. This time I could not find the TS4088 article on Apple's Website. I searched over and over again, but it was nowhere to be found. I assumed that issue had been resolved and the article removed. Now after three years of using a faulty, unreliable computer, I was feeling like a schmuck. I searched again on Apple's website to find the TS4088 article, or any new ones that outlined my very apparent GPU issues, but I had no luck. I circled Apple's website over and over and could not find that article. It was only through a link other frustrated mid-2010 Macbook Pro owners had posted on some other website that I found the link to TS4088, also learning that the forum's users were experiencing my same problems.
    Based on the language Apple used to describe the problem, I did not reason that I was suffering the same issue. Here's what happens when my computer crashes:
         • The computer seems to shut down. The display turns off, the fans stop spinning
         • The message "Your computer was restarted because of a problem . . . Press any key to restart" is displayed.
         • I press any key, the computer restarts, I wait for next crash to interrupt my work
    Excerpt from TS4088
    "Symptoms
    Apple has determined that a small number of MacBook Pro (15-inch, Mid 2010) computers may intermittently freeze or stop displaying video on the built-in display or on an external display connected to the MacBook Pro. In this situation, you may also see a restart warning message before the video is lost or the display turns black or gray."
    My computer never displays a restart message before the video is lost or display turns black. My Macbook Pro mid 2010 loses the picture on the display, and less than a second after that is the restart warning displayed. The video would never freeze or stop playing, rather the whole computer just dumped all of its processes and displayed a warning message asking me to press any key to restart.
    My issues with this problem are the following:
    •The problems described in TS4088 do not accurately reflect what users are experiencing. TS4088 is misleading in this respect.
    •The article TS4088 was not easy to find on Apple's website. It seemed to have moved to an obscure, impossible-to-find location that could only be found thanks to the great number of other Mac users who are experiencing the same problem.
    This issue hasn't been managed dutifully. I'm annoyed to have sunk money into a developer account. I'm annoyed that I sunk money into an expensive product that does not work. I'm annoyed that the description of the issue afflicting mid 2010 Macbook Pros was inaccurately and misleadingly described and that links to the TS4088 article disappeared from Apple's website when I could have truly benefitted from them. I am especially annoyed that my life in graphic design, web development, and iOS development has stagnated for several months as my computer crashes some 15 times a day. I am, however, pleased with the speed at which a Mac can boot up.

  • How to create Payment terms in SAP?

    Dear Experts,
    I want to create payment terms "DA" which stands for "Documents against Acceptance".
    By using T. Code: OBB8, is it possible?
    Is any where we can give the flexibility to mentioned the payment dates or payment days?
    Current situation:
    "We have a export purchase where we have issues a PO where we have a terms to pay the vendor after 60 days from the date of acceptance of the documents"
    Please help.
    Regards
    Uttam.

    Sorry for the Inconvenient caused by me.
    Regards
    Uttam.

  • Unable to create the Mailbox Store. The database returned an error

    hi we have a new unity connection 10.51 install . trying to create a 2nd mailbax store and get the following error:
    Unable to create the Mailbox Store. The database returned an error.
    creates the store but i can't open it to mount it / enable it.

    Sadly, that did not resolve the problem. The app still terminated and generated an error. Any other suggestions?
    Here is the first portion of the error it generates:
    Process:         App Store [3200]
    Path:            /Applications/App Store.app/Contents/MacOS/App Store
    Identifier:      com.apple.appstore
    Version:         1.0.2 (63.1)
    Build Info:      Firenze-630100~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [239]
    Date/Time:       2011-08-17 21:43:21.942 -0700
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          23825 sec
    Crashes Since Last Report:           10
    Per-App Interval Since Last Report:  21 sec
    Per-App Crashes Since Last Report:   6
    Anonymous UUID:                      4133601A-34FD-472F-98E6-73E4DE9BFC06
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    abort() called
    *** Terminating app due to uncaught exception 'NSImageCacheException', reason: 'Cannot lock focus on image <NSImage 0x10037c3c0 Size={0, 0} Reps=(
    )>, because it is size zero.'

  • Term store name changes

    I have noticed that the name allocated to my term store has changed from Taxonomy_DJcsLjAbAI3lOZhi3Dx51g==
    to Taxonomy_Wj7f+lsBu6MEm266iBclFA==
    I have an application that uses the name which is now broken.  Is there any reason the name was changed and please could someone confirm if this is likely to be changed again.
    Thanks
    Bren

    It never changes. It might because of the conflict of the app but it should not give any error. Can you go to the term store and click on the name  Taxonomy_Wj7f+lsBu6MEm266iBclFA== and see on the right the name property of the term store. i.e. Available
    service Applications and check if you are able to click on the drop down and select your previous term store name Taxonomy_DJcsLjAbAI3lOZhi3Dx51g== and also it shouldn't create any problems. Just to have a check you can try creating terms and see the behavior.
    If you find this information helpful then please propose this as an answer and vote. Thanks.
    Ujjwal Patel
     |
    SharePoint Online Support Engineer, MCPD, MCTS, MCAD.

  • Term Store missing complete list of terms

    In my Term Store Management Tool, when I expand a Term Set, it is not listing all terms.   It used to list the complete list of terms, but just recently it doesn't .  The down arrow is missing where you would click to see the rest of
    the terms.  It only lists the first 10 terms. 
    Anyone know how to fix this to be able to see the complete list of terms?
    I know they are still there, as I can see all the terms when I upload a document (metadata choices).
    thanks!

    Hi,
    According to your post, my understanding is that you can’t see the down arrow to view the rest terms which are more than 10.
    In my environment, I also do this test and the result is that it works well.
    Per my knowledge, it’s by design that the terms only can show the top 10 terms under a term set, then you can click on the drop arrow to view rest terms which are more than 10.
    You can try to create a new Term Set or a Group, and separately do this test again to check if this issue only occurs on this term set.
    What is your current browser? I recommend that you can change some different browsers to check if this issue only occurs on your current browser.
    If you are using the IE browser, you can change the IE browser mode using F12, change to different mode, then check whether it works.
    You can try to clear the browser cache and run the IE in safe-mode again to test if it works.
    Also, I suggest that it’s better to use the IE 8 browser for SharePoint 2010.
    And, does this issue occurs after you install any update in your environment?
    I recommend that you can try to install the latest update in your environment to check if it works.
    Best Regards,
    Yumi Fu

Maybe you are looking for

  • CS4 application focus and keyboard shortcuts

    Quick preface: I couldn't find anything on this issue, searching Google and the Adobe forums specifically, so I don't know if it's a general bug in CS4 or if it's specific to the installations we have here at work.  Also, this isn't specific to Indes

  • Windows 7 explorer run prompt window position on screen varies

    whether I use the mouse via start/run or <windows key>+R the small window that appears to await input from me for the run command line dpes not consistently appear in the lower left above the windows start globe (forgive inaccurate nomenclature).  Ge

  • License Expired Error with CS4 Design Standard Student Edition

    Photoshop, Illustrator, and InDesign all say that my license is expired.  However, all the other programs work, including but not limited to Adobe Air, Device Mangager, Mobile Manager, Bridge, Media Player, and Acrobat.  Why is it only these three pr

  • Need palm desktop for Mac OSX but don't have serial number

    A couple of months ago i posted asking for a download to get palm desktop for windows xp, since i couldn't use the download page due to the fact that the serial number on my visor deluxe is missing (garage sale, whaddya expect?). I'm glad you guys we

  • Entourage email script

    I am new to scripting but i have manged to put this script together to compose an email but can anyone advise how i can add 2 or 3 email address to this rather than just one, or an address from a group? Also i need to add some text to the main body,