Jump to content

Error after upgradeing Windows Server 2016 Updates (May)


Recommended Posts

Hello,

 

Running Passwordstate 8284:

I have an Windows Server 2016 Core IIS that got errors after windows update i believe.

Im useing gMSA authentication for the SQL account and it have worked before.

 

 

When broseing the site i get this error

image.thumb.png.7ea645f151ba38b4341cd3bd9db78abd.png

 

And the IIS server is generateing this two posts in the event logg:

and a warning event id 1309 with text:
 

The description for Event ID 1309 from source ASP.NET 4.0.30319.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

3005
An unhandled exception has occurred.
2018-05-27 23:33:52
2018-05-27 21:33:52
d1c659eb7cb045f482d262bc4d1d571f
12
1
0
/LM/W3SVC/2/ROOT-1-131719304281000889
Full
/
X:\%Folderx%\inetpub\Passwordstate\
%Hostname%
1028
w3wp.exe
%Domain%\%gMSAaccount%$
NullReferenceException
Object reference not set to an instance of an object.
   at error_customerror.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


https://%sitename%:443/error/customerror.aspx
/error/customerror.aspx
%IPADRESS%
False
%Domain%\%gMSAAccount%$
9
%Domain%\%gMSAAccount%$
False
   at error_customerror.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


The handle is invalid
 

image.png.302718d3febc630d7ed512cafbc44b92.png


 

The SQL query shows the following over 52 rows:
image.thumb.png.a095db080c501208c7728d48e59ac958.png


On the IIS:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -lv
Microsoft (R) ASP.NET RegIIS version 4.0.30319.0
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation.  All rights reserved.
4.0.30319.0             C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
4.0.30319.0             C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll

 

And "aspnet_regiis.exe -i" is not supported since it´s a Core server.

 

 

I have changed from gMSA authentication to user and pass authentication against sql +restart but without success and with the same results.

 

Any tip is welcome since i feel stuck.

Thanks

 

 

Link to comment
Share on other sites

Hello,

 

I do not believe this error is related to the Windows Update. FieldNameLookup.GetOrginal means that the code is trying to reference a field in the database which no longer exists. Did you experience any errors during an upgrade of Passwordstate?

 

Or, have you recently restored files in the Passwordstate folder, as the field ConvertPrivateList, which it's complaining about,  was deleted back in build 8242?

If you could let us know, then we should be able to work out a way forward?

Regards

Click Studios

Link to comment
Share on other sites

hello,

 

I dont´t think i have updated this instance of Passwordstate yet.

The only file i have edited is the web.config with the connection string and no restoreing of files, but i have restored a VM snapshot of both IIS and SQL to the same data so they should be in sync since the restore date is the same.

 

Link to comment
Share on other sites

Okay, the restore of the VM snapshot would have caused this - it looks like your VM Snapshot was old, back when you were using an older build of Passwordstate. Basically your files and database are now out of sync.

 

To fix this, can you please follow section '5. Manual Upgrade Instructions' in the following document - https://www.clickstudios.com.au/downloads/version8/Upgrade_Instructions.pdf

 

Regards

Click Studios

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...