You are viewing limited content. For full access, please sign in.

Question

Question

Code works in Win7, but on Win10 - Class not found in the specified assembly list

SDK
asked on May 24, 2016 Show version history

We have ColdFusion/Java code that calls the Laserfiche.RepositoryAccess DLL.

Code looks like: 

CreateObject (".NET","Laserfiche.RepositoryAccess.RepositoryRegistration","/laserfiche/lib/9/Laserfiche.RepositoryAccess.dll")

It works on our Windows 7 development environment, but in Windows 10 we get:

Class Laserfiche.RepositoryAccess.RepositoryRegistration not found in the specified assembly list.

The assembly that contains the class must be provided to the assembly attribute.

 

The .NET Framework is up-to-date.

Any suggestions?

0 0

Answer

SELECTED ANSWER
replied on June 1, 2016

I have attached a ZIP archive containing a Visual Studio project that contains a small C# program which prompts the user for information to log in to a LF repository. If you don't have Visual Studio installed, you can run the pinglf.exe executable in the bin\Release directory in the archive, which I've built.

Please try running this program on the machine where the problem is observed. If this program can log in to the LF repository, then RepositoryAccess is installed correctly. If it cannot, then Laserfiche Technical Support can troubleshoot that.

Please rename the attached pinglf.txt to pinglf.zip and then extract it. I had to change the extension to get around this web site's extension blocking.

pinglf.txt (6.31 KB)
4 0

Replies

replied on May 27, 2016

Hi all,

A Support case had been opened for this issue; however, it is unclear whether the issue lies in ColdFusion (which is throwing the error, not the .NET runtime). To test this, try making a test program in C# which logs into Laserfiche, then just logs out and quits. If this test program works, it's an issue in ColdFusion which we can't really help with. If this fails, however, then we can reopen the case to troubleshoot the SDK.

Thanks!

(Thanks Michael for clarifying support and suggesting this test.)

1 0
replied on May 27, 2016

Great suggestion - it's definitely outside our skill set. I'm not sure we can get that going in the short term. We'll try our best next week.

We know (a rather strong word since we have limited knowledge of all the pieces) that the same code works in a different Windows environment and that I can call system DLLs from within ColdFusion.

 

0 0
SELECTED ANSWER
replied on June 1, 2016

I have attached a ZIP archive containing a Visual Studio project that contains a small C# program which prompts the user for information to log in to a LF repository. If you don't have Visual Studio installed, you can run the pinglf.exe executable in the bin\Release directory in the archive, which I've built.

Please try running this program on the machine where the problem is observed. If this program can log in to the LF repository, then RepositoryAccess is installed correctly. If it cannot, then Laserfiche Technical Support can troubleshoot that.

Please rename the attached pinglf.txt to pinglf.zip and then extract it. I had to change the extension to get around this web site's extension blocking.

pinglf.txt (6.31 KB)
4 0
replied on June 2, 2016

Thanks so much for taking the time to provide that executable, Michael.

I extracted it and ran it, and it was able to log into our Laserfiche server.

0 0
replied on June 2, 2016

The issue turned out to be ColdFusion, and the executable from Michael helped narrow it down.

Obviously using ColdFusion in this case adds a few layers of potential problems (Java - ColdFusion - CF .NET Services, etc). I worked with Adobe and we reinstalled the ColdFusion .NET service and resolved some port conflicts.

Thanks all.

1 0
replied on May 24, 2016

you have to install sdk in windows 10 as well. seems like it cant find dll files. check for references.

0 0
replied on May 25, 2016

Installing the SDK Runtime on Windows 10 results in "The update file is not applicable to this system".

0 0
replied on May 25, 2016

What version of the runtime did you try to install?

0 0
replied on May 25, 2016

9.2.1 since we require that version.

I'll try with 10.0.0

0 0
replied on May 25, 2016

Tried 10.0.0.

The SDK runtime installer seemed to install properly, but it didn't change my ability to create the object.

The error is the same (Class not found in the specified assembly list). It is still pointing to the version 9 dlls, but I'm not sure where to even get the version 10 dlls from.

0 0
replied on May 25, 2016 Show version history

The SDK 10 runtime also includes the 9.2.1 files. Please confirm that you also have the VC runtime installed, in addition to .net. The page 'Deploying Laserfiche SDK Dependencies for .NET/COM Applications' in the SDK documentation lists the exact runtime dependencies.

0 0
replied on May 26, 2016

I have the VC runtime installed (a whole list appears in the WIndows Features lists, including Visual C++ 2012 Redist 11.0.61030 and 2015 Redist 14.0.23026).

Same with .NET. I show 4.0.30319.42000 installed.

Via ColdFusion/Java, I can instantiate System.Environment and call seClass.Get_Version(), so I suspect that the .NET integration is working.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.