apresto
asked on
error '80070002' when calling dotNet DLL
Hi all.
Im receiving a very strange, un informative and very ****** annoying error message when i try to create an instance of a .net DLL from an asp page. Here is the code i use:
Dim objThumbGen
Set objThumbGen = Server.Createobject("DigiT humbGen.CT humbGenera tor") ---> LINE 312
objThumbGen.ExecuteThumbGe n Session("JobId"), Session("templateId"), qryView, appPath, tlgConn, dpConn, outputBase, relativePath, log, defaultImage
set objThumbGen = nothing
the strange thing is that i have 2 virtual directories pointing to the same folder, and if i run the page from one VD then its fine, however if i run it from the other i get this:
error '80070002'
/guildonline/digitalprint/ TemplateOp tions.asp, line 312
if i restart IIS on the server it works once, then it gives me this error again!?!
Does anyone have any suggestions?
Thanks
Apresto
FYI: DLL Language C#, Classic ASP Page
Im receiving a very strange, un informative and very ****** annoying error message when i try to create an instance of a .net DLL from an asp page. Here is the code i use:
Dim objThumbGen
Set objThumbGen = Server.Createobject("DigiT
objThumbGen.ExecuteThumbGe
set objThumbGen = nothing
the strange thing is that i have 2 virtual directories pointing to the same folder, and if i run the page from one VD then its fine, however if i run it from the other i get this:
error '80070002'
/guildonline/digitalprint/
if i restart IIS on the server it works once, then it gives me this error again!?!
Does anyone have any suggestions?
Thanks
Apresto
FYI: DLL Language C#, Classic ASP Page
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.