473,701 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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, BadPasswordCoun t, BadPasswordTime , BadPasswordLock OutTime - 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.RuntimeM ethodHandle._In vokeMethodFast( Object target, Object[]
arguments, SignatureStruct & sig, MethodAttribute s methodAttribute s,
RuntimeTypeHand le typeOwner) at
System.RuntimeM ethodHandle.Inv okeMethodFast(O bject target, Object[]
arguments, Signature sig, MethodAttribute s methodAttribute s,
RuntimeTypeHand le typeOwner) at
System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityC hecks) at System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject
obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo
culture) at
System.Web.Admi nistration.WebA dminMembershipP rovider.CallWeb AdminMembership ProviderHelperM ethodOutParams( String
methodName, Object[] parameters, Type[] paramTypes) at
System.Web.Admi nistration.WebA dminMembershipP rovider.CreateU ser(String
username, String password, String email, String passwordQuestio n, String
passwordAnswer, Boolean isApproved, Object providerUserKey ,
MembershipCreat eStatus& status) at
System.Web.UI.W ebControls.Crea teUserWizard.At temptCreateUser () at
System.Web.UI.W ebControls.Crea teUserWizard.On NextButtonClick (WizardNavigati onEventArgs
e) at System.Web.UI.W ebControls.Wiza rd.OnBubbleEven t(Object source, EventArgs
e) at System.Web.UI.W ebControls.Crea teUserWizard.On BubbleEvent(Obj ect source,
EventArgs e) at
System.Web.UI.W ebControls.Wiza rd.WizardChildT able.OnBubbleEv ent(Object
source, EventArgs args) at System.Web.UI.C ontrol.RaiseBub bleEvent(Object
source, EventArgs args) at
System.Web.UI.W ebControls.Butt on.OnCommand(Co mmandEventArgs e) at
System.Web.UI.W ebControls.Butt on.RaisePostBac kEvent(String eventArgument) at
System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring
eventArgument) at System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler
sourceControl, String eventArgument) at
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) at
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint,
Boolean includeStagesAf terAsyncPoint)

Feb 27 '06 #1
1 1482
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, BadPasswordCoun t, BadPasswordTime , BadPasswordLock OutTime - 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.RuntimeM ethodHandle._In vokeMethodFast( Object target, Object[]
arguments, SignatureStruct & sig, MethodAttribute s methodAttribute s,
RuntimeTypeHand le typeOwner) at
System.RuntimeM ethodHandle.Inv okeMethodFast(O bject target, Object[]
arguments, Signature sig, MethodAttribute s methodAttribute s,
RuntimeTypeHand le typeOwner) at
System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityC hecks) at System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject
obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo
culture) at
System.Web.Admi nistration.WebA dminMembershipP rovider.CallWeb AdminMembership ProviderHelperM ethodOutParams( String
methodName, Object[] parameters, Type[] paramTypes) at
System.Web.Admi nistration.WebA dminMembershipP rovider.CreateU ser(String
username, String password, String email, String passwordQuestio n, String
passwordAnswer, Boolean isApproved, Object providerUserKey ,
MembershipCreat eStatus& status) at
System.Web.UI.W ebControls.Crea teUserWizard.At temptCreateUser () at
System.Web.UI.W ebControls.Crea teUserWizard.On NextButtonClick (WizardNavigati onEventArgs
e) at System.Web.UI.W ebControls.Wiza rd.OnBubbleEven t(Object source, EventArgs
e) at System.Web.UI.W ebControls.Crea teUserWizard.On BubbleEvent(Obj ect source,
EventArgs e) at
System.Web.UI.W ebControls.Wiza rd.WizardChildT able.OnBubbleEv ent(Object
source, EventArgs args) at System.Web.UI.C ontrol.RaiseBub bleEvent(Object
source, EventArgs args) at
System.Web.UI.W ebControls.Butt on.OnCommand(Co mmandEventArgs e) at
System.Web.UI.W ebControls.Butt on.RaisePostBac kEvent(String eventArgument) at
System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring
eventArgument) at System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler
sourceControl, String eventArgument) at
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) at
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint,
Boolean includeStagesAf terAsyncPoint)


Mar 1 '06 #2

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

Similar topics

0
996
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 administer. Please check the spelling of the URL you used to access the web admin tool and confirm that your application is properly configured in IIS." Im Running IIS 6, windows 2k3, asp.net 2.0. I also want to mention that my sites are not located...
1
1847
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: http://localhost/MySite/webadmin.axd I get 404 - this url was not found. I checked that there is a map defined for .axd extension (mapped to aspnet_isapi.dll) in my application's property in IIS.
0
1486
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 as it should be, sites are working just fine. The only problem is thet this instalation did not create the AspNet_WebAdmin folder in /inetpub/wwwroot, thus the WebAdmin is not instaled in IIS and I cannot administer my sites. I read in official...
9
2168
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 Cannot Change Password Checkbox. 2. Select the Account Disabled Checkbox. Can anyone tell me how to do this?
0
984
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 do it ? Jarod
0
4988
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 bunch of numbers}. When I click ok, it loads Enterprise Manager with a message Snap-in Creation Failed. Thanks Salim
1
6598
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, password. I am making the connection string based on the authentication mode. If it is integrated authentication my connection string would be as below. try {
95
5295
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 ____________________________________ | | | ------------------ | | | BUTTON | | | ...
2
4024
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 DirectoryEntry("WinNT://" + in0.IPAddress + ",computer", in1.userName, decryptData(in1.password), AuthenticationTypes.Secure); // Create super user
0
8736
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8649
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9229
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9083
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8934
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7824
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6571
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3102
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2035
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.