Partilhar via


Hosting Exceptions

This topic lists all exceptions generated by Hosting.

Exception List

Resource Code Resource String

Hosting_AddressIsAbsoluteUri

The full URI is not allowed. Full URIs are not allowed for the ServiceHostingEnvironment.EnsureServiceAvailable API. Use a virtual path for the corresponding service.

Hosting_BuildProviderCouldNotCreateType

The specified CLR type cannot be loaded during service compilation. Verify that this type is either defined in a source file located in the application's \\App_Code directory, contained in a compiled assembly located in the application's \\bin directory, or present in an assembly installed in the Global Assembly Cache. The type name is case-sensitive. The directories such as \\App_Code and \\bin must be located in the application's root directory. The \\App_Code and \\bin directories cannot be nested in subdirectories.