mackeyrj
asked on
Trouble creating a user, using the ASP. Web Site Administration tool.
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!
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!
At least the first few lines of the exception would be useful.
ASKER
The following message may help in diagnosing the problem: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle ._InvokeMe thodFast(O bject target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle .InvokeMet hodFast(Ob ject target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeM ethodInfo. Invoke(Obj ect obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeM ethodInfo. Invoke(Obj ect obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Web.Administration. WebAdminMe mbershipPr ovider.Cal lWebAdminM embershipP roviderHel perMethodO utParams(S tring methodName, Object[] parameters, Type[] paramTypes) at System.Web.Administration. WebAdminMe mbershipPr ovider.Cre ateUser(St ring username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) at System.Web.UI.WebControls. CreateUser Wizard.Att emptCreate User() at System.Web.UI.WebControls. CreateUser Wizard.OnN extButtonC lick(Wizar dNavigatio nEventArgs e) at System.Web.UI.WebControls. Wizard.OnB ubbleEvent (Object source, EventArgs e) at System.Web.UI.WebControls. CreateUser Wizard.OnB ubbleEvent (Object source, EventArgs e) at System.Web.UI.WebControls. Wizard.Wiz ardChildTa ble.OnBubb leEvent(Ob ject source, EventArgs args) at System.Web.UI.Control.Rais eBubbleEve nt(Object source, EventArgs args) at System.Web.UI.WebControls. Button.OnC ommand(Com mandEventA rgs e) at System.Web.UI.WebControls. Button.Rai sePostBack Event(Stri ng eventArgument) at System.Web.UI.WebControls. Button.Sys tem.Web.UI .IPostBack EventHandl er.RaisePo stBackEven t(String eventArgument) at System.Web.UI.Page.RaisePo stBackEven t(IPostBac kEventHand ler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePo stBackEven t(NameValu eCollectio n postData) at System.Web.UI.Page.Process RequestMai n(Boolean includeStagesBeforeAsyncPo int, Boolean includeStagesAfterAsyncPoi nt)
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
the smtp settings in web.config should be as follow
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network defaultCredentials="false"
host="localhost"
userName=""
password=""
port="25" />
</smtp>
</mailSettings>
<system.net>
HTH
ASKER
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
I also had to delete the ASPNETDb database, create the web.config (which automatically recreated the database) and manually restore the database connection.
ASKER
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?
How do I get rid of the need for strong passwords?