Cannot implicitly convert type 'System.Collections.ArrayList' to 'object[]' ;System.Security.SecurityException: Requested regist

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.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值