Could not locate the add-in library
ACAE
Member Posts: 52
Hello,
I have a problem with an add-in in the RTC (Nav2009 R2, build 6.0.33046.0). On the page I want to show the add-in I get the error message "Could not locate the add-in library for '...;PublicKeyToken=...' .
My colleague connects to the same SQL server database, same RTC version, and the add-in is shown on his computer. So I assume that both the add-in name and token are correct in the addins table.
This is what I have already tried without success:
- I copied the add-in directory of my colleaque to my RTC directory
- I ran the RTC as administrator (OS= Win7 Professional SP1)
- Microsoft Visual C++ 2008 Redistributable Package is installed
- Removed version from client addin table
Other add-ins (like tree-map view, connect, and 'home-made') do work properly.
Does anyone have an idea ?
Thx in advance,
Andy
I have a problem with an add-in in the RTC (Nav2009 R2, build 6.0.33046.0). On the page I want to show the add-in I get the error message "Could not locate the add-in library for '...;PublicKeyToken=...' .
My colleague connects to the same SQL server database, same RTC version, and the add-in is shown on his computer. So I assume that both the add-in name and token are correct in the addins table.
This is what I have already tried without success:
- I copied the add-in directory of my colleaque to my RTC directory
- I ran the RTC as administrator (OS= Win7 Professional SP1)
- Microsoft Visual C++ 2008 Redistributable Package is installed
- Removed version from client addin table
Other add-ins (like tree-map view, connect, and 'home-made') do work properly.
Does anyone have an idea ?
Thx in advance,
Andy
0
Comments
-
Try to register your addin with a Client Register Addin. You can found this tool on web site :
http://blogs.msdn.com/b/cabeln/archive/ ... ected=trueNavision Technical Consultant & .Net Developer0 -
I have tried this, but I get an error about another DLL. The add-in has some additional DLL's that are needed, and apparantly the tool tries to register them all instead of only the one selected.0
-
well include the other dll files.0
-
Can you link a screenshot ?Navision Technical Consultant & .Net Developer0
-
I added 2 screen shots, 1 with the 'working' add-in, and one with the invalid add-inAvallack wrote:Can you link a screenshot ?0 -
ACAE wrote:
I added 2 screen shots, 1 with the 'working' add-in, and one with the invalid add-inAvallack wrote:Can you link a screenshot ?
Ok, and in Client AddIn propertie , can you see your addin ?
To Register a new addin :
1 °) copy your dll in ~\RoleTailored Client\Add-ins
2 °) Execute Client Register Addin form, press button ... so this action 'll install new addins
This process must be execute on each computer.
I hope what your problem 'll be fix.Navision Technical Consultant & .Net Developer0 -
Avallack wrote:
Ok, and in Client AddIn propertie , can you see your addin ?
To Register a new addin :
1 °) copy your dll in ~\RoleTailored Client\Add-ins
2 °) Execute Client Register Addin form, press button ... so this action 'll install new addins
This process must be execute on each computer.
I hope what your problem 'll be fix.
I can see the add-in, it is correctly registered in the table as I can use the add-in from another PC when I connect to the same database.
I have done this, but this doesn't solve the problem.0 -
I've seen instances where the other dll had to be in the same folder as the RTC client. Try to put the other dll in that folder.0
-
All DLL's are in the same folder. That is what I don't understand, it should work but I don't know why it doesn't. I have already created some add-ins, and only this one doesn't seem to workara3n wrote:I've seen instances where the other dll had to be in the same folder as the RTC client. Try to put the other dll in that folder.0 -
no put the other dll in RoleTailored Client folder. i had to do this for an external dll my adddin was using0
-
You're welcome.0
-
Dear Gurus,
I have a same problem with this subject. :?
I have tried all of steps above, but the DLL, what I would like to use, does not work on a Remote Server.
The situation:
1 on my local computer, the DLL is work well, without any error
2 a few days ago, a server was implemented and all of database and environment are moved to this server which is access via RDP
The DLL's was copied into the c:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Add-ins\ folder.
Now, when I login into the server, run that RTC, these DLL's does not works anymore. :?
But, if I open an RTC on my local computer, open that serves's database, the DLL is works properly!
The error message is on the server is: Could not locate the add-in library for ...
The Public Token Key and Name is the same as on my computer.
These DLL's registered into the Client-Addin table.
I made a brand new page with these DLL's, but nothing
Why this error message on the Server? The login and the Network Service account has rights to read this folder, but RTC cannot find it.
Do you have any idea about this siutuation?
I really appreciate your help!
Thank you.0 -
Asallai wrote:Dear Gurus,
I have a same problem with this subject. :?
I have tried all of steps above, but the DLL, what I would like to use, does not work on a Remote Server.
The situation:
1 on my local computer, the DLL is work well, without any error
2 a few days ago, a server was implemented and all of database and environment are moved to this server which is access via RDP
The DLL's was copied into the c:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Add-ins\ folder.
Now, when I login into the server, run that RTC, these DLL's does not works anymore. :?
But, if I open an RTC on my local computer, open that serves's database, the DLL is works properly!
The error message is on the server is: Could not locate the add-in library for ...
The Public Token Key and Name is the same as on my computer.
These DLL's registered into the Client-Addin table.
I made a brand new page with these DLL's, but nothing
Why this error message on the Server? The login and the Network Service account has rights to read this folder, but RTC cannot find it.
Do you have any idea about this siutuation?
I really appreciate your help!
Thank you.
Okay. I have found the solution. Because this dll was made for the NAV2009, and it used a Microsoft.Dynamics.Framework.UI.Extensibility.dll, the NAV2013 Microsoft.Dynamics.Framework.UI.Extensibility.xml is different and changed. A new Solution recompile was necessary, and now this dll is works under NAV2013.
I did not see this problem, because NAV2009 and NAV2013 is on my computer, but only NAV2013 is on the server. That is why this dll is works on my computer.
Thank you.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 328 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
