Strange Error Message In CMS 5
I was deploying a new CMS 5 R1 (SP?) site today, to a server without EPiServer Manager, brand new .NET Framework 3.5 installation and generally nothing set up as it should.
Having copied, configured, tuned and tweaked security and settings the way I thought was correct, I just could not get the site to run.
Whatever I did, this is what it gave me:
Server Error in '/' Application.
Compilation Error
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.
Compiler Error Message: CS1519: Invalid token ',' in class, struct, or interface member declaration
Source Error:
| |
[No relevant source lines]
|
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\affeb6f4\cc9c17af\App_Code.-teusbyx.0.cs Line: 118
Not the most helpful error message around. And of course - it works locally.
Cleaning out the temporary asp.net files did not help, nothing helped, until I peeked inside the bin directory.
I had extracted the runtime files using a script, and that script was running in “lean and mean” mode, which I use when I need to do a new deployment over an existing site. Which means, the script deleted all episerver*.dll files.
Bummer!
Adding those assemblies helped a lot! :-)
13 October 2008