ciao a tutti,
spero di essere nel forum giusto per questa richiesta...
dunque, ho sviluppato un applicativo web in vb.net (2008) ed ora voglio testarlo in mono (ambiente linux); l'ho quindi compilato con VS2008 e portato sul server, però ho sempre questo errore in fase di apertura della home page :
Compilation Error
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Compiler Error Message: VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5904 (Mono 2.0 - r) Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.
Error : VBNC99999: Unexpected error: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in /usr/src/packages/BUILD/mono-2.0.1/mcs/class/corlib/System.Reflection/Assembly.cs:339 at vbnc.TypeManager.LoadReferencedTypes () [0x00028] in /usr/src/packages/BUILD/mono-basic-2.0/vbnc/vbnc/source/General/TypeManager.vb:441 at vbnc.TypeManager.LoadReferenced () [0x000e3] in /usr/src/packages/BUILD/mono-basic-2.0/vbnc/vbnc/source/General/TypeManager.vb:306 at vbnc.Compiler.Compile () [0x001e2] in /usr/src/packages/BUILD/mono-basic-2.0/vbnc/vbnc/source/General/Compiler.vb:534
Compilation took 00:00:00.4338130
~/MasterPage1.master
--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42
posto qui sotto il codice della home page (default.aspx) + il codice della master page a cui è collegata :
default.aspx :
<%@ Page Language="VB" MasterPageFile="~/MasterPage1.master" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="_default" title="GRXP Web Version" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
width: 70%;
}
.style3
{
height: 496px;
}
.style7
{
height: 26px;
}
.style8
{
height: 29px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Corpo" Runat="Server">
<table class="style1">
<tr>
<td align="center" class="style3" valign="top">
<table cellspacing="1" class="style2" cellpadding="1">
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<table bgcolor="#F7F6F3" cellpadding="1" cellspacing="1" style="height: 138px"
width="265px">
<tr>
<td height="10%">
<table bgcolor="#5D7B9D" cellpadding="0" cellspacing="0" width="97%">
<tr>
<td style="font-family: Verdana; font-size: 0.7em; color: #FFFFFF; font-weight: bold;"
width="95%">
Inserisci login di accesso a GRXP</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class="style8" valign="middle">
<table cellpadding="2" cellspacing="2" style="height: 44px" width="95%">
<tr>
<td align="right" style="font-family: Verdana; font-size: 0.7em" width="40%">
Nome utente:</td>
<td style="font-family: verdana; font-size: 0.7em" width="60%">
<asp:TextBox ID="Login" runat="server" Font-Names="Verdana" Font-Size="0.8em" TabIndex="1"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="Login" ErrorMessage="*" Font-Bold="True"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="font-family: Verdana; font-size: 0.7em" width="40%">
Password:</td>
<td style="font-family: verdana; font-size: 0.7em" width="60%">
<asp:TextBox ID="Password" runat="server" Font-Names="Verdana"
Font-Size="0.8em" TextMode="Password" TabIndex="2"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="Password" ErrorMessage="*" Font-Bold="True"></asp:RequiredFieldValidator>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" height="10px">
<table cellspacing="1" width="80%">
<tr>
<td align="left" style="font-family: verdana; font-size: 0.7em">
<asp:Label ID="TxtErroreDati" runat="server" ForeColor="Red"
Text="Login o password errati !" Visible="False"></asp:Label>
</td>
<td align="right" width="25%">
<asp:Button ID="Button1" runat="server" Font-Names="Verdana" Font-Size="0.7em"
Text="Accedi" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Content>
codice Masterpage :
<%@ Master Language="VB" CodeFile="MasterPage1.master.vb" Inherits="MasterPage1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>GRXP, Web Version</title>
<link href="includes/detailgrid.css" rel="stylesheet" type="text/css" />
<link href="includes/datagrid.css" rel="stylesheet" type="text/css" />
<link href="includes/StyleSheet.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="Stylesheet" href="includes/dialog.css" />
<link type="text/css" rel="Stylesheet" href="includes/pager.css" />
<link type="text/css" rel="Stylesheet" href="includes/grid.css" />
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<style type="text/css">
.Stile8 {font-family: Verdana, Arial, Helvetica, sans-serif;}
.Stile9 {font-size: 9px;}
.Stile10 {color: #FFFFFF;}
TR.updated TD
{
background-color:yellow;
}
.modalBackground
{
background-color:Gray;
filter:alpha(opacity=70);
opacity:0.7;
}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function KW_s(r, g, b, el) {
d=document;hr=r.toString(16);hg=g.toString(16);hb=b.toString(16);
hr=(hr.length==1)?"0"+hr:hr;hg=(hg.length==1)?"0"+hg:hg;hb=(hb.length==1)?"0"+hb:hb;
if (d.getElementById) d.getElementById(el).style.color="#"+hr+hg+hb;
}
function KW_c(a,b,s,i) { return Math.floor(a*((s-i)/s)+b*(i/s)) }
function KW_fade(r,g,b,e,n,l,s,o){
for(i=0;i<=s;i++)setTimeout("KW_s("+KW_c(r,e,s,i)+","+KW_c(g,n,s,i)+","+KW_c(b,l,s,i)+",'"+o+"');",i*s);
}
//-->
</script>
</head>
<body>
<form id="form1" runat="server">
<table cellpadding="0" cellspacing="0" width="100%" style="height: 430px">
<tr>
<td bgcolor="#2B3078" align="center" height="70px" width="100%"
style="font-family: verdana; font-size: 1.5em; color: #FFFFFF">
GRXP Web Version</td>
</tr>
<tr>
<td height="100%" width="100%" valign="top">
<asp:ContentPlaceHolder ID="Corpo" runat="server">
<p style="height: 396px">
</p>
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td bgcolor="#2B3078" height="60px" width="100%" align="center"
valign="middle">
<img alt="" src="images/logotenax.jpg" style="width: 110px; height: 25px"
vspace="2" /><br />
<span class="Stile8"><span class="Stile9">
<font color="#999999"
style="color: #FFFFFF">Powered by IT Subsidiaries Support - Tenax S.p.A.
</font><span class="Stile10">
<br />
© 2008 TENAX Group all rights reserved</span></span></span></td>
</tr>
</table>
</form>
</body>
</html>
Qualcuno ha qualche suggerimento da darmi per risolvere il problema ?
grazie,
ciao.