Foros del Web » Programación para mayores de 30 ;) » .NET »

Configurar IIS 7, Tengo Windows Vista y uso .NET 2.0

Estas en el tema de Configurar IIS 7, Tengo Windows Vista y uso .NET 2.0 en el foro de .NET en Foros del Web. Hola! No puedo ver mis paginas que hice en Visual .NET 2.0. Mi maquina tiene Windows Vista y el IIS es version 7 Alguien me ...
  #1 (permalink)  
Antiguo 24/06/2009, 15:06
 
Fecha de Ingreso: mayo-2006
Mensajes: 243
Antigüedad: 17 años, 11 meses
Puntos: 0
Exclamación Configurar IIS 7, Tengo Windows Vista y uso .NET 2.0

Hola!

No puedo ver mis paginas que hice en Visual .NET 2.0.
Mi maquina tiene Windows Vista y el IIS es version 7

Alguien me puede decir que tengo que configurar?
Gracias!

Saludos!
  #2 (permalink)  
Antiguo 24/06/2009, 18:49
Avatar de atak  
Fecha de Ingreso: julio-2005
Ubicación: Huancayo
Mensajes: 490
Antigüedad: 18 años, 9 meses
Puntos: 5
De acuerdo Respuesta: Configurar IIS 7, Tengo Windows Vista y uso .NET 2.0

Hola,
Dime tienes esta ruta :

Código PHP:

C
:inetpubwwwroot 
Si no lo veas podrias entrar a :
Código PHP:

Panel de controlHerramientas administrativas

Administrador de Internet Information Services 
(IIS)


Administrar Servidor :   [B]Iniciar[/B
ese debería ser tu: http://localhost


espero que Trabaje de esa manera sino estaremos para ayudarte.


atte,

atak
__________________
. .: El mejor Inicio :. .
  #3 (permalink)  
Antiguo 24/06/2009, 18:53
Avatar de BlueSkull  
Fecha de Ingreso: noviembre-2008
Ubicación: Chile
Mensajes: 504
Antigüedad: 15 años, 5 meses
Puntos: 4
Respuesta: Configurar IIS 7, Tengo Windows Vista y uso .NET 2.0

Estimado, tengo windows vista, IIS 7 y tambien uso .NET 2.0 y sin ningun problema, a lo mejor tengas que volver a registrar el framework.

Adios.
__________________
"Incluso las torres más altas empiezan en el suelo."
"Sé Ágil..."
StreamWriter
  #4 (permalink)  
Antiguo 25/06/2009, 11:00
 
Fecha de Ingreso: mayo-2006
Mensajes: 243
Antigüedad: 17 años, 11 meses
Puntos: 0
Respuesta: Configurar IIS 7, Tengo Windows Vista y uso .NET 2.0

Hola atak!

Mi IIS ya esta en start, si veo lo que hay en http://localhost.
Mis archivos los estoy guardando en C:\inetpub\wwwroot\MiPagina

Tambien detecte que cuando abro en el browser el default.aspx de MiPagina al darle view source veo tambien el codigo que esta entre <% %> y se supone que no lo debo de ver.

BlueSkull, no se si tengo mal mi configuracion, por eso segui los pasos que vienen en la pagina que me enviaste para volver a registrar el framework, y aunque si la puedo ver, solo veo el html y el codigo que esta entre <% %> no lo ejecuta y aparte lo muestra en el view source.

Por favor ayuda!!!
Gracias!

Saludos!


Cita:
Iniciado por atak Ver Mensaje
Hola,
Dime tienes esta ruta :

Código PHP:

C
:inetpubwwwroot 
Si no lo veas podrias entrar a :
Código PHP:

Panel de controlHerramientas administrativas

Administrador de Internet Information Services 
(IIS)


Administrar Servidor :   [B]Iniciar[/B
ese debería ser tu: http://localhost


espero que Trabaje de esa manera sino estaremos para ayudarte.


atte,

atak



Cita:
Iniciado por BlueSkull Ver Mensaje
Estimado, tengo windows vista, IIS 7 y tambien uso .NET 2.0 y sin ningun problema, a lo mejor tengas que volver a registrar el framework.

Adios.

Última edición por Emerald; 25/06/2009 a las 11:11
  #5 (permalink)  
Antiguo 25/06/2009, 11:33
 
Fecha de Ingreso: mayo-2006
Mensajes: 243
Antigüedad: 17 años, 11 meses
Puntos: 0
Respuesta: Configurar IIS 7, Tengo Windows Vista y uso .NET 2.0

Algo que tambien se me pasaba comentar, es que al principio no podia ver ni tan solo el html de mi pagina.

Me marcaba este error:

Cita:
Server Error in Application "Default Web Site/MiApp"

--------------------------------------------------------------------------------

HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.

Error Code: 0x80070032

Notification: ExecuteRequestHandler

Module: StaticFileModule

Requested URL: http://localhost:80/MiApp/Default.aspx

Physical Path: C:\inetpub\wwwroot\MiApp\Default.aspx

Logon User: Anonymous

Logon Method: Anonymous

Handler: StaticFile

Most likely causes:

It is possible that a handler mapping is missing. By default, the static file handler processes all content.
The feature you are trying to use may not be installed.
The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
What you can try:

In system.webServer/handlers:
Ensure that the expected handler for the current page is mapped.
Pay careful attention to preconditions (e.g. runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool.
Pay careful attention to typographical errors in the expected handler line.
Please verify that the feature you are trying to use is installed.
Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe.
Open a command prompt and change directory to %windir%\system32\inetsrv.
To set a MIME type, use the following syntax: appcmd set config /section:staticContent /+[fileExtension='string',mimeType='string']
The variable fileExtension string is the file name extension and the variable mimeType string is the file type description.
For example, to add a MIME map for a file which has the extension ".xyz", type the following at the command prompt, and then press Enter:
appcmd set config /section:staticContent /+[fileExtension='.xyz',mimeType='text/plain']
Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them.
Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
More Information... This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files.


--------------------------------------------------------------------------------
Server Version Information: Internet Information Services 7.0
Entonces siguiendo lo que vi en otros foros lo que hice fue entrar al IIS y dentro de mi application modifique en MIME Types, agregue manualmente la extension .aspxy le puse de tipo text/html, pienso que quizas por esto no se este ejecutando el codigo dentro de las etiquetas <% %>.

Cuando registre el framework pense que automaticamente apareceria la extension aspx en el MIME Types, pero no fue asi.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 14:08.