0
Completed

Improve feedback on inaccessible extensibility directory

Tony Sheehy 12 years ago updated by anonymous 9 years ago 6

When the extensibility directory cannot be written to due to permissions, the following is logged:

Application: Unify.Service.Connect.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
   at Unify.Product.IdentityBroker.IdentityBrokerEngine.Dispose()
   at Unify.Framework.DisposeVisit.DisposeVisitMethod[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon)
   at Unify.Framework.Visitor.Visit[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Action`2<System.__Canon,Int32>)
   at Unify.Framework.UnifyEngine`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Dispose()
   at Unify.Service.IdentityBrokerService.Dispose(Boolean)
   at System.ComponentModel.Component.Dispose()
   at System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase[])
   at Unify.Service.ConnectServiceBootStrap.Main()

This does not really explain what's actually happening, and should be updated to reflect the exact cause for why the service couldn't start.

I also received this error on Windows 7 and my permissions appear correct. I received the following at the start of all the error messages as the service started, and may be related to the null reference.

Login failed for user 'UNIFYSOLUTIONS\mclark'. Reason: Failed to open the explicitly specified database. CLIENT: <local machine>

AvV: Fix up null reference in above Dispose method, then assign to Matthew and Tony to fix their individual issues at start up.

Assigned to Tony. Please resolve your particular start up issue, then assign to Matthew.

The correct exception is coming through, reassigned for confirmation of completion.

Message clearly states that access is denied. Issue closed.