Error on PrintToPrinter: No printers are installed.

Hi all,
I have a ASP.Net program to print a crystal report to a network printer. (CRVS2010 SP1)
However, error "No printers are installed" would throw at PrintToPrinter method if the option "No printer" in the report's Page Setup was checked.
Below is fragment of code to print the report
Line1:                rptDoc.PrintOptions.PrinterName = strPrinterName;
Line2:                rptDoc.PrintToPrinter(1, false, 0, 0);
Printer Name is assigned at design time. No default printer is used.
Printer is added to the web server (windows 2007) and corresponding access right is granted to the service account already.
With this option checked, rptDoc.PrintOptions.PrinterName was empty before line 1 and was assigned correctly after line2. However, error still prompts at Line2.
Uncheck this option then everything is fine.
This issue happens in this report only. Other reports could be printed with this option checked.
I want to check "No printer" option to achieve the best resolution.
Any idea?
Thanks and Regards,
Cherry

Dear All,
1) Test and find that whenever "No Printer" option is selected. Error "No printers are installed" occurs at "PrintToPrinter()".
I selected this option in order to to optimize scalability. But now it seems to me that this should not be selected if I want to print the report. However, I can't search any reference to prove this observation. May someone here please help to clarify.
2) In page setup of crystal reports, it defaults a printer on my development machine. If "No Printer" option is not selected and this printer does not install on the web server, error "Invalid Printer specified" occurs.
In fact, our web server may or may not have this printer installed. The actual printer used is assigned during runtime in line 1 of fragment above.
After reading suggested article above, I wonder if it is necessary to install the printer used on my development machine to all web servers to avoid error like this, even though the report is actually printed to another printer?
Is this a must setting for crystal reports? Again, I can't see search any reference about this. Hope someone here can help.
Thanks a lot.
Regards,
Cherry

