Install OPC Server + publish website

Source: Internet
Author: User
Tags microsoft sql server 2005
Install OPC Server 1. software to be installed

Kepserverex_opc, Microsoft SQL Server 2005、dotnetfx35sp1.exe (freamework 3.520.20.iis6?opcserversimulater=toolboxc#+e.exe (OPC softing)

Ii. installation sequence

First install the industrial control software IIS6 --- kepserverex_opc (configure kepw) --- freamework 3.5 --- Microsoft SQL Server 2005 --- opcserversimulater---toolboxc#+e.exe (OPC softing)

3. Configure kepserverex_opc

Replace the simdemo. OPF file in the following path. The PLC points we need in our project

Iv. Error 1. When installing kepserverex_opc

Error:An error [5006: ox80004005] has occurred while running the sepup

Solution:Freamework 3.5 is not installed. Install it.

 

 

 

Publish website

Server Configuration: Windows Service 2003 \ IIS 6.0 \ Framework 3.5

I. Publish a website

Error:

Solution: ASP. NETVersion 2.0

2. permissions to be configured during release

A published website is intended to be accessed by other users (these users may be anonymous users ). Users can read and write data. Write permission is required, so the following describes the configuration principles and steps.

Note: There are two writes in our project:Write diary,WebServiceCall OPCWrite point.

1. Configure the user permission to write a diary:

Settings: because the operation of system logs has permission control, we also need to grant the permission to the operation of system logs to the Asp.net user. The method is as follows: "Start-run", enter the command, regedit-HKEY_LOCAL_MACHINE, locate system-CurrentControlSet-services-EventLog", Select" security-permission-Add ", and then find" Network Service"

 

 

2. Configure OPC point write permission

L added Network Service Permissions (for OPC server)

In Windows Server 2003NETWORK SERVICEThe account is specially designed to provide sufficient network access permissions for applications. In IIS 6, you can run Web applications without privilege escalation.

Anonymous login:The entire phrase means anonymous login, so this user has the lowest permission, only browsing, that is, read-only permission. If you do not log on to FTP or HTTP when downloading software, this is the status.

 

 

 

Opcenum: used to manage various protocols of OPC services.

 

L sets the anonymous user of WebService.SetAdministrator.

StartOPCAnd WebServiceThe user is the same!

 

Iii. Problems in Release: 1. WebService call

Error:

Solution:

1)Find Component Service

2)Find OPC server simulater to enable permissions and add the network servire permission.

2. Website, user access, and write permissions

Solution:

1)Find Component Service

2) Find OPC server simulater and add group everyone

3) restart. Solution!

Solution Principle:Asp.net: this user belongs to everyone. Therefore, after mounting everyone to çom, the website can activate COM.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.