CLR: .Net / Mono / Boo / Otros CLR > ASP .NET

 Una Ayuda Para Empezar Con Vwd

(1/1)

flyk:
Hola a todos, estoy empezando con VWD y tengo un gran problema, creo un directorio, selecciono VB como lenguaje y me genera la aplicación con su defaul y su web.config y, sin tocar nada, lo ejecuto y me da errores.
¿a que se puede deber esto?.
Os pongo el codigo:

DEFAUL:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
   
    </div>
    </form>
</body>
</html>

DEFAULT.ASPX.VB:
Partial Class _Default
    Inherits System.Web.UI.Page

End Class

WEB.CONFIG:. Sin comentarios
<?xml version="1.0"?>
<configuration>
    <appSettings/>
    <connectionStrings/>
    <system.web>
        <compilation debug="false" strict="false" explicit="true" />
        <pages>
            <namespaces>
                <clear />
                <add namespace="System" />
                <add namespace="System.Collections" />
                <add namespace="System.Collections.Specialized" />
                <add namespace="System.Configuration" />
                <add namespace="System.Text" />
                <add namespace="System.Text.RegularExpressions" />
                <add namespace="System.Web" />
                <add namespace="System.Web.Caching" />
                <add namespace="System.Web.SessionState" />
                <add namespace="System.Web.Security" />
                <add namespace="System.Web.Profile" />
                <add namespace="System.Web.UI" />
                <add namespace="System.Web.UI.WebControls" />
                <add namespace="System.Web.UI.WebControls.WebParts" />
                <add namespace="System.Web.UI.HtmlControls" />
            </namespaces>
        </pages>
            <authentication mode="Windows" />
    </system.web>
</configuration>



ERRORES:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'connectionStrings'

Source Error:


Line 10: <configuration>
Line 11:     <appSettings/>
Line 12:     <connectionStrings/>
Line 13:     <system.web>
Line 14:         <!--
 

Source File: c:\inetpub\wwwroot\webentrega01\web.config    Line: 12




Muchas Gracais

ing_marco:
Pues el error parece ser aca:


--- Código: Text ---&#60;?xml version=&#34;1.0&#34;?&#62;&#60;configuration&#62;[COLOR=green]&#60;appSettings/&#62;&#60;connectionStrings/&#62;[/COLOR]&#60;system.web&#62;&#60;compilation debug=&#34;false&#34; strict=&#34;false&#34; explicit=&#34;true&#34; /&#62;&#60;pages&#62;&#60;namespaces&#62;&#60;clear /&#62;&#60;add namespace=&#34;System&#34; /&#62;&#60;add namespace=&#34;System.Collections&#34; /&#62;&#60;add namespace=&#34;System.Collections.Specialized&#34; /&#62;&#60;add namespace=&#34;System.Configuration&#34; /&#62;&#60;add namespace=&#34;System.Text&#34; /&#62;&#60;add namespace=&#34;System.Text.RegularExpressions&#34; /&#62;&#60;add namespace=&#34;System.Web&#34; /&#62;&#60;add namespace=&#34;System.Web.Caching&#34; /&#62;&#60;add namespace=&#34;System.Web.SessionState&#34; /&#62;&#60;add namespace=&#34;System.Web.Security&#34; /&#62;&#60;add namespace=&#34;System.Web.Profile&#34; /&#62;&#60;add namespace=&#34;System.Web.UI&#34; /&#62;&#60;add namespace=&#34;System.Web.UI.WebControls&#34; /&#62;&#60;add namespace=&#34;System.Web.UI.WebControls.WebParts&#34; /&#62;&#60;add namespace=&#34;System.Web.UI.HtmlControls&#34; /&#62;&#60;/namespaces&#62;&#60;/pages&#62;&#60;authentication mode=&#34;Windows&#34; /&#62;&#60;/system.web&#62;&#60;/configuration&#62; 
quita eso e intenta.

Navegación

[0] Índice de Mensajes

Ir a la versión completa