![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | PrintTicket provider failed to bind to printer. Win32 error: The s I am using a Vista machine. I created a sample WPF application and on button click, i have following code - PrintDialog printDialog = new PrintDialog(); printDialog.ShowDialog() Now when I run this application and click on the button, I see a Print dialog. In Print dialog, select "PDFCamp Printer" and click on the print button, I get following exception - Even when I just select "PDFCamp printer" and click on Apply and then Cancel button , I see below exception - "PrintTicket provider failed to bind to printer. Win32 error: The specified resource type cannot be found in the image file. at MS.Internal.Printing.Configuration.PTProvider..ctor(String deviceName, Int32 maxVersion, Int32 clientVersion) at System.Printing.Interop.PrintTicketConverter..ctor(String deviceName, Int32 clientPrintSchemaVersion) at MS.Internal.Printing.Win32PrintDialog.PrintDlgExMarshaler.AcquirePrintTicket(IntPtr devModeHandle, String printQueueName) at MS.Internal.Printing.Win32PrintDialog.PrintDlgExMarshaler.SyncFromStruct() at MS.Internal.Printing.Win32PrintDialog.ShowDialog() at System.Windows.Controls.PrintDialog.ShowDialog() at Thomson.Financial.SmartOne.Shell.PrintManager.ShowPrintDialog() in D:\LatestSmartClient\SmartONE\Src\Shell\PrintManager.cs:line 212 at Thomson.Financial.SmartOne.Shell.PrintManager.Print(PrintDelegate printDelegate) in D:\LatestSmartClient\SmartONE\Src\Shell\PrintManager.cs:line 58 at Thomson.Financial.SmartOne.Shell.PrintManager.PrintThomletHostView(IThomletHostView thomletHostView) in D:\LatestSmartClient\SmartONE\Src\Shell\PrintManager.cs:line 177 at Thomson.Financial.SmartOne.ThomsonOne2008.MainControl.PrintExecuted(Object sender, ExecutedRoutedEventArgs e) in D:\LatestSmartClient\SmartONE\Src\Thomson One 2008 Full\MainControl.xaml.cs:line 1642 at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding) at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute) at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute) at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated) at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)" Any idea how to resolve this????????? |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Error adding printer; blocked a bind to a local port; no firewall | Vista print fax & scan | |||
| Bind error during Install of Published VB 2008 App | .NET General | |||
| PDIHWCTL service failed, EventID: 7000, Source: Service Control Manager Eventlog Provider | Vista General | |||