access denied in case of share folder
-
Hello I am sharing a folder through sharing property. For that, i just right click on the folder and shared it...Now i can easily access this folder from any computer within a network. This is so simple. Now i have done the same job through C# code. It works properly. But when i access this folder from any computer, it shows an error i.e. access denied. I am not able to understand the reason. Plz reply me asap. Thanks
Devesh Mishra
-
Hello I am sharing a folder through sharing property. For that, i just right click on the folder and shared it...Now i can easily access this folder from any computer within a network. This is so simple. Now i have done the same job through C# code. It works properly. But when i access this folder from any computer, it shows an error i.e. access denied. I am not able to understand the reason. Plz reply me asap. Thanks
Devesh Mishra
-
I am not sure if that is the problem, but you did not mention security in your post. When you share a folder and you want anyone to access it you need to give permission. Have you done that in your code?
Yah i have done this in my code.yah the scenario is really amazing. Suppose there are to system A & B. Then i can access that folder from A but not from B. This is my out of mind. Why its happening ?????
Devesh Mishra
-
Yah i have done this in my code.yah the scenario is really amazing. Suppose there are to system A & B. Then i can access that folder from A but not from B. This is my out of mind. Why its happening ?????
Devesh Mishra
With so little information we're unable to help properly. Are the machines part of a domain? Are the same users trying to access the share? Are you able to access the share from windows explorer? When you do so for the first time after rebooting the computer, does it prompt you for user name and password before allowing you access to the share? Questions over questions... :)
Regards, mav -- Black holes are the places where God divided by 0...
-
With so little information we're unable to help properly. Are the machines part of a domain? Are the same users trying to access the share? Are you able to access the share from windows explorer? When you do so for the first time after rebooting the computer, does it prompt you for user name and password before allowing you access to the share? Questions over questions... :)
Regards, mav -- Black holes are the places where God divided by 0...
yah all the system are from the same domain. There are two diff users, trying to access the share folder on two diff system. it doesnt prompt for the username and password, after rebooting the system. Hey i know the whole scenario is really embarrassing... its totally my out of mind.. Thanks
Devesh Mishra