Opening Files On Network via VB.NET on Windows 7
-
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!
-
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!
-
Open the path using Explorer - does it ask for a username/password combination?
I are Troll :suss:
-
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!
It is definitely a security issue. Are these windows programs or ASP.Net Apps?
-
It is definitely a security issue. Are these windows programs or ASP.Net Apps?
-
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!
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
-
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
-
Bump what? Post bumping does no good around here.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
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
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
-
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