2
votes

I installed visual studio 2008 in our server and tried to run our proejct on the server but i got this error The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located. Do you have any idea what is my problem?

3
I have to say we use windows 7Elham abbasi

3 Answers

2
votes

The J# support assemblies are not included in .NET, it is a separate download.

0
votes

In Visual Studio 2010, in addition to installing Microsoft Visual J# Version 2.0 Redistributable Package, adding the following to Web.config within the main <configuration> tag seemed to also be required:

  <system.codedom>
    <compilers>
      <compiler language="vj#;vjs;vjsharp" extension=".jsl;.java" type="Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"></compiler>
    </compilers>
  </system.codedom>
0
votes

It may be your project may include some Java related files and due to it this error can come,

Ref :- http://blogs.telerik.com/aspnet-ajax/posts/07-12-02/the-codedom-provider-type-microsoft-vjsharp-vjsharpcodeprovider-could-not-be-located.aspx

can also manually find "JSON" or java files and can delete it if not need.