Get Current UserName in Infopath always returns the secure store service credential name

I followed the 3 page tutorial here to get the current Display Name in an infopath textbox.https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-1-of-3/
After several tries I narrowed down the problem to something very specific.
It always shows the Display Name of the user used in the Credentials in the secure store service application. It doesnt use the current user.
I do have access to the farm, but I didnt not install it, so am not aware if something is wrong on IIS/App Pools or service applications.
Any idea??
Follow me on Twitter
levalencia Blog

I followed the 3 page tutorial here to get the current Display Name in an infopath textbox.https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-1-of-3/
After several tries I narrowed down the problem to something very specific.
It always shows the Display Name of the user used in the Credentials in the secure store service application. It doesnt use the current user.
I do have access to the farm, but I didnt not install it, so am not aware if something is wrong on IIS/App Pools or service applications.
Any idea??
Follow me on Twitter
levalencia Blog

Similar Messages

  • The Secure Store Service application Secure Store Service Proxy is not accessible

    I am working on setting up a new SharePoint 2013 Farm for our external web site which is currently running on 2010 SharePoint. Because this is an External Website for our organization we have an internally available Publishing Site and there is an Web App
    Extension to provide Anon Access to users using the www address. Currently I am doing everything on a single server for testing with HOSTS entries to loop back so I can test with real host headers and not impact the 2010 prod environment. We will be setting
    up 2 more WFEs with a NLB before moving this into prod but it isn't there yet. We brought the Site Collection Databases over but are still running in 2010 mode for now.
    I migrated a copy of the Secure Store Database over from 2010 and had it put on the 2013 Farm's Database Server. Set up Secure Store and the Secure Store Proxy. I went into the Secure Store Proxy in CA and refreshed the Key with the proper Pass Phrase. After
    doing that I could see the Target Application IDs listed. Everything was looking good so I went off to test. If I am on the publishing site I can go to a page that has the solution on it and it operates as expected. It does a query to a non SharePoint database
    and returns information filtered based on the search parameters. The only odd thing I see is if I click on the "Site Actions" I get a message "An error has occurred with the data fetch. Please refresh page and retry." Need to look into
    that more but it only happens on pages that have these solutions. Maybe a clue. If I go to the Anonymous Access page (www......) and try and use the solution, it immediately (way too quick to appear like it is doing anything) comes back with "The security
    token request cannot be completed."
    If I dig through the usage logs I am finding the following.
    The Secure Store Service application Secure Store Service Proxy is not accessible. The full exception text is: The security token request cannot be completed.
    Unexpected exception from endpoint address : https://[Servername]:32844/4e87fd3aabb640fb8cc3ed52188cf5c0/SecureStoreService.svc/https
    Logging unknown/unexpected client side exception: InvalidOperationException. This will cause this application server to be removed from the load balancer queue. Exception: System.InvalidOperationException: The security token request cannot be completed.
        at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForServiceContext(Uri contextUri)     at Microsoft.SharePoint.SPChannelFactoryOperations.InternalCreateChannelActingAsLoggedOnUser[TChannel](ChannelFactory`1 factory, EndpointAddress
    address, Uri via)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.GetChannel(Uri address)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName,
    Boolean validateCanary, ExecuteDelegate`1 operation).
    Initially I was fighting a firewall issue because it wasn't working (different errors) on both sides. Had Network Engineers open firewall ports needed and now it works on the publishing side. Still the same error on the Anon side. I suspect I have missed
    something when it comes to configuring the Secure Store to allow access to anonymous connections.
    Let me know if you need any more information but that should paint a pretty good picture as to how things are set up.
    Thanks for any help on this one. Searches haven't found much that has helped so far.

    Hi Sennister,
    I recommend to verify the things below:
    Did this issue occur with all the pages in the anonymous side?
    Check if the Claims to Windows Token Service is started.
    Change the <identity impersonate="true" /> in the web.config to see if the issue still occurs.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Secure Store Service Application takes a lot of time and does not create the database

    Hi everybody,
    I was trying to configure sharepoint performance point and I was following the instruction. After I created the performance point services application I tried to creat the secure store service application. When I do this, the progress window stays open forever
    even after 2 hours. If I close the window, I will see that the secure store service and proxy app is created and the application pool also is created in IIS but the database is not and the application service is stopped. even when I want to delete it, it's
    the same story and the progress window stays until I close it manually. Nothing has been logged in the event viewer because it doesn't throw any exceptions.
    I don't think that I have permission issues on the database server side because I have created the performance point service app and the database is there. I have used the same credentials to crete the secure store.
    I have restarted the secure store service and IIS for many times and even the server itself.
    I'm wondering if anybody has had this issue because I couldn't find anything on the web.
    Thanks,
    Edwin 

    Alex, please ignore my previous answer. I found more information in the ULS. At the time that I started creating the service application by power shell these things are logged and they are repeated several times:
       it starts with:
    11/13/2013 15:19:55.52 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esj6 High    
    Creating Secure Store Service Application 'Secure Store Service Application'.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.54 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esj9 Medium  
    Creating "database object" 'SP_SecureStore' for application. At this time database is not created.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.54 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esk0 Medium  
    Saving "database object" 'SP_SecureStore' in the config db.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.83 w3wp.exe (0x0944)                      
    0x0DB4
    Secure Store Service          
    Secure Store                  
    d4gx Verbose
    BackgroundTasks instance accesed.
    11/13/2013 15:19:55.83 SPUCWorkerProcessProxy.exe (0x13A0)    
    0x02B0
    Secure Store Service          
    Secure Store                  
    d4gx Verbose
    BackgroundTasks instance accesed.
    11/13/2013 15:19:55.83 PowerShell.exe (0x1698)                
    0x1740
    Secure Store Service          
    Secure Store                  
    f7wk Verbose
    StartTracker called for secure store ''
    11/13/2013 15:19:55.83 PowerShell.exe (0x1698)                
    0x1740
    Secure Store Service          
    Secure Store                  
    f7wl Verbose
    Tracker not started because call not made from Service Host.
    11/13/2013 15:19:55.83 WebAnalyticsService.exe (0x0A6C)        
    0x1B88 Secure Store Service          
    Secure Store                  
    f7wk Verbose
    StartTracker called for secure store ''
    Finally it says:
    11/13/2013 15:19:55.90 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esk9 High    
    Secure Store Service Application 'Secure Store Service Application' created.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d

  • I have an iPad 1 that is currently showing software updated at version 5.1.1.  Is it possible to update to iOS version 7 on this device?  My goal is to get Garage Band on this device and the app store is telling me I need iOS version 7.

    I have an iPad 1 that is currently showing software updated at version 5.1.1.  Is it possible to update to iOS version 7 on this device?  My goal is to get Garage Band on this device and the app store is telling me I need iOS version 7.

    Hi,
    If you really need to upgrade you can save a bit of money and get an older version than the ipad Air.
    First, you can sell your ipad 1 to places like gazelle.com, cashforyourmac.com, sellyour mac.com, or many others out there. The sites I listed give you cash. At this point gazelle.com is giving $70.00 for any ipad 1 in 'good' condition. And cashforyourmac will give you $25.00 over what gazelle.com or sellyourmac.com offers you. Shipping is free.
    Then, with that money, go the the Apple online certified refurbished store. As an example, a new 64gb Air costs $699.00. A refurbed 4th gen 64gb costs $529.00 and a 3rd gen 64gb costs $499.00. Personally, I'd skip the 3rd gen. So if you buy a 4th gen 64gb at $529.00 minus what you can get from a sale to above, you can get an ipad 4 64gb for just over $430.00, a savings of savings of about $270.00. (A new 32gb Air is $599.00, a 4th gen 32gb is $449.00, and a 3rd gen 32gb is not on the site right now.) Google it and check if you can get better offers anywhere else. But getting one from the Apple refurb store gives you an essentially new ipad and using the above sites, you're not locked in with a particular site which will give you a gift card and restrict you to their store/site.
    Each Apple refurbished ipad (any version) comes with a new front and back cover, a brand new battery, same return policy, and a full one year warranty with 90 days of phone support. Each comes in a white box like a new ipad with the wall charger and usb cable. The only difference is that it says in small print on the bottom of the box that it is Apple certified refurbished. Also, if you buy refurbs, be sure to check the store many times a day. They can come and go quickly, so when you see what you want, buy it right away. Shipping is free and pretty fast. (We bought two a year and a half ago and they have been great!)
    Hope this helps.

  • GUID generation issue, SYSUUID always returns the same value.

    Hi,
    I'm using "SELECT SYSUUID FROM DUMMY" to get a guid value but it always return the same value.
    What should I do to get a unique value each time I execute the query above.
    Thanks.

    I thought I had the same problem and I found that if you generate multiple UUID's in the same SQL, it they will be the same.  If you make multiple calls, you should get multiple UUID's. 
    Try this:
    SELECT SYSUUID as UUID1 FROM DUMMY;
    SELECT SYSUUID as UUID2 FROM DUMMY;
    I get the following results:
    UUID1 = 538632FD7EA20426E10000000A3F10A9
    UUID2 = 538632FE7EA20426E10000000A3F10A9
    Notice that the strings look almost identical, but the 8th character on UUID1 is a D and the 8th on UUID2 is a E.
    Jim

  • Get current URL no matter who is the user

    Hi
    I'm creating a custom passord page using a Form based on procedure.
    How can I get current URL no matter who is the user ?
    I read previous message where it was recommneded to use WWPOB_PAGE$. Unfortunately, that table show the object compile under PORTAL30 user. We use another user to create or manage our pages.
    Any idea ?
    Thank
    Regis Levesque

    that's usually the root user - follow the instructions here to disable it. The same steps apply in Mavericks.
    OS X Mountain Lion: Enable and disable the root user

  • Why my vector() always always return the last record?

    Whenever i uses Vector, my whole vector always return the last element.. why?? Anyway to solve this?
    some examples of my codes..
    (String)rowVector.elementAt(2)
    My rowVector vector always return the last element..
    while(rs1.next())
    Vector rowVector = new Vector();
    for (int currentCol = 0; currentCol < numCols; currentCol++)
    rowVector.add(rs1.getString (currentCol + 1));
    tableData.addElement(rowVector);

    That means that every element in the Vector refers to the same object. I am surprised that your JDBC driver does not return different string objects for each call, but to work around that, try this:
    rowVector.add(new String(rs1.getString (currentCol + 1)));

  • How can I buy a song but always asked the security questions and you don't remember them what should I do

    How can I buy a song but always asked the security questions and you don't remember them what should I do

    Write down your security questions.......
    Here is what you should do if you do not remember the answers to your Apple ID security questions:
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email addresssign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers. 
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID passwordcontact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
    Cheers,
              Alec

  • I am trying to download Yosemite. Repeatedly getting message:There was an error in the App Store. Please try again later."

    I am trying to download Yosemite. Repeatedly getting message:There was an error in the App Store. Please try again later."

    That cryptic error message might mean that the payment information in your account is invalid. Check with your credit-card issuer to see whether a charge was denied. If not, see below.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • HT204266 I have a iPod touch 4 and updated the iOS 6 and always when I try to search for an app in the App Store it won't let me because it always exits the App Store. Why is this happening?

    I have a iPod touch 4 and updated the iOS 6 and always when I try to search for an app in the App Store it won't let me because it always exits the App Store. Why is this happening?

    Have you tried resetting and restoring your iPod?

  • ITunes always accessing the iTunes store

    I just upgraded my iTunes to version 7. Now always the bar at the top of the window is always accessing the iTunes store. Why does it do that? I don't want to access the store.
    Thanks for the help
    Linda Reinfeld
    IBM ThinkPad T43   Windows XP Pro  

    I have no more tricks up my sleeve other than maybe it is a firewall issue with your router.
    You can tap or click on the heading below and read Apple's take on the issue. I really don't hold out much hope though that his kb article has any more to offer to you, but I am out of ideas now.
    Can't connect to the iTunes Store
    support.apple.com/kb/TS1368
    Sep 21, 2012 – You may be completely unable to access the iTunes Store on your computer or iOS device. You might also see an alert message similar to one ...

  • I keep getting a -42408 error trying to access the iTunes store since being in China

    I keep getting a -42408 error trying to access the iTunes store since being in China, back now in the UK and the problem has stuck, help!

    Danny...
    access the iTunes store since being in China, back now in the UK
    In case you aren't aware your credit or debit card biling information must be associated with the same country where you reside.
    The Complete Guide to Using the iTunes Store | iLounge Article

  • HT1725 I can not get any app to finish loading from the app store.  Anyone else having this problem

    I can not get any app to finish loading from the app store.  Anyone else having this problem?

    Why has nothing been done on this? I still have this problem today on Chrome and on the latest OSX.

  • TS3694 I keep getting the errors 12001 and 11222. Anyone out there know why I get these errors trying to connect to the iTunes store?

    I keep getting the errors 12001 and 11222. Anyone out there know why I get these errors trying to connect to the iTunes store?

    http://manuals.info.apple.com/en_US/NewtonProgrammerRef20.PDFError12001
    Error 11222
    http://support.apple.com/kb/TS3297

  • HT4484 i am trying to update some apple apps i get a message saying I am using the Qatar store.  I am in Seattle what do i do

    I am trying to update some apple apps I get a message saying I am using the Qatar store and must change stores. I don't know what to do.  Please help

    Open the App Store app, go to the Featured pane, swipe to the bottom, tap your Apple ID and sign out. Tap again and sign back in. The App Store will automatically change to the store from which your account is authorized to make purchases.

Maybe you are looking for

  • My iMac freezes when saving a document in Word 2004

    Any help would be appreciated. When I try to save a document while in Word 2004 the application freezes and I have to force quit. Thankfully I can print the file as a PDF before trying the save as route but this is still a problem. What's the issue?

  • Headphones for Small Ears?

    Hi ~ The Earbuds that came with my new Shuffle just won't stay in my ears, even sitting perfectly still. I got the Griffin Earjam Earbuds - even the smallest size is too big for my ears... I need to find something that will fit really small ears - pl

  • Ways of Setting Bridge to Search a Particular Concept.

    I'm setting up a grouping of photos to fit a certain concept, in this case, Chiaroscuro. So far, the only Metadata stored is default + my name and copyright.. So I started with known files fitting this description and used "Add to Favorites. Now this

  • Does DW CC have built in Lorem Ipsum gererator ?

    I am looking for Lorem ipsum for use in DW CC. I know that CC will not accept the previous versions extenstion but I need lorem ipsum and dont want to have to cut and paster from external source.

  • Disable all plugins by default?

    Every time I look in Firefox plugins (NOT extensions), I'm surprised to see some strange new plugin has appeared and is enabled. I would much prefer to have plugins disabled by default, and only allow those that I specifically select. Something like