Tag Info

Hot answers tagged

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 ...


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

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