Remote server cannont connect to this machine

I'm using datasockets in Labview 8.5 (Evaluation copy) to develop an OPC client application
to connect with a remote OPC server running Kepware.  I've tried a number of different
ways with no luck.  When I try to connect using front panel connections, I get the remote server
error cannot connect to this machine (check local permissions), but in the event log, the logon
audit is a success.  So I'm not sure what permissions need to be changed.  So far I have changed
DCOM security settings to allow Network user, the name of the OPC server, anonymous, everyone, access
permission for both local and remote and the same in launch and activation permissions.
I've tried using the NI OPC Client example and I just get an error 42, generic error.  I have spent my wheels
with this one and no prevail.  I downloaded the OPC Quick Client from Kepware, which I can use to connect
to the OPC server, but I do get a Failed to connect to 2.0 data access for group ...., but it still displays the
values once the items are selected.  NI Server Explorer works just fine and Iconics also.  Has anyone run
into this problem before and how did you fix.
Thanks,
Jay

Typically if the Kepware OPc Quick Client cannot connect to the Kepware OPC Server there are possibly more than DCOM issues involved. The first thing that comes to mind is that the OPCproxy.dll and OPCcomn_PS.dll on the 2 PC's are out of Sequence. You can easily verify the versions on each PC.This files should be located in the system32 folder.
The next thing we usually check is that Ole32.dll and OleAut32.dll are properly registered on both PC's.
To do this, go to the command prompt.
Tyep regsvr32 ole32.dll
A dialog box should appear saying: DllRegisterServer in ole32.dll succeeded.
Click OK.
Now type regsvr32 oleaut32.dll
A dialog box should appear saying: DllRegisterServer in oleaut32.dll succeeded.
Click OK and type exit to close the command prompt window.
Reboot and try to connect to the server again.
Remember these files need to be properly registerd on both PC's.
If that does not work then you can always go the rout of opening DCOM as wide as possible. Things to consider are as follows.
COM/DCOM, which is what OPC uses as a core technology, does not work well, and usually not at all, across multiple domains.
It is intended for use in Domains which have a central Access Control List. If you are using a WG(WorkGroup) or WG to Domain or Domain WG you need to make sure the OPC users in the Domain are built into the local security account of the WG PC(s).
To open security wide, which should only be done on a secure network, You need to have System and Everyone with Launch and access permissions on all PC's involved in the OPC connection. You should set this at the computer level and not the application level.
We have found that for reasons only known to Microsoft we sometimes need to set Local Securty Policies. Specifically we see a need to sometimes Enable "Network Access: Let everyone permissions apply to anonymous users" and set "Network Access: Sharing and Security Model for local accounts" to "classic - local users authenticate as themselves".
With recent Microsoft security patches we have seen in some cases a need to add Network Users for Access and Launch Permissions.
If you have a secure network you can also add Domain Admins and Domain users.
Once you have achieved an OPC connection and transfer of data between KepserverEx and you OPC clients you can then start to restrict DCOM permissions again.
If you have any further questions about using KepserverEx with OPC Clients you can contact [email protected]
Fred Loveless
Support Manager
Kepware Technologies
http://www.kepware.com
Fred Loveless
Kepware Technologies
http://www.kepware.com

