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