Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.
This repository was archived by the owner on May 7, 2024. It is now read-only.

deploy tradersys on IIS 10 throws exception #4

Open
@elastiquee

Description

@elastiquee

I tried to host the WCF service in the tradersys on IIS version 10 on Windows 10, which throws an exception:

The AutofacServiceHost.Container static property must be set before services can be instantiated. 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.InvalidOperationException: The AutofacServiceHost.Container static property must be set before services can be instantiated.

I'm aware of this issue as discussed several times on stackoverflow, such as this post. Yet the code by Microsft contains the appropriate autofac container.

While it works just fine using the Visual Studio and IISExpress.
Did I miss anything on deploying this as a service?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions