Updated Error in 7.0.2-Is this correct
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Updated Error in 7.0.2-Is this correct
Hi,
I updated existing version of ablecommerce with 7.0.2. When Compiling it gave me error saying no CreateUser overloaded methods accepts only 7 parameters.
UserDataSource.CreateUser(Email.Text, Password.Text, string.Empty, string.Empty, true, 0, out status);
Changed to
UserDataSource.CreateUser(Email.Text,Email.Text, Password.Text, string.Empty, string.Empty, true, 0, out status);
It got compiled and working well. Is this change acceptable.
Please let me know.
Thanks,
Carol
I updated existing version of ablecommerce with 7.0.2. When Compiling it gave me error saying no CreateUser overloaded methods accepts only 7 parameters.
UserDataSource.CreateUser(Email.Text, Password.Text, string.Empty, string.Empty, true, 0, out status);
Changed to
UserDataSource.CreateUser(Email.Text,Email.Text, Password.Text, string.Empty, string.Empty, true, 0, out status);
It got compiled and working well. Is this change acceptable.
Please let me know.
Thanks,
Carol
Re: Updated Error in 7.0.2-Is this correct
Yes it seems all right.
Where were you using this code?
If this was custom code modified from an existing file then have a look at what changed in that file in 7.0.2 by comparing the new file to the original file.
Where were you using this code?
If this was custom code modified from an existing file then have a look at what changed in that file in 7.0.2 by comparing the new file to the original file.
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Updated Error in 7.0.2-Is this correct
Code is in Admin\people\users\adduserdialog.ascx.
On our server it works right without any change.
On developer computer when I compile same files by copying from server, I got compilation error in Visual Studio.
Not able to figure out how it's working on the server and not on my local computer.
Intellisense in VisualStudio shows 8 parameters for CreateUser method.
I checked all dll dates and they are 02/10/2009. There is no change in my server files and my local pc files.
Thank you,
Carol.
On our server it works right without any change.
On developer computer when I compile same files by copying from server, I got compilation error in Visual Studio.
Not able to figure out how it's working on the server and not on my local computer.
Intellisense in VisualStudio shows 8 parameters for CreateUser method.
I checked all dll dates and they are 02/10/2009. There is no change in my server files and my local pc files.
Thank you,
Carol.
Re: Updated Error in 7.0.2-Is this correct
Well there are different overloaded version of Create user... I don't know why you are getting an error on your local PC.
Code: Select all
public static User CreateUser(string email)
Code: Select all
public static User CreateUser(string email, string password)
Code: Select all
public static User CreateUser(string email, string password, string passwordQuestion, string passwordAnswer)
Code: Select all
public static User CreateUser(string username, string email, string password, string passwordQuestion, string passwordAnswer)
Code: Select all
public static User CreateUser(string username, string email, string password, string passwordQuestion, string passwordAnswer, bool isApproved, int affiliateId, out System.Web.Security.MembershipCreateStatus status)
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Updated Error in 7.0.2-Is this correct
Can you please send admin\people\users\adduserdialog.ascx file from 7.0.2 version.
The change I made is working fine. Just to be sure I want to replace my file with the one you are having.
Thanks alot,
Carol
The change I made is working fine. Just to be sure I want to replace my file with the one you are having.
Thanks alot,
Carol
Re: Updated Error in 7.0.2-Is this correct
Tell you what. There is no 'admin\people\users\adduserdialog.ascx' file in 7.0.2.
This file is not used anymore. It has been removed.
This file is not used anymore. It has been removed.
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Updated Error in 7.0.2-Is this correct
You are right.
I have replaced files from our original 7.1 version file with 7.0.2 files. With this new files where added, existing files where overwritten and
files which doesn't exist in 7.0.2 but exists in 7.1 are still there(eg:adduserdialog.ascx). That's why it was happening like that.
It's solved.
Thank you.
Carol
I have replaced files from our original 7.1 version file with 7.0.2 files. With this new files where added, existing files where overwritten and
files which doesn't exist in 7.0.2 but exists in 7.1 are still there(eg:adduserdialog.ascx). That's why it was happening like that.
It's solved.
Thank you.
Carol
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Updated Error in 7.0.2-Is this correct
Hi sohaib,
Can you guys give list of files which are no longer used in 7.0.2 but are still in 7.1. That would help.
Thank you,
Carol
Can you guys give list of files which are no longer used in 7.0.2 but are still in 7.1. That would help.
Thank you,
Carol
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Updated Error in 7.0.2-Is this correct
Hi Admin,
I request you guys to please give us list of files which are no longer used in 7.2 but where used in 7.1 . We updated AbleCommerce from 7.1 to 7.2 During upgrade process like in the forum mentioned old files which are not used in 7.2 are still there in our folder. We might end up working on the file which is not used and wonder why our coding changes are not showing up.
Any quick help will be appreciated.
Thanks,
Carol
I request you guys to please give us list of files which are no longer used in 7.2 but where used in 7.1 . We updated AbleCommerce from 7.1 to 7.2 During upgrade process like in the forum mentioned old files which are not used in 7.2 are still there in our folder. We might end up working on the file which is not used and wonder why our coding changes are not showing up.
Any quick help will be appreciated.
Thanks,
Carol
Re: Updated Error in 7.0.2-Is this correct
Following files/folders are removed from 7.1 to 7.2
Code: Select all
Website\Admin\DigitalGoods\AddDigitalGood.ascx
Website\Admin\DigitalGoods\AddDigitalGood.ascx.cs
Website\Admin\Orders\Payments\AVSCodes.aspx
Website\Admin\Orders\Payments\CVVCodes.aspx
Website\Admin\People\Users\AddUserDialog.ascx
Website\Admin\Products\Variants\Choices.aspx
Website\Admin\Products\Variants\EditChoices.aspx
Website\Admin\Products\Variants\EditOptions.aspx
Website\Admin\Shipping\Providers\AustraliaPost\Activate.aspx
Website\Admin\Shipping\Providers\DHLInternational\BetaProgram.aspx
Website\Admin\Shipping\Providers\DHLInternational\BetaProgram.aspx.cs
Website\Admin\Store\EmailTemplates\GeneralEmailSettingsDialog.ascx
Website\Admin\Store\EmailTemplates\SmtpSettingsDialog.ascx
Website\Bin\edtFTPnet.dll
Website\ValidationSummaryOnSubmit.js
Website\FCKeditor\editor\_source
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Updated Error in 7.0.2-Is this correct
Thanks a lot!