本文介绍了使用VB.Net在Windows 2008 Server中创建子文件夹/写入注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建子项并为子项指定值可在Local中使用。

但是相同的代码,在服务器上不起作用。抛出对Registry key的访问被拒绝异常。虽然我也导入了System.Security.Permission和Used Assert方法。请帮助我,在服务器中创建子键需要做些什么。

creating Subkeys and assigning values to the subkeys works in Local.
But same code, dont work in server. Throws Access to Registry key is denied exception.Though I imported System.Security.Permission too and Used Assert methods. Please help me, what else needs to be done to create subkeys in server.

推荐答案


这篇关于使用VB.Net在Windows 2008 Server中创建子文件夹/写入注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-22 07:46