[Mono-list] System.Web.Profile.DefaultProfile

Breno brenopiva at yahoo.com.br
Thu Jul 6 09:04:14 EDT 2006


Hi,
   
  I'm trying to port an ASP.NET 2.0 site to mono and I get a compílation error when trying to run the following code, does anyone knows whats going on? I also tryied with a simpler example and got the same error.
   
  Thanks in advance,
   
  Breno
   
  ***************************************************************************************************
  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 _Default : System.Web.UI.Page
  {
    protected void Page_Load(object sender, EventArgs e)
  {
  }
  protected void Button1_Click(object sender, EventArgs e)
  {
  
      Profile.parametros.codigo = TextBox1.Text;
  Profile.parametros.url = "Default.aspx";
  log4net.LogManager.GetLogger(this.GetType()).Fatal("Teste 21er23tr4 " + Profile.parametros.codigo + " url: " + Profile.parametros.url);
  HiddenCodigoPessoa.Value = TextBox1.Text;
  Server.Transfer("EdicaoPessoa.aspx?conf=ConfEdicaoPessoa_Alterar");
  }
  protected void Button3_Click(object sender, EventArgs e)
  {
    HiddenCodigoPessoa.Value = TextBox1.Text;
  }
  }
   
  ****************************************************************************************************
   
  The error message is:
   
  Error message: C:/ARQUIV~1/MONO-1~1.15/lib/xsp/test\xpert-gui\Default.aspx.cs(21,9) : error CS0103: The name `Profile' does not exist in the context of `_Default' C:/ARQUIV~1/MONO-1~1.15/lib/xsp/test\xpert-gui\Default.aspx.cs(22,9) : error CS0103: The name `Profile' does not exist in the context of `_Default' C:/ARQUIV~1/MONO-1~1.15/lib/xsp/test\xpert-gui\Default.aspx.cs(24,81) : error CS0103: The name `Profile' does not exist in the context of `_Default' 

 		
---------------------------------
 Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060706/26b714bf/attachment.html 


More information about the Mono-list mailing list