• Login
Community
  • Login

XML files opened as Session file

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
9 Posts 3 Posters 1.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Jean-michel
    last edited by Dec 5, 2018, 11:31 AM

    I’m trying to open XML files with Notepad++ (from the files selector or by drag & drop) but I get the message box: ‘Could not Load Session. Session file is either corrupted or not valid’. Anyone has an idea about this issue?

    E 1 Reply Last reply Dec 5, 2018, 12:35 PM Reply Quote 0
    • E
      Eko palypse @Jean-michel
      last edited by Dec 5, 2018, 12:35 PM

      @Jean-michel

      not 100% sure about your file handling but at first glance it sounds like you are running explorer.exe and notepad++.exe with different
      elevation levels, could this be?

      If so, just start notepad++ with the same privileges as explorer.exe, if this isn’t the case may I ask you to clarify what exactly you do.
      Please try to explain it as specific as possible.

      Eko

      1 Reply Last reply Reply Quote 1
      • J
        Jean-michel
        last edited by Dec 5, 2018, 12:53 PM

        Notepad++.exe (x86) is launched as administrator. It seems that this issue appeared since the 7.5.8 version. It’s like all XML files were considered as session files. I did not make any changes about files handling.

        E 1 Reply Last reply Dec 5, 2018, 1:31 PM Reply Quote 0
        • E
          Eko palypse @Jean-michel
          last edited by Dec 5, 2018, 1:31 PM

          @Jean-michel

          once it was reported that if you update notepad it might be possible that the shortcut gets created to start npp as administrator.
          Can you just delete the shortcut and create a new one to see if this is your problem?

          Eko

          1 Reply Last reply Reply Quote 1
          • J
            Jean-michel
            last edited by Dec 5, 2018, 3:32 PM

            Notepad++ was installed manually and the “Run as Administrator” for the shortcut is set. The issue is the same if I launch Npp from the shortcut or the executable.

            E 1 Reply Last reply Dec 5, 2018, 6:43 PM Reply Quote 0
            • E
              Eko palypse @Jean-michel
              last edited by Dec 5, 2018, 6:43 PM

              @Jean-michel

              sorry, but with the given information I don’t see what the problem might be.
              Maybe someone else has some other ideas, or maybe you can describe in more detail
              what you are doing so that one can try to do the same steps as you did to see what is going on.
              In addition it might be useful if you post the debug info which is available under the “question mark” menu.

              Eko

              1 Reply Last reply Reply Quote 0
              • J
                Jean-michel
                last edited by Dec 5, 2018, 10:11 PM

                @Eko-palypse

                Thank you to investigated about this issue.

                1 Reply Last reply Reply Quote 1
                • G
                  guy038
                  last edited by Dec 7, 2018, 8:38 PM

                  Hello, @jean-michel, Eko-palypse, and All,

                  Just to verify : which extension is indicated in Settings > Preferences > MISC, in the Session file ext. zone ?

                  Presently, I don’t need to manage several sessions, but I remember, that, some time ago, testing the N++ sessions feature, I, generally, chose the .ses extension for session files, without any interference with all .xml files ;-))

                  Hope this helps !

                  Best Regards,

                  guy038

                  J 1 Reply Last reply Feb 5, 2019, 11:39 AM Reply Quote 1
                  • J
                    Jean-michel @guy038
                    last edited by Feb 5, 2019, 11:39 AM

                    @guy038 Thank you Guy. It’s OK now, but if you use the workspace, you need also to change extension for workspace files.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors