PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Jul 19, 2024 9:22 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: usage in classic ASP
PostPosted: Thu Feb 16, 2012 9:41 pm 
Offline

Joined: Thu Feb 09, 2012 4:59 pm
Posts: 14
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: usage in classic ASP
PostPosted: Tue Feb 21, 2012 4:27 pm 
Offline

Joined: Thu Feb 09, 2012 4:59 pm
Posts: 14
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group