Regarding Printer Queue Monitor Viewer Running But Nothing

Topics: Developer Forum, Guestbook / signing in, Installation / Setup, Project Management Forum, User Forum
Jan 5, 2011 at 6:34 AM

Pls help me  Sir Marrion

here is what i get when running it


Application: Initialising the printer usage reports collection from
A first chance exception of type 'System.ArgumentException' occurred in Microsoft.VisualBasic.dll
Creating printer context menu


but the print usage viewer runs except it dont show anything on the datagrid thanks happy new year to all...

Jan 5, 2011 at 2:32 PM


Does the drop-down list show the different queries that can be run? (Click the drop-down button with the magnifying glass on it)

If no - probably there is a database connection or access rights issue?

If yes - are the printers being monitored listed in the [Printers] filter?

Jan 6, 2011 at 1:23 AM

Thanks for the quick reply sir marrion btw when i click the magnifying glass drop down nothing happens... :(

and another thing the PUMA manager when i add printer i cant add it using the manager so i use the database to insert the printers, i can add server name but the printers it dont.

is Operating system has issue on this because im using windows 7 and server sql2008 and 2008 thanks

Jan 6, 2011 at 2:01 AM

sir marrion here is my application config file on viewer


<?xml version="1.0" encoding="utf-8" ?>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
      <section name="PrinterMonitoringViewer.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <!-- ConnectionString used to find the database -->
<!--    <add key="ConnectionString" value="Persist Security Info=False;Integrated Security=SSPI;database=PrintMonitor;server=(local);Connect Timeout=60" /> -->
    <add key="ConnectionString" value="Server=SIMPLELIFE-PC;Database=PrintMonitor;User ID=PrintMonitorService;Password=;Trusted_Connection=False;" />
    <!-- Client that the printer events are logged against-->
    <add key="ClientId" value="1f558755-c50a-4985-aa4c-f0704227ea31" />
    <!-- Who the application is licensed to -->
    <add key="Licensee" value="Duncan Jones" />
    <add key="LicenseeCompany" value="Merrion Computing Ltd"/>
    <!-- Printer Usage Viewer settings -->
    <add key="DefaultColumnWidth" value="200"/>
          <!-- Printer Viewer Application tracing : values can be
          <add name="Application" value="4" />
       <trace autoflush="true" indentsize="4">
           <!-- To enable application tracing, uncomment the following line:
           <add name="LogFileListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\Temp\PrinterMonitorViewer.log" />
                  <setting name="ClientId" serializeAs="String">


Jan 6, 2011 at 2:13 AM
Edited Jan 6, 2011 at 3:40 AM

Anyone have any idea on how to fix this

Jan 6, 2011 at 7:33 AM
Do you have a password in the actual config connection string? Most likely it can't connect to the database. Chech the config string in the (working) printer monitor service.
Jan 6, 2011 at 9:51 AM

Ok thanks sir Marrion i think my problem is my sqlserver im gonna check its connections and security i keep you posted hehe i really want to make this work....


thanks thank thanks

Jan 7, 2011 at 12:59 AM

sir marrion i encountered this problem when running the Puma Usage Monitor where  you add printer server

this is the error while adding printer on the print server.

A first chance exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll

i can add printer server but printers cant..

thanks in advance im stuck