<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dotnet thoughts &#187; Compiler Error CS0016</title>
	<atom:link href="http://www.dotnetthoughts.net/tag/compiler-error-cs0016/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotnetthoughts.net</link>
	<description>a dotnet developer&#039;s technical blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:18:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Compiler Error Message: CS0016: Could not write to output file &#8211; Access is denied.</title>
		<link>http://www.dotnetthoughts.net/2010/04/14/compiler-error-message-cs0016-could-not-write-to-output-file-access-is-denied/</link>
		<comments>http://www.dotnetthoughts.net/2010/04/14/compiler-error-message-cs0016-could-not-write-to-output-file-access-is-denied/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 08:45:30 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Compiler Error CS0016]]></category>
		<category><![CDATA[CS0016]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.dotnetthoughts.net/?p=838</guid>
		<description><![CDATA[Last Sunday the Support guys in my machine, updated the OS(Windows Vista) and monday onwards while running my web application, I got a strange error, Compilation Error Description: An error occurred during the compilation of a resource required to service &#8230; <a href="http://www.dotnetthoughts.net/2010/04/14/compiler-error-message-cs0016-could-not-write-to-output-file-access-is-denied/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last Sunday the Support guys in my machine, updated the OS(Windows Vista) and monday onwards while running my web application, I got a strange error, </p>
<div id="attachment_839" class="wp-caption alignnone" style="width: 310px"><a href="http://www.dotnetthoughts.net/wp-content/uploads/2010/04/Error_Image.jpg"><img src="http://www.dotnetthoughts.net/wp-content/uploads/2010/04/Error_Image-300x175.jpg" alt="Compiler Error Message: CS0016: Could not write to output file - Access is denied." title="Compiler Error Message: CS0016: Could not write to output file - Access is denied." width="300" height="175" class="size-medium wp-image-839" /></a><p class="wp-caption-text">Compiler Error Message: CS0016: Could not write to output file - Access is denied.</p></div>
<p>Compilation Error </p>
<p>Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. </p>
<p>Compiler Error Message: CS0016: Could not write to output file &#8216;c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\myapp\xxxxx\xxxxx\App_GlobalResources.xxxxxxx.dll&#8217; &#8212; &#8216;Access is denied. &#8216;</p>
<p>I was not done anything in the Global Resources file, but it was showing the error related to this. After doing some searching, I found it can be an issue with Antivirus software. I stopped the Antivirus software and tried, but still the problem was there. Later I found it was related to permission issue in the Temp folder. To resolve this.</p>
<ol>
<li> Go to %Systemroot%, normally C:\WINDOWS or C:\WINNT</li>
<li>Right-click the Temporary folder (mine is C:\WINDOWS\Temp) and select Sharing and Security. </li>
<li>Select the Security tab and take a look at the list of &#8220;Group or user names:&#8221;</li>
<li>NETWORK SERVICE should be in the list. If it is not, click Add and type Network Service in the text box.</li>
<li>Make sure NETWORK SERVICE have Full Control in the Permissions list. Click OK.</li>
<li>Restart IIS (Run iisreset) </li>
</ol>
<p>If your machine doesn&#8217;t have NETWORK SERVICE or NETWORK SERVICES Group, look for &#8220;IIS_IUSRS&#8221; and apply same permissions.</p>
<div class="betterrelated none"><p>No related content found.</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2010/04/14/compiler-error-message-cs0016-could-not-write-to-output-file-access-is-denied/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

