Version 2.0 is not a compatible version

Last post 08-06-2008, 9:07 PM by hiramannan. 9 replies.
Sort Posts: Previous Next
  •  07-24-2008, 6:06 AM 25064

    Version 2.0 is not a compatible version

    i want to integrate my web service in k2 process, and i m getting error "Version 2.0  is not compatible version".

    Any any know why i m getting this error, as i m using k2.net 2003 with IIS version 1.1. my web service is running fine separately.


    Hira Mannan
  •  07-25-2008, 12:21 AM 25088 in reply to 25064

    Re: Version 2.0 is not a compatible version

    It could be an issue that you already have the .NET Framework 2.0 installed.  By default, the proxy stub for the web service will be generated using the latest .NET version installed on the machine.

     To generate the stubs using .NET Framework 1.1:

    1. Make sure that the .NET Framework 1.1 SDK and VS.NET 2003 is installed
    2. Open a ’Visual Studio .NET 2003 command prompt’
    3. Create a WSDL file by using the Disco.exe (Disco.exe “WebServiceURL” “Target Directory”)
    4. Create a C# library (cs file) from the created WSDL file by using the Wsdl.exe utility (Wsdl.exe "C:\Target Directory\service1.wsdl" "C:\TargetDirectory\CSharpLib.cs")
    5. Create the Proxy Dll from the C# library using the CSC.exe (CSharpCompiler)
    6. Reference the Proxy Dll in K2.net Studio to create a reference to the Specific Web service. Steps 1 to 4 can be automated by simply adding the web reference to any VS.NET 2003 project and locating the .cs file on the filesystem (...[SolutionDir]\Web References\localhost\Reference.cs) Also, if you’ve got the Web Services Enhancements (WSE) SDK installed, I think you should be able to create the proxy dll directly in VS.NET 2003 when adding the web reference to a VS.NET 2003 project.

     

  •  07-26-2008, 2:23 AM 25125 in reply to 25088

    Re: Version 2.0 is not a compatible version

    but on my server machine we have only VS2003 install.
    Hira Mannan
  •  07-26-2008, 2:46 AM 25126 in reply to 25125

    Re: Version 2.0 is not a compatible version

    It's to do with the .NET framework version not Visual Studio.
  •  07-28-2008, 10:57 AM 25158 in reply to 25125

    Re: Version 2.0 is not a compatible version

    http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

     Try this tool on the server.

      Or check if you have .NET 2.0 directory on the server.

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

  •  07-30-2008, 12:47 AM 25218 in reply to 25158

    Re: Version 2.0 is not a compatible version

    no i dont have any .Net 2.0 directory on my server machine.


    Hira Mannan
  •  07-30-2008, 1:44 AM 25219 in reply to 25218

    Re: Version 2.0 is not a compatible version

    The error message is a standard .NET error message when it complains about mixed versions of the .NET stubs. 

    Just to confirm, you are adding the web reference on the K2.net 2003 Studio designer on the server?  I am assuming that is where you are doing your design work.

  •  08-05-2008, 9:36 PM 25381 in reply to 25219

    Re: Version 2.0 is not a compatible version

    yes i am trying to add web reference on k2.net 2003 studio. and my web service also reside in the same machine.

    thanks


    Hira Mannan
  •  08-06-2008, 11:51 AM 25395 in reply to 25381

    Re: Version 2.0 is not a compatible version

    At this point, I can't really tell what else could be wrong.  If you have a support account, I would advise logging a ticket so that a support engineer can help take a look at this.
  •  08-06-2008, 9:07 PM 25405 in reply to 25395

    Re: Version 2.0 is not a compatible version

    thanks johnny for the help, i will definitely go for the ticket now .
    Hira Mannan
View as RSS news feed in XML