The web site credated by beta 2 can not be run at Microsoft Visual Web Developer 2005 Express Edition,why?
I have created a web with Visual Web Developer 2005 beta 2, and add three user using the tool ASP.NET Web Site Administration Tool.
now I install the final Visual Web Developer 2005 Express Edition,but I find my web site can not be run in the final edition,
when I try to login into system using Login control, I get the error 1 below://--------------------------------------error 1--------------------------------------------------------
Server Error in '/onlinebookmark' Application.Procedure or function aspnet_Membership_GetPasswordWithFormat has too many arguments specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Data.SqlClient.SqlException: Procedure or function aspnet_Membership_GetPasswordWithFormat has too many arguments specified.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
//----------------------------------------------------------------------------------------------
I try to add a new user using ASP.NET Web Site Administration Tool in the final Visual Web Developer 2005 Express Edition, but I get the error 2 below.//--------------------------------------error 2--------------------------------------------------------
An error was encountered. Please return to the previous page and try again.
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)
//--------------------------------------error 2--------------------------------------------------------I guess the new sql 2005 database may be not compatible with old edition, right? Many thanks!
SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files
SuperCool Random Number Generator
![]() |
0 |
![]() |
The stored procedures changed between Beta 2 and RTM. If this is a regular SQL Server installation (not Sql Server Express), you can fix this by just running the aspnet_regsql tool located in the framework install directory against your database server. It will preserve the data and regenerate all of the stored procedures with the final versions. For Sql Server Express there is no simple way to upgrade the stored procedures in the database (it is possible but its pretty complicated due to the way SSE databases work with Visual Studio).
-Stefan
----------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
![]() |
0 |
![]() |
Toobad! Will the stored procedures be changed in the future version?
SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files
SuperCool Random Number Generator
![]() |
0 |
![]() |
Most likely yes. But if we do so, we will include the necessary logic in future framework versions to automatically upgrade from 2.0 to whatever the next version is.
-Stefan
----------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
![]() |
0 |
![]() |