Вы находитесь на странице: 1из 15

HResult Error in WinCC V7.x and V6.

HResult Error 0x80004003 0x80004005 0x80010105 0x80010108 0x80030002

Cause

Remedy

The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80004003" The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80004005" The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80010105" The network settings are incorrect. The project is no longer located at its "old" place, or the project file "<Project name>.mcp" is defective. Check the network settings of the computer. Use the WinCC Explorer menu options "File > New" to create a new project with the same name. Then copy the new project file "<Project name>.mcp" into the original project. You should now be able to open the project again. Copy the project again using the project duplicator.

0x80030005 0x80030050

The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80030005" The following files are not valid SQL databases, because the project was not copied with the project duplicator:

<Project_name>.mdf <Project_name>.ldf

0x8004610a 0x80046105

The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x8004610a" The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80046105"

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x

0x8004611c

The Windows user's rights are inadequate.

Change the user's rights. The Windows user who is logged in should have the following properties:

Main user rights at least Be a member of the SIMATIC HMI group In the case of server-client systems, the user must be known on both systems.

0x80046126 0x80046127 0x80046128

<Project_name>.mdf and <Project_name>.ldf are not Reinstall the SQL server. created when you create a new WinCC project. The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80046127" The release to the "aplib directory" is incorrect or you Enter the current user in the Windows user group are using a different Windows user than at the "SIMATIC HMI". installation of WinCC. The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80046206" The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80070035" The name of your computer is assigned multiple times Unplug the network cable and change the computer in your network. name. Plug in the network cable again and restart the computer. The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x8007046a"

0x80046206 0x80070035 0x80070043

0x8007046a

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x

0x800704cf

The Windows user's rights are inadequate.

Change the user's rights. The Windows user who is logged in should have the following properties:

Main user rights at least Be a member of the SIMATIC HMI group In the case of server-client systems, the user must be known on both systems.

0x80080005 HResult Error without number when opening a WinCC project. Error message: "Open WinCC project - The project can only be opened after conversion with the Project Migrator."

The possible causes and remedies are in the chapter entitled "Description of the HResult Error 0x80080005" This error is due to the fact that WinCC cannot find a After installing WinCC, if you want to open an existing network card. project, you cannot and get the error message "HResult Error" displayed. It is also not possible to start the Global Script and Graphics Designer after creating a new WinCC project. Please proceed as follows to clear this error. Make sure that the right driver software for your network card is installed and that TCP/IP protocol settings are configured correctly. Furthermore, the network card should be activated (if necessary check any BIOS settings).

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x Description of the HResult Error 0x80004003:
Option 1. 2. 3. Cause Server and client computers are not in the same work group. The logged-in Windows user of the server has not been created in the Windows user administration of the client. An operating system is being used that is not released for the version available. Remedy Change network settings of your computer accordingly. Add the relevant user to the Windows user administration of the client. Use an operating system that meets the requirements of SIMATIC WinCC (Entry ID 21927773).

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x Description of the HResult Error 0x80004005:
Option 1. Cause The Windows user isn't a member of the "SIMATIC HMI" Windows user group. Remedy The "SIMATIC HMI" user group is created when WinCC is installed. In order to use WinCC without encountering any problems, the Windows users must belong to this group. The Windows user should not be a member of any other user groups with restricted rights because user rights are cumulative. As soon as the rights of a group are restricted, the rights of the corresponding user are restricted accordingly. There is detailed information available in the WinCC Online Help under "WinCC Information System > Installation Notes > Installation Requirements" Note: Changes to user rights are effective only after Logout/Login. 2. The operating system is in a language different to the 5 possible languages (e.g. Swedish or English (USA) instead of English (UK)). The complete hard disk is full. You must set one of the 5 possible operating system languages.

3.

Check your hard disk to see which data can be removed or replace your hard disk with a larger one. Note A message will be displayed in the Event display.

4.

The project has been copied from another medium (e.g. CD/DVD). This means that the files were stored with write-protection. SQL server did not start when creating a new project. No IP address has been entered in the CCAgent.

