Batman Rises
Batman Rises

Reputation: 349

IIS 8 : Asp.Net Web Application Deployment

I have deployed an Asp.Net application as a website on IIS 8. But I am receiving error "The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located" Commenting below lines dosent work

  <system.codedom>
        <compilers>
          <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
          <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
        </compilers>
      </system.codedom>

Anybody faced same issue.

Upvotes: 2

Views: 2339

Answers (2)

uopeydel
uopeydel

Reputation: 441

I have this trouble to , Fixed by update package.

Microsoft.CodeDom.Providers.DotNetCompilerPlatform

Upvotes: 2

Marcio Cardoso
Marcio Cardoso

Reputation: 88

I was facing the same problem in local development on Visual Studio 2015. I resolved it by cleaning the solution in Menu "Build/Clean Solution" then "Built/Rebuilt Solution" and it is working fine again.

Hope to help :)

Upvotes: 1

Related Questions