Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Sudden problem with AzMan

Reply
Thread Tools

Sudden problem with AzMan

 
 
Mathieu Cartoixa
Guest
Posts: n/a
 
      08-13-2008
Hi all,

I don't really know where to ask this : it must be more related to the
AzMan interop assembly than to ASP .NET, but I could find no forum for
that. Feel free to redirect me to a more appropriate place.

Problem : ASP .NET application that used to work on my machine and now
does not due to an internal error in AuthorizationStoreRoleProvider. At
startup, I get (stack trace abreviated for sake of readability) :

[ArgumentException: Paramètre incorrect. (Exception de HRESULT :
0x80070057 (E_INVALIDARG))]

[TargetInvocationException: Une exception a été levée par la cible d'un
appel.]
S.R.InvokeDispMethod(String name, BindingFlags invokeAttr, Object
target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[]
namedParameters) +0
S.R.InvokeMember(String name, BindingFlags bindingFlags, Binder
binder, Object target, Object[] providedArgs, ParameterModifier[]
modifiers, CultureInfo culture, String[] namedParams) +1628
S.T.InvokeMember(String name, BindingFlags invokeAttr, Binder
binder, Object target, Object[] args, CultureInfo culture) +56
S.W.S.AuthorizationStoreRoleProvider.CallMethod(Ob ject
objectToCallOn, String methodName, Object[] args) +246
S.W.S.AuthorizationStoreRoleProvider.InitApp() +2230
S.W.S.AuthorizationStoreRoleProvider.GetClientCont ext(String
userName) +31
S.W.S.AuthorizationStoreRoleProvider.GetRolesForUs erCore(String
username) +124
S.W.S.AuthorizationStoreRoleProvider.GetRolesForUs er(String
username) +89
S.W.S.RolePrincipal.IsInRole(String role) +231
...

I think the method that is called and throws the inner exception is
Microsoft.Interop.Security.AzRoles.AzAuthorization StoreClass.Initialize.
The problem with TargetInvocationException is that there is no way (to
my knowledge) to find the real cause of the problem.
The application is still working on other environments (which means :
not on my machine). I was unable to track the difference between the
working environment and the troubled one. I tried to uninstall a few
applications I had installed recently, I tried to reinstall the Windows
2000 AzMan Runtime, to register the PIAs again, to no avail. I even
tried to regsvr32 the azroles.dll, which popped an error dialog (which
may be the correct behavior...).

My current system is Windows XP SP3, VS2005 SP1.

Thanks in advance for any hint.

Mathieu Cartoixa
 
Reply With Quote
 
 
 
 
Mathieu Cartoixa
Guest
Posts: n/a
 
      09-02-2008
ping -b 255.255.255.255

Mathieu Cartoixa a écrit :
> Hi all,
>
> I don't really know where to ask this : it must be more related to
> the AzMan interop assembly than to ASP .NET, but I could find no forum
> for that. Feel free to redirect me to a more appropriate place.
>
> Problem : ASP .NET application that used to work on my machine and
> now does not due to an internal error in AuthorizationStoreRoleProvider.
> At startup, I get (stack trace abreviated for sake of readability) :
>
> [ArgumentException: Paramètre incorrect. (Exception de HRESULT :
> 0x80070057 (E_INVALIDARG))]
>
> [TargetInvocationException: Une exception a été levée par la cible d'un
> appel.]
> S.R.InvokeDispMethod(String name, BindingFlags invokeAttr, Object
> target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[]
> namedParameters) +0
> S.R.InvokeMember(String name, BindingFlags bindingFlags, Binder
> binder, Object target, Object[] providedArgs, ParameterModifier[]
> modifiers, CultureInfo culture, String[] namedParams) +1628
> S.T.InvokeMember(String name, BindingFlags invokeAttr, Binder binder,
> Object target, Object[] args, CultureInfo culture) +56
> S.W.S.AuthorizationStoreRoleProvider.CallMethod(Ob ject
> objectToCallOn, String methodName, Object[] args) +246
> S.W.S.AuthorizationStoreRoleProvider.InitApp() +2230
> S.W.S.AuthorizationStoreRoleProvider.GetClientCont ext(String
> userName) +31
> S.W.S.AuthorizationStoreRoleProvider.GetRolesForUs erCore(String
> username) +124
> S.W.S.AuthorizationStoreRoleProvider.GetRolesForUs er(String username)
> +89
> S.W.S.RolePrincipal.IsInRole(String role) +231
> ...
>
> I think the method that is called and throws the inner exception is
> Microsoft.Interop.Security.AzRoles.AzAuthorization StoreClass.Initialize.
> The problem with TargetInvocationException is that there is no way (to
> my knowledge) to find the real cause of the problem.
> The application is still working on other environments (which means
> : not on my machine). I was unable to track the difference between the
> working environment and the troubled one. I tried to uninstall a few
> applications I had installed recently, I tried to reinstall the Windows
> 2000 AzMan Runtime, to register the PIAs again, to no avail. I even
> tried to regsvr32 the azroles.dll, which popped an error dialog (which
> may be the correct behavior...).
>
> My current system is Windows XP SP3, VS2005 SP1.
>
> Thanks in advance for any hint.
>
> Mathieu Cartoixa

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Azman. Unable to recive rolls from Azman. Lars Sundstrom ASP .Net Security 0 10-09-2008 09:01 AM
AzMan: Has anyone created an HTML/Web management console as an alternative to the AzMan MMC? Michael Herman \(Parallelspace/OpenCanal\) ASP .Net Security 0 01-06-2006 01:24 AM
Problem using AzMan url Authorization and HttpHandler Renzo ASP .Net Security 0 03-25-2005 08:47 AM
Problem using AzMan url Authorization and HttpHandler =?Utf-8?B?UmVuem8=?= ASP .Net 1 03-24-2005 05:53 PM
Problem when executing SQL script from AzMan BizRule Sebastian Torres ASP .Net Security 0 02-09-2005 07:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57