Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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 26th, 2007, 03:09 AM
Authorized User
 
Join Date: Dec 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to akhilvira
Default ReportDocument.ExportToDisk error More options

Hi,

I have lot many report documents in rpt format.
I have developed a application that reads the rpt files, convert it
into PDF format and exports the PDF file onto network folder.


The process works fine for few thousand rpt files but later it starts
failing with follwing error


"System.IO.IOException: The system detected a possible attempt to
compromise security. Please ensure that you can contact the server
that authenticated you.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String
msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at CrystalDecisions.CrystalReports.Engine.FormatEngin e.W(Stream ,
String )
   at
CrystalDecisions.CrystalReports.Engine.FormatEngin e.Export(ExportRequestCon­text
reqContext)
   at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.ExportToDisk(ExportFo­rmatType
formatType, String fileName)"


Please note that final destination filepath is not on local drive. It
is a UNC file path (e.g \\serverName\FolderName\filename.pdf)


I tried searching on google for this error. But the unable to find
good solution.


Also note that when I re-trigger the application it again works fine
for few thousand files and then again fail.
Please suggest a soluion


thanks in advance





Similar Threads
Thread Thread Starter Forum Replies Last Post
error at reportDocument.Load akhilvira Crystal Reports 0 April 10th, 2007 12:00 AM
Not a ReportDocument derived class chokk Crystal Reports 0 May 10th, 2006 08:21 AM
.net pass reportDocument PCCHAN BOOK: Professional Crystal Reports for VS.NET 1 August 10th, 2005 07:05 PM
Not a ReportDocument derived class error AnotherUser BOOK: Professional Crystal Reports for VS.NET 0 March 9th, 2004 01:41 PM
ReportDocument problems tobin0971 Crystal Reports 1 June 5th, 2003 05:52 PM





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