473,763 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CS1026 Err and Logon failed with CrystalReports

Rey
Howdy all.

Using VS.Net 2003 on an XP Pro SP2 box, I'm geting an err:
CS1026: ) expected

Project is just a simple report w/data from an access mdb to see how it
works on a web form using C#. Crystalreports viewer works in a winform
but so far - for me - not in a web form...

In design, the data can be previewed but get err when attempting to
display. The report source was set via the properties page, custom
binding. Have read through several post on same err and have not found
a suggestion/comment that fixes problem...,i.e. putting reportsource on
1 line, removing the # directive; just assigning the reportsource as a
string ReportSource =
"C:\\Inetpub\\w wwroot\\CRTest_ WebForm\\Crysta lReport1.rpt";
Nothing works!

Have even looked at the Crystal Reports sample files for clues on how
to make it work...
Modified form so that the page_load meth had the reportsource
assignment and also did databinding here. In the CR sample, they used
the Page_Init to assign the reportsource.

Now, I have no CS1026 err but get a Logon failed msg. What gives as
this is frustrating 8-(

Apreciate any and all suggestions.

Thank you,
Rey

*************** *********

HTML code:
<form id="Form1" method="post" runat="server">
<CR:CRYSTALREPO RTVIEWER id="CrystalRepo rtViewer1" runat="server"
ReportSource='< %#C:\Inetpub\ww wroot\CRTest_We bForm\CrystalRe port1.rpt%>'>
</CR:CRYSTALREPOR TVIEWER>
</form>

Nov 19 '05 #1
0 989

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

Similar topics

0
5104
by: Ambika Srinivasan | last post by:
Hi, I am getting the following error running a crystal report with VB.NET Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. Source Error:
2
2235
by: Gidrazas | last post by:
Hi all. I want to get data from Sybase ASA9 to report named Subjektai.rpt in web form. I made ODBC connection to DB and it looks OK. But whe i run project i get an error like this. Logon failed. Description: An unhandled exception occurred during the execution of the
4
1903
by: Rey | last post by:
Howdy all. Using VSNet 2003 on an XP Pro SP2 boox. Trying to use Crystal Reports to access an mdb file with access security/workspace. Simple report of customers but after spending mucho time researching - but still not knowing why/what caused it -a load report failed err, read some articles and this problem was resolved. Now I have a logon failed err. Code below was modified for C# from article in dotnetjunkies "Creating Reports...
2
2553
by: GFro | last post by:
I am getting the following error since we upgraded from .NET Framework 1.0 to 1.1. The reports all ran fine yesterday. I get this error in all apps with reports. The apps run fine but the reports give me the login error. Any ideas?
6
1675
by: Alixx Skevington | last post by:
OK why does the following code work in a Windows form with a crystal report viewer but not in a webform. I get the usual CrystalReports.EngineLogONException logon Failed when this is called in aspx. Any help will be very much apprecaited Alixx This is the code in the calling aspx Page
3
15038
by: Milan Todorovic | last post by:
Hello, I need help. I have experience in ASP.NET programming, but this is my first dealing with Crystal Reports. I'm trying to make the most basic report purely for testing purposes: connect to the remote SQL DB and create a report on one of the tables. Every time I do it, I get the Logon Failed error (CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed) The internet search shows that this is a common problem,...
9
6877
by: mollyf | last post by:
I have tried various suggestions that I have found searching the newsgroups and still haven't been able to figure why I keep getting the logon failed error. I created a report in Crystal (not via VS 2003). The data source to the report is a stored procedure (SQL S2K) that has no parameters. I'm also using SQL Server authentication to log in. I added the report to my project (as was suggested recently by someone in a different...
0
1031
by: Ben | last post by:
Hi We have been developing an intranet using VB .NET displaying crystal reports. We repeatedly receive the error below on both the development machine and the deployment server: I have read the information on many sites and followed instructions with no luck, any help would be much appreciated.
0
1646
by: bonita | last post by:
I come across the error "CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed." After I move my asp.net code from the development platform (XP professional) to the production web server (windows 2003 server) by generating the msi file from the setup and deployment project and adding the merge modules. The msi file is installed to the windows 2003 server. The installation unzips all the files to the windows 2003 server....
0
9563
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10145
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9998
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9822
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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 we have to send another system
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.