Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 3rd, 2004, 03:40 AM
Registered User
 
Join Date: Jun 2004
Location: , , Finland.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default TypeLib Not Found;METADATA tag...

Hi,

we are experiencing problems with using type libraries on our asp-pages. We have created our own type libraries which we want to include with using metadata statement:


We use three-tier architecture with VB6 components (asp pages and ui-components on the web server and bl- and da-components on component servers) and we have several testing environments. The statement above works fine on my computer (as they always do) :-) and also on so called development testing servers. However, installing same asp-pages, components and type libraries on our system testing servers leads to error "TypeLib Not Found;METADATA tag contains a Type Library specification that does not match any Registry entry." If I use FILE attribute instead of UUID, it works everywhere. We would prefer using UUID instead of hard coded paths as different servers may have different drives in use etc. and we would want to minimize the work needed when installing new versions.

Does anyone have an idea about how to move on from this? The problem clearly lies on not being able to find type libraries with UUID, but what could be the reason for this? Not having enough permissions to read registry maybe?

Thanks in advance,

Riia
  #2 (permalink)  
Old June 3rd, 2004, 05:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen N, , Denmark.
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default

Quick question: Is the UUID the same on your testing server?

Quote:
quote:UUID stands for a Universal Unique IDentifier. The mechanism used to guarantee that UUIDs are Unique is through combinations of hardware addresses, time stamps and random seeds.
http://www.dsps.net/uuid.html

 - mega
  #3 (permalink)  
Old June 3rd, 2004, 06:52 AM
Registered User
 
Join Date: Jun 2004
Location: , , Finland.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes. The UUID is defined in the .ODL file from which I create the used type library.

Riia
  #4 (permalink)  
Old June 3rd, 2004, 10:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen N, , Denmark.
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default

Did you use Regedt32 and made sure that the Everyone group has Read permissions to your TypeLib?
Perhaps this article can help you, even though it is a bit off:
http://support.microsoft.com/default...b;en-us;274038

 - mega
  #5 (permalink)  
Old June 4th, 2004, 02:00 AM
Registered User
 
Join Date: Jun 2004
Location: , , Finland.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The type library must be correctly registered as the METADATA statement works well with FILE attribute. Also, using the type library from a UI-component on the same server (installed in COM+) works well. The problem arises only when using from ASP with UUID attribute.

I'm a bit thumbs when it comes to technic and that sort of stuff, so would you allow this stupid question, from where can I check this permisson thing? We use W2K. Besides, this type library can be used with FILE attribute so it can't be about a permission to use the type library? For somehow it just doesn't find it when using the UUID so maybe it could be about not having enough permissions to read the registry? Where can I check this from?

I think we'll soon settle down with the solution defining all the possible type libraries in one file that is included in all of our asp-pages (or defining them in the global.asa). At least that way we need to modify the paths only in one place. Still, it would be great to learn what's really behind this problem.

Riia
  #6 (permalink)  
Old June 4th, 2004, 09:28 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen N, , Denmark.
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default

Choose Run in the Start menu and write Regedt32. Next find your TypeLib either by Find (Ctrl+F) or by looking in the HKEY_[probably LOCAL_MACHINE] folder. Right click on your key and choose Permissions...

Anyway I think your last idea about defining the TypeLib in a global.asa is a better solution than what your started out with.

If it isn't a permission thing then I'm short of ideas.

 - mega
  #7 (permalink)  
Old June 9th, 2004, 08:45 AM
Registered User
 
Join Date: Jun 2004
Location: , , Finland.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Everyone seemed to have read permissions to the type library so my last choice is to include them all in Global.asa-file with FILE attribute. Thanks anyway from all your help.

Riia


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tag from C# or ASP.NET tag from javascript angshujit ASP.NET 2.0 Basics 3 February 16th, 2007 10:07 AM
Metadata sabucalex General .NET 2 November 29th, 2006 03:02 AM
Metadata file could not be found Arsi C# 0 September 1st, 2004 02:46 PM
metadata error question beertv Dreamweaver (all versions) 5 November 13th, 2003 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.