logon failed on asp.net and crystal report

  • Thread starter Thread starter Reny J Joseph Thuthikattu
  • Start date Start date
R

Reny J Joseph Thuthikattu

Hi,
I have made a asp.net application which is having a asp.net page showing
crystal report.net on it(using crystal report viewer), and MS Access as back
end.But when i try to view in a browser it is showing logon failed.

I donn't have any password set in my mdb file.

Regards


Reny
 
Very likely, aspnet local windows account (network service on windows 2003)
has no NTFS privileges on mdb file and its folder.
 
That is right .. that is probably what the problem is.

I want to add that Crystal has the bad habit of storing your username
password in the .rpt file itself. A much better way would be to create the
rpt, and then use a strongly typed dataset xsd to generate the fields, and
then bind it with a dataset - that way you don't run into these issues.

Again personal opinion - I feel .rpt based crystal in this way isn't very
well suited to web purposes (unless you spend lotsa $). Check out
datadynamics activereports for instance - cheaper and arguably has some
downsides but still a good (and cheap) product suited for web.

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik
http://blogs.apress.com/authors.php?author=Sahil Malik





Miha Markic said:
Very likely, aspnet local windows account (network service on windows 2003)
has no NTFS privileges on mdb file and its folder.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
SLODUG - Slovene Developer Users Group
www.rthand.com

Reny J Joseph Thuthikattu said:
Hi,
I have made a asp.net application which is having a asp.net page showing
crystal report.net on it(using crystal report viewer), and MS Access as
back
end.But when i try to view in a browser it is showing logon failed.

I donn't have any password set in my mdb file.

Regards


Reny
 
Back
Top