AnsweredAssumed Answered

Error -2147220987 "tried to log in twice" using edmVault5.LoginAuto

Question asked by Steven Soeder on Jun 11, 2015
Latest reply on Jun 11, 2015 by Steven Soeder

Trying to get this Solidworks provided Add-in (tWip 60) to work.

This is the line that is failing.

            pdmVault.LoginAuto(strVaultname, Me.Handle.ToInt32())

"pdmVault" is declared as type EdmVault5

 

I'm trying to debug now and I can see in the locals window that the exception message is:
          "You tried to log in twice."

And the error number is:
          -2147220987

Unfortunately the EPDM API documentation doesn't contain anything related to this error or how to troubleshoot it (at least not that I can find).

I found a list of return codes and it looks like the epdm error could be 0x80040205 but unfortunately further searching on that code doesn't offer any help on how to fix it.

 

Any help is greatly appreciated!

Here are screenshots of the exception and the EdmVault5 object values at runtime.

 

 

Outcomes