Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / January 2005

Tip: Looking for answers? Try searching our database.

AzManProvider is not declared & The type or namespace name Interop does not exist  ERROR

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cello - 23 Dec 2004 22:42 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.