ISS 7.5 installation

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 лет назад
Hello,

First, I have installed nopCommerce about the Web PlatForm Installer on my W7 with II7.5.
IE7 addressing "http:localhost/nopcommerce" produced a HTTP-Fehler 403.14 - Forbidden.
I changed ISS7 Configuration and enabled directory browsing. Now I have a directory listing but no start page of nopcommerce.  I thought to install nopcommerce with a web installer brings the IIS7 Configuration to a point that runs without further interaction of me? How I can solve it? Thank you.

In the VST010 Environment I can run nopCommerce with source without problems, but I don't know how to access the Admin Site?

Greetings from Germany
JSchatral
13 лет назад
JSchatral wrote:
Hello,

First, I have installed nopCommerce about the Web PlatForm Installer on my W7 with II7.5.
IE7 addressing "http:localhost/nopcommerce" produced a HTTP-Fehler 403.14 - Forbidden.
I changed ISS7 Configuration and enabled directory browsing. Now I have a directory listing but no start page of nopcommerce.  I thought to install nopcommerce with a web installer brings the IIS7 Configuration to a point that runs without further interaction of me? How I can solve it? Thank you.

In the VST010 Environment I can run nopCommerce with source without problems, but I don't know how to access the Admin Site?

Greetings from Germany
JSchatral


You probably need to configure IIS for MVC and you should disable directory browsing once you've configured IIS to work with an MVC website.

This link will walk you through the installation process and it will include a link for configuring IIS. Let me know if this helps move you further along in the installation process.
https://www.nopcommerce.com/topic/79-installing-nopcommerce.aspx
13 лет назад
Good morning skyler,

Ok, I had to reinstall with Aspnet_regiis.exe -i  because of installation of IIS7 after .net Installation. (http://forums.asp.net/t/1691768.aspx/1); This problem is solved.
Thank you...

Now I`m landing at the nopCommerce installation and get that next error:
Setup failed: System.Exception: Database does not exist or you don't have permissions to connect to it at Nop.Web.Controllers.InstallController.Index(InstallModel model) in f:\Own\NopCommerce\Sources\src\Presentation\Nop.Web\Controllers\InstallController.cs:line 407


Further installation informations: I use integrated Windows authentication.
Because of using a nopCommerce Database at I72600K2\SQLENTERPRISE in my development environment I give the database in a second installation trial  to the express Version  I72600K2\SQLEXPRESS
Database name: nopCommerce. But this changed nothing.

What is going wrong - Thank you!

Greeting from Germany...
13 лет назад
JSchatral wrote:
Good morning skyler,

Ok, I had to reinstall with Aspnet_regiis.exe -i  because of installation of IIS7 after .net Installation. (http://forums.asp.net/t/1691768.aspx/1); This problem is solved.
Thank you...

Now I`m landing at the nopCommerce installation and get that next error:
Setup failed: System.Exception: Database does not exist or you don't have permissions to connect to it at Nop.Web.Controllers.InstallController.Index(InstallModel model) in f:\Own\NopCommerce\Sources\src\Presentation\Nop.Web\Controllers\InstallController.cs:line 407


Further installation informations: I use integrated Windows authentication.
Because of using a nopCommerce Database at I72600K2\SQLENTERPRISE in my development environment I give the database in a second installation trial  to the express Version  I72600K2\SQLEXPRESS
Database name: nopCommerce. But this changed nothing.

What is going wrong - Thank you!

Greeting from Germany...


If you're certain that the SQL instance exists and the web server has access then the website is probably not running under the correct identity. I recommend that you create a new windows user for your website to run as (with limited permissions, see the installation guide for required permissions). Once you've created this user you can follow the link below to an article on how to change the application pool identity.


http://learn.iis.net/page.aspx/624/application-pool-identities/
13 лет назад
Good morning,
after changing the application pool identity the home page of nopCommerce appears.  Howsoever the next  problem is coming up. If I click the categorie Computers in the sample data the next page is comming. But some links produce all the same error. I speculate something, but I thing you need less time to solve - Thank you!

Error description: Error in '/nopCommerce' Application.

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.   

Stack Trace:  

[NullReferenceException: Object reference not set to an instance of an object.]
   Nop.Services.Tax.TaxService.GetTaxRate(ProductVariant productVariant, Int32 taxCategoryId, Customer customer) in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Tax\TaxService.cs:240
   Nop.Services.Tax.TaxService.GetProductPrice(ProductVariant productVariant, Int32 taxCategoryId, Decimal price, Boolean includingTax, Customer customer, Boolean priceIncludesTax, Decimal& taxRate) in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Tax\TaxService.cs:323
   Nop.Services.Tax.TaxService.GetProductPrice(ProductVariant productVariant, Decimal price, Boolean includingTax, Customer customer, Decimal& taxRate) in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Tax\TaxService.cs:304
   Nop.Services.Tax.TaxService.GetProductPrice(ProductVariant productVariant, Decimal price, Customer customer, Decimal& taxRate) in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Tax\TaxService.cs:287
   Nop.Services.Tax.TaxService.GetProductPrice(ProductVariant productVariant, Decimal price, Decimal& taxRate) in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Tax\TaxService.cs:263
   Nop.Web.Controllers.CatalogController.PrepareProductPriceModel(Product product) in f:\Own\NopCommerce\Sources\src\Presentation\Nop.Web\Controllers\CatalogController.cs:214
   Nop.Web.Controllers.CatalogController.PrepareProductOverviewModel(Product product, Boolean preparePriceModel, Boolean preparePictureModel) in f:\Own\NopCommerce\Sources\src\Presentation\Nop.Web\Controllers\CatalogController.cs:318
   System.Linq.WhereSelectListIterator`2.MoveNext() +231
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +471
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +79
   Nop.Web.Controllers.CatalogController.Category(Int32 categoryId, CatalogPagingFilteringModel command) in f:\Own\NopCommerce\Sources\src\Presentation\Nop.Web\Controllers\CatalogController.cs:878
   lambda_method(Closure , ControllerBase , Object[] ) +163
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +263
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +38
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +128
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +826266
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +314
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +825488
   System.Web.Mvc.Controller.ExecuteCore() +159
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.