TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
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.
<?xml version=
"1.0"
encoding=
"utf-8"
?>
<!--
For more information on how to configure your ASP.NET application, please visit
https:
//go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http:
//go.microsoft.com/fwlink/?LinkID=237468 -->
<section name=
"entityFramework"
type=
"System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission=
"false"
/>
</configSections>
<system.web>
<compilation debug=
"true"
targetFramework=
"4.7.2"
/>
<httpRuntime targetFramework=
"4.7.2"
/>
</system.web>
<system.codedom>
<compilers>
<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"
/>
<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+"
/>
</compilers>
</system.codedom>
<appSettings>
<add key=
"webpages:Version"
value=
"3.0.0.0"
/>
<add key=
"webpages:Enabled"
value=
"false"
/>
<add key=
"ClientValidationEnabled"
value=
"true"
/>
<add key=
"UnobtrusiveJavaScriptEnabled"
value=
"true"
/>
<add key=
"ProductImage"
value=
"/Content/ProductImage/"
/>
</appSettings>
<system.webServer>
<modules runAllManagedModulesForAllRequests=
"true"
></modules>
</system.webServer>
<runtime>
<assemblyBinding xmlns=
"urn:schemas-microsoft-com:asm.v1"
>
<dependentAssembly>
<assemblyIdentity name=
"System.Web.Helpers"
publicKeyToken=
"31bf3856ad364e35"
/>
<bindingRedirect oldVersion=
"1.0.0.0-3.0.0.0"
newVersion=
"3.0.0.0"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name=
"System.Web.WebPages"
publicKeyToken=
"31bf3856ad364e35"
/>
<bindingRedirect oldVersion=
"1.0.0.0-3.0.0.0"
newVersion=
"3.0.0.0"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name=
"System.Web.Mvc"
publicKeyToken=
"31bf3856ad364e35"
/>
<bindingRedirect oldVersion=
"1.0.0.0-5.2.7.0"
newVersion=
"5.2.7.0"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name=
"WebGrease"
publicKeyToken=
"31bf3856ad364e35"
culture=
"neutral"
/>
<bindingRedirect oldVersion=
"0.0.0.0-1.6.5135.21930"
newVersion=
"1.6.5135.21930"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name=
"Antlr3.Runtime"
publicKeyToken=
"eb42632606e9261f"
culture=
"neutral"
/>
<bindingRedirect oldVersion=
"0.0.0.0-3.5.0.2"
newVersion=
"3.5.0.2"
/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name=
"Newtonsoft.Json"
publicKeyToken=
"30ad4fe6b2a6aeed"
culture=
"neutral"
/>
<bindingRedirect oldVersion=
"0.0.0.0-11.0.0.0"
newVersion=
"11.0.0.0"
/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<entityFramework>
<defaultConnectionFactory type=
"System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"
/>
<providers>
<provider invariantName=
"System.Data.SqlClient"
type=
"System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"
/>
</providers>
</entityFramework>
<connectionStrings>
<add name=
"eNtsaRegistrationWebSiteEntities"
connectionString=
"data source=GCOBANIM-L\SQLEXPRESS;initial catalog=eNtsaOnlineRegistrationDB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"
providerName=
"System.Data.SqlClient"
/>
</connectionStrings>
</configuration>
Reply
Answers (
2
)
How to use local db for publish a site
Why is the integration of CKEditor and CKFinder in ASP.NET ?