Upgrade from 1.10 to 1.80 issue.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hello all.

i just upgraded the 1.10 to 1.80 and now i'm blocked.
Here is what i have done:
- backup of the website and DB.
- upgraded manually DB using the SQL scripts from 1.40 and 1.80 packs ( 1.11, 1.20, 1.30, etc ...)
- deleted the files on the web root.
- unpacked the files from 1.80 zip
- started the site, which automatically starts install.aspx
- here i followed the upgrade steps, thinking that this way i will have my connection string written in config files.
- at step 3 i'm blocked, with the message that the DB is already at version 1.80.

What can i do to avoid the step 3 ? Or to have the site working ....

Thanks,
Mitch
13 years ago
mitch_mrc wrote:
Hello all.

i just upgraded the 1.10 to 1.80 and now i'm blocked.
Here is what i have done:
- backup of the website and DB.
- upgraded manually DB using the SQL scripts from 1.40 and 1.80 packs ( 1.11, 1.20, 1.30, etc ...)
- deleted the files on the web root.
- unpacked the files from 1.80 zip
- started the site, which automatically starts install.aspx
- here i followed the upgrade steps, thinking that this way i will have my connection string written in config files.
- at step 3 i'm blocked, with the message that the DB is already at version 1.80.

What can i do to avoid the step 3 ? Or to have the site working ....

Thanks,
Mitch


You are getting that error because you have already upgraded your database manually to 1.8version by running sql scripts

(So, no need to run install.aspx page now)

You can do one thing, have you saved the files and folders of your previous website 1.0 based ?
If yes, it should have connectionstring.config file

just copy the old 1.0 version connectionstring.config file and replace it with the new one (that is currently on your root folder of server)

it will ask you, the file already exists, just click on "YES REPLACE / OVERWRITE"

and then just run the website like this www.yourwebdomain.com

and it should work fine
13 years ago
Thanks for your answer.
In my 1.10 version i have only a web.config file, in 1.80 i saw that they separated the connection settings from the former web.config file.
How is the new connection.config look like? I can modify it manually.
And this modification guarantees that on a mystore.com refresh i won't be forwarded again to /Install/install.aspx?
13 years ago
yes if you configure your connectionstring.config file to locate your current database then it won't navigate you to install.aspx page.

as you mentioned connection string in 1.10 version is in webconfig file

then copy the connectionstring from your 1.10 webconfig file (or wherever it is located)

now open the connectionstring.config file of 1.80 version

and paste your 1.10version connection string in 1.8connectionstring.config file

it should look like this: (Code in 1.8 connectionstring.config file)

<add name="NopSqlConnection" connectionString="Data Source=YOUR_SERVER_NAME;Initial Catalog=YOUR_DATABASE_NAME;Integrated Security=False;Persist Security Info=False;User ID=DATABASE_USERNAME;Password=DATABASE_PASSWORD;Connect Timeout=120"/>
13 years ago
Don't forget to add <connectionStrings> tag

Your new connectionString.config file should look like this:

<connectionStrings>
   <add name="NopSqlConnection" connectionString="Data Source=YOUR_SERVER_NAME;Initial Catalog=YOUR_DATABASE_NAME;Integrated Security=False;Persist Security Info=False;User ID=DATABASE_USERNAME;Password=DATABASE_PASSWORD;Connect Timeout=120"/>
</connectionStrings>

Let me know if you have any problem...
13 years ago
It worked, thanks.

Best regards.
13 years ago
mitch_mrc wrote:
It worked, thanks.

Best regards.


Your welcome, nice to know that everything is working fine at your side...
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.