Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML object

Status
Not open for further replies.

tassflint

Programmer
Dec 29, 2005
21
US
Hello all,

I am using a 3rd party twain dll on my site to control a scanner on the users machine. I can get the code to work when it is in VS 2005. The problem is that once I put the code onto the server, it can not find the object, or the objects code, I don't know which one. Here is the code I have for the object:

Code:
    <object id="Twain1" name="Twain1" 
          classid="[URL unfurl="true"]http://dc2/scan/Twain.dll#Twain.VSTwain"[/URL]
          codebase="[URL unfurl="true"]http://dc2/scan/Twain.dll#fileversion=2,4,2">[/URL]
    </object>

I have followed all the fixes in the faq on the vendors website, and none of them have worked. Does anyone have an idea for what I can try next?

Thanks in advance,

Brian
 
Do the people visiting your site have access to the "dc2" server? If they do not, then you will need to change the "dc2" to be a public-facing address.

Hope this helps,
Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Dan,

DC2 is our intranet server, so everyone does have access to it.

Brian
 
If you try and access the file directly in a web browser by typing " into the address bar, do you get the file delivered, or a "file not found" error?

If the latter, then you should resolve that.

Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Dan,

The file was delivered to me just fine. I have gone into the properties of the dll within IIS and said that script access is allowed to try and resolve what is going on.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top