• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • 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!

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    help!

    An error was encountered. Please return to the previous page and try again.

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


    Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Objec t 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.WebAdminMembershipProvid er.CallWebAdminMembershipProviderHelperMethodOutPa rams(String methodName, Object[] parameters, Type[] paramTypes) at System.Web.Administration.WebAdminMembershipProvid er.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) at System.Web.UI.WebControls.CreateUserWizard.Attempt CreateUser() at System.Web.UI.WebControls.CreateUserWizard.OnNextB uttonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Obj ect source, EventArgs e) at System.Web.UI.WebControls.CreateUserWizard.OnBubbl eEvent(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(Command EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    #2
    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...

    Comment


      #3
      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.WebAdminMembershipProvid er.CallWebAdminMembershipProviderHelperMethodOutPa rams

      If that fails, just rewrite the fecking thing in PHP or something. It won't give you an irritable bowel like .Net does.
      Serving religion with the contempt it deserves...

      Comment


        #4
        CLR in .NET is a very good thing, but not so sure about ASP.net crap.

        Comment


          #5
          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...

          Comment


            #6
            Originally posted by AtW
            CLR in .NET is a very good thing, but not so sure about ASP.net crap.
            Rewrite it Alexei - shouldn't take too long.....
            Vieze Oude Man

            Comment


              #7
              Originally posted by mcquiggd
              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...

              Comment


                #8
                <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...

                Comment

                Working...
                X