473,468 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

compilation error

Compiler Error Message: CS1026: ) expected

Source Error:

Line 12: <body MS_POSITIONING="GridLayout">
Line 13: <form id="Form1" method="post" runat="server">
Line 14: <cr:CrystalReportViewer id=CrystalReportViewer3 style="Z-INDEX:
101; LEFT: 24px; POSITION: absolute; TOP: 40px" runat="server"
Height="1013px" Width="901px" ReportSource='<%# c:\inetpub\wwwroot\
WebApplication4\CrystalReport222.rpt %>'>
Line 15: </cr:CrystalReportViewer>
Line 16: </form>
Show Detailed Compiler Output:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc. exe"
/t:library /utf8output /R:"c:\windows\assembly\gac\
crystaldecisions.reportsource\9.2.3300.0__692fbea5 521e1304\
crystaldecisions.reportsource.dll" /R:"c:\windows\assembly\gac\
system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system .drawing.dll" /R:"c:\
windows\microsoft.net\framework\v1.1.4322\temporar y asp.net files\
webapplication4\d0419f65\1aa75407\assembly\dl2\ac1 1a9a6\eb9d214e_9547c501\
webapplication4.dll" /R:"c:\windows\assembly\gac\
crystaldecisions.crystalreports.engine\9.2.3300.0_ _692fbea5521e1304\
crystaldecisions.crystalreports.engine.dll" /R:"c:\windows\assembly\gac\
system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\sys tem.web.mobile.dll"
/R:"c:\windows\assembly\gac\crystaldecisions.web\
9.2.3300.0__692fbea5521e1304\crystaldecisions.web. dll" /R:"c:\windows\
assembly\gac\system.data\1.0.5000.0__b77a5c561934e 089\system.data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\
webapplication4\d0419f65\1aa75407\assembly\dl2\89f cd415\000f7c46_8026c201\
crystaldecisions.vsdesigner.dll" /R:"c:\windows\assembly\gac\
system.enterpriseservices\1.0.5000.0__b03f5f7f11d5 0a3a\
system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\
crystaldecisions.shared\9.2.3300.0__692fbea5521e13 04\
crystaldecisions.shared.dll" /R:"c:\windows\assembly\gac\
crystaldecisions.reportappserver.clientdoc\9.2.330 0.0__692fbea5521e1304\
crystaldecisions.reportappserver.clientdoc.dll" /R:"c:\windows\
microsoft.net\framework\v1.1.4322\temporary asp.net files\webapplication4\
d0419f65\1aa75407\lkeamqbe.dll" /R:"c:\windows\microsoft.net\framework\
v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.xml\
1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\
system.web.services\1.0.5000.0__b03f5f7f11d50a3a\s ystem.web.services.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a 5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__ b03f5f7f11d50a3a\
system.web.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\
Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\c_qxf7zx.d ll"
/D:DEBUG /debug+ /optimize- /win32res:"C:\WINDOWS\Microsoft.NET\Framework\
v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\
c_qxf7zx.res" /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\
v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\
c_qxf7zx.0.cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

http://localhost/WebApplication4/WebForm1.aspx(14,46): error CS1026: )
expected
http://localhost/WebApplication4/WebForm1.aspx(14,46): error CS1525:
Invalid expression term ':'
http://localhost/WebApplication4/WebForm1.aspx(14,47): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,47): error CS1525:
Invalid expression term ''
http://localhost/WebApplication4/WebForm1.aspx(14,48): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,55): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,55): error CS1525:
Invalid expression term ''
http://localhost/WebApplication4/WebForm1.aspx(14,56): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,63): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,63): error CS1525:
Invalid expression term ''
http://localhost/WebApplication4/WebForm1.aspx(14,64): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,79): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,79): error CS1525:
Invalid expression term ''
http://localhost/WebApplication4/WebForm1.aspx(14,80): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,100): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,100): error CS1525:
Invalid expression term ')'
http://localhost/WebApplication4/WebForm1.aspx(14,101): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,101): error CS1525:
Invalid expression term ')'
what's the problem?????
Nov 19 '05 #1
1 3612
Not 100%..but if you know the path that you are binding to (assuming
crystalreportviewer accepts a string as it's reportsource property), why
bother using <%# ?

just do

ReportSource="c:\inetpub\wwwroot\WebApplication4\C rystalReport222.rpt"

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Carlos Kim via DotNetMonster.com" <fo***@nospam.DotNetMonster.com> wrote in
message news:11******************************@DotNetMonste r.com...
Compiler Error Message: CS1026: ) expected

Source Error:

