Guest User

Guest User

  • Tech Writer
  • 2.1k
  • 466.6k

Http Error 403.14-Forbidden?

Jan 30 2020 7:08 AM
Hi Team
 
I am creating an MVC web app, but i am encountering this issue, try and and see from other open source, nothing to seem to work. Let me share my web.config with you mates, maybe there is a missing logic. Its not running at all, try IIS setting as well to check and unchecked nothing. 
  1. <?xml version="1.0" encoding="utf-8"?>  
  2. <!--  
  3.   For more information on how to configure your ASP.NET application, please visit  
  4.   https://go.microsoft.com/fwlink/?LinkId=169433  
  5.   -->  
  6. <configuration>  
  7.   <configSections>  
  8.     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->  
  9.     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />  
  10.   </configSections>    
  11.   <system.web>  
  12.     <compilation debug="true" targetFramework="4.7.2" />  
  13.     <httpRuntime targetFramework="4.7.2" />  
  14.   </system.web>  
  15.   <system.codedom>  
  16.     <compilers>  
  17.       <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />  
  18.       <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />  
  19.     </compilers>  
  20.   </system.codedom>  
  21.   <appSettings>  
  22.     <add key="webpages:Version" value="3.0.0.0" />  
  23.     <add key="webpages:Enabled" value="false" />  
  24.     <add key="ClientValidationEnabled" value="true" />  
  25.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />  
  26.     <add key="ProductImage" value="/Content/ProductImage/"/>  
  27.   </appSettings>  
  28.   <system.webServer>  
  29.     <modules runAllManagedModulesForAllRequests="true"></modules>  
  30.   </system.webServer>  
  31.   <runtime>  
  32.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
  33.       <dependentAssembly>  
  34.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />  
  35.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />  
  36.       </dependentAssembly>  
  37.       <dependentAssembly>  
  38.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />  
  39.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />  
  40.       </dependentAssembly>  
  41.       <dependentAssembly>  
  42.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />  
  43.         <bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0" />  
  44.       </dependentAssembly>  
  45.       <dependentAssembly>  
  46.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />  
  47.         <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />  
  48.       </dependentAssembly>  
  49.       <dependentAssembly>  
  50.         <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />  
  51.         <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />  
  52.       </dependentAssembly>  
  53.       <dependentAssembly>  
  54.         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />  
  55.         <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />  
  56.       </dependentAssembly>  
  57.     </assemblyBinding>  
  58.   </runtime>  
  59.   <entityFramework>  
  60.     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />  
  61.     <providers>  
  62.       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />  
  63.     </providers>  
  64.   </entityFramework>  
  65.   <connectionStrings>  
  66.     <add name="eNtsaRegistrationWebSiteEntities" connectionString="data source=GCOBANIM-L\SQLEXPRESS;initial catalog=eNtsaOnlineRegistrationDB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />  
  67.   </connectionStrings>  
  68. </configuration>  

Answers (2)