[2005] Specified cast is not valid.
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:
_PDFCreator = New PDFCreator.clsPDFCreator
Code prior too that line
VB Code:
Imports System.IO
Imports System.Data
Public Class CREATE_PDF_SERVICE
Private WithEvents _PDFCreator As PDFCreator.clsPDFCreator
Private ReadyState As Boolean, pErr As PDFCreator.clsPDFCreatorError
Private Const maxTime As Long = 20
Public Function CREATE_PDF_FILE(ByVal FILE_NAME As String, ByVal OUTPUT_PATH As String, ByVal LINK_PATH As String) As String
_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.
Re: [2005] Specified cast is not valid.
Is it a COM library? There must be certain dependencies involved which PDFCreator depends upon in the system environment which have recently changed.
Anything recently change on the server?
Re: [2005] Specified cast is not valid.
was dificult but do this....Uninstall all PDFCReators you have and install the version 1.0.1 , only worked like this.
Rafael Ramirez
No matter how much you know .....
The matters is ...
what do you do as you know.