Line 12: <body MS_POSITIONING="GridLayout">
Line 13: <form id="Form1" method="post" runat="server">
Line 14: <cr:CrystalReportViewer id=CrystalReportViewer3 style="Z-INDEX:
101; LEFT: 24px; POSITION: absolute; TOP: 40px" runat="server"
Height="1013px" Width="901px" ReportSource='<%# c:\inetpub\wwwroot\
WebApplication4\CrystalReport222.rpt %>'>
Line 15: </cr:CrystalReportViewer>
Line 16: </form>
Show Detailed Compiler Output:
C:\WINDOWS\system32>
"c:\windows\microsoft.net\framework\v1.1.4322\csc. exe"
/t:library /utf8output /R:"c:\windows\assembly\gac\
crystaldecisions.reportsource\9.2.3300.0__692fbea5 521e1304\
crystaldecisions.reportsource.dll" /R:"c:\windows\assembly\gac\
system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system .drawing.dll" /R:"c:\
windows\microsoft.net\framework\v1.1.4322\temporar y asp.net files\
webapplication4\d0419f65\1aa75407\assembly\dl2\ac1 1a9a6\eb9d214e_9547c501\
webapplication4.dll" /R:"c:\windows\assembly\gac\
crystaldecisions.crystalreports.engine\9.2.3300.0_ _692fbea5521e1304\
crystaldecisions.crystalreports.engine.dll" /R:"c:\windows\assembly\gac\
system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\sys tem.web.mobile.dll"
/R:"c:\windows\assembly\gac\crystaldecisions.web\
9.2.3300.0__692fbea5521e1304\crystaldecisions.web. dll" /R:"c:\windows\
assembly\gac\system.data\1.0.5000.0__b77a5c561934e 089\system.data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net files\
webapplication4\d0419f65\1aa75407\assembly\dl2\89f cd415\000f7c46_8026c201\
crystaldecisions.vsdesigner.dll" /R:"c:\windows\assembly\gac\
system.enterpriseservices\1.0.5000.0__b03f5f7f11d5 0a3a\
system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\
crystaldecisions.shared\9.2.3300.0__692fbea5521e13 04\
crystaldecisions.shared.dll" /R:"c:\windows\assembly\gac\
crystaldecisions.reportappserver.clientdoc\9.2.330 0.0__692fbea5521e1304\
crystaldecisions.reportappserver.clientdoc.dll" /R:"c:\windows\
microsoft.net\framework\v1.1.4322\temporary asp.net files\webapplication4\
d0419f65\1aa75407\lkeamqbe.dll" /R:"c:\windows\microsoft.net\framework\
v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.xml\
1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\
system.web.services\1.0.5000.0__b03f5f7f11d50a3a\s ystem.web.services.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a 5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__ b03f5f7f11d50a3a\
system.web.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\
Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\c_qxf7zx.d ll"
/D:DEBUG /debug+ /optimize- /win32res:"C:\WINDOWS\Microsoft.NET\Framework\
v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\
c_qxf7zx.res" /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\
v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\
c_qxf7zx.0.cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

http://localhost/WebApplication4/WebForm1.aspx(14,46): error CS1026: )
expected
http://localhost/WebApplication4/WebForm1.aspx(14,46): error CS1525:
Invalid expression term ':'
http://localhost/WebApplication4/WebForm1.aspx(14,47): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,47): error CS1525:
Invalid expression term ''
http://localhost/WebApplication4/WebForm1.aspx(14,48): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,55): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,55): error CS1525:
Invalid expression term ''
http://localhost/WebApplication4/WebForm1.aspx(14,56): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,63): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,63): error CS1525:
Invalid expression term ''
http://localhost/WebApplication4/WebForm1.aspx(14,64): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,79): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,79): error CS1525:
Invalid expression term ''
http://localhost/WebApplication4/WebForm1.aspx(14,80): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,100): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,100): error CS1525:
Invalid expression term ')'
http://localhost/WebApplication4/WebForm1.aspx(14,101): error CS1002: ;
expected
http://localhost/WebApplication4/WebForm1.aspx(14,101): error CS1525:
Invalid expression term ')'
what's the problem?????

Nov 19 '05 #2

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

Similar topics

6
by: Joachim | last post by:
I made some project changes (which seems it doesn't help if I undo) which have created compilation error: " Server Error in '/PCSWebApp1' Application....
2
by: James Zhuo | last post by:
Hi all I've been getting the following compilation error. I should explain the background of the project that i am taking over. This is a project that has been developed by someone else a while...
0
by: James Zhuo | last post by:
hi all I changed the name of the class LoginPage to a different name "LoginPageOne" But the same error gets generated with the Wiliam.Request.LoginPageOne. That pretty much leaves me clueless...
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....
0
by: John | last post by:
Hi, I've just rolled out a new version of an ASP.NET application. It runs fine on development and training servers, but on production get the following error when trying to access a page: ...
2
by: VB Programmer | last post by:
I created a ASP.NET app locally and it works great. Uploaded it to my server and I get this error when trying to view a page. Any ideas? Server Error in '/earlyalert3' Application....
2
by: Kevin R. | last post by:
I have been ignoring this problem for a few weeks now, but it's becoming a bit annoying not to mention unproductive. Here it goes: I compile my project with no errors. Then after I debug/run it,...
6
by: Plat | last post by:
I've Googled this for a while, to no avail. Hopefully someone can help me. Maybe I'm using the wrong terminology. Here's the scoop! Let's say I've got a simple *.ASPX page that has a syntax...
0
by: Stimp | last post by:
I've created an aspx page called HistoryManage.aspx. The page works fine on my local machine but when I load it off the web I get the following strange error... Compilation Error...
1
by: BSand0764 | last post by:
I'm getting an error that I can't seem to resolve. When I compile the Functor related logic in a test program, the files compile and execute properly (see Listing #1). However, when I...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.