I uploaded a wcf service to a web hosting and it was working fine, I could access to it, but suddenly it started throwing this error when I try to open it
IIS 8.5 Detailed Error
HTTP Error 500.21 - Internal Server Error Handler "svc-Integrated" has a bad module "ManagedPipelineHandler" in its module list
I've been searching and for what I understand it has something to do with the requisites for ASP.NET, it was suggested to run this command:
aspnet_regiis.exe -i
But since I'm using a shared hosting it's not much of an option, I don't know if I can add a handler to my web config or if I have to contact my provider to solve it.
The strange thing for me is that I was working with it without problems for months and it just suddenly threw that error.
Here's my webconfig:
<?xml version="1.0" encoding="utf-8"?><configuration><configSections><sectionname="entityFramework"type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"requirePermission="false"/><!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections><appSettings><addkey="aspnet:UseTaskFriendlySynchronizationContext"value="true"/></appSettings><system.web><trustlevel="Full"></trust><customErrorsmode="Off"></customErrors><compilationtargetFramework="4.5.2"debug="true"><assemblies><addassembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/><addassembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/><addassembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/></assemblies><buildProviders><addextension=".edmx"type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider"/></buildProviders></compilation><httpRuntimetargetFramework="4.5.2"/><globalizationculture="es"uiCulture="es-mx"/></system.web><system.serviceModel><behaviors><serviceBehaviors><behavior><!-- To avoid disclosing metadata information, set the values below to false before deployment --><serviceMetadatahttpGetEnabled="true"httpsGetEnabled="true"/><!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --><serviceDebugincludeExceptionDetailInFaults="true"/></behavior></serviceBehaviors></behaviors><protocolMapping><addbinding="basicHttpsBinding"scheme="https"/></protocolMapping>><serviceHostingEnvironmentaspNetCompatibilityEnabled="true"multipleSiteBindingsEnabled="true"/><bindings><basicHttpBinding><bindingmaxBufferPoolSize="2147483647"maxBufferSize="2147483647"maxReceivedMessageSize="2147483647"><readerQuotasmaxDepth="2147483647"maxStringContentLength="2147483647"maxArrayLength="2147483647"maxBytesPerRead="2147483647"maxNameTableCharCount="2147483647"/><securitymode="None"/></binding></basicHttpBinding></bindings></system.serviceModel><system.webServer><httpErrorserrorMode="Detailed"/><aspscriptErrorSentToBrowser="true"/><modulesrunAllManagedModulesForAllRequests="true"/><!--
To browse web app root directory during debugging, set the value below to true.
Set to false before deployment to avoid disclosing web app folder information.
--><directoryBrowseenabled="true"/><handlers><removename="ExtensionlessUrlHandler-Integrated-4.0"/><removename="OPTIONSVerbHandler"/><removename="TRACEVerbHandler"/><addname="ExtensionlessUrlHandler-Integrated-4.0"path="*."verb="*"type="System.Web.Handlers.TransferRequestHandler"preCondition="integratedMode,runtimeVersionv4.0"/><addname="svc-Integrated"path="*.svc"verb="*"type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"preCondition="integratedMode"/></handlers></system.webServer><connectionStrings><addname="mydatabaseEntities"connectionString="metadata=res://*/App_Code.Model.csdl|res://*/App_Code.Model.ssdl|res://*/App_Code.Model.msl;provider=MySql.Data.MySqlClient;provider connection string="server=www.myserver.com;user id=myuser;password=mypassword;database=mydatabase""providerName="System.Data.EntityClient"/></connectionStrings><system.data><DbProviderFactories><removeinvariant="MySql.Data.MySqlClient"/><addname="MySQL"description="ADO.Net driver for MySQL"invariant="MySql.Data.MySqlClient"type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data"/></DbProviderFactories></system.data><entityFramework><defaultConnectionFactorytype="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"><parameters><parametervalue="v13.0"/></parameters></defaultConnectionFactory><providers><providerinvariantName="System.Data.SqlClient"type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/><providerinvariantName="MySql.Data.MySqlClient"type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6"/></providers></entityFramework><runtime><assemblyBindingxmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentityname="MySql.Data"publicKeyToken="c5687fc88969c44d"culture="neutral"/><bindingRedirectoldVersion="0.0.0.0-6.9.9.0"newVersion="6.9.9.0"/></dependentAssembly></assemblyBinding></runtime></configuration><!--ProjectGuid: 358c49ac-3d89-4b28-8a2e-15304c1a48e2-->If someone has a suggestion I'd appreciate it
</div> </div>