Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 25-09-2009
Member
 
Join Date: Aug 2008
Posts: 129
Invalid printer specified on crystal report

My enviroment is windows server 2003 64 bit but running on 32 bit service, vb 2008 and crystal report 2008. When I'm sending a Crystal report and when the program executes the command oRpt.PrintOptions.PrinterName = Trim(Me.selected_printer)

the error that comes is Error in File
C:\WINNT\TEMP\temp_ae2a77a0-78d3-4507-87c8-dcac38457c46.rpt: Invalid printer specified.
Reply With Quote
  #2  
Old 25-09-2009
Member
 
Join Date: Nov 2008
Posts: 77
Re: Invalid printer specified on crystal report

It's about permission.HP LaserJet 5Si on cea 06 is a network printer,You can not access network resourece with local account. Please give some answers to the following questions Can a printer be moved offline or reserved by a user? Can a printer get overloaded or a print queue be full? So you got to setup local account and modify the machine.conf to use that account for your asp application.Also you need setup remote computer with printer has exactly user account.
Reply With Quote
  #3  
Old 25-09-2009
Member
 
Join Date: Feb 2008
Posts: 31
Re: Invalid printer specified on crystal report

If I remember right, and i have not done server print jobs before from a web interface but it will use the clients print driver. Well it sounds like serialization to me and I believe Crystal's reportdocument object is not serializable. Also at one time only 3 instances of a report can be opened. I would make sure that the client and server drivers match (even though it shouldnt make a difference).
Reply With Quote
  #4  
Old 25-09-2009
Member
 
Join Date: Feb 2009
Posts: 79
Re: Invalid printer specified on crystal report

I am developing an intranet application using ASP.Net which uses crystal reports. The IIS is installed in my machine. When I Go to My Computer - > Control Panel - > Printers -> and see there is any printer connected to the machine, I Copied that name to your code. But the printer is connected to some other. When I try to take printout it raises an error as:

Error in File C:\DOCUME~1\banupriya\ASPNET\LOCALS~1\Temp\temp_2924ba53-898a-4038-a402-b1504cbdbe18.rpt: Request cancelled by the user.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Invalid printer specified on crystal report"
Thread Thread Starter Forum Replies Last Post
Which is best, Data report or Crystal report? Smita.bendal Software Development 5 11-03-2010 02:42 AM
Crystal Report does not work in Windows 7 Filiberto Operating Systems 5 24-12-2009 03:03 AM
Error 429 after trying to generate crystal report Author Operating Systems 3 16-05-2009 07:08 PM
Create Crystal Report from Excel Harshini Software Development 3 04-05-2009 02:09 PM
help needed for crystal report techfreakpeyx Software Development 3 10-12-2008 02:01 PM


All times are GMT +5.5. The time now is 03:10 AM.