473,569 Members | 2,704 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exception after installing WIN XP SP3 (Crystal Reports 9)

1 New Member
1. Win XP SP3
2. Crystal Reports runtime CR9Runtime\cr9n etredist.msi
3. MS VS 6.0 (Visual C++)

After installing SP3 I get exception in source, row:

Expand|Select|Wrap|Line Numbers
  1. hr = m_Report->Database->SetDataSource(varx);
what is the problem? Can you help me?

full source code:
Expand|Select|Wrap|Line Numbers
  1.     hr = m_Report->Database->Verify();   
  2.     ASSERT(SUCCEEDED(hr));    
  3.  
  4.     if (!m_SortString.IsEmpty())
  5.         m_RS->Sort = _bstr_t(m_SortString);
  6.  
  7.     VARIANT varx;
  8.     VariantInit(&varx); 
  9.     varx.vt = VT_DISPATCH;
  10.     varx.pdispVal = (IDispatch*)m_RS;
  11.  
  12.     hr = m_Report->Database->SetDataSource(varx); // <---------------
  13.  
  14.     if (!SUCCEEDED(hr))
  15.     {
  16.         strErrCode = strMethodeName + " - Unable set datasource\n, conntact admin";
  17.         m_transaction.Abort();
  18.         return strErrCode;
  19.     }
  20.  
Aug 5 '08 #1
1 3143
gpraghuram
1,275 Recognized Expert Top Contributor
Did u search in net whether Crystal reports has any issue with SP3?

Raghu
Aug 5 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3053
by: Christopher D. Wiederspan | last post by:
I've got a WebServices application that uses Crystal Reports to produce and then export Invoices to PDF format. Without getting into too many details, it's just a big loop statement that goes out to SQL using a SqlDataAdapter, brings back a dataset which is pushed into the Crystal Report, and the report is exported - nothing fancy. ...
2
2600
by: OzSoft | last post by:
I am receiving the following exception randomly when printing crystal reports via a print server application. The server will successfully print a random number of an identical reports (report.rpt) and then for some reason, the following exception is logged. System.InvalidOperationException: Stack empty. at System.Collections.Stack.Pop()...
5
770
by: Skylar Challand | last post by:
I am getting the following message on a Windows XP computer when trying to run a VB program. The same program is installed on 8 different computers without any issues. .NET Framework is installed & app was installed using the installer that comes with Visual Studio .NET. The application uses an ODBC connection to an access database, which...
0
350
by: Ram | last post by:
Hey, I have a Windows Application that uses Crystal Reports. My deployment project uses the Crystal Reports installer. The problem is that Crystal Reports cancells the install if the client's machine doesnt have IIS installed! Is there a way to force Crystal Reports install event if IIS is not installed? Thanks ahead --sternr
1
2300
by: Tim_Mac | last post by:
hi, i am encountering a sporadic exception using crystal reports that is causing me grief, I can't 'handle' it... my code is loading a typed report, and loading a DataSet to it. unfortunately crystal reports customer support is very poor and their 'case management' tool refuses to function. i'm posting here in the hope that someone may...
3
1785
by: Deepthi | last post by:
Hai.. I have done a project which comprises of Crystal reports with C#.Net and XML files. I have deployed that project and its running fine in my system and when its installed in the clients system, its showing an error saying " This Setup requires the Microsoft Visual J#.Net Redistributable Package version 1.1.4322.". As their is no...
1
2302
by: appandairajc | last post by:
Hi Friends, I have a problem in Crystal Reports. I have a web application and it was published in machine. I am running that application through a virtual path. All the pages are working fine, but some pages which contains CrystalReportViewer are not working and i got an Exception which is given below. "An error has...
6
4881
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my other pc, and running it I get an error. The Dataset loads properly, but when the button is pushed to view the report I get this error: ...
4
3291
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website: https://www.sdn.sap.com/irj/sdn/businessobjects-downloads ..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows English 12.03.2008...
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
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
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7970
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...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
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
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2113
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
1213
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.