Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 7, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: Error: Could not load file or assembly 'Interop.SLXSystem, version=7.0.0.1264.............
Sam
Posts: 16
 
Error: Could not load file or assembly 'Interop.SLXSystem, version=7.0.0.1264.............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jul 07 7:15 AM
Hi,
i am trying to add the .Net extension through Sales Logix Architect. to achieve this, when i go to Manage->.Net extensions, it is giving an error as 'could not load file or assembly Interop.SLXSystem,version=7.0.0.1264..........' and i cannot able to add the .Net Extention.
Please help me.
Thanks
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: Error: Could not load file or assembly 'Interop.SLXSystem, version=7.0.0.1264.............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Jul 07 9:35 AM
I think I have run into this before - and I believe it has to do with using the wrong version of the Interop dll - This should be fixed though in Service Pack 1. I looked at my Interop dll (in the Program Files / SalesLogix folder), and the version I have is 7.0.0.1300. If you don't have Service Pack 1 installed, now might be a good time. If you do - you may want to contact SalesLogix tech support and find out why you have the wrong version in there.
[Reply][Quote]
Sam
Posts: 16
 
Re: Error: Could not load file or assembly 'Interop.SLXSystem, version=7.0.0.1264.............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Aug 07 5:11 AM
Thanks Jeff.
Now the problem that i specified above is solved when i install the Service Pack 1, but another problem is,
i am not able see the results when i include the .Net assembly in the Sales Logix Architect. Basically i want to popup the .Net Windows form in the Sales Logix. For that i have written the code in .Net as,
Imports System
Imports System.Windows.Forms
Imports Sage.SalesLogix.NetExtensions

Public Class Form1

Implements Sage.SalesLogix.NetExtensions.IRunnable

Private SlxApplication As SalesLogix.ISlxApplication
Public Sub Initialize(ByVal SlxApplication As Sage.SalesLogix.NetExtensions.SalesLogix.ISlxApplication, ByVal LicenseKeyManager As Sage.SalesLogix.NetExtensions.Licensing.ILicenseKeyManager) Implements Sage.SalesLogix.NetExtensions.IRunnable.Initialize

End Sub

Public Function Run(ByVal Args() As Object) As Object Implements Sage.SalesLogix.NetExtensions.IRunnable.Run
Dim msg As String = "Hello .NET-SalesLogix World!" & vbCrLf & vbCrLf & _
"Argument passed: " & IIf(Args.Length = 0, "None", Args(0)) & vbCrLf & _
"Current userid: " & SlxApplication.BasicFunctions.CurrentUserID() & vbCrLf & _
"Connection String: " & SlxApplication.ConnectionString

MessageBox.Show(msg, ".NET MessageBox")
Return Nothing
End Function
End Class

and in the Sales Logix Architect, i have written the code as,

Sub Button1Click(Sender)

Dim Ext

Ext = Application.Managed.Create ("WindowsApplication1","WindowsApplication1.Form1")

Application.Managed.Run Ext,"Hi"

Application.Managed.Destroy Ext

End Sub

When i run the Sales Logix Client and click the Button1, i didn't get any output, neither the messagebox nor the Form1 opened.

Please help me to solve this problem.
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: Error: Could not load file or assembly 'Interop.SLXSystem, version=7.0.0.1264.............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Aug 07 10:04 AM
Before I get into looking at your code, there is one thing I would try first. After getting through the interop problem, I then encountered the same thing you did on all of my client machines. Apparently .Net extensions are not always set up on a machine during installation, especially if you install the client from a network install that you built. Try running C:\Program Files\SalesLogix\RegisterSLXNetExtentions.bat, and if everything was successful, you should see some output on the code you built. Also, remember that you need to run the batch file with elevated permissions. If you still don't see any results, post a reply and either I or one of the experts on this board can help you.
[Reply][Quote]
Sam
Posts: 16
 
Re: Error: Could not load file or assembly 'Interop.SLXSystem, version=7.0.0.1264.............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Aug 07 12:42 AM
When i execute the above code, and display the Ext Value, it is giving some GUID value and NOT blank, that means .Net Extensions installed successfully, but don't know what is the problem, i am not able to show the .Net windows form in sales logix through which i want to perform some business logic which is written in .Net windows form Form1. Anyhow, i have run the
C:\Program Files\SalesLogix\RegisterSLXNetExtentions.bat file also. But no use.

My requirement is to show the .Net windows form in sales logix to perform some business functionality through .Net windows Form.
Any ideas please?

Thanks,
Sam
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Error: Could not load file or assembly 'Interop.SLXSystem, version=7.0.0.1264.............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Aug 07 8:28 AM
See my Reply in the other thread
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/7/2025 12:44:05 PM