Re: Problem with CRVIEWER



I can open the database because to login into the application I need to
verify the user in the database and when I select the report option I bring
the results in a datagrid first. The problem is when I click on a bottom to
load the report, here comes this error and if I do a trace to see in what
line the report is failing, I never get an error, if ends the load procedure
on the screen where I have the crviewer, but it doesn't show the report only
the error.

Thanks

"Phil G." <Phil@xxxxxxxxxx> wrote in message
news:de2uvp$il8$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi JJ,
>
> Are you logging on to an sql database? Is the db on your machine, within a
> LAN or WAN? Have you included code for each table passing it your
> connectionInfo details, ie. .UserID & .Password?
>
> There could be a few reasons why you are successful with one db and not
> another (db permissions etc).
>
> Rgds,
>
> Phil
>
> "Jennyfer J Barco" <pdwhitt@xxxxxxxxxxxxxxxxx> wrote in message
> news:%23ArL$hDpFHA.4056@xxxxxxxxxxxxxxxxxxxxxxx
> > Hello:
> >
> > I have a .net 2003 Web application , which is causing me the following
> > error when I load a report in Crystal (through the CRVIEWER control)
from
> > one project.
> > Logon failed.
> > Description: An unhandled exception occurred during the execution of the
> > current web request. Please review the stack trace for more information
> > about the error and where it originated in the code.
> >
> > Exception Details:
CrystalDecisions.CrystalReports.Engine.LogOnException:
> > Logon failed.
> >
> > Source Error:
> >
> > An unhandled exception was generated during the execution of the
> > current web request. Information regarding the origin and location of
the
> > exception can be identified using the exception stack trace below.
> >
> >
> >
> >
> > The strange thing is that I have another project and I'm able to load
the
> > report in Crystal (through the CRVIEWER control) . I looked at the
> > properties on both projects and the references and they are the same. I
> > don't know if some security is causing this.
> >
> > --
> > Jennyferd J. Barco
> > Programming Manager
> > Wireless Data Systems, Inc.
> > 20423 State Road 7, F6 #6182
> > Boca Raton, FL 33498
> > (561) 488-5540 office
> > (561) 271-3925 mobile
> > (561) 451-9072 fax
> > jbarco@xxxxxxxxxx
> > www.wdsinc.com
> >
> >
>
>


.



Relevant Pages

  • Re: Faster loading
    ... I would agree that CR directly querying the database ... is (PULL method) is probably quicker than loading a dataset and binding to ... I've heard that a report linked to a database ... > will load faster than linking it to a dataset. ...
    (microsoft.public.vb.crystal)
  • XLANGPart.LoadFrom(stream) failing - UnauthorizedAccessException
    ... My component then generates a PDF stream using Crystal Reports, ... attempts to load the XLANGMessage's 1st data part with the stream generated ... ReportDocument report = new ReportDocument; ... Exception thrown from: segment 1, ...
    (microsoft.public.biztalk.general)
  • Re: image at runtime
    ... in a database is heavy and not very convenient in the case of several users. ... Then when the report runs loop through the datatable ... > and load each image into the DataTable's memory. ... > sample code in my book, but its way too much to type in here (it takes ...
    (microsoft.public.vb.crystal)
  • Re: DB Location for Crystal Report Template
    ... of path and report name. ... I then will load this when I load the ... > I'm creating a .Net app that uses Crystal Templates for output. ... > has a settings file indicating the location of its database. ...
    (microsoft.public.vb.crystal)
  • Using notes/memo field in a Crystal Report
    ... with the exception of any report which includes data stored in a ... note/memo data type. ... I can't upgrade the database to a newer version of Pervasive; ...
    (comp.databases.btrieve)