Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/08/2010, 06:41
EdVanHalen
 
Fecha de Ingreso: mayo-2008
Mensajes: 5
Antigüedad: 16 años
Puntos: 0
Publicar con .Net framework 2

Hola, tengo un proyecto que pre-compila en Vstudio pero al publicarlo y abrirlo en el navegador me sale:


Server Error in '/' Application.

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'Request' is not declared.

Source Error:

Line 19: <!--
Line 20: function avisolegal() {
Line 21: window.open('<%=Request.Url.Scheme & Request.Url.SchemeDelimiter & Request.Url.Host %>:90/principal/avisoLegal.aspx', 'aviso', 'width=600,height=450,fullscreen=no,toolbar=no,sta tus=no,menubar=no,scrollbars=no,resizable=no,direc tories=no,location=no');
Line 22: }
Line 23: //HttpRuntime.AppDomainAppVirtualPath


Source File: e:\ejemplo\MasterPage.master Line: 21


Porque puede ser??

Muchas gracias