Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An exception occurred: 'session(...).Export'

Status
Not open for further replies.

Linkan

Programmer
Feb 7, 2001
44
0
0
SE
Hi,

I have a web application that has been moved to a new server. The only difference is that is now running on a win 2003 server. I have ms sql 2000 and I am running crystal rep. dev. 8.5.
I am generating a pdf file that I am saving on disk but I am also pulling it up to view from the web application.

This is what happens.
-------------
Microsoft VBScript runtime error '800a01fb'

An exception occurred: 'session(...).Export'

/dev/intranet/rapporter/rpt_Varudeklaration.asp, line 390
-----------------------------

Line 390 is below:
-----------------------------
386: Set session("ExportOptions") = Session("oRpt").ExportOptions
387: session("ExportOptions").DiskFileName = "E:\INETPUB\info.bilformedlingen.com\dev\intranet\dokument\" & filename & ".pdf"
388: session("ExportOptions").FormatType = 31
389: session("ExportOptions").DestinationType = 1
390: Session("oRpt").Export False

Thanks,
Linkan
 
Does the application have permisions to write the file to the specified folder? I don't understand "False" on line 390.


Regards
Chuck LaRue
ADRS Computer Services
 
That is is for the following.

' Do not prompt when exporting

Yes there should not be any problems writing to disk, it has been checked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top