+ Post New Thread
Page 4 of 6 FirstFirst 123456 LastLast
Results 46 to 60 of 81
Home Access Plus+ Thread, User Pictures from AD in HAP+ in Projects:; Same for me, white background....
  1. #46

    Join Date
    Sep 2012
    Location
    Gloucester
    Posts
    40
    Thank Post
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Same for me, white background.

  2. #47
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Ok, give this one a try, hopefully it'll give a list of what it's doing

  3. #48

    Join Date
    Sep 2012
    Location
    Gloucester
    Posts
    40
    Thank Post
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Server Error in '/HAP' Application.



    Exception of type 'System.Exception' was thrown.


    Description: An unhandled exception occurred during the
    execution of the current web request. Please review the stack trace for more
    information about the error and where it originated in the code.

    Exception Details: System.Exception: Exception of type
    'System.Exception' was thrown.

    Source
    Error:



    An unhandled exception was generated during the
    execution of the current web request. Information regarding the origin and
    location of the exception can be identified using the exception stack trace
    below.

    Stack
    Trace:



    [Exception: Exception of type 'System.Exception' was thrown.] HAP.Web.API.MyPic.ProcessRequest(HttpContext context) +1279[Exception: Creating Directory Search and Searching for then current userFound 0 results, processing 1st result] HAP.Web.API.MyPic.ProcessRequest(HttpContext context) +1525 System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +625 System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +270




    Version Information: Microsoft .NET Framework Version:4.0.30319;
    ASP.NET Version:4.0.30319.272

  4. #49
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    identical error here (but not for my account, which works)...

  5. #50
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    It's not finding the user you are logging in as, which is odd, if it was working please revert to the official release, this is just for testing purposes

    Exception: Creating Directory Search and Searching for then current user
    Found 0 results, processing 1st result]


    Try this dll next, make sure to copy both files, the pdb file contains debug information.

    This dll will throw an error regardless, but it will show, in the trace, what it's doing and a rough estimate of where it's getting into trouble.

    This one will show the LDAP query it's running, so you can run the identical query and see what's going wrong

  6. #51
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    Okay, for the user that wasnt working.. it now loads the default white man image (not the custom one) without any errors..

    For my account, i now get an error:

    --------------------
    Server Error in '/beta' Application.

    Exception of type 'System.Exception' was thrown.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Exception: Exception of type 'System.Exception' was thrown.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    (Exception: Exception of type 'System.Exception' was thrown.)
    HAP.Web.API.MyPic.ProcessRequest(HttpContext context) +1475

    (Exception: Creating Directory Search and Searching for then current user
    Using filter: (&(objectClass=user) (cn=mrg))
    Found 1 results, processing 1st result
    Found 1 thumnbnailPhotos
    Data found, making picture
    )
    HAP.Web.API.MyPic.ProcessRequest(HttpContext context) +1732
    System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +625
    System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +270

  7. #52

    Join Date
    Sep 2012
    Location
    Gloucester
    Posts
    40
    Thank Post
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I get a full page grey background with a sihoutte of the default logo.

  8. #53

    Join Date
    Sep 2012
    Location
    Gloucester
    Posts
    40
    Thank Post
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    @mattgrimley how do you attach your pictures to AD? I wonder if it somthing to do with the way we attach? Its odd that you can get it working for some accounts but not others? I cant get it to work at all.

  9. #54
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    My network management software lets me do it (really just for Outlook purposes although i had naive hopes that Windows might use it at some point)! It converts the file to to the correct dimensions and size..

    If i compare the thumbnailphoto field for both users, they are identical.. so i suspect we are missing something else.. but why it would work for me i haven't the foggiest! (yet)

  10. #55
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,026
    Thank Post
    157
    Thanked 58 Times in 46 Posts
    Rep Power
    29
    I'm just getting the grey standard image with the latest dll.
    @ShizukaNaHaji I just used this Cjwdev | AD Photo Edit for my photo, it works in outlook and office 365.

  11. #56
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    You may need to go to the login page and log back in. You should be getting an error like @mattgrimley


    His is saying that it's found the picture, which is good, it means that it should render it once I've taken the exception that is stopping it

  12. #57
    dezt's Avatar
    Join Date
    Dec 2005
    Location
    Lancs
    Posts
    1,026
    Thank Post
    157
    Thanked 58 Times in 46 Posts
    Rep Power
    29
    I've logged out, shut down IE9 and opened it up again, logged in and my picture is showing up as the grey image. I put the dll in the bin folder, is that where the pdb file goes as well? or have i put that in the wrong folder?

  13. #58
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    OK, can you give this one a try please

  14. #59

    Join Date
    Oct 2011
    Posts
    11
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Nick,
    Just tested it with the new dll and pdb files and got this error

    HTML Code:
    Server Error in '/HAPTEST' Application.
    --------------------------------------------------------------------------------
    
    Exception of type 'System.Exception' was thrown. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.Exception: Exception of type 'System.Exception' was thrown.
    
    Source Error: 
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    
    Stack Trace: 
    
    
    [Exception: Exception of type 'System.Exception' was thrown.]
       HAP.Web.API.MyPic.ProcessRequest(HttpContext context) +1364
    
    [Exception: Creating Directory Search and Searching for then current user
    Using filter: (&(objectClass=user) (sAMAccountName=testteacher))
    Found 1 results, processing 1st result
    Found 1 thumnbnailPhotos
    Data found, making picture
    ]
       HAP.Web.API.MyPic.ProcessRequest(HttpContext context) +1621
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270
    
     
    
    
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
    Thanks!

  15. #60
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Hopefully one more, try this dll.

    If it isn't working or loading the default icon, try looking in the event viewer

  16. Thanks to nickbro from:

    joyer99 (13th December 2012)

SHARE:
+ Post New Thread
Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Users cannot change AD passwords from Macs
    By sidewinder in forum Mac
    Replies: 7
    Last Post: 3rd October 2011, 05:33 PM
  2. User management from AD
    By stephenwelch in forum Network and Classroom Management
    Replies: 2
    Last Post: 22nd July 2010, 09:42 PM
  3. [Ubuntu] Mount users Home drive from AD to
    By jmair in forum *nix
    Replies: 3
    Last Post: 29th April 2009, 06:38 PM
  4. users H drive setting in AD...why two methods?
    By kennysarmy in forum Windows
    Replies: 19
    Last Post: 24th April 2009, 09:17 AM
  5. Replies: 16
    Last Post: 20th December 2007, 11:43 AM

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
  •