473,401 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

User Creation from WebAdmin tool failed

Hi,
I got the below error while trying create a user from the web site
administration tool provided by Asp.NET. I'm using Active directory as a
membership store. I could able to add and remove users earlier from this,
after this I want to implement the password reset option and to that i've
added couple of (5 attributes) to the active directory (Hint Question, Hint
Answer, BadPasswordCount, BadPasswordTime, BadPasswordLockOutTime - the data
types for the first two attributes are Unicode strings and third attribute is
of type integer and fourth and fifth are long integers)
After these changes I’m not able to create any user from the web
administration tool, and it is giving "Exception has been thrown by the
target of an invocation" not further details.
Please see the below full error, and provide me any help.
Thanks,
SS Anand
***
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)

Feb 27 '06 #1
1 1470
DWS
Anand
Just want to offer a suggestion, I'm not using active directory but I would
try to make default values for the attributes.

Good Luck
DWS

"Anand" wrote:
Hi,
I got the below error while trying create a user from the web site
administration tool provided by Asp.NET. I'm using Active directory as a
membership store. I could able to add and remove users earlier from this,
after this I want to implement the password reset option and to that i've
added couple of (5 attributes) to the active directory (Hint Question, Hint
Answer, BadPasswordCount, BadPasswordTime, BadPasswordLockOutTime - the data
types for the first two attributes are Unicode strings and third attribute is
of type integer and fourth and fifth are long integers)
After these changes I’m not able to create any user from the web
administration tool, and it is giving "Exception has been thrown by the
target of an invocation" not further details.
Please see the below full error, and provide me any help.
Thanks,
SS Anand
***
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)


Mar 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jpauthement | last post by:
Ok so here it goes. When i try to access my webadmin client for the asp.net applications i developed it gives me this error: "There is a problem with the application you are attempting to...
1
by: Jayant Sane | last post by:
I just upgraded to the latest 2.0 Beta2. Created a web app - created a virtual folder in IIS, made it use .net 2.0 scriptmaps. However I cannot get the web based admin to work. When I type in:...
0
by: Michal | last post by:
I have troubles with instaling .Net Framework 2.0 (Beta 2 - 2.0.50215). The main instalation went just fine, troubles begin with my attemt to run aspnet_regiss.exe -i. Asp.Net is instaled into IIS...
9
by: Shaun | last post by:
Anyone, I am trying to programmatically change user accounts in Windows NT 4. I am using Microsoft Visual Basic .NET 2003. The two things I am trying to do are as follows. 1. Set the User...
0
by: Jarod | last post by:
Hey Is there a way to setup webadmin to work as a webadmin panel so I can log into from remote computer. Let's say I'd like to configure my website so that administrator can use webadmin. How to...
0
by: RaiderLakerFan | last post by:
Hello I have SQL Server 2000 on my laptop. I installed VS 2005. Now when I go into Enterprise Manager for SQL 2000 I get an error message Snap-in failed to initialize;Name <unknown>;CLSID {a...
1
by: Srinivas Chintakindi | last post by:
Hi All, I am developing one ASP.NET 2.0 application in which user test the remote sql server existance. User enters remote sql server name, data base name, authentication mode, user name,...
95
by: hstagni | last post by:
Where can I find a library to created text-based windows applications? Im looking for a library that can make windows and buttons inside console.. Many old apps were make like this, i guess ...
2
by: =?Utf-8?B?am9obnByZW1p?= | last post by:
Hi there, I have a web app that adds user into w2k3 server and adds it to the administrator group. The code snippet is something like this: try { DirectoryEntry AD = new...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.