Ok in my asp.net app, i'm using a dll to turn a document that has been uploaded to the server into a pdf document. Everything had been working fine up until today, when i got this error "Specified cast is not valid." on this line
VB Code:
  1. _PDFCreator = New PDFCreator.clsPDFCreator
Code prior too that line
VB Code:
  1. Imports System.IO
  2. Imports System.Data
  3.  
  4. Public Class CREATE_PDF_SERVICE
  5.     Private WithEvents _PDFCreator As PDFCreator.clsPDFCreator
  6.     Private ReadyState As Boolean, pErr As PDFCreator.clsPDFCreatorError
  7.     Private Const maxTime As Long = 20
  8.  
  9.     Public Function CREATE_PDF_FILE(ByVal FILE_NAME As String, ByVal OUTPUT_PATH As String, ByVal LINK_PATH As String) As String
  10.  
  11.         _PDFCreator = New PDFCreator.clsPDFCreator
If you could tell me what stupid thing that i'm doing or point me in the right direction i'd appreciate it.