Remove the write-protection from all the files.

5. 6.

Start the SQL server manually. Enter the relevant IP address.

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x Description of the HResult Error 0x80010105:
Option 1. Cause The Windows user's rights are inadequate. Remedy Change the user's rights. The Windows user who is logged in should have the following properties: Main user rights at least Be a member of the SIMATIC HMI group In the case of server-client systems, the user must be known on both systems. Open the "mcp.ini" file and delete the entries of the "Recent Files List". Now, open the project again with the WinCC Explorer. Reinstall WinCC or the SQL server to eliminate a defective installation.

2. 3.

The paths in the "Recent Files List" does not match the actual storage paths of the *.mcp files. Defective WinCC or SQL server installation.

Description of the HResult Error 0x80030005:


Option 1. 2. Cause <Project_name>.mcp is write-protected. The logged-in Windows user only has "user rights". Remedy Remove the write-protection from the <Project_name>.mcp. Assign this user at least main user rights or log in with a Windows user who has at least main user rights.

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x Description of the HResult Error 0x8004610a:
Option 1. Cause The following files are not available, damaged, invalid or cannot be accessed. <Project_name>RT.mdf <Project_name>RT.ldf <Project_name>.mdf <Project_name>.ldf Errors have occurred when copying the project. Important files cannot be copied, because they were being used at the time of copying. Remedy Check whether the files are available, damaged and valid, and whether you the necessary authorization to access the files. If the files are not available, damaged or invalid, use the last functioning backup of your project. If you cannot access the files, check whether your Windows user has sufficient rights.

2.

You should use the Project Duplicator to copy the project and the project should be closed. Information on this is available in: In the WinCC Online Help under "WinCC Information System > Working with WinCC > Working with Projects > Duplicating and Archiving Projects". In the WinCC Online Help under "WinCC Information System > Configurations > Redundant Systems > Working with Redundancy > Configuration > WinCC Redundancy Project Duplicator". In Entry ID 22821109

3.

The security mode of the SQL server has been switched from "Mixed Mode" to "Windows Authentication Only".

WinCC uses an SQL server login to set up a connection to the SQL database. If the security mode is set to "Windows Authentication Only", WinCC can no longer access these databases. The following instructions indicate how to set the security mode of the SQL server to "Mixed Mode". No . 1 Procedure Open the SQL Server Enterprise Manager via "Start > Programs > Microsoft SQL Server > Enterprise Manager". Extend the "SQL Server Group" in the left

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x


Option Cause 3 4 5 6 7 4. The computer name has been changed. You should no longer change the computer name after installing WinCC and after the first call of the SQL server. There are illegal characters (special characters) in the path name of the project directory. Access rights are insufficient. Remedy navigation window by clicking on the plus sign. Right-click on (<Computer name>\WinCC) and select the "Properties" item. Switch to the "Security" tab. Here you select "Authentication > SQL Server and Windows". Confirm the prompts to restart the SQL server. Now you can open projects with WinCC.

If the computer name is to be changed nevertheless, then you must reinstall the SQL server. Refer also to Entry ID 5708281. Information on illegal characters is available in the WinCC Online Help under "WinCC Information System > Working with Projects > References > Characters not permitted". Check that the current user has sufficient rights. Check whether the release of the current WinCC project has been changed. Check whether the current Windows user is assigned to the SIMATIC HMI user group. Note Changes to user rights are effective only after Logout/Login. In the WinCC Online Help under "WinCC Information System > Configurations > Multi-user Systems > System behavior at Runtime > Special aspects of communication in servers with multiple network cards". In Entry ID 17830226

5.

6.

7.

The incorrect IP address has been entered in the SIMATIC Shell.

8. An attempt is being made to open the project via a network drive.

Open the project on the local computer.

Description of the HResult Error 0x80046105:

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x


Option 1. 2. Cause The "DCF file" is defective. The WinCC instance name of the SQL server does not match the current computer name. Remedy Save the "DCF file" and replace this file with the "Server.dcf" file from the WinCC\bin directory. Reinstall WinCC.

17.11.2009 From 15

Entry ID: 6836122

HResult Error in WinCC V7.x and V6.x Description of the HResult Error 0x80046127:
Option 1. Cause The following files are not available, damaged, invalid or cannot be accessed. <Project_name>RT.mdf <Project_name>RT.ldf <Project_name>.ldf <Project_name>AlarmRT.mdf <Project_name>AlarmRT.ldf The security mode of the SQL server has been switched from "Mixed Mode" to "Windows Authentication Only". Remedy This can occur, for example, when you copy the project when the project has not yet been opened or if accesses to the databases are still open when you copy. In this case you should completely close WinCC before copying the project with the project duplicator or continue to work with the last functional data backup of your project. In the WinCC Online Help under "WinCC Information System > Working with WinCC > Working with Projects > References > File structure of a project" are descriptions of the important files and directories of a WinCC project. WinCC uses an SQL server login to set up a connection to the SQL database. If the security mode is set to "Windows Authentication Only", WinCC can no longer access these databases. The following instructions indicate how to set the security mode of the SQL server to "Mixed Mode". No. 1 2 3 4 5 6 7 3. Access rights are insufficient. Procedure Open the SQL Server Enterprise Manager via "Start > Programs > Microsoft SQL Server > Enterprise Manager". Extend the "SQL Server Group" in the left navigation window by clicking on the plus sign. Right-click on (<Computer name>\WinCC) and select the "Properties" item. Switch to the "Security" tab. Here you select "Authentication > SQL Server and Windows". Confirm the prompts to restart the SQL server. Now you can open projects with WinCC. Check that the current user has sufficient rights. Check whether the release of the current WinCC project has been changed. Check whether the current Windows user is assigned to the

2.

17.11.2009 From 15

Entry ID: 6836122

10

HResult Error in WinCC V7.x and V6.x


Option Cause Remedy SIMATIC HMI user group. Note Changes to user rights are effective only after Logout/Login. 4. The computer name has been changed. You should no longer change the computer name after installing WinCC and after the first call of the SQL server. The SQL server does not start when a project is opened. If the computer name is to be changed nevertheless, then you must reinstall the SQL server. Refer also to Entry ID 5708281.

5.

Start the SQL server before you open a WinCC project.

17.11.2009 From 15

Entry ID: 6836122

11

HResult Error in WinCC V7.x and V6.x Description of the HResult Error 0x80046206:
Option 1. Cause The following files are not available, damaged, invalid or cannot be accessed. <Project_name>RT.mdf <Project_name>RT.ldf <Project_name>.ldf Remedy This can occur, for example, when you copy the project when the project has not yet been opened or if accesses to the databases are still open when you copy. In this case you should completely close WinCC before copying the project with the project duplicator or continue to work with the last functional data backup of your project. In the WinCC Online Help under "WinCC Information System > Working with WinCC > Working with Projects > References > File structure of a project" are descriptions of the important files and directories of a WinCC project. WinCC uses an SQL server login to set up a connection to the SQL database. If the security mode is set to "Windows Authentication Only", WinCC can no longer access these databases. The following instructions indicate how to set the security mode of the SQL server to "Mixed Mode". No. 1 2 3 4 5 6 7 Procedure Open the SQL Server Enterprise Manager via "Start > Programs > Microsoft SQL Server > Enterprise Manager". Extend the "SQL Server Group" in the left navigation window by clicking on the plus sign. Right-click on (<Computer name>\WinCC) and select the "Properties" item. Switch to the "Security" tab. Here you select "Authentication > SQL Server and Windows". Confirm the prompts to restart the SQL server. Now you can open projects with WinCC. Remedy Only install anti-virus software which is approved for WinCC. The

2.

The security mode of the SQL server has been switched from "Mixed Mode" to "Windows Authentication Only".

Description of the HResult Error 0x80070035:


Option 1. Cause This error message is displayed if a firewall, anti-virus

17.11.2009 From 15

Entry ID: 6836122

12

HResult Error in WinCC V7.x and V6.x


Option Cause software or the like are enabled on the computer (also for single-user systems). Remedy Windows firewall is approved for WinCC V6.2 onwards; other firewalls are not approved. Older versions of WinCC may not be operated in conjunction with a firewall. You can find details of which anti-virus software is approved for WinCC in Entry ID 24122009. Install the driver for your network card and install the network or check the network connection between server and client.

2.

No network connection has been set up on the computer or the network connection between server and client is defective at the hardware level.

17.11.2009 From 15

Entry ID: 6836122

13

HResult Error in WinCC V7.x and V6.x Description of the HResult Error 0x8007046a:
Option 1. Cause When you access enabled elements on a server from a client, you might get this error message displayed. "Insufficient server memory available to process this command." Remedy This error message is output when you start WinCC. If you start WinCC from the SIMATIC Manager, the hourglass is displayed and WinCC is not started. The following entry is displayed in the Windows event display: "Event ID 2011, IRP stack size too small. The configuration parameter "irpstacksize" of the server service is too small to use a local device. The problem can arise the value for the "IRPStackSize" registry entry is set too low on the server. Remedy this problem by setting a higher value for the "IRPStackSize" registry entry. Proceed as follows: Click on "Start > Run...", enter "regedit" and click on "OK". Click on the following subcode in the registry: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Parameters" . If the "IRPStackSize" value is not there, Proceed as follows: In the menu, you select "Edit > New > DWORD value" Name the value "IRPStackSize". This entry is case sensitive. In the pop-up menu you select the item "Change". Enter a higher value in the Value field. According to the "Microsoft Knowledge Base", the standard value is 15. This value is also used when there is no "IRPStackSize" entry. The value range is from 11 to 50 (decimal). Microsoft recommends raising the value by 3. Then click on "OK". Close the registry editor and restart the computer. More information is available from Microsoft (http://support.microsoft.com/) in the following entries: Entry ID: 106167, "Insufficient server memory available to process this command." Entry ID: 177078, "Anti-virus program causes Event ID 2011"

Description of the HResult Error 0x80080005:

17.11.2009 From 15

Entry ID: 6836122

14

HResult Error in WinCC V7.x and V6.x


Option 1. 2. Cause WinCC is installed incorrectly. DCOM interface is disabled. Remedy Uninstall and then reinstall WinCC on your computer. Do a complete reboot of your computer including WinCC.

Enable the DCOM interface by entering the command "dcomcnfg" under Start > Run... and then selecting "Enable DCOM on this computer" in the window that opens. Run the file "EnableDCOM.reg" to restore the registry entry needed for proper functioning of SIMATIC WinCC V6.x. Download of the registration file. The download includes the "EnableDCOM.reg" file that executes the action automatically. You can download this file in the entry. Extract the "EnableDCOM.zip" file to a folder of your choice. Double-click the extracted *.reg file. The entry is thereby automatically made in the registry. The "EnableDCOM.zip" file is in the last section of the FAQ. Important: In general, no warranty can be given for direct changes in the Registry because this is entirely the responsibility of the user. In any event, you are advised to make a backup of the registry before undertaking the actions described here. Furthermore, these settings are computer-specific. This means that when you copy the project to another computer, you must make the settings there again.

3.

The "Symantec pcAnywhere" software changes a registry entry that is needed by SIMATIC WinCC V6.x. If you install SIMATIC WinCC V6.x first, then everything works perfectly even after installation of the "Symantec pcAnywhere 10.x" program. Possible causes of the HResult Error: The programs were installed in the wrong order. When you uninstall the "Symantec pcAnywhere 10.x" program, the regedit entry needed by SIMATIC WinCC V6.x is removed. Note: This behavior also occurs with "Symantec pcAnywhere 11.0" if only the Host or Remote is uninstalled. Uninstallation of the complete version of "Symantec pcAnywhere 11.0" does not affect SIMATIC WinCC V6.x.

17.11.2009 From 15

Entry ID: 6836122

15

Вам также может понравиться