Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
Thread Tools Display Modes
  #1 (permalink)  
Old February 26th, 2007, 02:09 AM
Authorized User
Join Date: Dec 2004
Location: mumbai, maharastra, India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to akhilvira
Default ReportDocument.ExportToDisk error More options


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 )
CrystalDecisions.CrystalReports.Engine.FormatEngin e.Export(ExportRequestCon­text
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
Reply With Quote

Thread Tools
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
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 12:41 PM
ReportDocument problems tobin0971 Crystal Reports 1 June 5th, 2003 05:52 PM

All times are GMT -4. The time now is 04:46 AM.

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