Access denied.
-
Hello codeprojectusers, I am writing a very simple web server for no real reason and if does kind of work, but when I get a request from a client I get an error from visual basic 2005 .net. It says that access to the folder requested was denied. this is the code i am having a problem with
Dim fs As FileStream = New FileStream(filename, FileMode.OpenOrCreate)
I have no idea how to fix this without using that request permission method which I cannot get to work, soooooo I would appreciate any help, ThanksAaron
-
Hello codeprojectusers, I am writing a very simple web server for no real reason and if does kind of work, but when I get a request from a client I get an error from visual basic 2005 .net. It says that access to the folder requested was denied. this is the code i am having a problem with
Dim fs As FileStream = New FileStream(filename, FileMode.OpenOrCreate)
I have no idea how to fix this without using that request permission method which I cannot get to work, soooooo I would appreciate any help, ThanksAaron
Use application folder of system with system.environment.application. It will never give up access denied. Thanks & Regards Kumar Prabhakar
abc
-
Use application folder of system with system.environment.application. It will never give up access denied. Thanks & Regards Kumar Prabhakar
abc