473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

HELP!! CS0016 Compilation Error on Windows 2003

Hi all,
I have the following problem with ASP.NET running on Windows 2003. My
configuration is:

1) Windows 2003 Server Standard
2) ASP.NET running in IIS5 Isolation mode (aspnet_wp.exe is alive and
kicking)
3) .NET Framework v1.1.4322 (updated by Windows update)
4) My application running on d:\myapp directory (not c:\Inetpub)

I compile with Visual Studio, deploy the application (xcopy) so there
is an update of global.asax
Obviously an Application_Start event is fired (that's correct, and I
want it that way!), but "after some time" I get the terrible CS0016
error (the usual directory
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET
Files\root\4a2d48d3\bcaf750b\...").

I can't define that "after some time", because I don't know exactly
which page is gonna raise the problem (I have developed lot of them),
sorry. The only thing that I know is that at least one page is gonna
drive me nuts!

I have been reading LOT of newsgroups and website about this error,
including many docs from Microsoft (the TEMP directory howto too!),
but my error still exists!

One setting was missing though, the ASPNET user was not in the list of
users of the %systemroot%\TEMP directory. So I right-clicked on that
directory and added in the security tab the ASPNET user to the list,
full control (I don't care right now, it must work, later I can reduce
security permissions). May that be the problem? If yes, why do I have
to add ASPNET specifically? Doesn't he belongs to the Users group
already? Would it make any difference is I add it to the
Administrators group?

Right now, to fix my problem quickly, I stop IIS, I delete all subdirs
in the C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root folder and I restart my server. Please notice that if I
didn't restart the server, it wouldn't work anyway! I tried to delete
all subdirs in the root folder and simply restart IIS, but the error
would popup again.

Is there a COMPLETE guide or a complete SET of docs/howto about the
ASP.NET working processes (iis6 and iis5 isolation mode) for Windows
2003 ONLY and how they use the temp directory?

Of course under Windows 2000 Server I had no problems at all.

Thanks a lot guys!
Mr.Andrea Billi
(Red Eagle on radio Citizen Band)
Nov 19 '05 #1
1 1951
Hi All!
Hi posted a message but didn't get any answers yet about a pretty bad
CS0016 Compilation Error behaviour. I set the setting that I describe
below (as a quote) but it didn't change anything. I still have and
report the error here in this magic newsgroup.

Now a second question popups in my mind. I have the Symantec Norton
Corporate antivirus installed on Windows 2003 (only the client
version, the server part is on another server). Does the antivirus
bother IIS 6? Does anyone have had bad experience with that antivirus?
I tried Nod32 first but it totally blocked my machine after the first
access of the ASPX page.

Nod32 guys told me they are investigating the problem, so I tried
norton and it seemed to work, but now, before uninstalling and/or
disabling it I would like your opinion!

Thanks a lot!
Red Eagle
...One setting was missing though, the ASPNET user was not in the list of
users of the %systemroot%\TEMP directory. So I right-clicked on that
directory and added in the security tab the ASPNET user to the list,
full control (I don't care right now, it must work, later I can reduce
security permissions). May that be the problem? If yes, why do I have
to add ASPNET specifically? Doesn't he belongs to the Users group
already? Would it make any difference is I add it to the
Administrators group?....

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: sean | last post by:
HI There, I am recieving a weird error when I try to run asp scripts on my local machine, I can use pages that access a database, but when I try to write to the file system ie upload a file I...
4
by: cpptutor2000 | last post by:
I am trying to create a simple linked list. The source code is provided below. I receive the following error message: (Please see after source code). I have marked the lines where the error occurs...
2
by: David | last post by:
I was experimenting with generating a Word file using ASP.NET, and lauching the web app did not cause any problems. Then out of the blue, this is happening to every asp.net app that I attempt to...
0
by: Jie | last post by:
Does anyone know why I keep having the following error. I have to rebuild the solution every time I run it in design mode. thanks jie Server Error in '/ReapPortal' Application....
1
by: Douglas | last post by:
Hi, Can anyone help with the following error message I get returned to my browser when I try to run my asp.net app, please? It's written in c# and used to run ok until quite recently. I've checked...
10
by: RedEagle | last post by:
Hi All! Do you remember me? I am that desperate who had this error for a while: --- Compilation Error Description: An error occurred during the compilation of a resource required to service...
3
by: Alistair Lacy | last post by:
Hi I've enable impersonation on my ASP.NET site via the web.config file. When I access the web site using my credentials all works fine. However, when I set the userName and password attribute...
0
by: Rod | last post by:
Hi, I'm getting this error when trying to access my newly installed WSUS site: Server Error in '/WSUSAdmin' Application. Compilation Error Description: An error occurred during the...
1
by: =?Utf-8?B?U2FpIFZhamph?= | last post by:
Hi I am working on a website in asp.net 2.0 with 2.0 framework and would like to deploy this to a windows 2003 64bit server and want it to run under 64bit framework., Is this really possible?...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.