+ Post New Thread
Results 1 to 3 of 3
Home Access Plus+ Thread, 8.3 Error loading avatar from AD in Projects:; Originally Posted by nickbro Looks like the background call to load the picture is failing because of an AD COM ...
  1. #1
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    321
    Thank Post
    36
    Thanked 22 Times in 20 Posts
    Blog Entries
    1
    Rep Power
    10

    8.3 Error loading avatar from AD

    Quote Originally Posted by nickbro View Post
    Looks like the background call to load the picture is failing because of an AD COM issue. Try going to https://hap.school.org.uk/beta/api/livetiles/me and seeing what it's saying
    Hi @nickbro
    I've moved this to it's own thread as i don't think it has anything to do with the other thread after all and I'd hate to hi-jack someone else's stuff!

    I've corrected the masterpage.master and setup.aspx with yesterday's bug fixes and the top menu loads properly now.. However i still get 2 errors on loading the page "An operations error occurred"

    If i load the https://hap.school.org.uk/beta/api/livetiles/me page, i get:
    Code:
    XML Parsing Error: not well-formed
    Location: https://hap.school.org.uk/beta/api/livetiles/me
    Line Number 1, Column 1:{"Message":"An operations error occurred.\u000d\u000a","Detail":null,"FaultType":"DirectoryServicesCOMException"}
    ^
    I do have an image stored in AD for my account which is used by Exchange 2010 - but i tried clearing this and still get the error. I also tried as a user who doesnt have mail and never had an AD image stored - and that gets the same errors..

    Any more thoughts?
    Cheers,
    Matt

  2. #2
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    321
    Thank Post
    36
    Thanked 22 Times in 20 Posts
    Blog Entries
    1
    Rep Power
    10
    Hi again,

    I've tried the updates that you posted yesterday, but there didn't seem to be much extra other than a script file.

    So; on log-on, i get "An operations error occurred" twice. The server event log reports:

    Code:
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 14/11/2012 10:33:00 
    Event time (UTC): 14/11/2012 10:33:00 
    Event ID: f7bd96c7d2e84ea680c6f0cdfe5521a3 
    Event sequence: 417 
    Event occurrence: 5 
    Event detail code: 0 
     
    Application information: 
        Application domain: /LM/W3SVC/1/ROOT/beta-2-129973614585682740 
        Trust level: Full 
        Application Virtual Path: /beta 
        Application Path: C:\inetpub\wwwroot\beta\ 
        Machine name: SERVER10 
     
    Process information: 
        Process ID: 2556 
        Process name: w3wp.exe 
        Account name: IIS APPPOOL\HAPBeta 
     
    Exception information: 
        Exception type: DirectoryServicesCOMException 
        Exception message: An operations error occurred.
    
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
       at System.DirectoryServices.DirectorySearcher.FindOne()
       at HAP.Web.API.MyPic.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
     
     
    Request information: 
        Request URL: https://hap.schoo.org.uk:443/beta/api/mypic 
        Request path: /beta/api/mypic 
        User host address: 172.16.109.165 
        User: **** 
        Is authenticated: True 
        Authentication Type: Forms 
        Thread account name: IIS APPPOOL\HAPBeta 
     
    Thread information: 
        Thread ID: 10 
        Thread account name: IIS APPPOOL\HAPBeta 
        Is impersonating: False 
        Stack trace:    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
       at System.DirectoryServices.DirectorySearcher.FindOne()
       at HAP.Web.API.MyPic.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    I have no idea if this is the same as the problem report in the other thread.. i presumed not yesterday.. but hopefully this info helps track it down!!

    Cheers,
    Matt

  3. #3

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,637
    Thank Post
    39
    Thanked 530 Times in 456 Posts
    Rep Power
    118
    Ah, I've forgotten to impersonate the admin user haven't I. Will code that up tonight and re-release

SHARE:
+ Post New Thread

Similar Threads

  1. [Ubuntu] Mount users Home drive from AD to
    By jmair in forum *nix
    Replies: 3
    Last Post: 29th April 2009, 06:38 PM
  2. Replies: 12
    Last Post: 29th September 2008, 10:57 AM
  3. Replies: 16
    Last Post: 20th December 2007, 11:43 AM
  4. Sharepoint Portal grab SIP address from AD?
    By thewlis in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 21st November 2007, 03:51 PM
  5. How can I recover deleted acounts from AD?
    By StewartKnight in forum Windows
    Replies: 13
    Last Post: 4th September 2006, 11:15 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •