Could not load the selected library type (Version 2.60B)

Charlie853
Member Posts: 5
I am trying to add feilds to a current form, (using the feild menu I select the Tool ID and drop it on the form) when I try to compile it gives me this error: Could not load the selected library type. When I select ok the Form Cal editor opens, I am not editing any of the code, nor is there any reference in the code to any of the fields on this page.
I can add fields to the master page with out any problem, it is the pages within the master I am having trouble with.
Anyone have a solution to this? Your help is greatly appreciated.
Charlie853
I can add fields to the master page with out any problem, it is the pages within the master I am having trouble with.
Anyone have a solution to this? Your help is greatly appreciated.
Charlie853
0
Comments
-
Hi!
It sounds like your form does contain an global or local variable of type Automation which is not installed on you computer.
You need to have this automation registrered before you will be able to compile the form.0 -
Also it is not a good idea to have the automation on form. The automation should have it's own CU so that it is isolated and doesn't need to be installed on every machine.
Only users that actually interact with it would require it, and if you are compiling all objects or upgrading, the CU can be updated without much effort.0 -
Hello
Thank you
I am not sure I understand, Somewhere there is an automation on this form? I am new to this configuration I have just started at this company, I am experienced in Navision however this particular case is highly customized. A button was added to pull an external document would this be the cause? Everyone in sales uses this button. I would appreciate a hint on how to find this, I am told by mangement that they are unaware of this automation.
Any help is greatly appreciated
Charlie8530 -
Export the object to text and search for automation.
You will find the variable. Then search the registry on the users computer that use the feature for the GUID.
Once you find where the DLL is then copy that to your computer and register it. Then you can compile the Form.0 -
Click on View -> CAL Globales
Here you can see one or more Automation variables with subtype 'Undefined varaible', you need to register that control, after that it will complile.
Regards,
RakeshRakesh Patel
Navision Developer0 -
Thank you
I have found the reference under the CAL Globals. Unfortunately all it states is Name: Detector Subtype: unknown automation server. Is there any other way I can find out what this is or turn it off? We are not using any automation that I can find in the daily operations.
Your help is greatly appreciated
Thank you
Charlie8530 -
If you are sure that you are not using any automation then delete that "Detection" variable from CAL Globals and then try to complile it, if it has been used in code it will give you error, then comment that code and try to compile it, repeate this steps untill it compiles sucessfully.
Hope this will resolve your problem.
Regards,
RakeshRakesh Patel
Navision Developer0 -
I am over processing this, I am just not able to figure This out. Is the Dectector MSAccess?
Your help is greatly appreciated
Thank you.
OnPush()
IsActive := VARIABLEACTIVE(MSAccess);
IF IsActive THEN
CLEAR(MSAccess);
IsActive := VARIABLEACTIVE(Detector);
IF IsActive THEN
CLEAR(Detector);
sAppName := 'MSACCESS.EXE';
//strdb := "Work Order No.";
strdb := ('[Enter The Work Order Number] = " &') + (' ') + ("Work Order No.") + (' ')+('& "');
Pathlocator;
IF strform <> '' THEN BEGIN
CREATE(Detector);
IF Detector.MsAccessRunning(sAppName) THEN BEGIN
CREATE(MSAccess);
MSAccess.CloseCurrentDatabase;
MSAccess.OpenCurrentDatabase(strpath);
MSAccess.DoCmd.OpenReport(strform,2,'',strdb);
//DoCmd.OpenReport "MyReportName",2, , "[SomeDate] = #" &
// MSAccess.DoCmd.FindRecord(strdb);
END ELSE BEGIN
CREATE(MSAccess);
MSAccess.OpenCurrentDatabase(strpath);
// MSAccess.DoCmd.OpenReport(strform);
MSAccess.DoCmd.OpenReport(strform,2,'','[Enter The Work Order Number] = " & strdb & "');
// MSAccess.DoCmd.FindRecord(strdb);
END;
END ELSE BEGIN
MESSAGE('The Model Type is Empty, so this feature is Disabled');
END;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