473,581 Members | 2,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crstal Reports Problem

Hi all

I have developed a windows application (VB.net) that uses a web service
on a remote machine as a datasource. through numerous web service calls
it extracts data from a sql server and saves this data into a number of
xml files on the local machine, These xml files are then pulled into a
Crystal Report. the thing that i am having problems with is that when i
try to deploy the application it keeps asking me to provide login
details to the xml files and as far as i am aware the xml files dont
have any login details

Does anyone have any idea how i can get round this so my customer can
start printing reports

any help would be most appreciated

Thanks in advance

Nov 20 '05 #1
6 1203
I was just reading a crystal hotfix list today and almost swear something
like that was involved.

Alright other things to check, your xml files, what are they set to in the
report? Crystal is a bit of a pain when it comes to setting datasources,
especially Crystal.NET

Are you using Crystal.NET or Crystal 8 or 9?

Also, did you run the proper setup project for Crystal (i.e., did you deploy
it correctly?)

-CJ

"Bruce Wiebe" <Br***@wolfnetw ork.net> wrote in message
news:bu******** **@sparta.btint ernet.com...
Hi all

I have developed a windows application (VB.net) that uses a web service
on a remote machine as a datasource. through numerous web service calls
it extracts data from a sql server and saves this data into a number of
xml files on the local machine, These xml files are then pulled into a
Crystal Report. the thing that i am having problems with is that when i
try to deploy the application it keeps asking me to provide login
details to the xml files and as far as i am aware the xml files dont
have any login details

Does anyone have any idea how i can get round this so my customer can
start printing reports

any help would be most appreciated

Thanks in advance

Nov 20 '05 #2
Thanks for the reply

Im presuming its crystal.net its the one that comes with visual studio
2003

As far as im aware the reports have been deployed properly correct merge
modules and keys etc

The XML files are added to the report my using add database and then
ADO.NET(xml) under more data sources

They work fine at design time

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3
Hey Bruce,

Arlight, lets go with this. So you are using Crystal.NET, ok, now your XML
data sources, are they the same on every machine?

Otherwise you have to change it progamtically, which may mean that it
couldn't find the XML datasource which is why it was asking you to log in.
The XML itself wasn't asking you to log in, but the OLEDB driver was. Who
knows why. I'm assuming it oculdn't find it.

-CJ
"Bruce Wiebe" <br***@wolfnetw ork.net> wrote in message
news:up******** *****@TK2MSFTNG P12.phx.gbl...
Thanks for the reply

Im presuming its crystal.net its the one that comes with visual studio
2003

As far as im aware the reports have been deployed properly correct merge
modules and keys etc

The XML files are added to the report my using add database and then
ADO.NET(xml) under more data sources

They work fine at design time

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #4
Hey cj

Once again thanks for the reply

The thing thats getting me is that all the xml files are there in the
same directory as the report and they crystal system does not even
connect to the original datasource as it is physically miles away. it is
connected to by a web service and the i call the writexml method of the
dataset to create the xml file.

So yes the XML files are the same on every machine well they contain the
same format however the data in each one will change as the reports are
designed to print invoices

Thanks again for your help in this ive been pulling my hair out for days


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #5
Hey Bruce,

Alright, working through this. Now I'm trying to understand who is writing
the XML file, the Web Service? or the client consuming the web service?

Reason being that doesn't the client application have a choice on where its
installed? Or are you hardcoding a value of where this XML file is written
to?

-cJ
"Bruce Wiebe" <br***@wolfnetw ork.net> wrote in message
news:Or******** *****@tk2msftng p13.phx.gbl...
Hey cj

Once again thanks for the reply

The thing thats getting me is that all the xml files are there in the
same directory as the report and they crystal system does not even
connect to the original datasource as it is physically miles away. it is
connected to by a web service and the i call the writexml method of the
dataset to create the xml file.

So yes the XML files are the same on every machine well they contain the
same format however the data in each one will change as the reports are
designed to print invoices

Thanks again for your help in this ive been pulling my hair out for days


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #6
Hi CJ

The process of getting the xml files goes like this

1. The Web service running on the remote machine retrieves the data from
the remote database and returns a dataset to the program. i then copy
this to a local dataset and use the writexml method of the localdataset
to write the xml file to the local hard disk, this is all done without
any interaction with crystal at all.

2. The Crystal report is then loaded and is supposed to use these
written xml files as the source for the report

This problem only seems to occur when i am am accessing reports with
multiple xml files as source files for the crystal data as i have other
reports in the same application that only use one xml file and they run
fine

Thanks again for your help im slowly going mad over this one

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3448
by: Mithun Verma | last post by:
Hello All, I have a Windows application that uses Crystal Reports 9 (bundled Version) developed using VS.NET 2003 on a windows server 2003 m/c. The application has to be deployed on the client machine that has Windows XP installed. Before deploying we make sure that .NET framework 1.1 is installed on the XP machine. In the setup project, for...
3
6902
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
7
8841
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I want my users to be able to select a report, click on a command button on a form, which will then automatically create the report as a pdf file and...
5
4017
by: Jerry Hull | last post by:
I'm working with a database developed by an untrained person over several years - and on a network that has recently been upgraded with a new server installed and MS office upgraded from 2K (I think - it might have been XP) to 2003. The database is impressive, both in what it does and the obtuse and inconsistent ways it works. There are...
11
6577
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on where the job is running, the job runs sucessfully, PDF files got generated, everything is good. If I scheduled the job to run at the time that I am...
17
8428
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're using crystal reports 9 and vb.net and we're using the crystalrepotViewer to show our reports. But every time we open a report the connection to or...
0
886
by: kalpanasuresh | last post by:
Hi, I am getting Logon error while using Crstal Reports in ASP.net.pls help Thanks in advance
6
4135
by: Josetta | last post by:
Access 2003 I've been experiencing some problems with my "monster" database the last couple of days. I imported all objects into a new database yesterday, which pretty much stopped the crashing problems, but here's something weird: Whenever I copy an object (reports so far), I am able to open it and make changes, but when I try to save it...
3
2463
by: k2storm | last post by:
I'm having problems with Reports and I'm seeking some help, or advice on how to solve this problem. Any help will be much appriciated! It’s hard to explain but I will try to do my best: In my Database I have about 6 to 7 reports that show me all the data from different tables. When I open any Report in 'Print Preview' Mode everything looks...
0
7808
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8312
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7914
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8181
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6564
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1410
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.