Admin: Unrecognized escape sequence

Topics: Troubleshooting
Feb 6, 2012 at 2:10 PM

I set up an Orchard instance for a site a few weeks ago and didn't do much other than just install it.

I went back last night to start publishing some content, tweak some settings, etc. and discover that many of the admin pages: Create New Post, General Settings, etc. all throw an error "Unrecognized escape sequence". Here's the full error. Any ideas what's wrong?


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: CS1009: Unrecognized escape sequence

Source Error:

Line 43:         
Line 44:         public override void Execute() {
Line 45: WriteLiteral("\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" +
Line 46: "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" +
Line 47: "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" +

Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\fa69e217\833193e1\App_Web_index.cshtml.75816b95.nm6c66ow.0.cs    Line: 45 

Show Detailed Compiler Output:

Show Complete Compilation Source:

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Feb 6, 2012 at 5:21 PM

This code does not come from Orchard itself. It must come from a custom module that you added somehow.