<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Network File Share in .NET C#</title>
	<atom:link href="http://jeffmurr.com/blog/?feed=rss2&#038;p=241" rel="self" type="application/rss+xml" />
	<link>http://jeffmurr.com/blog/?p=241</link>
	<description>Database, Software, and System Engineering</description>
	<lastBuildDate>Fri, 26 Apr 2019 03:09:53 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.30</generator>
	<item>
		<title>By: Lars Shakya Buch-Jepsen &#124; Applied-Intelligence</title>
		<link>http://jeffmurr.com/blog/?p=241#comment-3188</link>
		<dc:creator><![CDATA[Lars Shakya Buch-Jepsen &#124; Applied-Intelligence]]></dc:creator>
		<pubDate>Sun, 06 Mar 2016 12:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://jeffmurr.com/blog/?p=241#comment-3188</guid>
		<description><![CDATA[I know I reply on an old post but others might use it an inspiration.
The missing part of the code is step 3 where the &quot;SecurityDescriptor&quot; is used on the share. The needed code is to get the share as a &quot;ManagementObject&quot; and on that invoke method &quot;SetShareInfo&quot; with your &quot;SecurityDescriptor&quot;.]]></description>
		<content:encoded><![CDATA[<p>I know I reply on an old post but others might use it an inspiration.<br />
The missing part of the code is step 3 where the &#8220;SecurityDescriptor&#8221; is used on the share. The needed code is to get the share as a &#8220;ManagementObject&#8221; and on that invoke method &#8220;SetShareInfo&#8221; with your &#8220;SecurityDescriptor&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aruna</title>
		<link>http://jeffmurr.com/blog/?p=241#comment-3180</link>
		<dc:creator><![CDATA[Aruna]]></dc:creator>
		<pubDate>Thu, 10 Sep 2015 14:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://jeffmurr.com/blog/?p=241#comment-3180</guid>
		<description><![CDATA[I have tried the same from Windows Application and i have added the Security Descriptor too, not able to create a folder in my own local machine itself where i am an admin. It says &quot;Access Denied&quot;. Please help me with that. Thanks in Advance]]></description>
		<content:encoded><![CDATA[<p>I have tried the same from Windows Application and i have added the Security Descriptor too, not able to create a folder in my own local machine itself where i am an admin. It says &#8220;Access Denied&#8221;. Please help me with that. Thanks in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Murr</title>
		<link>http://jeffmurr.com/blog/?p=241#comment-3113</link>
		<dc:creator><![CDATA[Jeff Murr]]></dc:creator>
		<pubDate>Fri, 22 Aug 2014 12:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://jeffmurr.com/blog/?p=241#comment-3113</guid>
		<description><![CDATA[Depending on your interface and server this can be a complicated problem to solve.  If you&#039;re using the code within a windows application, make sure you use elevated permissions on the exe.  If you&#039;re using the code within a web application, make sure the application pool is running under and identity that can access the file system you&#039;re wanting to interact with.  I&#039;d start local before trying anything remote.  Next start with external debugging techniques using processmonitor etc. to identify what is really giving you the access denied.  

Sorry for the late response Jackson.  Just had a baby :).

Jeff]]></description>
		<content:encoded><![CDATA[<p>Depending on your interface and server this can be a complicated problem to solve.  If you&#8217;re using the code within a windows application, make sure you use elevated permissions on the exe.  If you&#8217;re using the code within a web application, make sure the application pool is running under and identity that can access the file system you&#8217;re wanting to interact with.  I&#8217;d start local before trying anything remote.  Next start with external debugging techniques using processmonitor etc. to identify what is really giving you the access denied.  </p>
<p>Sorry for the late response Jackson.  Just had a baby :).</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jackson Lopes</title>
		<link>http://jeffmurr.com/blog/?p=241#comment-3110</link>
		<dc:creator><![CDATA[Jackson Lopes]]></dc:creator>
		<pubDate>Sat, 12 Jul 2014 05:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://jeffmurr.com/blog/?p=241#comment-3110</guid>
		<description><![CDATA[The following line:

outParams = managementClass.InvokeMethod(&quot;Create&quot;, inParams, null);
 uint rVal = (uint)(outParams.Properties[&quot;ReturnValue&quot;].Value);

is returning the values 2(Access Denied.)

I&#039;ve been trying to solve it frm the past 48 hrs..I DESPERATELY NEED SOME HELP.]]></description>
		<content:encoded><![CDATA[<p>The following line:</p>
<p>outParams = managementClass.InvokeMethod(&#8220;Create&#8221;, inParams, null);<br />
 uint rVal = (uint)(outParams.Properties["ReturnValue"].Value);</p>
<p>is returning the values 2(Access Denied.)</p>
<p>I&#8217;ve been trying to solve it frm the past 48 hrs..I DESPERATELY NEED SOME HELP.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
