PC Review


Reply
Thread Tools Rating: Thread Rating: 3 votes, 1.00 average.

asp.net v1.1.4322 CS0016

 
 
John
Guest
Posts: n/a
 
      27th Jan 2008
Ok, I give up. I have an XP SP2 development system that has both asp.net
v1.1.4322 and v2.0.50727 loaded on it. When I try to run my web site in
debug mode, I get error CS0016 as follows:

Compiler Error Message: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\mycompany\61ed8bd6\4d57d3a7\evgr-dci.dll' -- 'Access is denied. '

I've googled this and tried the following:

- Changed the permissions on the "Temporary ASP.NET Files" directory
- Added ASPNET and NETWORK SERVICE to the security settings for this
directory
- Followed MSDN article #825791 and changed TMP and TEMP to C:\Temp
- Set the ASP.NET version to 1.1.4322 in IIS (version 5.1 incidentally)
- Did numerous reboots
- Reinstalled IIS
- Re-applied ASP.NET v1.1 (and SP1)
- Reinstalled ASP.NET v1.1 (and SP1)
- Reinstalled Visual Studio 2003 (and SP1)

but still I get the CS0016 error.

Can anyone help?
John Martin


 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      28th Jan 2008
Delete every directory below :

c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\

Do *not* delete the \Temporary ASP.NET Files directory;
only delete every directory below it.

Then, stop/restart IIS.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
======================================
"John" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Ok, I give up. I have an XP SP2 development system that has both asp.net v1.1.4322 and v2.0.50727 loaded on it. When I
> try to run my web site in debug mode, I get error CS0016 as follows:
>
> Compiler Error Message: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
> ASP.NET Files\mycompany\61ed8bd6\4d57d3a7\evgr-dci.dll' -- 'Access is denied. '
>
> I've googled this and tried the following:
>
> - Changed the permissions on the "Temporary ASP.NET Files" directory
> - Added ASPNET and NETWORK SERVICE to the security settings for this directory
> - Followed MSDN article #825791 and changed TMP and TEMP to C:\Temp
> - Set the ASP.NET version to 1.1.4322 in IIS (version 5.1 incidentally)
> - Did numerous reboots
> - Reinstalled IIS
> - Re-applied ASP.NET v1.1 (and SP1)
> - Reinstalled ASP.NET v1.1 (and SP1)
> - Reinstalled Visual Studio 2003 (and SP1)
>
> but still I get the CS0016 error.
>
> Can anyone help?
> John Martin
>
>



 
Reply With Quote
 
John
Guest
Posts: n/a
 
      28th Jan 2008
Oh yea, I also tried:

- Adding IUSR_mymachine to the security settings for all temp directories
- Stopping all indexing services
- Turning off the firewall

Thanks,
John


"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ok, I give up. I have an XP SP2 development system that has both asp.net
> v1.1.4322 and v2.0.50727 loaded on it. When I try to run my web site in
> debug mode, I get error CS0016 as follows:
>
> Compiler Error Message: CS0016: Could not write to output file
> 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\mycompany\61ed8bd6\4d57d3a7\evgr-dci.dll' -- 'Access is denied. '
>
> I've googled this and tried the following:
>
> - Changed the permissions on the "Temporary ASP.NET Files" directory
> - Added ASPNET and NETWORK SERVICE to the security settings for this
> directory
> - Followed MSDN article #825791 and changed TMP and TEMP to C:\Temp
> - Set the ASP.NET version to 1.1.4322 in IIS (version 5.1 incidentally)
> - Did numerous reboots
> - Reinstalled IIS
> - Re-applied ASP.NET v1.1 (and SP1)
> - Reinstalled ASP.NET v1.1 (and SP1)
> - Reinstalled Visual Studio 2003 (and SP1)
>
> but still I get the CS0016 error.
>
> Can anyone help?
> John Martin
>
>



 
Reply With Quote
 
John
Guest
Posts: n/a
 
      28th Jan 2008
Juan,

Thanks for responding to my inquiry. I just tried what you suggested:

1) Delete all files (and directories) under \Temporary ASP.NET Files
2) Stop and then Restart IIS

Still fails with CS0016.

Do you have any other suggestions?
John Martin


"Juan T. Llibre" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Delete every directory below :
>
> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\
>
> Do *not* delete the \Temporary ASP.NET Files directory;
> only delete every directory below it.
>
> Then, stop/restart IIS.
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ======================================
> "John" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Ok, I give up. I have an XP SP2 development system that has both asp.net
>> v1.1.4322 and v2.0.50727 loaded on it. When I try to run my web site in
>> debug mode, I get error CS0016 as follows:
>>
>> Compiler Error Message: CS0016: Could not write to output file
>> 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
>> Files\mycompany\61ed8bd6\4d57d3a7\evgr-dci.dll' -- 'Access is denied. '
>>
>> I've googled this and tried the following:
>>
>> - Changed the permissions on the "Temporary ASP.NET Files" directory
>> - Added ASPNET and NETWORK SERVICE to the security settings for this
>> directory
>> - Followed MSDN article #825791 and changed TMP and TEMP to C:\Temp
>> - Set the ASP.NET version to 1.1.4322 in IIS (version 5.1 incidentally)
>> - Did numerous reboots
>> - Reinstalled IIS
>> - Re-applied ASP.NET v1.1 (and SP1)
>> - Reinstalled ASP.NET v1.1 (and SP1)
>> - Reinstalled Visual Studio 2003 (and SP1)
>>
>> but still I get the CS0016 error.
>>
>> Can anyone help?
>> John Martin
>>
>>

