0
Answer

Getting error => The CodeDom provider type "Microsoft.CSharp.CSharp3CodeProvider, CSharp3CodeDomProvider" could not be located.

Ask a question
Hi,
  I am using a linqClass in my application. when i run my application it shows the proper output. But when i replace localhost:portnumber with my ipaddress in the url and run the application again it gives me this error -->
The CodeDom provider type "Microsoft.CSharp.CSharp3CodeProvider, CSharp3CodeDomProvider" could not be located.

My web.config settings are
<connectionStrings>
    <add name="LinqChat" connectionString="server=Myip;database=databasename;uid=uid;password=pwd" />
    </connectionStrings>

<compilers>
        <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharp3CodeProvider, CSharp3CodeDomProvider"/>
        </compilers>

I have also added refrence of CSharp3CodeDomProvider in my application's bin .
still getting the error =>
The CodeDom provider type "Microsoft.CSharp.CSharp3CodeProvider, CSharp3CodeDomProvider" could not be located.

Can anybody help me out?