I have been trying to get a previously built .NET component to run on
a Windows 2000 Server box. It's previous home was on an XP box using
..NET framework version 1.0.3328. On that machine, it ran with no
problem, but on the 2000 Server box, with version 1.1.4322, it fails
to load and gives an access denied error. I have moved the same
component to an XP box with version 1.1.4322, and it registered there
as well, but gave more warnings then it did with the earlier framework
version. Here are the outputs from the three runs:
Original XP box with 1.0.3328:
C:\test>C:\WINDOWS\Microsoft.NET\Framework\v1.0.33 28\RegSvcs.exe
app1.dll
/appname:app1
Microsoft (R) .NET Framework Services Installation Utility Version
1.0.3328.4
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.
WARNING: The class app1.ServiceInterface' has no class interface,
which means that unmanaged late bound calls cannot take advantage of
AutoComplete methods.
Installed Assembly:
Assembly: C:\test\app1.dll
Application: app1
TypeLib: c:\test\app1.tlb
New XP box with 1.1.4322:
C:\test>C:\WINDOWS\Microsoft.NET\Framework\v1.1.43 22\RegSvcs.exe
app1.dll
/appname:app1
Microsoft (R) .NET Framework Services Installation Utility Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
WARNING: The class 'app1.ServiceInterface' has no class interface,
which means that unmanaged late bound calls cannot take advantage of
AutoComplete methods.
WARNING: The assembly does not declare an ApplicationAccessControl
Attribute. Application security will be enabled by default.
Installed Assembly:
Assembly: C:\test\app1.dll
Application: app1
TypeLib: C:\test\app1.tlb
Windows 2000 Server box with 1.1.4322:
C:\test>C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \RegSvcs.exe
app1.dll /appname:app1
Microsoft (R) .NET Framework Services Installation Utility Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
The following installation error occurred:
1: Failed to load assembly 'c:\test\app1.dll'.
2: Access is denied: app1.dll'.
Any suggestions on how I can get this to load on the 2000 Server box
or what the root cause of this failure might be?