Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Opening Files On Network via VB.NET on Windows 7

Opening Files On Network via VB.NET on Windows 7

Scheduled Pinned Locked Moved Visual Basic
csharpsysadminsecurityhelp
10 Posts 5 Posters 0 Views 1 Watching
  • 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.
  • N Offline
    N Offline
    nlindley7
    wrote on last edited by
    #1

    Hello, Has anyone else had problems opening files on network drives through VB.NET programs using Windows 7? The error on my local machine says: '(correct path taken out)' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted."

    I deployed the program on a windows XP machine and it worked fine. Any ideas as to what windows 7 security settings that need to be changed? Thanks!

    L J N 3 Replies Last reply
    0
    • N nlindley7

      Hello, Has anyone else had problems opening files on network drives through VB.NET programs using Windows 7? The error on my local machine says: '(correct path taken out)' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted."

      I deployed the program on a windows XP machine and it worked fine. Any ideas as to what windows 7 security settings that need to be changed? Thanks!

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Open the path using Explorer - does it ask for a username/password combination?

      I are Troll :suss:

      N 1 Reply Last reply
      0
      • L Lost User

        Open the path using Explorer - does it ask for a username/password combination?

        I are Troll :suss:

        N Offline
        N Offline
        nlindley7
        wrote on last edited by
        #3

        No password needed but i think something is set up on log in for access to the network drive so i should have access under my login. Thanks for the reply :)

        1 Reply Last reply
        0
        • N nlindley7

          Hello, Has anyone else had problems opening files on network drives through VB.NET programs using Windows 7? The error on my local machine says: '(correct path taken out)' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted."

          I deployed the program on a windows XP machine and it worked fine. Any ideas as to what windows 7 security settings that need to be changed? Thanks!

          J Offline
          J Offline
          Jason Vetter
          wrote on last edited by
          #4

          It is definitely a security issue. Are these windows programs or ASP.Net Apps?

          N 1 Reply Last reply
          0
          • J Jason Vetter

            It is definitely a security issue. Are these windows programs or ASP.Net Apps?

            N Offline
            N Offline
            nlindley7
            wrote on last edited by
            #5

            Windows

            1 Reply Last reply
            0
            • N nlindley7

              Hello, Has anyone else had problems opening files on network drives through VB.NET programs using Windows 7? The error on my local machine says: '(correct path taken out)' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted."

              I deployed the program on a windows XP machine and it worked fine. Any ideas as to what windows 7 security settings that need to be changed? Thanks!

              N Offline
              N Offline
              nlindley7
              wrote on last edited by
              #6

              Got it to work by running visual studio NOT in Administrator mode and then rebuilding/installing. Seems the run as administrator has some sort of effect on the end build. Anyone else run into this? EDIT: This still doesn't work on a different deployment machine running on Windows 7, only on mine.

              modified on Friday, July 23, 2010 12:18 PM

              N M 2 Replies Last reply
              0
              • N nlindley7

                Got it to work by running visual studio NOT in Administrator mode and then rebuilding/installing. Seems the run as administrator has some sort of effect on the end build. Anyone else run into this? EDIT: This still doesn't work on a different deployment machine running on Windows 7, only on mine.

                modified on Friday, July 23, 2010 12:18 PM

                N Offline
                N Offline
                nlindley7
                wrote on last edited by
                #7

                BUMP

                D 1 Reply Last reply
                0
                • N nlindley7

                  BUMP

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #8

                  Bump what? Post bumping does no good around here.

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak

                  1 Reply Last reply
                  0
                  • N nlindley7

                    Got it to work by running visual studio NOT in Administrator mode and then rebuilding/installing. Seems the run as administrator has some sort of effect on the end build. Anyone else run into this? EDIT: This still doesn't work on a different deployment machine running on Windows 7, only on mine.

                    modified on Friday, July 23, 2010 12:18 PM

                    M Offline
                    M Offline
                    MikeD 2
                    wrote on last edited by
                    #9

                    I have seen other problems caused by using "Run as Administrator" for example: One of my programs automates outlook and if I use run as administrator then it fails to automate outlook with a strange error I have no idea why and as it works when run normally I haven't investigated further

                    N 1 Reply Last reply
                    0
                    • M MikeD 2

                      I have seen other problems caused by using "Run as Administrator" for example: One of my programs automates outlook and if I use run as administrator then it fails to automate outlook with a strange error I have no idea why and as it works when run normally I haven't investigated further

                      N Offline
                      N Offline
                      nlindley7
                      wrote on last edited by
                      #10

                      Thanks for the reply! Yea, seems websites on the local IIS need to be ran as administrator, but doing this with projects causing some issues. Yay for Windows 7 security issues.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups