HTTP Error 404.0 - Not Found in iis7

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 12 ans
download 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.

Please help!!!!!!!!
Il y a 12 ans
Found the solution.

Enable certain IIS 7.0 or IIS 7.5 handlers to handle requests whose URLs do not end with a period.

Installed this update and it works fine now.

http://support.microsoft.com/kb/980368
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.