Jump to content

Recommended Posts

Posted

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.HttpApplication.IExecutionStep.Execute() +625

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

Posted

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)

Posted

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

Posted
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?
Posted

Nick,

Just tested it with the new dll and pdb files and got this error

 

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!

Posted

Hey... That WORKED!!

 

It worked for the User Menu up in the right hand corner. The Me tile under resources stayed the generic photo. Is this supposed to change as well? It doesn't matter for me because my users won't see that tile, but was just curious.

 

Thanks for all of your help!

Posted
@nickbro just tested, top right tile works, is there any way to make the picture fill the green square as my 96x96 dimensions leave a border around my picture, or should I be making the picture bigger?
Posted
Am i right in thinking this is only working for the drop down menu at the moment, the live tile still shows the white image. Is there anywhere else that the image would be displayed on HAP+ that I need to check?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...