Error: Could not load the selected type library

massive_cava@hotmail.it
Member Posts: 16
Hello,
i'm experiencing this well-known error with a NAV2009 R2 version, with NST installed (user are using RTC client). I've installed the dll i want to use as automation on a NST server and registered it via RegAsm. Now, still on this NST server, i'm trying to compile codeunit that use that automation:
- Open codeunit and global vars and here is automation var:

- open the subtype and i found the automan (so all good!)

- then select library and bang!

It's slightly different from all other issue about library i've found. Does anyone have any suggestion?
Thank
i'm experiencing this well-known error with a NAV2009 R2 version, with NST installed (user are using RTC client). I've installed the dll i want to use as automation on a NST server and registered it via RegAsm. Now, still on this NST server, i'm trying to compile codeunit that use that automation:
- Open codeunit and global vars and here is automation var:

- open the subtype and i found the automan (so all good!)

- then select library and bang!

It's slightly different from all other issue about library i've found. Does anyone have any suggestion?
Thank
OC
0
Answers
-
Anyone has any idea?OC0
-
1. The library might be correcty registered in the registry but the dll file migh be gone/moved/blocked by antivirus/marked as blocked/you have no permissions to it/to a folder whenre it lives
2. The dll has been incorrectly registered (for example using regasm without the /codebase switch) and not put into GAC (if the file dll was build using .NET)Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-031 -
try registrating using REGSVR32 "PATH TO THE DLL FILE" as admin0
-
dlls cannot be registered using regsvr32 without adminSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
The dll you're trying to use might depend on another software that hasn't been installed.1
-
Thankyou evrybody for youor replies. The dll is ublocked, what ihad forgotten is to add it to the GAC. So now I've added it to GAC, but this doesn't have any effect. Moreover, the dll is already registered (i can see the dll path in the windows registry)
About the dependecies, i should have all of it installed in the sistem.
Maybe is there somenthing to do with Custom Controls?OC0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions