1.引用webservice后如果报错:Cannot implicitly convert type 'System.Collections.ArrayList' to 'object[]'.
可以在reference.cs里加上:using System.Collections;
然后把所有的public object[ ] 替换成public ArrayList .
2.Set access right for the aspnet to write event log
When an aspnet application wants to write some log information into the windows event log, there may be the following error:
System.Security.SecurityException: Requested registry access is not allowed.
In order to correct this problem in rhombus2 we need to follow the following steps:
1. Locate the following registry subkey:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Application
2. Right-click the Application subkey, point to New, and then click Key.
3. Type Rhombus2 for the key name.
4. Close Registry Editor.