How do I fix the “compilerVersion” IIS error?

前端 未结 7 1494
借酒劲吻你
借酒劲吻你 2020-11-28 06:04

I\'m getting this exception:

System.Configuration.ConfigurationErrorsException: The value for the \'compilerVersion\' attribute in the provider opti

7条回答
  •  臣服心动
    2020-11-28 06:42

    In my case, I was trying to run a child application using 4.0, but the parent application needed to still use 2.0. Wrapping the compilers information in the parent web.config with a tag fixed it.

    Parent Web.config:

    
      
        
          
            
            
          
        
      
    

提交回复
热议问题