| Dart Home | PowerTCP Emulation for .NET | Custom Development | Reply | PowerTCP Emulation for .NET Topics | Forums |
| Author | Forum: PowerTCP Emulation for .NET Topic: Deployment |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 2, 2008 8:42 AM If I deploy the application that I have created using the DART DLLs, when I try to run it on a client machine, it fails with an invalid exception error. The system cannot find the file specified Dart.PowerTCP.Telnet, Version 1.0.6.3 Anyone got any clues. this machine is a virgin XP with .Net Framework 2.0 |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted April 2, 2008 10:42 AM Hello Andrew, It seems that the Dart.PowerTCP.Telnet.dll is not being transferred to the client machine. Try setting the CopyLocal property set to True for the Dart DLLs in your project on your development machine. This will create a copy of all dependent assemblies in your project's output (bin and release folder). You need to distribute all the files in this folder to the target machine. Also make sure that there is no other version of the Dart dlls on the client machine. Regards, Arjun |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 2, 2008 10:53 AM The Telnet DLL is currently present in C:\Windows\System32. Is this the incorrect location? |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted April 3, 2008 10:08 AM The Dart.PowerTCP.Telnet.dll needs to be added to the directory that contains the executable for the application. The other alternative is to add the DLL to the Global Application Cache (GAC). This is not recommended as it may cause security issues if the machine is operating as a server. |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 3, 2008 11:29 AM How would I add it to the GAC |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 3, 2008 12:10 PM I Have tried sending the DLL's the the GAC, and I have added a bin directory for the DLL's under the main application folder, still no joy. Can someone confirm the current release versions of the DLL's for me, I have: Dart.PowerTCP.Emulation.Vt.dll ver: 1.1.1.6 Dart.PowerTCP.Telnet.dll ver: 1.0.6.3 |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted April 3, 2008 2:08 PM Is the dll at the same location where the executable is located? The version of the dlls you have is the latest. Regards, Arjun |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 4, 2008 4:40 AM I have tried it with: DLL's at the same location as the executable DLL's in the system 32 folder DLL's in the publish folder as done automatically on network install DLL's in the GAC no joy |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted April 4, 2008 1:16 PM On the development machine make sure you have the following entry in the licenses.licx file: Dart.PowerTCP.Telnet.Telnet, Dart.PowerTCP.Telnet Dart.PowerTCP.Emulation.Vt, Dart.PowerTCP.Emulation.Vt Incase it is not, delete the current entry and add the above mentioned entry and rebuild the application (not the solution). After rebuilding, deploy the app and share your observations. Regards, Arjun |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 8, 2008 6:54 AM both lines are there, have also tried re-entering them as directed, still getting module not found |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 8, 2008 11:26 AM Does the emulator require the c++ runtime libraries to be installed? |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted April 8, 2008 12:03 PM No, there are no C++ runtime libraries to be transferred. Do you see the same issue after installing the application on a fresh machine? Regards, Arjun |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 8, 2008 12:04 PM this is being installed on a fresh machine |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 9, 2008 11:50 AM Is there anything else that I can try? |
Mike Baldwin (Admin)![]() From: Rome, NY USA Posts: 114 Member Since: 04/11/00 Extra Support Options Custom Application Development |
posted April 9, 2008 12:57 PM Please refer to http://support.dart.com/postings?topicid=6874 that also reported a deployment problem. We'll also be research |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted April 10, 2008 5:10 PM What you need to do is put a copy of the msvcr71.dll (the specific version that this solution was tested with is 7.10.3052.4 the version included on the VisualStudio 2003 installation cds) into your application's directory. This will need to be part of any distribution method to your end-users as well. Your development machine will have a copy in it's Windows\System or System32 directory, this file isn't part of any .NET framework installations or any of the VC++ redistributable runtime packages as far as I could tell. Microsoft's stance on distributing this file is that it should be placed in the applications directory and not the system or system32 folder on an end-user's system. Hope this solves your issue. |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 24, 2008 4:37 AM Does PowerTCP Work with Visual Studio 2008?, we are upgrading, and obviously I need to carry on using PowerTCP |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 24, 2008 5:34 AM I seem to be narrowing this issue down. I have a fresh installed XP machine, I have installed Visual Studio 2008 on this system, as well as the PowerTCP Emulator SDK. Installation appeared to proceed with no issues, but the PowerTCP icons did not appear in my Toolbox. I manually added the Dart.PowerTCP.Emulation DLL into my toolbox, this then enabled my project to load, and display in the designer correctly. Running the project gives me the error "Unable to resolve type 'dart.powertcp.emulation.vt, dart.powertcp.emulation.vt' in Licenses.licx. excluding this from the project allows the project to build, but then fails with an inner exception "The Specified Module could not be found" I appear to have an issue with the emulation dll not working correctly, as this is the module that cannot be found on any of the systems that I have used to run the compiled app. can I please have a verified working copy of the emulation dll and instructions on how to register this into my development environment. Thanks |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 28, 2008 11:32 AM I have now managed to resolve this issue, Jason, many thanks for that info, as this is what has solved the problem. Now, as for using PowerTCP with VS2008 - any ideas on the integration? |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted April 28, 2008 11:46 AM Are you still getting an error stating that you are unable to resolve the DLLs Or are you just asking about integrating them into the development environment? |
| AndyJUK From: Burton, United Kingdom Posts: 14 Member Since: 04/02/08 |
posted April 28, 2008 12:00 PM i have now managed to sucessfully install and run my app on another PC. the problem I am looking at now, is the setup routine, does not appear to correctly integrate the PowerTCP suite into Visual Studio 2008 |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted April 28, 2008 12:58 PM We haven't update all of our installation executables yet to integrate with VS 2008. You should be able to just manually add the control to the toolbox and the context help should install during the set up if that option is checked. I'm not sure what else you have tried, but you could always try to remove the reference to the Emulation component, re-add it, then rebuild the project(right click on the project's name in the solution pane and click rebuild, you may want to click clean first). Other than that you can create a simple sample project that demonstrates the issue, zip it up and send it to us at: support@dart.com |
| Reply | PowerTCP Emulation for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|