July 29th, 2011, 11:22 AM
XStandard MD5 - having issues implementing
For the current project I'm working on, I need to dynamically generate MD5 checksums for hundreds of software images/firmware. I am stuck using ASP Classic for now, hence there is no built-in MD5 functionality.
When I test this code in any environment other than our production environment (the live site, residing on a Windows Server 2003 box), it works. But once on the live site, it fails to work, and I get an error. Here is an example of the code I'm working with:
which results in the error:
Set md5 = Server.CreateObject("XStandard.MD5")
I am thinking it is perhaps a permission (security) issue of some sort that is preventing it from working. I've registered the DLL using regsvr32 and the file has the correct permissions in place for read/write/execute. I am not very seasoned in terms of Microsoft development, so I am hoping it is something obvious that I am overlooking.
Server object error 'ASP 0177 : 800401f3'
/xmd5_test.asp, line 3
I've searched a bit with respect to the ASP error, but I've not found anything specifically pertaining to the XStandard product that I'm attempting to use.
This is the XStandard MD5 Component's website:
Thanks for reading, all. Happy Friday!
July 29th, 2011, 08:26 PM
It's possible that component isn't compatible with your server for some reason. You did install and register the component on your live server, not your workstation, right? (just checking )
There may be more error information in your web server logs, or the server event logs, take a look there if you haven't already.
Another guess, you may need to add the IIS user account, probably IUSR_computername, to the permissions list for the component.
I'm not familiar with that md5 component, sorry.
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton