Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unrecognized escape sequence in Crystal Report viewer
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00693886
Message ID:
00693893
Views:
20
Evan,

Try placing an "@" sign in front of your report path in line 15 like the following:
@"C:\Program Files\Microsoft Visual Studio .NET\Crystal Reports\Samples\Reports\General Business\World Sales Report.rpt"
>I get the following when viewing a page with the crystal report viewer on it. The preview works find with the VS.NET built-in browser, but throws this error with Netscape or IE is used.
>
>
>
>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 13: 		<form id="reportstaff" method="post" runat="server">
>Line 14: 			<asp:Label id="lblMessage" runat="server"></asp:Label>
>Line 15: 			<cr:CrystalReportViewer id=crvMain runat="server" Width="966px" Height="977px" ReportSource='< % ERROR: # "C:\Program Files\Microsoft Visual Studio .NET\Crystal Reports\Samples\Reports\General Business\World Sales Report.rpt"  % >' SelectionFormula="{Customer.Last Year's Sales}>0">
>Line 16: 			</cr:CrystalReportViewer>
>Line 17: 		</form>
>
>
>Source File: c:\inetpub\wwwroot\inout\reportstaff.aspx    Line: 15
>
>
>
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform