Click here to Skip to main content
15,917,971 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi .,

I am using this code for converting word document to pdf. this code works in local system but it is not working in server windows server 2008 .
Can anyone help on this ?

Dim abcDoc As WebSupergoo.ABCpdf7.Doc = Nothing

abcDoc = New WebSupergoo.ABCpdf7.Doc()

Dim xro As New WebSupergoo.ABCpdf7.XReadOptions()
xro.FileExtension = fileExt

abcDoc.Read(inputFile, xro)
Catch ex As Exception
Throw ex
End Try

Dim fileBytes As Byte() = abcDoc.GetData()
Return fileBytes
If Not abcDoc Is Nothing Then
End If
End Try

1 solution

What does 'does not work' mean ? It looks like you're using a third party component ( as you would need to ). Is it installed/licensed on the server ? If it is, then there's nothing else we could possibly guess without seeing the error message, to help you.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900