Jump to content

Error importing Keepass XML


Recommended Posts

Hi i am new here en we started a poc with Passwordstate.

When importing de XML with te script we get the following error:

 

The property 'Root' cannot be found on this object. Verify that the property exists.
At D:\Passwordstate\import-keepass-xml\Import-KeePass-XML.ps1:308 char:1
+ $KeePassRoot = $XmlDocument.ChildNodes.Root.Group
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException
    + FullyQualifiedErrorId : PropertyNotFoundStrict
 
The variable '$KeePassRoot' cannot be retrieved because it has not been set.
At D:\Passwordstate\import-keepass-xml\Import-KeePass-XML.ps1:310 char:103
+ ... lderID $global:PasswordstateImportFolderID -KeePassGroup $KeePassRoot
+                                                              ~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (KeePassRoot:String) [], RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined

 

Is there a solution?

Link to post
Share on other sites

Hi Robert,

 

Hopefully we can get this working for you.  I assume you are using the latest build, or thereabouts of Passwordstate?  The latest build is 8989, but you've posted this in the Passwordstate 7 forums, so I just wanted to confirm?

 

Have you followed this blog post to export your KeePass database to an XML 2.0 file?  https://www.clickstudios.com.au/blog/import-passwords-keepass-passwordstate/

 

It looks like this error is related to not being able to find your XML document.  If you wanted to email us a sample of your document to our support address we can check to see if we can get it running?

 

Regards,

Support.

 

 

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.

Guest
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.

Loading...
×
×
  • Create New...