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

deploy tradersys on IIS 10 throws exception #4

Open
elastiquee opened this issue Jun 27, 2020 · 0 comments
Open

deploy tradersys on IIS 10 throws exception #4

elastiquee opened this issue Jun 27, 2020 · 0 comments

Comments

@elastiquee
Copy link

elastiquee commented Jun 27, 2020

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant