Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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
 
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)




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





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