S
Stan
I have a third party COM component registered on my machine which we use to
display barcodes on web pages. My problem is that when I try to create the
components (2) in ASP I get object creation errors. This would seem to
indicate that the component files are not registered correctly or are
missing dependencies or something along those lines. However I AM able to
create the components in Visual Basic, and also if I install the required
files I am using on someone elses machine they do work correctly, and I have
re-registered them umpteen times on my machine.
i.e.
<%
Dim BC
on error resume next
Set BC=Server.CreateObject("IDAuto.BarCode")
if err <> 0 then
Response.Write("ERROR " & err.number & " - " & err.description)
end if
%><br><%
Dim IX
on error resume next
Set IX=Server.CreateObject("IDAutomationGDI.ImgX")
if err <> 0 then
Response.Write("ERROR " & err.number & " - " & err.description)
end if
%>
Produces
ERROR -2147319779 - 006~ASP 0177~Server.CreateObject Failed~Library not
registered.
ERROR 32797 - 006~ASP 0177~Server.CreateObject Failed~800a801d
My VB code,
Dim BC
Set BC = CreateObject("IDAuto.BarCode")
Debug.Print BC.FixedResolutionCM
, creates and uses the object without issue in VB.
BTW I have enabled every permission I possibly can in the IIS folder where
the script is resides.
Any help appreciated,
Dave
display barcodes on web pages. My problem is that when I try to create the
components (2) in ASP I get object creation errors. This would seem to
indicate that the component files are not registered correctly or are
missing dependencies or something along those lines. However I AM able to
create the components in Visual Basic, and also if I install the required
files I am using on someone elses machine they do work correctly, and I have
re-registered them umpteen times on my machine.
i.e.
<%
Dim BC
on error resume next
Set BC=Server.CreateObject("IDAuto.BarCode")
if err <> 0 then
Response.Write("ERROR " & err.number & " - " & err.description)
end if
%><br><%
Dim IX
on error resume next
Set IX=Server.CreateObject("IDAutomationGDI.ImgX")
if err <> 0 then
Response.Write("ERROR " & err.number & " - " & err.description)
end if
%>
Produces
ERROR -2147319779 - 006~ASP 0177~Server.CreateObject Failed~Library not
registered.
ERROR 32797 - 006~ASP 0177~Server.CreateObject Failed~800a801d
My VB code,
Dim BC
Set BC = CreateObject("IDAuto.BarCode")
Debug.Print BC.FixedResolutionCM
, creates and uses the object without issue in VB.
BTW I have enabled every permission I possibly can in the IIS folder where
the script is resides.
Any help appreciated,
Dave