PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

usage in classic ASP
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1912
Page 1 of 1

Author:  hoylemd [ Thu Feb 16, 2012 9:41 pm ]
Post subject:  usage in classic ASP

Hi again,

I've written a wrapper library for PDFSharp to be used in an ASP file. I'm having trouble actually instantiating the object on the asp page, however. I've enabled all of the projects as COM visible in visual Studio, and registered all of the .dlls with gacutil and resasm, but I get the follwing error when calling Server.CreateObject() when i try to create both my interface and PdfSharp.Document:

Code:
Error Type:
Server object, ASP 0177 (0x80070002)
80070002
/webasp/HoylesStuff/simpleAsp.asp, line 3


Has anyone ever seen something like this before, and if not, can someone perhaps point me in the right direction to find out how to make it work?

Author:  hoylemd [ Tue Feb 21, 2012 4:27 pm ]
Post subject:  Re: usage in classic ASP

It turns out the problem was that I had to register my Class with RegAsm and then with GacUtil /i. Then I had to reset IIS with iisreset /stop and iisreset /start.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/