En mi trabajo me pidieron que instalara una web echa en aspx en un servidor windows pero me dieron poco tiempo y la verdad en servidores windows no estoy muy acostumbrado a trabajar trabajo mejor con un servidor apache.
bueno para no hacerla larga, cuando subo los archivos al servidor para visualizar la web el index en vez de mostrarme la pagina me manda el siguiente error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
Ya probe con otra aplicacion web para probar el servidor y si funciona pero no se si sea la forma en que cargo los archivos o algo que no tomo en cuenta
por favor necesito de su ayuda, yo creo que todos han tenido problemas cuando utilizan los servicios de microsoft.
a continuacion les pongo el codigo del index.aspx para ver si me pueden orientar.
Código PHP:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="RateNDateWeb.index" %>
<%@ Import Namespace="RateNDateWeb"%><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es-mx"><head><theme:res runat="server" type="stylesheet" href="site.css" />
<title>mipagina</title>
</head>
<body>
<div id="header">
<asp:PlaceHolder ID="_PH_TopB_Rotating" runat="server">
<theme:res runat="server" type="image" src="banners/top/top_banner1.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner2.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner3.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner4.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner5.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner6.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner7.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner8.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner9.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner10.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner11.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner12.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner13.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner15.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner16.jpg" />
<theme:res runat="server" type="image" src="banners/top/top_banner17.jpg" />
</asp:PlaceHolder>
</div>
<msg:msgTray runat="server" />
<div id="body">
<!-- Registration section -->
<asp:PlaceHolder ID="_RegistrationPanel" runat="server">
<div class="section">
<asp:Literal ID="_Literal_RegistrationText" runat="server">¡Puntúa, diviértete y liga en el site más padre de México!</asp:Literal>
<br />
<div class="center">
<asp:HyperLink ID="_LinkRegistration" runat="server" NavigateUrl="~/Registration/index.aspx">Regístrate gratis</asp:HyperLink>
</div>
</div>
</asp:PlaceHolder>
<!-- Unread messages notification section -->
<msg:msgTray type="banner" runat="server" />
<div class="sectionBar"><h3>Vota!</h3></div>
<div class="sectionMain">
<!-- Rating Subject -->
<div>
<asp:Label runat="server" ID="_Status_Online" Text="Conectado" style="color:#8AE200; font-weight:bold;" visible="false"/>
<asp:Label runat="server" ID="_Status_Offline" Text="Desconectado" style="color:#FF0000; font-weight:bold;" Visible="false"/>
<%--<theme:res type="icon" ID="_ICO_SubjectOnline" runat="server" src="online.png" Visible="false"/>
<theme:res type="icon" ID="_ICO_SubjectOffline" runat="server" src="offline.png" Visible="false"/>--%>
<asp:PlaceHolder ID="_PH_SubjectStatus" runat="server" Visible="false">
<asp:Literal ID="SubjectStatus" runat="server" />
</asp:PlaceHolder>
<br /><asp:Literal ID="_LBL_NumPictures" runat="server" /><theme:res type="icon" runat="server" src="polaroid.png" />
<asp:Literal ID="_LBL_NumFriends" runat="server" /> <theme:res ID="_ICO_NumFriends" type="icon" runat="server" src="friends.png" Visible="false" />
<br /><asp:Image ID="SubjectPicture" runat="server" AlternateText="profile" CssClass="leftImg" />
<asp:Label ID="SubjectScore" runat="server" CssClass="rating" />
<br />
<asp:HyperLink ID="Subject_ViewProfile" runat="server">
<asp:Literal ID="SubjectNickname" runat="server" />
</asp:HyperLink><br />
<asp:Literal ID="SubjectProvince" runat="server" /><br /><br />
<div class="clear" />
<!-- Rating Panel -->
<div class="center">
<theme:res type="icon" src="rate_min.jpg" runat="server" alt="Bad"/>
<asp:PlaceHolder ID="_Panel_RatingPanel" runat="server" Visible="true" />
<theme:res type="icon" src="rate_max.jpg" runat="server" alt="Wow"/>
</div>
<!-- Links for the profile -->
<div class="center" style="margin: 6px;">
<asp:HyperLink ID="_Lnk_SubjectSendMessage" runat="server"><theme:res type="icon" src="no_msg.jpg" runat="server" alt="Msg" style="border: 0px; vertical-align: middle;" /> Enviar mensaje</asp:HyperLink>
</div>
</div>
</div>
<!-- More section -->
<asp:PlaceHolder ID="_PH_MidB_Rotating" runat="server">
<theme:res runat="server" type="image" src="banners/mid/conectemonos1.jpg" />
<theme:res runat="server" type="image" src="banners/mid/conectemonos2.jpg" />
<theme:res runat="server" type="image" src="banners/mid/leagradogirl.jpg" />
<theme:res runat="server" type="image" src="banners/mid/losmascoolboy.jpg" />
<theme:res runat="server" type="image" src="banners/mid/platicamosboy.jpg" />
<theme:res runat="server" type="image" src="banners/mid/platicamosgirl.jpg" />
<theme:res runat="server" type="image" src="banners/mid/quenotameponesboy.jpg" />
<%--<theme:res runat="server" type="image" src="banners/mid/queondagueygb.jpg" />--%>
<theme:res ID="Res1" runat="server" type="image" src="banners/mid/daleyvota.jpg" />
<theme:res ID="Res2" runat="server" type="image" src="banners/mid/rana.jpg" />
<theme:res ID="Res3" runat="server" type="image" src="banners/mid/topchavs.jpg" />
</asp:PlaceHolder>
<br />
<a href="/app/mipag.jar">Descarga aquí la aplicación de mi pagina gratis para acceder más rápido al portal!!</a>
<div class="sectionBar2"><h3>Más...</h3></div>
<div class="sectionLinks">
<asp:HyperLink ID="_Lnk_ChatRooms" runat="server" NavigateUrl="~/chat/chatRoom.aspx">Salas de chat</asp:HyperLink>
<br />
<asp:HyperLink ID="_Lnk_NewList" runat="server" NavigateUrl="~/people/newList.aspx">Nuevos usuarios</asp:HyperLink>
<br />
<asp:HyperLink ID="_Lnk_TopList" runat="server" NavigateUrl="~/people/topList.aspx">Los más sexies</asp:HyperLink>
<br />
<asp:HyperLink ID="_Lnk_SearchPeople" runat="server" NavigateUrl="~/people/search.aspx">Buscador</asp:HyperLink>
</div>
<!-- Private links section -->
<asp:PlaceHolder ID="_Placeholder_PrivateLinks" runat="server">
<div class="sectionBar"><h3>Mi zona</h3></div>
<div class="sectionLinks">
<asp:HyperLink ID="_Lnk_MyProfile" NavigateUrl="~/profile/myProfile.aspx" runat="server">Mi perfil</asp:HyperLink>
<br />
<asp:HyperLink ID="_Lnk_MyInbox" NavigateUrl="~/messages/inbox.aspx" runat="server">Mi buzón</asp:HyperLink>
<br />
<asp:HyperLink ID="_Lnk_MyFriends" NavigateUrl="~/friends/friends.aspx" runat="server">Mis amigos</asp:HyperLink>
<br />
<asp:HyperLink ID="_Lnk_PendingFriends" NavigateUrl="~/friends/friends.aspx?action=increq" runat="server"></asp:HyperLink>
</div>
</asp:PlaceHolder>
<div class="sectionLinks">
<asp:HyperLink ID="_Lnk_Fav" runat="server" NavigateUrl="~/Registration/addFav.aspx">Añadir a favoritos</asp:HyperLink><br />
<asp:HyperLink ID="_Lnk_Help" NavigateUrl="~/info/help.aspx" runat="server">Ayuda</asp:HyperLink>
</div>
<nav:nav ID="Nav1" runat="server" />
</div>
</body>
</html>