Similar Messages

  • We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means

    We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means  

    Hello,
    Did you means that you use the Windows Azure Virtual Machine DNS name as the server name in the Reporting Server Web Services URL?
    For example:
    Report server:http://uebi.cloudapp.net/reportserver
    Report manager:http://uebi.cloudapp.net/reports
    If you want to connect to Report Manager on the virtual machine from a remote computer, you should create a  virtual machine TCP Endpoint and open the port in the virtual machine’s firewall. By default, the report server listens for HTTP requests
    on port 80.
    Reference:http://msdn.microsoft.com/en-us/library/jj992719.aspx#bkmk_ssrs_connect_2_remote_RM
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • If your remote will not connect, read this, it will most likely help you.

    If your remote is not connecting, I can almost guarantee it is because you need to forward the ports on your router necessary to control it. I've suggested it to MANY people, and it has helped 100% of them. You need to forward ports TCP 3689 and UDP 5353.
    If you don't know how to do this go to the website www.portforward.com, and click "Guides". Then, under Port Forwarding", click "Port Forwarding Guides by Router".
    It doesn't matter if you're using a PC (which I am), or a Mac (which many of you are), this is more than likely what you need to do.
    And for those of you who have had no problem whatsoever: I'd make sure your security is enabled. If it's not, yer in for a world of hurt if someone finds that out.
    Please reply if this helped you, or if you need some more information. I will check back at 9:00PM Central when I get off work.
    Message was edited by: dylanfowles

    This is the exact same problem i am experiencing, wired pc, into router that also provides the wireless connection for my iphone. I get no device popping up in itunes when trying to add a library in remote.
    I have added the port forwards to my router with no joy, disabled any and all software firewall/av, no joy.
    Its quite frustrating as i can get to my laptop's library just fine (laptop is wireless), i've even tried at work and can get over wireless via an access point onto the network and my pc there is wired in.
    I can only guess it is my router doing something stupid, or because it is running as a gateway and router, or something.
    Any other info would be great

  • Accessing Javabean on remote server wireless connected

    I will be grateful if can help me.
    I am unable to connect to Remote Javabean on server from dedicated client application. Is it possible?
    If possible does the J2EE allows conection to the server if server is wireless connected from java application

    When you run the client application , you have to set a command line parameter, telling it which remote server you are connecting too..

  • More Remote Server Management in a single Machine

    Hello guys.
    My doubt is the following.
    I need to configure a machine that I have to serve 10 users at the same time.
    To serve mean that every user should be able to use the same machine, each with a different profile, that everyone should be able to start the APP and anything else to mind their own business.
    The reasoning is the same as those who use RemoteDesk on windows, or have more credentials to use the same machine but like I have different machines.
    What is the solution?
    - Create multiple virtual machines on the same?
    - Install an APP like OS X Server to manage multiple users and install Apple Remote Desktop to any user who wants to access remotely?
    I am totally confused ...
    I hope for your help.
    Best Regards
    Al

    thanks for your suggestion laurent,
    If we are creating separate schema for each application in the same database, (assume we have more than 20 applications) whenever a user run their query from their application, hit ratio will be very low. So, we should configure shared pool, buffer cache etc accordingly (to avoid parsing). So, we need to configure entire database for its performance.
    Because so many procedures and queries are running in each application. If we add one more application, no idea about the performance even if we tune the database.
    Instead, we can create a separate instance for the new application and host the data in the new database. This application will use its own instance setting for its performance.
    any suggestion

  • DW Procedures to connect to MS ACCESS database located on remote server

    I am confused about the procedures within Dreamweaver CS3 to connect to a MS ACCESS database on a remoter server.
    I am working through a tutorial book, "Dreamweaver 8 with ASP, Cold Fusion and PHP Training from the Source", but the instructions are unclear concerning the procedures to connect to a MS ACCESS database located on a remote server. 
    The book indicates that the server administration has to create the DSN for you and screen shots indicate that you will result in a list of DSNs to choose from when creating the connections .asp file.
    I went through the procedures to create a connections .asp and resulting in a connection without and tables (of course) because I do not initially have any connection information from my remote site.
    I have generated the required two lines of code as follows for my MS ACCESS database connection on my remote server:
    'Database connection info and provider
    strCon="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&_
    Server.MapPath("database\trans.mdb") & ";" &_
    "User ID=xxx;Password=xxxxx"
    The question that I have is:
    How does this connection coding relate to the "connections/conn_newland.asp" file that was create within the Dreamweaver screens?  How do I merge the ASP coding?  The file (/connections/conn_newland.asp) generated within Dreamweaver is as follows:
    <%
    'FileName="Connection_odbc_conn_dsn.htm"
    'Type="ADO"
    'DesignationType="ADO"
    'HTTP="true"
    'Catelog=" "
    'Schema
    Dim MM_conn_newland_STRING
    MM_conn_newland_STRINT = "dsn=newland;"
    %>
    Any advice would be appreciated.  I know that this is simple but debugging an error from an  ASP coding merge would be a "bear" to debug!

    I have not used MS Access myself (fortunately) but I believe it works much like the old, old way of achieving a multi-user database in FileMaker.
    That is, it is not a true client-server database but more a peer-to-peer database and that each peer opens the same database file which is available to multiple user via file sharing. Therefore as elikness said it should just be a matter of putting the files on your Lion Server and then sharing that folder/volume using SMB sharing.
    However one thing to be aware of, since MS Access is not a true client-server database I would imagine it uses record locking to manage simultaneous direct access to records in the same files. File or Record locking is something that has historically been a bit flakey when using Windows clients with a Mac file server (and probably vice versa).
    While I am not proposing it as a solution to consider seriously, it is worth you knowing that FileMaker Pro is a database system that is available for both Mac and Windows and depending on how you configure things can be considered to stretch from a configuration very similar to MS Access at the low end all the way to a high-end MS SQL Server style setup at the top end. See http://www.filemaker.com for details.
    There is also a a third-party tool available for migrating databases to or from FileMaker Pro and it can convert MS Access databases to FileMaker Pro see http://www.fmpromigrator.com/
    You could use FileMaker Pro just on Windows machines if you wish.

  • Can no longer connect to remote server via VPN

    I recently installed OS 10.5.8, and have found that I can no longer connect to my server at work. The VPN itself (via PPTP) works fine, it's just that when I try to connect to the remote server (via Connect to Server) I get a dialogue saying 'A volume failed to mount.' A further dialogue says 'Sorry, the operation could not be completed because an unexpected error occurred. (Error code -6602)'
    Has anyone found a way around this, please? I'm disabled and I need to be able to work from home – without the connection I'm stuffed! Obviously I've tried rebooting the machine etc, but nothing seems to help.
    Thank you for any assistance you can give.
    Kitty.

    For some random reason this connection has begun working again – please ignore the question!

  • Connecting to remote server slows down computer

    We've been connecting to a remote server for years, and only recently have this problem:
    When connected to a remote server, the entire system runs sluggish. This only happens with one remote server -- other connections don't cause this problem. The system is slow even if we are not reading or writing -- just the connection seems to cause the slowdown.
    What could be causing this?

    You need to enable WinRM on your system. Open powershell on the system you want to connect to remotely and enable it by typing:
    C:>enable-psremoting -force
    WinRM already is set up to receive requests on this machine.
    WinRM has been updated for remote management.
    Created a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this machine.
    This will configure WinRM for you. Check out this technet powershell training session.
    http://technet.microsoft.com/en-au/events/ee676904.aspx
    ref: http://social.technet.microsoft.com/Forums/en/ITCG/thread/54417b48-68ae-40ac-a303-74aed4e7e81a
    Satyam MCITP, MCPD

  • Web Service Error : Unable to connect to the remote server

    Hi,
    I encountered below errors while I run the web service in ERP 2006 system :
    Unable to connect to the remote server,
    No connection could be made because the traget machine actively refused at xxx.xxx.xxx.xxx:443
    Pls kindly advise.
    Thanks.
    Edward Tso

    Hi,
    Do you have proxy server , check property added t.o the java proxyparameter .
    Also check the log , any fire wall restricting the connection.
    Its better, you put error log you get.
    Regards
    Nagaraju

  • How do I setup a php testing server that connects to my web host?

    My web host (webhostingpad.com) has php on it. I need to setup a testing server that connects to this so I can test my site locally.
    My questions are:
    1. Do I set this up as a local network connection or an sftp (same as my remote)?
    2. what information do I put in to make this work?

    1024MB is enough to have 2 instances but You have to know what are going to be the requirements levels of those instances in order to check if your memory is enough.
    The memory is a theme that relate Oracle SGA with RAM in the machine.
    To have a second database server you have to make another installation in a different Oracle Home.
    It is not the same to have 2 instances than 2 Oracle database servers.
    Do you know what is the difference ?
    Joel P�rez

  • Configuring local and remote server mysql

    So I am loosing my mind a bit.  I have a local testing server and a remote server.  My local MAMP database works fantastic with my website.  I have a php script under a folder 'connections' labeled "localhost.php" that is used to as the connection to my MYSQL database.  I uploaded my entire site to a remote server, configured the remote database (000webhost.com) and for simplicity, just changed the configuration in the original 'localhost.php' to match the remote server database connection.  However, no matter how many times I try, I can't get it to connect!  When I go online to 000webhost.com and access the database, it is in fact functioning.  So the error is definitely in the connection.
    It seems that even though I specify the url for the host as mysql7.000webhost.com, I get an error indicating it cannot connect to the url.  The url has the address of my local server, followed by the remote server details.  I can't seem to change this and it is driving me nuts.  FTP works fine, just the database.  Any pointers?
    As a summary, here are the steps I made:
    clicked on "databases" window
    double clicked on my database name "local host"
    Changed the username, host, database, and password to EXACTLY what I was provided
    Clicked test and I receive "unidentified error occurred"
    http error 404 pops up with a url indicating it is attempting to route through the my local url first (localhost:8889)

    I believe it is specific to DW.  The odd thing is, I have been able to get it to work before.  It just randomly started failing
    Here is the error I get when I attempt to connect via DW.  As you can see, it looks like it is first trying to go through my local testing server (localhost:8888).  I don't want this but for the life of me can't figure out how to get it to route directly to the URL.
    What I enter to create the database connnection:
    The credentials provided (no password for obvious reasons)

  • Suddenly can't put files to remote server (again)

    Hello,
    In Dreamweaver 5.5 (OS 10.7) I suddenly can't FTP to the remote server. I had this problem a couple months ago (http://forums.adobe.com/message/5145574#5145574) and it was fixed by the following suggestion:
    Close DW.  Reboot your computer. Open DW. If you still cannot FTP to server, go to Site > Advanced > Recreate Site Cache.
    This worked for me the last time, but unfortunately it hasn't solved the current problem.
    At the moment, the updated files go through the normal process of being "put" to the server, but the changes don't appear when I check the live site. I've tried refreshing the page and emptying the cache. The files seem to be uploading to the correct location (they are not being put into a sub folder or anything). I've verified that I can connect to my web server. I haven't changed anything in my site definition and this problem just appeared out of the blue.
    Just like when this happened to me before, there are random files that want to synchronise (even though they haven't been updated), but nothing changes on the remote server. I've also tried to synchronize by 'deleting remote files not on local drive', but that doesn't help.
    Here is a glimpse of my current FTP log, in case that is useful:
    Any suggestions would be hugely appreciated. Thank you!
    A

    Hi drstir,
    Can you check out the solutions in this document, and let us know if you still need help?
    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-ftp-issues-dreamweaver-cs5.html
    Thanks,
    Preran

  • Debug flex app loaded from remote server

    Hi,
    I'm developing a flex app which gets loaded from a remote
    server and it connects using amf to that server and gets some data.
    Now, I can't test from within the flex builder ide, as the URL will
    be empty. When I test using IE/Firefox pointing to the remote
    server URL where this debug.html is mounted, the swf asks for a
    host ip/name where a flash/flex debugger runs. When I give
    localhost/127.0.0.1, it fails and displays the dialog box again. Is
    there a way to connect the swf from remote server to connect to a
    debug console inside the FB2 ide?

    Well, I ran all commands shipped with FB2and found out that
    fdb does connect and allows to "continue". Still the in IDE
    developing experience and quick turn around isn't there. Is there a
    way to get the URL from which the swf was loaded from within the
    swf, so that if its a remote server, I can get data from it, else
    its in debug state, so I can get data from some hard coded
    host.

  • Trouble 'putting' dynamic web pages to remote server

    I have a site defined in DWCS5. I have two servers defined, a local testing server on my computer and the remote server at the hosting company. I have no connection problems with either. I can put 'static' web pages from the local testing server to the remote server without any problems.
    But when I try to 'put' a page that relies on dynamic content from my local testing server, all of the connection code is based on the local connection, it doesn't get updated to the remote connection code. When I browse to the page on the remote server, I get errors, essentially file not found errors because the connection code is looking for the local resourses.
    Warning:  require_once(../Connections/localhost.php) [function.require-once]: failed to open stream:
    The code should read require_one(../Connections/bluehost.php) to run properly on the remote server.
    There are two different connection files in the Connections sub directory. There is the one with the connection code to access the local database and then there is another with the connection code to access the remote server's database. The code in both files is correct and works when called on the appropriate server.
    If I go through and edit on the remote server and manually correct the code, the page will work, but then my local page has the remote server's connection strings and won't work again. I'm getting really good at running FIND/REPLACE.
    I just have to change the name of the connection.
    I need to be able to transfer a dynamic page from local to remote and have the connection code updated so that the code on the remote is for the remote and the code on the local is the code for the local.

    I think I figured out my own problem.
    I made the database connection information exactly the same for the local server database and the remote server database. Now when I upload the local data to the remote server it seems to be working.
    I guess I over thunk it.

  • Firefox 17.0 - videoclip on localhost=OK - on remote server voice=OK picture=NO - opera on remote server=OK

    Using
    Firefox 17.0
    openSUSE 12.1
    Running a videoclip on localhost the clip works fine.
    Running the clip from a remote server I hear the voice but no picture
    Using Opera 12.12 build 1707 the clip works fine from remote server
    How to fix this?
    I usually use Firefox in daily work

    Thanks for response.
    In https://www.mozilla.org/en-US/plugincheck/
    VLC Web Plugin
    Version 2.0.5 Twoflower, copyright 1996-2011 VideoLAN and Authors
    http://www.videolan.org/vlc/
    2.0.5
    Up to Date
    Shockwave Flash 11.2 r202
    11.2.202.0
    Up to Date
    NPAPI Plugins Wrapper 1.4.4
    nspluginwrapper is a cross-platform NPAPI plugin viewer, in particular for linux/i386 plugins.
    This beta software is available under the terms of the GNU General Public License.
    Unknown plugin
    Research
    IcedTea-Web Plugin (using IcedTea-Web 1.3.1 (suse-17.1-x86_64))
    The IcedTea-Web Plugin executes Java applets.
    Unknown plugin
    Research
    (This is installed on PC)
    PackageKit
    Plugin for Installing Applications (new)
    Unknown plugin
    Research
    Skype Buttons for Kopete
    Mime Type x-skype for Skype Buttons
    Unknown plugin
    Research
    FIREFOX IN SAFE MODE following instructions
    Same problem
    In https://www.mozilla.org/en-US/plugincheck/
    Clicking
    Package Kit Research button = https://www.mozilla.org/en-US/plugincheck/null
    Skype Buttons for Kopete = https://www.mozilla.org/en-US/plugincheck/null
    Why videoclip is ok in Firefox running from localhost, but not in Firefox running from remote server.
    The videoclip is ok as it shows in Opera both from localhost and remote server.
    I am using KDE 4.7.2 (4.7.2) "release 5"

Maybe you are looking for

  • HT204053 can I have two iphones on one icloud account?

    can i use 1 icloud account for two iphones?

  • How to change the default sql servery query name?

    Whenever we click on new query button, Sql server automatically opens a new query with default name SQLQuery1.sql. Can I change this default name? What I mean to say is I have to work with quite a number of databases on different servers. So I open m

  • WinAD manual authentication to two domains

    Hi, We have our windows 2008 domain (A) and a secure windows domain (B) which we have a one way forest trust with.  Their trust of us is listed as 'External, not transitive'. So A - Forest, Transitive -> B B - External, Not Trans -> A We are running

  • BME-99003:  An error occurred

    During mapping from database tables to Toplink classes (about 100 classes) i have such an error: Message BME-99003: An error occurred, so processing could not continue. Cause The application has tried to de-reference an invalid pointer. This exceptio

  • Can't remove some tracks marked with exclamation

    Hello everyone, I recently purchased a new iMac, and while I had previsouly moved my entire iTunes library to the cloud (iTunes Match), thus not having all those gigabites filling the old Macbook's drive, now I am moving the whole thing back to the i