Error LogID 5337 - InfoPath Dev
in

InfoPath Dev

Error LogID 5337

Last post 02-10-2010 01:39 AM by Musuk. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-29-2006 04:27 AM

    Error LogID 5337

    Hi all

    i have a form with code which does read data from ad. the form is submitted to sharepoint and it is activated. if i open an ie on the sharepoint server and try to fill out my form everything works fine. but if i try to connect from an other machin and try to open a form i always get an error. LogID:5337. In the eventlog of the machine and the one of the server is no entry concening the error.

    what can this be?

    thx and have a happy new year
  • 12-29-2006 05:51 AM In reply to

    i have figured out where the error happen, but i don't know why:

    public string GetUserADProperties(string propertyName){
    string propertyValue = "";

    DirectoryEntry entry = GetDirectoryEntry();
    DirectorySearcher search = GetDirectorySearcher(entry);

    search.Filter = "(&(&(objectClass=user)(SamAccountName=" + GetCurrentUser() + ")))";
    search.PropertiesToLoad.Add(propertyName);

    SearchResult result = search.FindOne();

    if(result != null){
    HERE -->> propertyValue = result.Properties[propertyName][0].ToString();
    }
    return propertyValue;
    }
  • 01-05-2007 01:12 AM In reply to

    Problem solved...

    The Problem was, that i have to send the login information for the AD. The problem is also known as double hop.
  • 02-10-2010 01:39 AM In reply to

    • Musuk
    • Not Ranked
    • Joined on 02-10-2010
    • Posts 1

    Hi;

     I create an infopath form with code and deployed to our sharepoint portal.And there's one button...I've the same problem with you...Please could you tell me how you solved this problem....

     

    Thx

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.