[Mono-list] Problem with WEB-Page

David das Neves godofolos at gmx.de
Thu Sep 24 08:53:53 EDT 2009


Hey,

I got some problems to compile and use my web application with mono. I think
its an extraordinary problem which is not directly my fault. At least i hope
so because its working fine with Visual Studio and its Compiler.
Here is the error & stacktrace:

Server Error in '/' Application
/tmp/neves-temp-aspnet-0/9c49358e/App_Web_303de01a_0.cs(3924,1) : warning
CS0219: The variable `Container' is assigned but its value is never used

Description: HTTP 500. Error processing request.

Stack Trace:

System.Web.Compilation.CompilationException:
/tmp/neves-temp-aspnet-0/9c49358e/App_Web_303de01a_0.cs(3924,1) : warning
CS0219: The variable `Container' is assigned but its value is never used
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath,
System.CodeDom.Compiler.CompilerParameters options) [0x00209] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web.Compila
tion/AssemblyBuilder.cs:784
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web.Compila
tion/AssemblyBuilder.cs:699
  at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath
virtualPath, BuildKind buildKind) [0x00010] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web.Compila
tion/BuildManager.cs:1293
  at System.Web.Compilation.BuildManager.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x002da] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web.Compila
tion/BuildManager.cs:1256
  at System.Web.Compilation.BuildManager.GetCompiledType (System.String
virtualPath) [0x00039] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web.Compila
tion/BuildManager.cs:650
  at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x0000c] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web.Compila
tion/BuildManager.cs:354
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context)
[0x00000] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web.UI/Page
Parser.cs:156
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext
context, System.String requestType, System.String url, System.String path)
[0x00000] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web.UI/Page
HandlerFactory.cs:45
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00055] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web/HttpApp
lication.cs:1635
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web/HttpApp
lication.cs:1616
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x0071f]
in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web/System.Web/HttpApp
lication.cs:1252


The page is shown as a modular popup with javascript. A wizard / listview
and many more controls are integrated on the page. I´m using the newest
version of mono which I got from Yast. Hope some of you can help me to do a
workaround or even only give me some hints for this problem.

Thanks.

Regards

David



More information about the Mono-list mailing list