473,396 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Exception after installing WIN XP SP3 (Crystal Reports 9)

1. Win XP SP3
2. Crystal Reports runtime CR9Runtime\cr9netredist.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 3135
gpraghuram
1,275 Expert 1GB
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
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...
2
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...
5
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 &...
0
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...
1
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...
3
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...
1
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...
6
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...
4
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:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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,...
0
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...
0
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...
0
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...
0
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,...

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.