>
>



 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      28th Jan 2008
re:
!> Do you have any other suggestions?

Yes. See if the directories in this MSDN article, have the permissions listed :

http://msdn2.microsoft.com/en-us/library/kwzs111e(VS.71).aspx




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
======================================
"John" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)...
> Juan,
>
> Thanks for responding to my inquiry. I just tried what you suggested:
>
> 1) Delete all files (and directories) under \Temporary ASP.NET Files
> 2) Stop and then Restart IIS
>
> Still fails with CS0016.
>
> Do you have any other suggestions?
> John Martin
>
>
> "Juan T. Llibre" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>> Delete every directory below :
>>
>> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\
>>
>> Do *not* delete the \Temporary ASP.NET Files directory;
>> only delete every directory below it.
>>
>> Then, stop/restart IIS.
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>> ======================================
>> "John" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>>> Ok, I give up. I have an XP SP2 development system that has both asp.net v1.1.4322 and v2.0.50727 loaded on it. When
>>> I try to run my web site in debug mode, I get error CS0016 as follows:
>>>
>>> Compiler Error Message: CS0016: Could not write to output file
>>> 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mycompany\61ed8bd6\4d57d3a7\evgr-dci.dll' --
>>> 'Access is denied. '
>>>
>>> I've googled this and tried the following:
>>>
>>> - Changed the permissions on the "Temporary ASP.NET Files" directory
>>> - Added ASPNET and NETWORK SERVICE to the security settings for this directory
>>> - Followed MSDN article #825791 and changed TMP and TEMP to C:\Temp
>>> - Set the ASP.NET version to 1.1.4322 in IIS (version 5.1 incidentally)
>>> - Did numerous reboots
>>> - Reinstalled IIS
>>> - Re-applied ASP.NET v1.1 (and SP1)
>>> - Reinstalled ASP.NET v1.1 (and SP1)
>>> - Reinstalled Visual Studio 2003 (and SP1)
>>>
>>> but still I get the CS0016 error.
>>>
>>> Can anyone help?
>>> John Martin
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
John
Guest
Posts: n/a
 
      28th Jan 2008
Juan,

Thanks for the link. I followed the instructions and the problem is fixed!
It wasn't exactly straight forward, but here's the change that made it work:

I added Read/Write access for ASPNET to C:\Documents and
Settings\mymachine\ASPNET

I was focusing my attention on the "Temporary ASP.NET Files" directory since
that's where the "Access Denied" message was pointing to. But thanks to the
"ASP.NET Required Access Control Lists (ACLs)" article, I chased the problem
down to a completely different location.

Thanks a lot!
John

"Juan T. Llibre" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> re:
> !> Do you have any other suggestions?
>
> Yes. See if the directories in this MSDN article, have the permissions
> listed :
>
> http://msdn2.microsoft.com/en-us/library/kwzs111e(VS.71).aspx
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ======================================
> "John" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Juan,
>>
>> Thanks for responding to my inquiry. I just tried what you suggested:
>>
>> 1) Delete all files (and directories) under \Temporary ASP.NET Files
>> 2) Stop and then Restart IIS
>>
>> Still fails with CS0016.
>>
>> Do you have any other suggestions?
>> John Martin
>>
>>
>> "Juan T. Llibre" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Delete every directory below :
>>>
>>> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\
>>>
>>> Do *not* delete the \Temporary ASP.NET Files directory;
>>> only delete every directory below it.
>>>
>>> Then, stop/restart IIS.
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>>> ======================================
>>> "John" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Ok, I give up. I have an XP SP2 development system that has both
>>>> asp.net v1.1.4322 and v2.0.50727 loaded on it. When I try to run my web
>>>> site in debug mode, I get error CS0016 as follows:
>>>>
>>>> Compiler Error Message: CS0016: Could not write to output file
>>>> 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
>>>> Files\mycompany\61ed8bd6\4d57d3a7\evgr-dci.dll' -- 'Access is denied.
>>>> '
>>>>
>>>> I've googled this and tried the following:
>>>>
>>>> - Changed the permissions on the "Temporary ASP.NET Files" directory
>>>> - Added ASPNET and NETWORK SERVICE to the security settings for this
>>>> directory
>>>> - Followed MSDN article #825791 and changed TMP and TEMP to C:\Temp
>>>> - Set the ASP.NET version to 1.1.4322 in IIS (version 5.1 incidentally)
>>>> - Did numerous reboots
>>>> - Reinstalled IIS
>>>> - Re-applied ASP.NET v1.1 (and SP1)
>>>> - Reinstalled ASP.NET v1.1 (and SP1)
>>>> - Reinstalled Visual Studio 2003 (and SP1)
>>>>
>>>> but still I get the CS0016 error.
>>>>
>>>> Can anyone help?
>>>> John Martin
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Data.dll Difference (Windows Server 2003 - Framework v1.1.4322 vs (Other Windows OS) - Framework v1.1.4322) Mythran Microsoft ADO .NET 1 12th Oct 2007 06:40 PM
Yet another CS0016 =?Utf-8?B?Y3ljbG9wdGlj?= Microsoft ASP .NET 0 22nd Feb 2005 10:39 PM
first web application and cs0016 Marc Pelletier Microsoft ASP .NET 6 4th Apr 2004 05:05 AM
Version 1.1.4322.0 vs 1.1.4322.573 AriOtt Microsoft Dot NET Framework 0 27th Aug 2003 10:42 PM
Upgrading Framework v1.1.4322.342 to v1.1.4322.573 Kurt Bonne Microsoft ASP .NET 1 8th Aug 2003 11:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:35 PM.