none
Threat Model Tool exception when opening file remotely RRS feed

  • Question

  • When opening a TM file from a sharepoint site the TM tool pukes with the following exception:

    • Threat Modeling Tool, Assembly version 'TMT7, Version=7.0.40724.1, Culture=neutral, PublicKeyToken=69c3241e6f0468ca', today is 'Tuesday, August 28, 2018 12:00:18 PM'Exception information:
      System.UriFormatException: Invalid URI: The hostname could not be parsed.
         at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
         at System.Uri..ctor(String uriString)
         at ThreatModeling.ExternalStorage.Local.LocalFile.get_Url()
         at ThreatModeling.ViewModel.OpenCommand.ExecuteImp(Object parameter)
         at ThreatModeling.ViewModel.Commands.TrackedCommand.Execute(Object parameter)
      End of exception information

    NOTES:

    • The same file opens fine if I open it form my local hard drive
    • If I map the sharepoint site to a local drive letter the file opens fine. For example:
      net use t: https://my.sharepoint.site/some/path/to/threatmodels/
      then I open t:\myTMFile.tm7

    I am slother

    Tuesday, August 28, 2018 7:11 PM