Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    XML files opened as Session file

    Help wanted · · · – – – · · ·
    3
    9
    1482
    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.
    • Jean-michel
      Jean-michel last edited by

      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?

      Eko palypse 1 Reply Last reply Reply Quote 0
      • Eko palypse
        Eko palypse @Jean-michel last edited by

        @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
        • Jean-michel
          Jean-michel last edited by

          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.

          Eko palypse 1 Reply Last reply Reply Quote 0
          • Eko palypse
            Eko palypse @Jean-michel last edited by

            @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
            • Jean-michel
              Jean-michel last edited by

              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.

              Eko palypse 1 Reply Last reply Reply Quote 0
              • Eko palypse
                Eko palypse @Jean-michel last edited by

                @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
                • Jean-michel
                  Jean-michel last edited by

                  @Eko-palypse

                  Thank you to investigated about this issue.

                  1 Reply Last reply Reply Quote 1
                  • guy038
                    guy038 last edited by

                    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

                    Jean-michel 1 Reply Last reply Reply Quote 1
                    • Jean-michel
                      Jean-michel @guy038 last edited by

                      @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
                      Copyright © 2014 NodeBB Forums | Contributors