Giter VIP home page Giter VIP logo

Comments (3)

poyker avatar poyker commented on July 26, 2024

@DarthSonic

Please note that the API plugin uses OWIN and in order to host OWIN in IIS you need a reference to Microsoft.Owin.Host.SystemWeb.dll assembly, which makes the glue between IIS and OWIN. This is already referenced by nopCommerce 3.80 and you can control the OWIN discovery by setting the owin:AutomaticAppStartup value to "true" in the Web.config.
Please double check if your Web.config has this set to True as it is done automatically after the API plugin is installed. Another possible problem might be the IIS version that you use and that it might not be supported by this Microsoft.Owin.Host.SystemWeb.dll assembly. This assembly basically adds an HTTPModule that allows the OWIN middlewares to register for specific HttpApplication events. What is this IIS Core? Is it a regular IIS web server or something else?

If it is a regular IIS and you have the setting set to True in the Web.config then if you have the plugin uploaded on your server it should be discovered. Do you have the API plugin uploaded on the server?

from api-plugin-for-nopcommerce.

DarthSonic avatar DarthSonic commented on July 26, 2024

Hi, debugging on IIS Express within Visual Studio 2015 is working. Deploying to core IIS in debug mode is not working on Windows Server 2008 RS (IIS 7.5) and also not working for core IIS on Windows 10 (IIS 10.0. same PC as Debug IIS Express). I think it does not depend on IIS version.

Microsoft.Owin.Host.SystemWeb.dll exists in project bin folder.
owin:AutomaticAppStartup is allready set to "true" in web.config of Nop.Web project.

As I see the problem is that deploying in debug mode does not copy all plugins to the local iis folder. Have to figure out why that is.

from api-plugin-for-nopcommerce.

poyker avatar poyker commented on July 26, 2024

@DarthSonic

So the problem was the the plugin was not copied to the Plugins folder.
Since this is a deployment issue and is not related to some problem in the plugin itself I will close this issue now.

Please feel free to open it if you think there is some problem in the plugin itself.

from api-plugin-for-nopcommerce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.