Access to Crystal Report As Web Service - Logon Failed

Posted on 2005-02-25
Medium Priority
Last Modified: 2008-02-01
I have 2 test PC's setup in the office. Both have MS DevStudio 2003, Crystal 10 (for .Net) installed.

On one PC I developed VB.Net WebService project, exposing a single report as a WebService.  It takes no params & queries a local SQL Server 2000 DB.

On the other PC I created a consumer (client)  VB.Net WebApp.  In the VS IDE on the client PC, I have a report viewer which has the databindings set to "http://<Server IP>/WebRep/ReportService.asmx"

In the VS IDE of the client PC,  I can actually see the generated report in the viewer (compile time).  However, when I run the app, I receive the message "Database Logon Failed."  So I tried:

1)  On the server, I gave ASPNET & IUSR ownership rights to the SQL Server database.  This is intranet only, I wouldn't actually leave it this way :-)
2)  In machine.config I changed username from 'machine' to 'Admin equivalent' with matching password.  
3) Gave 'Admin equivalent' Windows account ownership/Admin rights to database.  
4) Restarted IIS.

None of these helped.  Do I need to set logon info for the ReportViewer?  Is there another step I'm missing?  


Question by:billg_sd
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 101

Accepted Solution

mlmcc earned 1000 total points
ID: 13405714
LVL 101

Expert Comment

ID: 13408475
Glad i could help


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question