Similar Messages

  • How can I print emails? Printing Error message that no printers are installed. (Printers are installed.)

    When I click File > Print, I get a Printing Error message that no printers are installed. Printers are installed. When I click Yes to install a new printer, I receive a new error message that "Windows can't open Add Printer / The local print spooler service is not running. Please restart the spooler or restart the machine." I updated to the new version of Thunderbird 24.6.0. Using Windows 8. I restarted the machine. I confirmed printers are installed using Control Panel. I do not see any way to restart a print spooler. How can I fix this? Thanks.

    The print spooler is a windows service and is required to print. I would hazard a guess you can not print with any application.
    What I am saying is I think your windows instalation has a problem, not Thunderbird.

  • Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'

    Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'
    Word, and powerpoint application are working fine.  
    Environment :  Windows 7 64-bit, MS Office 2013 64-bit
    Steps to recreate
    (i)  Create new user account and add to any group ( do not log on using this
     account)
      (ii)  runas /user:<new user account>  <fullpath>\excel.exe
       it will ask password so enter on command prompt
    (iii)  open any excel document  and click File->Print
      (iv)  verify result  (it is failing) it pop ups below error
     Error:`Microsoft Excel
     No printers are installed. To install a printer click the File tab, and then click
     Print. Click No Printers Installed, and then click Add Printer. Follow the
     instructions in the Add Printer dialog box.                                                                                                               

    Sorry for late reply i was not at work
    I have a default set excel is still throwing error. Interestingly winword , powerpoint and publisher are working fine. I am able to print from all office applications except Excel.
     Probably excel behaves differently from other office applications.
     Probably it is a bug in excel
    Workaround : Log on to a system once using newly created account then runas excel using this account then print works fine.
    It means something in user profile should be configure to run excel print operation. Could you please somebody help what I need to configure in user profile that makes print operation success?

  • No Printers are installed / How to Installed printers in HFM (Urgent)

    Hi,
    we have 2 printers, both are working locally but not from HFM.
    After login/out it says no printers are installed.
    Thanks in Advance.

    Hi,
    Please refer page no. 150 of epm_install guide.
    Preparing the Financial Reporting Print Server
    To print cell documents, the corresponding “print” applications (Microsoft Word, Excel and PowerPoint) on the Print Server machine must have the following characteristics:
    Be properly installed
    Be properly registered for printing in the computer’s registry
    Be available to the “SYSTEM” account
    Have access to, and be able to print from, the printers installed by Financial Reporting (HRPrinter1-5). The SYSTEM account issues all print requests, so it is important that the applications can print using the Print Server’s printers.
    To optimize the print server, disable the following items:
    All add-ins (including Oracle's Hyperion add-ins) from all Microsoft Office applications— To enhance application launch time and consume system resources. If enabled, it may display UI components that require user input.
    SmartTags (Office 2002+)—To enhance performance.
    “Office Assistant”—Office Assistant prompts the user for input, which halts printing.
    Tip: Dedicate a machine for use as a print server, ensuring that add-ins are not used.
    Rgds
    Payous999

  • Problem with multiple instances of shared printers being installed on client computers when the spooler service is started

    Hello,
    We have Windows Server 2012 and clients using Windows 8.  We've been having some printer problems for awhile now that I haven't been able to figure out for the life of me.  The main problem is the fact that printers are installed on computers automatically
    once the drivers are installed.  The side-effect of multiple instances of each printer showing up is very annoying but I suspect fixing the initial problem will resolve this secondary one.
    Here is the rundown:
    We add the shared printers on logon to the clients using the GPO thus installing the drivers locally.
    Whenever the spooler on the client is restarted with the drivers installed, all of the
    shared printers that were previously installed get duplicated 5 more times (for a total of 6 instances of each shared printer) on the "Devices and Printers" page.  This happens
    all the time.
    Removing them only fixes the issue temporarily, as soon as the spooler or computer is restarted, it seems these shared printers are somehow found on the network and the duplicates return.
    Two of these printers are located on different clients, installed locally and shared while the other three are all installed on a server and shared through it.  The issue is the same on all of them.
    Cleaning the spooler completely (registry and files from C:\system32\spool) fixes the issue temporarily as well since, as soon as the drivers are reinstalled, the issue occurs again.
    I've tried many things (disabling the GPO, editing the GPO, printer shares, registry, etc.) and searched tirelessly online for a cause and solution but I'm stumped.  Does anybody have any idea what might be causing this problem and how to resolve it?
    Thanks for your time!
    Update #1: I just tried adding the NoNetCrawling option in the registry found in this article -> http://support.microsoft.com/kb/320138/en-us
    I couldn't find the same for Windows 8 unfortunately.  I also tried disabling network discovery and all other sharing options to no avail.
    Update #2: I tried isolating the computer to a different subnet and restarting the spooler and, sure enough, the issue didn't occur.  This proves that the issue is network share related.  Also, as soon as I change the IP back to the regular domain
    subnet one, the multiple printer instances re-appeared again.
    Update #3: I just tried doing the same thing but on the server where the printers are installed and shared and, sure enough, despite being in a different subnet, the issue occurred.  This leads me to believe there is a setting on this server at fault.
     Question is, which one?

    We have deployed a brand new Active Directory domain for a customer. ALL the servers without exception are Windows 2012 R2 and all clients are Windows 8.1 32bit VDI clients.
    The issue that we have is around network printers. 
    We are deploying 4 printers  from a Windows 2012 R2 Server via the print management/Deploy Printer and assigning that to a GPO. The printers are deployed to the Computers which should mean that the users get all 4 printers which they then should be allowed
    to set their default and personal settings for that printer.
    Our printers are deployed like this:
    1. Created security group
    2. Assigned VDI computers to the security group
    3. Created GPO to reflect security group
    4. Modify GPO to do security filtering based on computer group membership
    5. Deployed 4 x printers through Print Management to the GPO on a per machine basis
    However, on the users Devices and Printers screen we are not seeing the 4 printers. For some users
    they see duplicates of all 4 printers so e.g they can have upwards of 8 or more. Other users have no printers displayed whatsoever. The next time they log off or restart they then have a different amount of printers displayed.
    If they try and set the default then it will set and the next time they check the default may have moved to another printer even without logging off or back on.
    Now, where this gets strange is within an application such as MS Word 2013 or Notepad if they use the file and print menu the printers will be listed, even if the user has no printers displayed in Devices and Printers. If the users selects a printer then they
    can then print OK.
    If we check HKCU\Printers||Connections then the CORRECT 4 printers are showing as to what is being deployed via the GPO so I know that the Windows 8.1 terminals are receiving the correct printers from the GPO.
    To try and correct this over the course of the week we have deployed the printers via Group Policy Preferences to the user and then the PC to no avail. Currently we are using the Print management\Deployed Printers to deploy all 4 printers to the computer via
    the Computer GPO.
    I believe that this issue is related to the display somehow in Devices and Printers rather than a GPO or print server issue as we can see via the registry the clients are receiving the 4 correct mentioned printers as shown in the registry. 
    FYI: We only have around 30 users and all users are getting this problem. All users are receiving the same GPO's and have the same few apps installed, Office 2013, Adobe Reader etc.
    What we want is for the computers to receive all 4 printers. All users should be able to use all 4 printers but the user should be able to select their particular default, depending where they are located or what they are printing that particular day. Their
    particular default should persist after reboot. (We have 2 x Copiers and 2 x HP Laserjets) All users have redirected documents and desktop but the rest of the profile is on the VDI and persists after their reboot. The profile is not roaming as the user is
    assigned a particular VDI.
    After a week of scratching our heads with this we are open to suggestions and any would be appreciated.
    We have tried following the issues on this thread to no avail either as they still return.

  • No authentication plug ins are installed

    Hi,
    We have installed Crystal Reports Server 2008 on a server which already had Crystal Reports 2008 (12.1.0.892) installed. This is teh first time we have dealt with the CR Server application
    The CCM & the CMC are running fine as are all the services.
    When running CR 2008 and choosing Save As: Enterprise, the error message "No authentication plugins are installed" appears.
    The Business View manager pops up a log on box and no authentication methods appear in the drop down box.
    Any ideas on where to start?

    Hi,
    It may be due to wrong entries in the registry.
    Before installing the CR Server did you had any other BOE component installed apart from CR2008 12.1.0.892 version.
    -Noor.

  • Printers auto installing with WSD Port

    Hi everyone,
    We are currently building our Windows 8.1 image for our business. In a recent deployment test, we noticed that some printers are installing automatically on some workstations.
    Those printers are installed using a WSD Port.
    I'm looking for a way to disable WSD in my Windows 8.1 image since we are using Novell iPrint to install our printers.
    I've spent a couple of hours looking around Google for a solution but nothing came up.
    Any clue?

    Hi,
    I think the reply by Alan in the thread below answered your question:
    Disable PnP-X IP Bus Enumerator service
    The PnP-X bus enumerator service manages the virtual network bus. It discovers network connected devices using the SSDP/WS discovery protocols and gives them presence in PnP. If this service is stopped or disabled, presence of NCD devices will not be
    maintained in PnP. All pnpx based scenarios will stop functioning.
    Or
    Use the drop down when initially creating ports and select Standard TCP/IP Port.  The query first performs WSD, if this fails, goes to SNMP, if this fail, user is prompted to manual port configuration.
    You can find the IP in device mananger in the properties of the WSD Print device (Location Information).
    You can't delete these port unless you are deleting a printer at the same time so once you switch the existing printer to IP, you will need to create a fake printer to clean up the port.
    You can refer to the link below for more details:
    https://social.technet.microsoft.com/Forums/en-US/26ff7f74-12eb-4695-963e-490f6681460e/print-server-role-server-08-r2-hp-wsd-printer-ports
    Roger Lu
    TechNet Community Support

  • Feb/Mar 2015 Update: OneDrive for Business Error "Incompatible Office products are installed on your machine."

    After Installing the Feb 2015 Updates for Office 2013 ProPlus via ClicktoRun, OneDrive no longer opens with the error message:
    "Sorry, we can’t perform this action. Incompatible Office products are installed on your machine. If you have an administrator, please contact them for help. "
    The eventviewer info is:
    - <System>
      <Provider Name="Microsoft Office 15 Alerts" />
      <EventID Qualifiers="0">300</EventID>
      <Level>4</Level>
      <Task>0</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2015-02-11T17:08:53.000000000Z" />
      <EventRecordID>605</EventRecordID>
      <Channel>OAlerts</Channel>
      <Computer>BP-W-7DB824.raydon.com</Computer>
      <Security />
      </System>
    - <EventData>
      <Data>Microsoft OneDrive for Business</Data>
      <Data>Sorry, we can’t perform this action. Incompatible Office products are installed on your machine. If you have an administrator, please contact them for help.</Data>
      <Data>702089</Data>
      <Data>15.0.4693.1000</Data>
      <Data />
      <Data />
      </EventData>
      </Event>
    I have other office products on here including:
    SharePoint Designer 2010
    SharePoint Designer 2013
    Microsoft PowerBI Designer Preview
    and this is installed on Win 8.1 Enterprise
    Kind of stumped what is causing this... I see KB2920798  mentions this error message is now added when cant open a document due to a mix of click-to-run and MSI install for office.  I only have click to run for Office 2013 and the MSIs are only for
    addons in excel (power query) and the additional Microsoft Software...
    Anyone have ideas what is causing this and how to resolve?
    I just finished applying March 2015 C2R updated on Office and the same issue recurred.  This time I simply rebooted and it resolved.  My best guess is it has something to do with a locked file that can't be updated but the Office Update installer
    doesn't prompt to reboot.

    I have the same problem. But I have Czech versions of the Word and OneDrive for Business ("OneDrive pro firmy").
    I do not have the SharePoint Designer nor update KB2020798. I received KB2920746
    on 11th February (plus other updates for Office, but any other for OneDrive for Business). Anyway,
    uninstall of the KB2920746 doesn't help.
    The error in Czech:
    Microsoft Word
    Je nám líto, ale tuhle akci nemůžeme provést. Na počítači máte nainstalované nekompatibilní produkty Office. Pokud máte správce, požádejte ho o pomoc.
    P1: 702089
    P2: 15.0.4693.1000
    P3: 
    P4: 
    It helped me to unistall OneDrive for Business (Onedrive pro firmy) - displeasing solution,
    right?;-(

  • HT1926 when i try to install update i get this error message  the feature you are trying to use is on a network resource that is unavailable   any ideas

    every time i try to update itunes i get this error message    The feature you are trying to use is on a network resource that is unavailable    then asks me to find the folder containing the instalation package ITunes.msi

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • II have downloaded several Apps that state they work with iTouch but they will not install and give error message that I need updated software, while all my updates available are installed on both iTouch and my computer iTunesWhy will Mindtools app not

    My iPod Touch will not function with certain updated apps ie MindTools, YP.com, Mint, Ymessenger etc and I get the error message that I need to install updated software to load these apps to my iPod Touch; however, I have double checked and all the software updates have been loaded in obht the iPod touch and my computer. There are no updates availabe; yet the error message on App is a software update is required for App. "was not installed because it requires a newer version of iPod software."
    The iPod Touch is using 3.1.3 software and it tells me that is the current and updated software version.

    You are correct in that your 1G iPod Touch has all the latest software updates.  It can only be updated to version 3.1. 
    However that Apps you are trying to download and install likely require iOS version 4.0 or later, which is not compatible with your iPod Touch.  So either you'll need to buy a newer iPod Touch or find other Apps that are suitable replacements if possible. 
    Sorry.
    B-rock

  • Error Message "No plugins are installed"

    Hi
    I have download Oracle Migration Workbench 10.1.0.4 and unzipped
    I need to migrate from DB2 8.2 to Oracle 9i
    When i am trying to create database repository getting error message "No plugins are installed, please install the plugin for the database you are trying to migrate." and creating respository.
    I have followed the steps as per Oracle Migration Workbench guide.
    I have also copied the db2java.zip file D:\omwb\plugins direcotry
    When getting the log file the error is as follows
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: D:\Omwb
    ** user language: en
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows XP
    ** o.s. version: 5.1
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Sun Jun 22 00:14:56 IST 2008
    EXCEPTION: _isValidPlugin(): oracle.mtg.migration.MigrationInitException: java.lang.ClassNotFoundException: oracle.mtg.db2java.db2java:java.lang.ClassNotFoundException: oracle.mtg.db2java.db2java
    Some one please help. I need to compelete the test task by monday.

    OMWB consists of 2 parts, the common files and a plugin. The message you get commonly means you didn't download a plugin.
    Under certain circumstances the Internet Explorer is sometimes saving JAR files with the ZIP extension and thus OMWB can't handle it as well.
    But anyway, you try to migrate a DB2 database V8 to Oracle using OMWB. There is no plugin available to use OMWB with Db2 V8.
    So you need to choose a different method like a gateway or flat files and SQL*Loader to move the data to Oracle.

  • I have an older iPod (2005). After years of inactivity I tried to install the cd on my PC. I get the following error message, after several attempts to install: iTunes cannot run because some of its required files are missing. Please re install  iTunes.

    I have an older iPod (2005). After years of inactivity I tried to install the cd on my PC. I get the following error message, after several attempts to install: iTunes cannot run because some of its required files are missing. Please re install  iTunes.

    Did you follow the exact instructions in this Apple support document to remove and re-install iTunes and ALL other Apple software on your XP machine?
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    B-rock

  • My printers are not working after mavericks install. What can I do to fix - PLEASE HELP! It is my lifeline - we are a print shop!

    My printers are not working after mavericks install.
    The printer just PAUSE and can't be resumed.
    What can I do to fix - PLEASE HELP!
    It is my lifeline - we are a print shop!

    Go to the printer manufacture website and download the drivers for your printer model for OS X v10.9 Mavericks.
    Then open System Preferences > Printers & Scanners > Print
    Select your printer on the left then click -  (minus)
    Then click + (plus) to add the printer.

  • With the latest update I get the following error: The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again; suggestions, advice, help.

    Help>About Firefox> says I am using Firefox/3.6.10./GTB7.1 I get a note from Mozilla that there is an update. I download it after granting permission to change my machine. I say OK. A green bar slides across the monitor announcing that the update is being downloaded. When I then assume it is being installed I get the following error: The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again. There are no other copies running. The machine is not on a network. I am using WIN7

    Thanks for the info about Trojan. It may be the problem. Meanwhile I went to Admin/Owner side and did some cleaning -- including trying to reload my Favorite/Bookmarks that have always carried forth from previous levels of Windows XP and earlier.
    The new computer here did not grab the Bookmarks from the previous, and yesterday I thought I had them loaded, and today went to Worker-Bee side and they are not showing.
    About those add-ons... I have no idea, but think I got everything up to date yesterday. I will look at your earlier reply tomorrow or this weekend when I have more time at home to learn from it.
    Thank you for your time in helping.
    Late here, heading to sleep. Marilyn

  • After installing 10.6.8 our printers are not working?  When will this be fixed?

    fter installing 10.6.8 our printers are not working?  When will this be fixed?

    Which one?
    Mine works perfectly.
    Have you check the web site to see if there is a updated driver for it there?
    Allan

Maybe you are looking for

  • Generic working in eclipse compiler but not through builds

    The following code snippet works fine in my eclipse development environment (1.6.0_06), but the build system running 1.6.0_06 throws exception: MyClass:343: incompatible types found : java.util.List<C> required: java.util.List<B> entries = createList

  • Two 8800 GT in 2008 Mac Pro (NO SLI)

    I was wondering if an Apple tech could give me an answer on this subject; or anyone, really. I want to get a new Mac Pro with an 8800 GT. I would like two of them, and would purchase the second as the add-on kit from the Apple Store. Now, will two be

  • Datagrid not refreshing after drag and drop

    Please help me solve this: my datagrid DOES refresh itself, but only after the SECOND drag and drop. Here's an example of my datagrid : 1. Label a Description a 2. Label b Description b 3. Label c Description c When I drag the third row to the top of

  • Major Bug in CS's color profiles, color management & working spaces

    Hi everyone: First of all, thanks so much for taking the time to read and answer my questions!!! I am having a having a major bug in CS3's creative suite. The problem is the following: 1. My settings are not sticking in Photoshop. Last night I select

  • Time to run badblocks

    I suffered a disk crash (read errors) on a month old 2TB drive last week, and before returning it to the store I figured I should test the drive. I ran a low level format and some tests in Windows and everything to my surprise checked out fine, so I