Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 24th, 2007, 10:38 AM
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default [Resolved] Crystal Report Web Service Not Refresh

I have created a crystal report web service which works fine. However if I change a record in the database then reopen the report it still shows the old data. The only way I can get it to show the new value is to re-start IIS on the host server.

I am using VB.Net and Visual Studio 2005 and the built in crystal report program to create my reports.

I use the report viewer in the client program and set its data source to the new instance of my crystal report webservice.

Code:
               Dim Rep As New VHCAnalysisWebRef.rptVHCAnalysisService
               
               If UseProxy Then
                   Rep.Proxy = VHCProxy
               End If

               ReportViewer.ReportSource = Rep
Please help

Thanks:D
Reply With Quote
  #2 (permalink)  
Old February 24th, 2007, 11:22 AM
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Solution - add this to the asmx file on the webserver

CachedReportConstants.DEFAULT_TIMEOUT = New TimeSpan(0, 0, 2)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh database fields in crystal report designed tanusree_ghosh Crystal Reports 1 September 12th, 2011 12:08 PM
[Resolved] Web Service CR Refresh problem windsurfkid Crystal Reports 1 February 24th, 2007 11:29 AM
problem with crystal report web service id2359 BOOK: Professional Crystal Reports for VS.NET 2 January 15th, 2006 09:19 PM
problem with crystal report web service id2359 BOOK: Professional Crystal Reports for VS.NET 0 October 28th, 2004 06:56 AM
Crystal Report dynamic Refresh with new parameters sumansaumya Crystal Reports 0 March 19th, 2004 01:45 AM



All times are GMT -4. The time now is 08:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.