Print Page | Close Window

Issue with XML datasource connection

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=2343
Printed Date: 17 Apr 2025 at 2:36pm


Topic: Issue with XML datasource connection
Posted By: ranton
Subject: Issue with XML datasource connection
Date Posted: 15 Feb 2008 at 8:34am
Hello,

I've got a program developed in VS using C#.  The report in question uses an XML file generated by the program from a datagridview's datasource.  The xml file is initially created when the program is being ran, not before, since the data in it is created by the contents of the datagridview. 

My problem is, this all works fine when being ran on my development system.  When the program is ran on another pc, the xml file that the report needs is created within the same folder location on the local harddrive, but the report tries to access a temp file that crystal created, and it throws an error saying it cannot open the report because it's log on parameters are invalid.

Error:
System.Runtime.InterorServices.COMExeption(0x8004100F): Logon failed.
Error in File (path to local temp folder and file). 
Unable to Connect: incorrect log on parameters.







Print Page | Close Window