Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

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

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

Posted

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:

 

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

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...