.NET Framework Bookmark and Share   
 index > Common Language Runtime > AZMAN HRESULT: 0x80070057 (E_INVALIDARG)
 

AZMAN HRESULT: 0x80070057 (E_INVALIDARG)

HI all.
Suddenly AzMan stops working on my machine when debugging with VS2005.
I've a class (GpvAuthProvider) implementing AzMan interface that worked fine for years.
Now all my applications throw the same exception.
I tried to uninstall almost everything I've installed recently without success.
Can someone help me ?
Thanks.
Moreno

Below the stack trace :

Parametro non corretto. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere l'analisi dello stack.

Dettagli eccezione: System.ArgumentException: Parametro non corretto. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Errore nel codice sorgente:

Riga 94:         public override bool IsUserInRole(string roleName)
Riga 95:         {
Riga 96:             return Roles.IsUserInRole(roleName);
Riga 97:         }
Riga 98: 

File di origine: C:\TEMP\gpvauthprovider\gpvauthprovider\GpvAuthProvider.cs Riga: 96

Analisi dello stack:

[ArgumentException: Parametro non corretto. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]

[TargetInvocationException: Eccezione generata dalla destinazione di una chiamata.]
   System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0
   System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +337
   System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) +36
   System.Web.Security.AuthorizationStoreRoleProvider.CallMethod(Object objectToCallOn, String methodName, Object[] args) +183
   System.Web.Security.AuthorizationStoreRoleProvider.InitApp() +1507
   System.Web.Security.AuthorizationStoreRoleProvider.GetClientContext(String userName) +16
   System.Web.Security.AuthorizationStoreRoleProvider.GetRolesForUserCore(String username) +59
   System.Web.Security.AuthorizationStoreRoleProvider.GetRolesForUser(String username) +72
   System.Web.Security.RolePrincipal.IsInRole(String role) +164
   System.Web.Security.Roles.IsUserInRole(String username, String roleName) +355
   System.Web.Security.Roles.IsUserInRole(String roleName) +19
   Gpv.AuthProvider.GpvAuthProvider.IsUserInRole(String roleName) in C:\TEMP\gpvauthprovider\gpvauthprovider\GpvAuthProvider.cs:96
   Gpv.AuthProvider.AuthService.IsUserInRole(String roleName) in C:\TEMP\gpvauthprovider\gpvauthprovider\AuthService.cs:164
   InformazioniUtente..ctor(String matricola) in c:\TEMP\GestioneTelefoni\GestioneTelefoniSol\GestioneTelefoni\App_Code\InformazioniUtente.cs:110
   _Default.Page_Load(Object sender, EventArgs e) in c:\TEMP\GestioneTelefoni\GestioneTelefoniSol\GestioneTelefoni\Default.aspx.cs:65
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Informazioni di versione:Versione di Microsoft .NET Framework:2.0.50727.3082; Versione di ASP.NET:2.0.50727.3082
  • Moved byeryangMSFTWednesday, September 23, 2009 7:36 AM (From:Common Language Runtime)
  •  
mvendramin
Hi,
Thanks for your post, but it's likely to get quicker and better responses to ASP.NET issues at http://forums.asp.net where ASP.NET experts live in.
Good luck!

Thanks,
Eric

Please remember to mark helpful replies as answers and unmark them if they provide no help.
eryang

You can use google to search for other answers

Custom Search

More Threads

• Debug PDB files, eh symbol tables? can they be read?.
• Strange InvalidOperationException: Cross-thread operation not valid.
• Assembly version information attributes
• C++ to C# COM Interop Marshal problem
• .NET assembly cache / ngen / jit image warm-up and cool-down behavior
• simple question
• Simulate limited physical memory conditions
• Threading problem
• How to import public and prive key in RSA parameters
• Is there a way to Redirect STDOUT/STDERR during AppDomain.ExecuteAssembly like Process.Start's redirection streams