Jump to content

Installation stuck after initial system settings

Recommended Posts



I'm trying to install Passwordstate but I'm stuck on error. The installation itself finished just fine but after entering initial system settings (AD user, emergency password etc.) I'm greeted with the "An Error Has Occured" page. The database and its tables seems to be created just fine and I'm able to get the error(s) from DebugInfo table:


It appears the user's session in IIS has been prematurely ended, causing the following error - Conversion from string "" to type 'Integer' is not valid., StackTrace =    at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)     at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value)     at loggedout.DetermineSAMLLogoutURL(String UserID)     at loggedout.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)


I haven't been able to figure this one out. The server is 2019 with SQL Express 2019.

Link to post
Share on other sites

Hi SampoS,


Those errors that IIS Session has been prematurely ended can be caused by either Reverse Proxies, AV software on the web server, or possibly a Load Balancer in front of your website.  I'd assume the only one of these things that might be applying to you could be AV software, would that be right? 


If so, could you please disable AV temporarily, and then reset the installer, and run through the initial config again?  Resetting the Passwordstate Set up process can be found here:  https://www.clickstudios.com.au/community/index.php?/topic/1663-resetting-the-passwordstate-setup-process/



If that works, I'd consider excluding Passwordstate from your AV software to prevent future issues, and more info about this can be found here:  https://www.clickstudios.com.au/community/index.php?/topic/2472-error-console-errors-due-to-anti-virus-software/



Does this helps at all?





Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...