Nop 2.0 Installation

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Downloaded Nopcommerce 2.0 release.
Unzipped it
I try to run the 2 .bat files and comes with errors, last attempt had 3 errors

I have to ask... Why do we have to run these .bat files?
it's not possible nopcommerce experienced people to run the deploy.bat and zip up the deployable folder and all we (less experienced) need to do is uploaded it to the webserver and install?

If not possible can someone help me out please?
perhaps someone explain in beginners terms, requirements before we start and procedure?
I did see the video, but in the video he did not have any errors...

Thanks
12 years ago
There is a log in the build/ folder. Post the file here so we can review it.
12 years ago
error log:

       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\build\nop.proj" (Deploy target) (1) ->
       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\NopCommerce.sln" (default target) (2) ->
       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\Presentation\Nop.Web\Nop.Web.csproj" (default target) (24) ->
         C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\Presentation\Nop.Web\Nop.Web.csproj(1254,3): error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.


       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\build\nop.proj" (Deploy target) (1) ->
       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\NopCommerce.sln" (default target) (2) ->
       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\Presentation\Nop.Web\Administration\Nop.Admin.csproj" (default target) (25) ->
         C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\Presentation\Nop.Web\Administration\Nop.Admin.csproj(939,3): error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.


       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\build\nop.proj" (Deploy target) (1) ->
       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\NopCommerce.sln" (default target) (2) ->
       "C:\Users\My_Lat\Downloads\nopCommerce_2.00_Source\Libraries\Nop.Services\Nop.Services.csproj" (default target) (5) ->
       (GenerateSerializationAssemblies target) ->
         C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2249,9): error MSB3086: Task could not find "sgen.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed

    45 Warning(s)
    3 Error(s)
12 years ago
Just an update on how i sorted out my problem.
initially i got 3 errors see my earlier post
I installed VS2010 professional as i was using VS2010 Express and either components were missing or express can not do it.
I got 1 only error after this, but i needed to update the MVC 3 Tools, on top of MVC 3 (as MarioRosario said in another post)
run as per video here (thanks for the upload WXD) https://www.nopcommerce.com/boards/t/10575/how-to-publish-v20-video.aspx


all ran perfectly
12 years ago
I have uploaded 2.0 (no source to my server)  
I am getting this error
-------------------------------
We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time.
-------------------------------
what can i do for this point?  and how do I fix this issue?
12 years ago
seelanca wrote:
I have uploaded 2.0 (no source to my server)  
I am getting this error
-------------------------------
We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time.
-------------------------------
what can i do for this point?  and how do I fix this issue?

To find out what went wrong you need to turn off the custom errors mode.
1. Open web.config file
2. Find out the following line <customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly">
3. Replace it with <customErrors defaultRedirect="errorpage.htm" mode="Off">
12 years ago
I have vs2010 and mvc and all the updates.

get HTTP Error 404.0 - Not Found

This are the steps I Do:

downloaded nopcommerce_2.00_source.rar

Create folder c:/nopcommerce2

extract nopcommerce_2.00_source.rar to c:/nopcommerce2

run prepare.bat

get 31 errors

open visual studio

open nopcommerce.sln

Build

buildsucceeded

run prepare.bat

build succeeded

Run deploy.bat

32>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplicati
    ons\Microsoft.WebApplication.targets(132,5): error MSB3021: Unable to co
    py file "obj\Debug\Nop.Web.dll" to "C:\nopcommerce2\build\..\Deployable\
    nop_2.0\\bin\Nop.Web.dll". Could not find file 'obj\Debug\Nop.Web.dll'.
    [C:\nopcommerce2\Presentation\Nop.Web\Nop.Web.csproj]
32>Done Building Project "C:\nopcommerce2\Presentation\Nop.Web\Nop.Web.cspr
    oj" (ResolveReferences;_CopyWebApplication target(s)) -- FAILED.
  1>Done Building Project "C:\nopcommerce2\build\nop.proj" (Deploy target(s)
    ) -- FAILED.

ld FAILED.

    "C:\nopcommerce2\build\nop.proj" (Deploy target) (1) ->
    "C:\nopcommerce2\Presentation\Nop.Web\Nop.Web.csproj" (ResolveReferences
    ;_CopyWebApplication target) (32:2) ->
    "C:\nopcommerce2\Presentation\Nop.Web.Framework\Nop.Web.Framework.csproj
    " (default target) (12:76) ->
    (CoreCompile target) ->
      Themes\ThemeableVirtualPathProviderViewEngine.cs(21,42): warning CS064
    9: Field 'Nop.Web.Framework.Themes.ThemeableVirtualPathProviderViewEngin
    e._emptyLocations' is never assigned to, and will always have its defaul
    t value null [C:\nopcommerce2\Presentation\Nop.Web.Framework\Nop.Web.Fra
    mework.csproj]


    "C:\nopcommerce2\build\nop.proj" (Deploy target) (1) ->
    "C:\nopcommerce2\Presentation\Nop.Web\Nop.Web.csproj" (ResolveReferences
    ;_CopyWebApplication target) (32:2) ->
    (_CopyWebApplicationLegacy target) ->
      C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplica
    tions\Microsoft.WebApplication.targets(132,5): error MSB3021: Unable to
    copy file "obj\Debug\Nop.Web.dll" to "C:\nopcommerce2\build\..\Deployabl
    e\nop_2.0\\bin\Nop.Web.dll". Could not find file 'obj\Debug\Nop.Web.dll'
    . [C:\nopcommerce2\Presentation\Nop.Web\Nop.Web.csproj]

1 Warning(s)
1 Error(s)

Goto c:/nopcommerce2/presentation/obj

You see debug and release folder

copi from release folder:

Nop.Web.dll and Nop.Web.pdb

past into debug folder

Goto c:/nopcommerce2/presentation/administration/obj

you see debug and release folder

copi from release folder:

Nop.Web.dll and Nop.Web.pdb

past into debug folder

Run deploy.bat

build succeeded

then you see new folder:

c:/nopcommerce2/Deployable/nop_2.0

open iis

add application

name it nopcom2

application pool = asp.net v4.0

psysical path:

C:\nopcommerce2\Deployable\nop_2.0

when i open in browser get:

http://localhost/nopcom2/install

Requested URL  http://localhost:80/nopcom2/install
Physical Path  C:\nopcommerce2\Deployable\nop_2.0\install

HTTP Error 404.0 - Not Found

The directory or file specified does not exist on the Web server.
12 years ago
Take a look at my post:
https://www.nopcommerce.com/boards/t/11073/prepare-build-error.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.