nop 2.2 nosource win7 installation

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 yıl önce
hi people, i was using nop 2.20 nosource with webmatrix on win 7 up untill yesterday when it decided to no longer give me aceess to anything.

luckily thanks to skyler who recomended a version program called tortoisehg i can easily get my changes back safely and quickly, however i would like try and install nop 2.2 without webmatrix and have tried following one or two videos on you tube to do this, but cant get it to work.

i think they were all done on win xp and i was hoping that one of you would be able to guide me on installing this on windows 7.

thankyou.
13 yıl önce
hi guys i have just managed to get to the install screen, i found a bit more info on the internet and as soon as i have have installed i will give you the way i did it as it may be of use to some of you.
13 yıl önce
with iis 7.5 installed i put the unzipped nopcommerce nosource file in the  C:\inetpub\wwwroot folder (this should be its default location)

the problem i had was that even though i had asp.net 4 installed it wasnt registered or available in iis 7.5 so i did a bit of browsing and found this

Open your command prompt (Windows + R) and type cmd and press ENTER
You may need to start this as an administrator if you have UAC enabled.
To do so, locate the exe (usually you can start typing with Start Menu open), right click and select "Run as Administrator"
Type cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\ and press ENTER.
Type aspnet_regiis.exe -ir and press ENTER again.
at this point you will see it begin working on installing .NET's framework in to IIS for you
Close the DOS prompt, re-open your start menu and right click Computer and select Manage
Expand the left-hand side (Services and Applications) and select Internet Information Services
You'll now have a new applet within the content window exclusively for IIS.
Expand out your computer and locate the Application Pools node, and select it. (You should now see ASP.NET v4.0 listed)
Expand out your Sites node and locate the site you want to modify (select it)
To the right you'll notice Basic Settings... just below the Edit Site text. Click this, and a new window should appear
Select the .NET 4 AppPool using the Select... button and click ok.
Restart the site, and you should be good-to-go.
(You can repeat steps 7-on for every site you want to apply .NET 4 on as well)


but this still would not work completely so i had to go back to the C:\inetpub\wwwroot folder and right click the nopcommerce folder i had placed inside, select properties and change the permissions for administrators and iis usrs
to full controll.

once i had done this i right clicked the website in the iis manager and selected convert to application and then selected the default app pool as asp.net v4.0, i then clicked ok.

once this had completed, in the right hand colum of iis manager i clicked the browse website link, which then launched the nopcommerce installer page. HOOOORRRAAAAAY!!!

unfortunately i spoke too soon and have been unable to proceed further because i keep getting errors relating to the installation, i post them bellow in the hope that on of you can help me work out what i have missed or done wrong.

thankyou

Setup failed: System.Exception: An error occured when creating database: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) at Nop.Web.Controllers.InstallController.Index(InstallModel model) in f:\Own\NopCommerce\Sources\src\Presentation\Nop.Web\Controllers\InstallController.cs:line 385
13 yıl önce
What does your sql connection string look like?  Are you trying to use "localhost" or your local ip address as the sql server name or are you trying to use the instance name?

The ip address will not work on sql server unless you enable tcp/ip in sql server configuration manager so you might want to use the instance name.  Also, make sure the user you added to the sql database has read/write permissions.
13 yıl önce
thanks for your reply,

the sql server string is /SQLEXPRESS but have also tried DEVELOPMENT-PC/SQLEXPRESS and i am using localhost, as far as i am aware the users administrator and iis user have full controll both read and write, but to be on the safe side i litterally gave every user in win7 full controll both read and write,

the only thing i did notice is that whenever i right click the nopcommerce site folder it is always marked readonly, so i unmark that and it applies attributes to all contained files and folders and when i right click it again its marked readonly again ? its got me a bit stumped to be honest, it may still be something to do with the permissions as when i try and delete the folder it wont let me untill i set the owner permission to full controll what do you think ?
13 yıl önce
You should do 2 things:

First
Open up sql management studio and make sure you can connect to your database with the username and password you setup.  

Second
Check permissions (as you've been doing).  Try to add Network Service and give it full permissions on the folder that contains your website within inetpub/wwwroot

Also, if you want to take ownership of a folder to delete etc do the following.  
Right click the folder and select properties
Click the security tab at the top
select the advanced button on the security tab
select the Owner tab
select the edit button on the Owner tab
select the user you'd like to have ownership
click on and apply the changes.
13 yıl önce
hi there, thanks for your help, i found out in the end that it was a permissions problem, and after resetting all permissions repair done, it still would not work so have given up and reinstalled 7 and programs etc shame really cause i was doin so well.

refurb.tech
13 yıl önce
Hi Refurb,

I follow all the steps that you given here all is ok but its showing directory listing. Not showing home page of nop commerce
Please help me in this regards

Thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.