This is a migrated thread and some comments may be shown as answers.

Mono Test Application

5 Answers 211 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nils Schaetti
Top achievements
Rank 1
Nils Schaetti asked on 23 Oct 2009, 03:07 PM
Hi,

I'm porting an ASP.NET application, which use Telerik controls, on Linux with Mono(_mod) and Apache2. So first, I tried to install the test application, the one on http://mono.telerik.com/, but it doesn't work. It give me the next error :

Server Error in '/' Application


Could not load file or assembly 'System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089' or one of its dependencies. The system cannot find the file specified.

Description: HTTP 500. Error processing request.

Stack Trace:

System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00000] 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] 
  at System.Web.Compilation.BuildManager.LoadAssembly (System.Web.Configuration.AssemblyInfo info, System.Collections.Generic.List`1 al) [0x00000] 
  at System.Web.Compilation.BuildManager.GetReferencedAssemblies () [0x00000] 
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000] 
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.CodeDom.Compiler.CompilerParameters options) [0x00000] 
  at System.Web.Compilation.AppResourcesAssemblyBuilder.BuildAssembly (System.String cultureName, System.Collections.Generic.List`1 files, System.String defaultAssemblyKey, System.CodeDom.CodeCompileUnit unit) [0x00000] 
  at System.Web.Compilation.AppResourcesAssemblyBuilder.Build (System.CodeDom.CodeCompileUnit unit) [0x00000] 
  at System.Web.Compilation.AppResourcesCompiler.CompileGlobal () [0x00000] 
  at System.Web.Compilation.AppResourcesCompiler.Compile () [0x00000] 
  at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000] 


Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433

It seems that the test application use DLLs which are not supported by Mono (System.Web.Entity is a .NET 3.5 SP1 not yet implemented by Mono). I used the Telerik test application version that we gave to me, but is there a special version for Mono? Or should I use an older version? Which doesn't use .NET 3.5 SP1 classes?

It would be great to get our application working on Linux/Unix, so I ask your help on this subject.

I use Ubuntu Linux with the last built of Mono (2.4.2.3) and Mod_Mono with Apache2.

Thank you


5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 23 Oct 2009, 03:40 PM
Hello Nils,

.NET 3.5 version of RadControls for ASP.NET AJAX doesn't work with Mono - please use the 2.0 version instead. Note that our live demos runs with 2008.3.1314.20 and Mono 2.4.

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Nils Schaetti
Top achievements
Rank 1
answered on 26 Oct 2009, 10:26 AM
Hello, thank you for your reply!

I tested the Live Demo with the version 2008-3-1105 (.NET 2.0), but it say :

VBNC30456: 'Default' is not a member of 'Global.Telerik.Web.Examples.Controls'.

Description: HTTP 500. Error processing request.

Stack Trace:

System.Web.Compilation.CompilationException: VBNC30456: 'Default' is not a member of 'Global.Telerik.Web.Examples.Controls'.
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000] at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath virtualPath, BuildKind buildKind) [0x00000] at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000]

Do it works only with 2008.3.1314.20?

Thank you
Nils Schaetti


0
Daniel
Telerik team
answered on 26 Oct 2009, 11:13 AM
Hello Nils,

RadControls for ASP.NET AJAX Q3 2008 SP2 (version 2008.3.1314) is the first version that supports Mono officially. All versions from 2008.3.1314 up should behave as expected.

Telerik, AJAX UI controls and Mono support   (the post is submitted on April 02)

Let me know if you need more information

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Nils Schaetti
Top achievements
Rank 1
answered on 27 Oct 2009, 11:14 AM
Thank you for your help!

It's working fine with 2008 Q3 1314, but I still have error with some controls :

Server Error in '/' Application


VBNC30456: 'Default' is not a member of 'Global.Telerik.Web.Examples.Controls'.

Description: HTTP 500. Error processing request.

Stack Trace:

System.Web.Compilation.CompilationException: VBNC30456: 'Default' is not a member of 'Global.Telerik.Web.Examples.Controls'.
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000] at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath virtualPath, BuildKind buildKind) [0x00000] at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000]

Can this error be fixed? Or is it not important for using Telerik on other applications?

Thank you
Nils Schaetti


0
Daniel
Telerik team
answered on 02 Nov 2009, 02:39 PM
Hello Nils,

If you submit a support ticket with link to this thread I will send you a runnable version of our live demos.

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Nils Schaetti
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Nils Schaetti
Top achievements
Rank 1
Share this question
or