Dear Group,
I am running Windows 2000 Advance Server SP4. I have just downloaded
Authorization and Profile Application Block and tried to Build it but I
keep getting the following errors:
When building this solution "AuthorizationQuickStart.snl", I get this
error:
"C:\Program Files\Microsoft Application Blocks for
.Net\Security\QuickStarts\vb\AuthorizationQuickStart\SimpleAuthorizationQuickStart.vb(63):
Name 'AzManProvider' is not declared."
I am also getting the following error when building "Authorization and
Profile Application Block Providers.sln":
"C:\Program Files\Microsoft Application Blocks for
.NET\Security\src\cs\Providers\Authorization\AzManProvider.cs(21): The
type or namespace name 'Interop' does not exist in the class or
namespace 'Microsoft' (are you missing an assembly reference?)"
Your feedback is deeply appreciated.
Cello
Terence Alphonso - 24 Dec 2004 16:05 GMT
Dear Cello,
first try compiling "Authorization and Profile Application Block Providers.sln"
Regarding the (are you missing an assembly reference?)
Check if the AzManProvider.cs file has included the namespace using System.Runtime.InteropServices;
if not include it.
Then compile the soln.
You will get one dll in ur bin folder, if it has been set as the ouput folder.
Reference this dll in AuthorizationQuickStart.sln
Now try compiling and running the project.
> Dear Group,
>
[quoted text clipped - 17 lines]
>
> Cello
Cello - 24 Dec 2004 20:05 GMT
Dear Terence,
Thanks for your reply. I was able to get this part to work by
installing a few files on my server. The most important part was
copying the "C:\WINNT\Microsoft.NET\AuthMan" folder from my Win2003
Server to the one I am currecntly using (Win2000).
Best regards,
Cello
mike@m12systems.net - 24 Jan 2005 22:32 GMT
Hi,
You need to modify the code in the provider project. The Reference must be changed to using AZROLESLib; Comment out the
refrence to the microsoft interop. Then recompile
Mike