Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 25th, 2006, 10:19 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Important need help...

Hello,

I have created two roles admin & users using the asp.net web administrative tool in Visual Web Developer 2205 (express edition). But when I create a new account I get the following error.

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)_____________________ ___________________________________________
I checked the connection string in web/machine.config files and they seem ok. I also see the tables in the database. U know when using the login tools the tables and database is auto generated for u but I changed it to my database that I created in MS SQL server 2000. I noticed that in machine.config the following:

<configProtectedData defaultProvider="RsaProtectedConfigurationProvider ">

<providers>

            <add name="RsaProtectedConfigurationProvider"

                                          type="System.Configuration.RsaProtectedConfigurati onProvider,System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

description="Uses RsaCryptoServiceProvider to encrypt and decrypt"

            keyContainerName="NetFrameworkConfigurationKey"

            cspProviderName=""

            useMachineContainer="true"

            useOAEP="false" />



            <add name="DataProtectionConfigurationProvider"

type="System.Configuration.DpapiProtectedConfigura tionProvider,System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

description="Uses CryptProtectData and CryptUnProtectData Windows APIs to encrypt and decrypt"

            useMachineProtection="true"

            keyEntropy="" />

       </providers>

 </configProtectedData>

Note: after changing the connection string from default (auto generated) I get a line saying attribute not declared.
__________________________________________________ __________________

Could someone help me try to fix the error?
Thanks for yr help…appreciate it.



 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts important Raja.anguchamy Struts 1 June 12th, 2008 08:55 AM
Important changes to DAL jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 May 16th, 2008 11:26 AM
An important problem ajabbabahalmigiriha C# 1 February 17th, 2007 03:42 PM
Help on forms - important Jchristensen Access 2 August 14th, 2006 11:19 AM
important aylin_sk Oracle 2 February 25th, 2005 02:05 AM



All times are GMT -4. The time now is 10:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.