Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Error in DLL

More
11 Mar 2010 14:50 #9 by admin
Replied by admin on topic Re: Error in DLL
The permissions issue with uploading attachments to forums is now resolved. I apologize for inconvenience.

Please Log in or Create an account to join the conversation.

More
11 Mar 2010 14:24 #8 by admin
Replied by admin on topic Re: Error in DLL
With regard to necessity to re-reference the assemblies: This is known "issue" at the moment. Since we are not installing them into GAC (on purpose), and the examples are not installed together with the code product, and Visual Studio only keeps relative reference and "hints" as to where to find the referenced assemblies, the end result is that we cannot guarantee they will be found automatically. I will make a note to 1) better document this, and 2) for future version, try to do better job at least for default installations (when the installation paths are not modified).

Please Log in or Create an account to join the conversation.

More
11 Mar 2010 14:20 #7 by admin
Replied by admin on topic Re: Error in DLL
Thank you for the details. I understand from your further post that this problem is actually resolved, and since I still cannot reproduce it, it looks like that we leave it as it is for now. It would help if you can specify the operating system/service pack you are running, we may try to re-test on the same setup, if we haven't done that recently.
As to the image upload, I will look into the forum config; the intent was to allow image uploads.
Couldn't the installation file or the files on the target system be somehow damaged?

Please Log in or Create an account to join the conversation.

More
11 Mar 2010 14:10 #6 by Shea
Replied by Shea on topic Re: Error in DLL
Uninstalling and reinstalling the product caused it to work - everything looks good now.

Please Log in or Create an account to join the conversation.

More
11 Mar 2010 14:02 #5 by Shea
Error in DLL was created by Shea
Hello,
After running the demo application and clicking "Read item" I get an "Error in the DLL" message in the Exception field.
Running the provided ConsoleApplication run gives the same error, but with more information. Here is the stacktrace:
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.CheckComResult(Int32 hResult, IErrorInfo* pErrorInfo)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.ReadItemValue(ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.ReadItemValue(String machineName, String serverClass, String itemId, VarType dataType)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.ReadItemValue(String machineName, String serverClass, String itemId)
at ConsoleApplication1.Program.Main(String[] args) in C:\Program Files\OPC Labs\QuickOPC.NET Bonus Pack 5.0\Examples\CSharp\VS2008\Console\ConsoleApplication1\Program.cs:line 17
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
Note that in order to get the provided examples to build, I had to explicitly reference the .DLL's in the C:\Program Files\OPC Labs\QuickOPC.NET 5.0\Assemblies directory - Visual Studio 2008 could not find the references by default.
(I have a couple screenshots I'd like to upload but do not have sufficient permissions)

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.063 seconds