我写了一个dll
class1:enterpriseservices.ServicedComponent
{
public class()
{}
}
然后在程序中调用:
Main()
{
class1 a=new class1()
}
出现异常:未处理的“System.UnauthorizedAccessException”类型的异常出现在 mscorlib.dll 中
请问是什么原因呀?
class1:enterpriseservices.ServicedComponent
{
public class()
{}
}
然后在程序中调用:
Main()
{
class1 a=new class1()
}
出现异常:未处理的“System.UnauthorizedAccessException”类型的异常出现在 mscorlib.dll 中
请问是什么原因呀?
使用administrator运行程序试试。