"Could not load file or assembly ‘Txt2AlConverter, Version=14.0.0....." Business Central v14 On Prem

abrar273
Member Posts: 6
Hello All,
I am trying to run this command for Business central On Prem V14.
finsql.exe Command=generatesymbolreference, Database=”Demo Database NAV (14-0)”, ServerName=Server1
I follow this link
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-running-cside-and-al-side-by-side
It left this file navcommandresult.txt with following error for tables.
Table Temp Ab Test Table: Could not load file or assembly ‘Txt2AlConverter, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
This is a test environment, so i uninstall BC On prem and reinstalled it without any error or warning, but still facing same issue.
I verified that Txt2AlConverter.dll is present in this folder "C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client"
Can anyone guide me how to resolve this issue.
I am trying to run this command for Business central On Prem V14.
finsql.exe Command=generatesymbolreference, Database=”Demo Database NAV (14-0)”, ServerName=Server1
I follow this link
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-running-cside-and-al-side-by-side
It left this file navcommandresult.txt with following error for tables.
Table Temp Ab Test Table: Could not load file or assembly ‘Txt2AlConverter, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
This is a test environment, so i uninstall BC On prem and reinstalled it without any error or warning, but still facing same issue.
I verified that Txt2AlConverter.dll is present in this folder "C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client"
Can anyone guide me how to resolve this issue.
0
Answers
-
Hi,
Is the DLL blocked or has it insufficient permissions?0 -
Hi,
Is the DLL blocked or has it insufficient permissions?
Thanks for response.
Running this command with administrator account and I did Unblock DLL from windows power shell and then run this command again and got same results.
[0] [04/04/20 5:00:31 PM] The command completed with warnings in '180' seconds. Details below.
: Could not load file or assembly 'Txt2AlConverter, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.0 -
[Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi,
There seems to be some problem with your BC installation.
Maybe some permissions missing during BC installation.
Please try to register the file in global cache assembly manually.
To do that, open Command Prompt as administrator.
Go to folder: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64
If you can’t find it is this folder, look for a folder with another NETFX version.
Then run the following command:
gacutil /i “c:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\Txt2AlConverter.dll”
If it was registered successfully you should get the following message: Assembly successfully added to the cache
Close the Command Prompt and try to generate the symbol references.
Note: Abrar already confirm that this procedure worked. You can check the comments on the following article in my blog:
https://ricardomoinhos.com/c-side-to-al-table-data-migration/0
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