[mono-vb] Server Error in '/demo' Application

beniniva at csr.unibo.it beniniva at csr.unibo.it
Wed Nov 23 14:35:12 EST 2005


I try to run HelloVB.aspx page but I get this error:

Server Error in '/demo' Application:
*****************************************
Parser Error
Description: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error.

Error message: Cannot find type HelloVB.WebForm1

File name:/usr/lib/xsp/test/1.1/asp.net/HelloVB.aspx Line:1

Source Error:
<%@ Page Language="vb" AutoEventWireup="false" Src="HelloVB.aspx.vb"
Inherits="HelloVB.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
*****************************************

Could anybody help me?
thank's

Valentina.
-------------- next part --------------
Public Class WebForm1
    Inherits System.Web.UI.Page

#Region " Codice generato da Progettazione Web Form "

    'Chiamata richiesta da Progettazione Web Form.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

    End Sub

    'NOTA: la seguente dichiarazione è richiesta da Progettazione Web Form.
    'Non spostarla o rimuoverla.
    Private designerPlaceholderDeclaration As System.Object

    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
        'CODEGEN: questa chiamata al metodo è richiesta da Progettazione Web Form.
        'Non modificarla nell'editor del codice.
        InitializeComponent()
    End Sub

#End Region

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'Inserire qui il codice utente necessario per inizializzare la pagina
        Response.Write("Hello World VB!!")
    End Sub

End Class
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelloVB.aspx
Type: application/xml
Size: 656 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-vb/attachments/20051123/fe49ae12/HelloVB.rdf


More information about the Mono-vb mailing list