Solved

Trouble creating a user, using the ASP. Web Site Administration tool.

Posted on 2006-07-09
7
573 Views
Last Modified: 2012-08-13
I can create roles just fine, but when I try to create a user i get
An error was encountered. please return to the previous page and try again Exception thrown of an invocation at

and so much system this an dotted that, that it's to much to put here.

The SMTP settings are my first guess but nothing I can find helps me make the proper settings.


Please help!
0
Comment
Question by:mackeyrj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 17069449
At least the first few lines of the exception would be useful.
0
 

Author Comment

by:mackeyrj
ID: 17069516
The following message may help in diagnosing the problem: 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)
0
 
LVL 27

Expert Comment

by:Sammy
ID: 17070751
Something tells me, theres something wrong in the web.config file

the smtp settings in web.config should be as follow

<system.net>
    <mailSettings>
      <smtp deliveryMethod="Network">
        <network defaultCredentials="false" <!--Change to true and remove userName and password when using no authentication is required-->
                 host="localhost"
                 userName=""
                 password=""
                 port="25" />
      </smtp>
    </mailSettings>
<system.net>

HTH
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:mackeyrj
ID: 17077934
No Good.
Checking and changing the settings in the web config makes no difference.

Very frustrating.
I use the same settings at a computer at work and all is well.
However on my personal web server I can get know where.
Any other places to look?
0
 
LVL 27

Accepted Solution

by:
Sammy earned 500 total points
ID: 17078330
why dont you rename your current web.config to something else and add a new one then use the admin tool?
0
 

Author Comment

by:mackeyrj
ID: 17086793
Very close to what I had to do.
I also had to delete the ASPNETDb database, create the web.config (which automatically recreated the database) and manually restore the database connection.
0
 

Author Comment

by:mackeyrj
ID: 17086800
Now on to the next question which I will post for points so watch for it.

How do I get rid of the need for strong passwords?
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question