Link to home
Start Free TrialLog in
Avatar of Darrick
Darrick

asked on

Active Server Pages error 'ASP 0223'

I recently had a server crash.  After rebuilding, I am getting an error with a line of code in a program I am not familiar with.  It is giving me the following error:

Active Server Pages error 'ASP 0223'
TypeLib Not Found
//global.asa, line 2
METADATA tag contains a Type Library specification that does not match any Registry entry.

And here is line 2 of //global.asa

<!--METADATA TYPE="TypeLib" NAME="ADOSource" UUID="{C9120761-8ABC-11D2-8104-00600814799D}" VERSION="5.0"-->

Could someone point me in the right direction?

Thanks,
Darrick
Avatar of Darrick
Darrick

ASKER

Edited text of question.
Sounds a lot like the application in question had you load and register a component on the server.  This will need to be redone.  If the project was built with VID, there is probably a reference to the component in the project.

HTH,

Tom
Avatar of Darrick

ASKER

Could you give me detailed instructions?  I did not write this code and am not sure what it does.
Try deleting line 2 and see what happens. Don't forget to back up the file first.
What environment is/was used for developing the application?

I am not sure I can help without knowing how the code was produced.

Have you tried simply cutting out the "offending" line of code (BE SURE to save it somewhere) and running the app.  It probably won't work, but you never know.

Tom
Again, I am typing while someone else is answering!  Sorry.

Tom
Use metadata tag to declare type library, for ex: to declare ADO type library:

<!--METADATA TYPE="typelib"
FILE="c:\program files\common files\system\ado\msado15.dll"
-->

You could try to find the dll file and put it into the tag or find the ID of component in the registry like you've done, but I prefer to former one. I think after you rebuild your machine, you must reregister the component, or just find the filename of the dll and put it like I've shown to you.

Good LUck
ASKER CERTIFIED SOLUTION
Avatar of TTom
TTom

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I inserted the above METADATA tag into a test project and got the exact error message.  So while removing it might get rid of the message, the answer lies with TTOM as to finding out what the component is from the developer.  Otherwise, you risk an error or crash if/when the component is actually called upon.  I could not find anything about ADOsource or anything on that UUID anywhere in a brief search.