Re: Problema al cargar Sitio en Mono
"Juan C. Olivares" <[email protected]>
| Newsgroups | gmane.comp.gnome.mono.hispano |
|---|---|
| Message-ID | <[email protected]> |
Por favor, no me envíes respuestas directamente. Por algo escribiste a la lista. Insisto en que creo que el problema es que estás usando xsp y no xsp2. 2010/1/19 Francisco Velásquez Rivas <[email protected]> > Archivo index.aspx > > > > <%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" > Inherits="index"%> > > > > <!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>Página sin título</title> > > </head> > > <body> > > <form id="form1" runat="server"> > > <div> > > <asp:Login ID="login" runat="server" BackColor="#F7F6F3" > BorderColor="#E6E2D8" BorderPadding="4" > > BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" > Font-Size="0.8em" > > ForeColor="#333333" LoginButtonImageUrl="~/conectar.png" > LoginButtonType="Image" > > OnAuthenticate="Login1_Authenticate"> > > <TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size > ="0.9em" ForeColor="White" /> > > <InstructionTextStyle Font-Italic="True" ForeColor="Black" /> > > <TextBoxStyle Font-Size="0.8em" /> > > <LoginButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" > BorderStyle="Solid" BorderWidth="1px" > > Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" > /> > > </asp:Login> > > </div> > > </form> > > </body> > > </html> > > > > > > Archivo index.aspx.cs > > > > using System; > > using System.Data; > > using System.Configuration; > > using System.Collections; > > using System.Web; > > using System.Web.Security; > > using System.Web.UI; > > using System.Web.UI.WebControls; > > using System.Web.UI.WebControls.WebParts; > > using System.Web.UI.HtmlControls; > > > > public partial class index : System.Web.UI.Page > > { > > Service servicio; > > string mensaje=""; > > > > protected void Page_Load(object sender, EventArgs e) > > { > > servicio = new Service(); > > mensaje = ""; > > } > > > > protected void Login1_Authenticate(object sender, > AuthenticateEventArgs e) > > { > > try > > { > > > > mensaje = servicio.Conectar(login.UserName.ToString(), > login.Password.ToString()); > > > > if (mensaje.Equals("")) > > { > > Response.Redirect("DistribEmpSie.aspx"); > > } > > else > > { > > login.FailureText = mensaje; > > } > > } > > catch (Exception ex) > > { > > > > } > > } > > } > > > > > > *Francisco Velásquez Rivas* > > *Departamento de Tecnologías de Información* > > *Linda Vista S.A. * > > *Cartago, Costa Rica* > > *(506) 2550-4800 Ext 264- 254 - 263* > > > > > > *De:* Juan C. Olivares [mailto:[email protected]] > *Enviado el:* Martes, 19 de Enero de 2010 01:06 p.m. > *Para:* fvelazquez > *CC:* [email protected] > > *Asunto:* Re: [Mono-hispano] Problema al cargar Sitio en Mono > > > > > > 2010/1/19 fvelazquez <[email protected]> > > > Si disponible se refiere a que le archivo exista, si está disponible, > adjunto la imagen de la carpeta controlcosecha > > No veo nada adjunto. ¿Y la clase dentro de ese archivo es "Index"? (sin > namespace) > > > > -- > Atte, > Juan Cristóbal Olivares > חואנכרי > > ============== > > Renovarse o morir: Mi PC de los sesenta tenía veinte mil militantes. Y mi > PC del siglo XXI tiene cuarenta gigabytes. > -- Atte, Juan Cristóbal Olivares חואנכרי ============== Renovarse o morir: Mi PC de los sesenta tenía veinte mil militantes. Y mi PC del siglo XXI tiene cuarenta gigabytes. _______________________________________________ Mono-hispano mailing list [email protected] https://listas.hispalinux.es/mailman/listinfo/mono-hispano