Tag Info

Hot answers tagged

5

You can Access to the secure store service programmatically Retrieve the Central Administration Site public static SPSite GetCentralAdminSite() { SPAdministrationWebApplication adminWebApp = SPAdministrationWebApplication.Local; if (adminWebApp == null) { throw new InvalidProgramException("Unable to get the admin web app"); } ...


4

This is not possible. SharePoint uses the pass phrase to generate an encryption key, it doesn't actually store it.


3

This is something that is not possible, however you may create a custom web services instead as a work around. This C# solution will be able to help you to build your web-services to get credentials, Retrieving Credentials from the SharePoint Secure Store using C#


2

You can delete the SecureStore application and re-create it. Be careful though, as you'll have to recreate all the entries for other applications, like Excel Services (if there are any that is).


2

Looks to me like there are some rogue configurations in your web.config. Did you ever set a custom membership/role provider manually or in IIS? Did you ever use FBA? The error message you're getting looks like there is a custom membership provider set which uses a non-existing (or no longer existing) connectionstring for a local SQL server instance. So when ...


2

The SharePoint System Account is the farm account. A quick way to identify this is in Central Admin. Goto Security > Configure Service Accounts. Select Farm Account. It will display which account is being used. Ensure that account has the appropriate permissions to the secure store entry.


2

You need to add a reference to Microsoft.Office.SecureStoreService.dll, which is in the GAC. You can paste this when creating the reference: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Office.SecureStoreService\v4.0_15.0.0.0__71e9bce111e9429c\Microsoft.Office.SecureStoreService.dll


2

one of the services are not running! To start the Secure Store Service 1.On the Central Administration home page, in the System Settings section, click Manage services on server. 2.Above the Service list, click the Server drop-down list, and then click Change Server. 3.Select the application server where you want to run the Secure Store ...


1

Figured out how to solve this. If you need to set permissions for specific users, you will need to type the exact e-mail address in the people pickers. This user will be marked as invalid when you edit the permissions, but it works. The second option is to add the All Authenticated Users (NT Windows token) claims equivalent of c:0(.s|true to the Members ...


1

The unattended service account is a universal account that provides equal data access to all authorized users. You can use one account for all services or one account for each services application. Its depend upon your secuirty, if you want restrict it to specific datasource of the Service App then you need dedicated account otherwise you can use one for ...


1

Can the claims based webform use the sharepoint STS and Secure store, so login is not required after they have already logged in to Sharepoint? No, what you should do is use ADFS for authentication in your web forms app. If you run FedUtil and configure your web forms app it'll wire up all you need. SharePoint routes to ADFS, so your custom web forms ...


1

(for someone who is fighting with the same problem) In my case (I got the same error description) the https connection (that is used to internal call to SecureStore service) is failed on certificate check. It is strange, but the error does not occur on the first call of SecureStore routines, but later, for example after Session is expired and your code call ...


1

I just want to bump this up as there have been no responses. Hopefully this doesn't mean that this just isn't possible. Mark


1

Doing what you ask is essentially re-writing the Central Administration functionality. Managing Target Applications cannot be done from a content web application - it requires permissions to the configuration database. If you want to automate the creation of target applications, I recommend starting with this Secure Store PowerShell script: ...


1

I faced a similar problem very recently, and my solution was as follows: Retrieve the credentials from the Secure Store, as described on MSDN. Use this codeproject page as a guide to build an Impersonate User class. Surround the calls made to the database with Impersonation of the user from the Secure Store. I then created a base class for my BDC Service ...


1

this tutorial should help http://fabiangwilliams.wordpress.com/2010/04/16/how-to-create-configure-consume-sharepoint-2010-secure-store-in-business-connectivity-services/ Thanks,


1

If I'm not wrong, you cannot connect to the SQL DB from oficce 365, but you can try to solve this issue as described in this solution.


1

I created a secure store target app for excel and used the SSS ID in my excel reports. It refreshes without any errors now.


1

It depends what credentials you need to access the external database! If you need to access it with the credentials of the current user then you must either use Kerberos authentication or use the Secure Store to store user credentials for accessing the external database. Kerberos delegates the identity token all the way from the client to the external ...


1

When you set up a target application in secure store you can choose either a group or individual credentials. Use group credentials if you want a single account to access the external system (usually a database) - this will act a bit like the trusted subsystem model and you won't be able to audit users accessing your back-end system, but you don't need to ...


1

You need some sort of bridge to connect the two. See the Stack Overflow question Calling 32bit Code from 64bit Process which talks about interprocess communication. They also point to this blog post which explains the whole thing. It probably won't help you for a Visual Studio extension, but the obvious workaround is to write your own custom web service and ...



Only top voted, non community-wiki answers of a minimum length are eligible