For Programmers: Free Programming Magazines  


Home > Archive > ASP > September 2004 > Crystal Report 8.5









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Crystal Report 8.5
Rana

2004-09-23, 8:56 pm

Hello,

I have been trying to call a crystal report from an ASP page.

I pass the stored procedure parameter in the Query string. Read that
in the Reports.asp page. Instatantiate the Crystal report and pass the
parameter. But nothing comes up. I get the following error:

-2147189176An Error has occured on the server in attempting to access
the data source

My code is based on the samples page that come with Crystal. I have
had it working earlier on a diiferent project. Can't figure out, why
it is not working on this one.

Any help is greatly appreciated.

Thanks,
Swati
Al

2004-09-25, 8:55 pm

First thing you have to do is make sure the crystal report .Dlls Runtime
have security right on server via IIS
and if you are using a DSN (Data Source) make sure is created on Server as
system not as file.

Good luck..!
www.netstair.com |Forum|Crystal Report

"Rana" <swatirana@hotmail.com> wrote in message
news:d9ceb2ab.0409231148.3db99904@posting.google.com...
> Hello,
>
> I have been trying to call a crystal report from an ASP page.
>
> I pass the stored procedure parameter in the Query string. Read that
> in the Reports.asp page. Instatantiate the Crystal report and pass the
> parameter. But nothing comes up. I get the following error:
>
> -2147189176An Error has occured on the server in attempting to access
> the data source
>
> My code is based on the samples page that come with Crystal. I have
> had it working earlier on a diiferent project. Can't figure out, why
> it is not working on this one.
>
> Any help is greatly appreciated.
>
> Thanks,
> Swati



Rana

2004-09-28, 8:55 pm

Thanks for the response Al.

I have a setup a System DSN for the report.

But I don't know how to set up the security rights on the Crystal
reports .DLLs Runtime. How do you do this and also what are all the
DLL's that we have to check the security settings for.

Thanks,
Swati
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com