error CS0016 in DotNet 2 with IIS6 after trying out CLR Profiler

21/02/2008 - 09:14 von tbh | Report spam
i recently tried out the CLR Profiler on a Windows 2003 Server machine
running IIS6 and DotNet 2, SP1.

alas i never quite managed to get it to work in several attempts (but that's
another matter).

unfortunately at some point DotNet is broken under IIS on my machine (both
uses I need it for: a "web site" in the sense of DotNet 2 and a "web
application project" as reintroduced into DotNet 2).

all the clues i've been able to scrounge, including at MSDN, seem to refer
to DotNet 1 or 1.1 and prescribe cures involving permissions to the %TEMP%
and %TMP% folders. however, that does not help and does not appear to be the
problem for me. rather, the problem is with temporary compile directories
under, in my case,
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

specifically (one example, in case this helps)
Compilerfehlermeldung: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\d\48708ebb\b200491f\App_GlobalResources.rkazyogv.dll' -- 'The
directory name is invalid. '

i assume I need to give the anonymous Internet User and perhaps a DotNet
user full recursive permissions under "Temporary ASP.NET Files" and am
pursuing that, but haven't solved the problem yet.

I'd be grateful for any specific suggestions (and perhaps someone could
place a detailed how to somewhere prominently?).

cheers,

Tim Hanson
 

Lesen sie die antworten

#1 Michael Nemtsev [MVP]
21/02/2008 - 10:03 | Warnen spam
Hello tbh,

did u try to clear the temporary folder and restart iis?

btw, is it already precompiled site which u are trying to run, on u have
resources and able to rebuld all project?


WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


t> i recently tried out the CLR Profiler on a Windows 2003 Server
t> machine running IIS6 and DotNet 2, SP1.
t>
t> alas i never quite managed to get it to work in several attempts (but
t> that's another matter).
t>
t> unfortunately at some point DotNet is broken under IIS on my machine
t> (both uses I need it for: a "web site" in the sense of DotNet 2 and a
t> "web application project" as reintroduced into DotNet 2).
t>
t> all the clues i've been able to scrounge, including at MSDN, seem to
t> refer
t> to DotNet 1 or 1.1 and prescribe cures involving permissions to the
t> %TEMP%
t> and %TMP% folders. however, that does not help and does not appear to
t> be the
t> problem for me. rather, the problem is with temporary compile
t> directories
t> under, in my case,
t> c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
t> Files
t> specifically (one example, in case this helps) Compilerfehlermeldung:
t> CS0016: Could not write to output file
t> 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
t> Files\d\48708ebb\b200491f\App_GlobalResources.rkazyogv.dll' -- 'The
t> directory name is invalid. '
t>
t> i assume I need to give the anonymous Internet User and perhaps a
t> DotNet user full recursive permissions under "Temporary ASP.NET
t> Files" and am pursuing that, but haven't solved the problem yet.
t>
t> I'd be grateful for any specific suggestions (and perhaps someone
t> could place a detailed how to somewhere prominently?).
t>
t> cheers,
t>
t> Tim Hanson
t>

Ähnliche fragen