You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2024. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
The text was updated successfully, but these errors were encountered: