Jump to content

Missing DLL files from backup


statc
 Share

Recommended Posts

As part of DR planning, we've gone through the process of testing restoring the automatic backups to a new server.

We've found that there are two files being omitted from the backups generated by Password State (they are found in the .\bin folder)

  • Telerik.Windows.Zip.dll
  • Ionic.Zip.dll

Is there any reason these would be omitted from the backup?

Are these included in other users backups?

 

In the interest of someone else discovering this same issue.

With these files missing, we could browse through the Administration module fine, but once we tried to navigate to a Password List it would show this error

Quote

An Error Has Occurred

Unfortunately an error has occurred within the Passwordstate web site, for which we apologize for the inconvenience. 

If Passwordstate is able to communicate with the database, then the error will be logged on the screen Administration -> Passwordstate Administration -> Error Console. 
  
If you are unable to view the Error Console screen for any reason, you can ask your Database Administrator to run the following SQL Query, which will show the same data from the Error Console Screen: 

USE Passwordstate
SELECT * FROM DebugInfo  
  
If you need some assistance from Click Studios in troubleshooting this error, please ask your Passwordstate Security Administrators to contact us for help. 

 

 

This would be logged in the DebugInfo table

Quote

The file '/passwords/shared/viewpasswords.aspx' has not been pre-compiled, and cannot be requested., StackTrace =    at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)     at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)     at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)     at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)     at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)     at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

With this error being logged in Windows Event Viewer

Quote

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 6/07/2020 8:51:29 AM 
Event time (UTC): 5/07/2020 10:51:29 PM 
Event ID: f3976918c02e4215bc265c3f267e3ca9 
Event sequence: 95 
Event occurrence: 1 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT-4-132384630790035251 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\inetpub\Passwordstate\ 
    Machine name: ##MACHINENAME-REDACTED###
 
Process information: 
    Process ID: 6428 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: HttpException 
    Exception message: The file '/passwords/shared/viewpasswords.aspx' has not been pre-compiled, and cannot be requested.
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 
 
Request information: 
    Request URL: https://localhost:443/passwords/shared/viewpasswords.aspx?&SortSeed=0002 
    Request path: /passwords/shared/viewpasswords.aspx 
    User host address: ::1 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 7 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Custom event details: 

 

Link to comment
Share on other sites

Hi statc,

 

Thanks very much for this, and you've actually found a bug for us. We've had on more than one occasion where customers specified their backup folder to be with inside the Passwordstate folder, and we were trying to exclude .zip files from the backup because it was causing an infinite loop under this circumstance.

 

We've now fixed this for the next release (due in a couple of weeks), and we can report back here once that release is available. Or if you are currently using Build 8942, we can provide you an updated copy of the Windows Service with this fix in it - let us know if you would like that, or are okay to wait.

Regards

Click Studios

Link to comment
Share on other sites

Hi Click Studios,

 

Fantastic news, makes sense given they both have .zip in them.

We are running 8942, if you can supply us with a version of the fix we'd appreciate it.

 

Thanks for identifying it so fast.

 

Cheers.

Link to comment
Share on other sites

Hi statc,

 

Thanks very much, and you can download the update from here - https://www.clickstudios.com.au/downloads/temp/PasswordstateWindowsService_Build8942.zip. Instructions are:

  • Download the file and extract it to a temp location
  • Stop the Passwordstate Windows Service
  • Replace the file above in the folder c:\inetpub\passwordstate\bin
  • Restart the Windows Service

This is a fix for the scheduled backups only, and the fix for the manual backup in the UI will also be included in the next release.

Regards

Click Studios

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...