p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > .NET > Other .NET > .NET Web Services
I forgot my password Register Now
Register | FAQ | Members List | Calendar | 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[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
Refresh database fields in crystal report designed tanusree_ghosh Crystal Reports 0 February 2nd, 2005 10:15 AM
problem with crystal report web service id2359 BOOK: Professional Crystal Reports for VS.NET 0 October 28th, 2004 07: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 07:24 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc