• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

help!

scotspine

Contractor Among Contractors
Thanks received
3
An error was encountered. Please return to the previous page and try again.

***The following message may help in diagnosing the problem: *** :bang:


Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Web.Administration.WebAdminMembershipProvider.CallWebAdminMembershipProviderHelperMethodOutParams(String methodName, Object[] parameters, Type[] paramTypes) at System.Web.Administration.WebAdminMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) at System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() at System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
This kind of unclear exception is typical when some code gets Invoked and then that code gets exception but its not clear where in THAT code it happened. You need to find out what exactly got invoked (if its your code) and then catch exception.

If it was temp var question I'd be more helpful...
 
It's something died inside the membership provider when being called from a create user wizard. It's probably reflecting the membership provider's custom properties and crapping somewhere in there.

Fire up reflector and poke inside System.Web.Administration.WebAdminMembershipProvider.CallWebAdminMembershipProviderHelperMethodOutParams

If that fails, just rewrite the fecking thing in PHP or something. It won't give you an irritable bowel like .Net does.
 
CLR in .NET is a very good thing, but not so sure about ASP.net crap.
 
all this profiling stuff is too black box for me. better to roll your own. then you can stick in a few temp vars here and there, just in case you think any registers are being under-utilised. like

if (userIsGood){
LetThemIn();
for(int i=0;i>-1;i++){
int temp = -1;
}
}
else{
string g = string.Empty;
Don'tLetThemIn();
}

easy...
 
mcquiggd said:
Rewrite it Alexei - shouldn't take too long..... ;)

I have - SKA uses my own mini webserver with my own templating system that I developed few years ago...

I did not use IDE debugging and profiling until SKA: it is only necessary once you reach certain level of complexity or just get dumber...
 
<shame>
sorry dp - edited your post by mistake instead of replying to it!
</shame>

using ADAM...

not yet thank goodness. that is next month's particular thrill to look forward to! :( currently using forms auth.

code now runs but i noticed that the applicationID created by the Web Admin Tool doesn't match the applicationID created/used when i am a logged in admin and creating roles, users etc. this was causing obvious problems and i'm not sure why the discrepancy...
 

Advertisers

Back
Top