Bizarre vault errors when SQL server is not running. For whatever reason, our MSSQLSERVER had stopped. Access to vault resulted in the following message: (after restart of SQL server, vault access restored)
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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:
[NullReferenceException: Object reference not set to an instance of an object.]
VaultService.Global.Application_Error(Object sender, EventArgs e) +478
System.Web.HttpApplication.RaiseOnError() +211
[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +267
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341
[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688
Vault Standard 10.0.2 - Null reference accessing Vaultservice
Moderator: SourceGear
Re: Vault Standard 10.0.2 - Null reference accessing Vaultservice
Now that your SQL Server is back up, Vault is still having issues? Have you tried restarting the Vault Server?
If the problem still exists, please email your Vault Server log to support@sourcegear.com and reference this forum post.
Thanks,
Tonya
If the problem still exists, please email your Vault Server log to support@sourcegear.com and reference this forum post.
Thanks,
Tonya
Re: Vault Standard 10.0.2 - Null reference accessing Vaultservice
i did restart vault with same issue. then i discovered the sql server not running.
everything returned to normal after that
everything returned to normal after that
Re: Vault Standard 10.0.2 - Null reference accessing Vaultservice
Glad to hear everything has returned to normal. SQL Server is a requirement for Vault but I agree, the error is a bit confusing. It's possible the Vault Server log had more pertinent information within it.
Tonya
Tonya