Error corriendo aplicacion

04/06/2004 - 21:27 por Mayerly Gamboa | Informe spam
Hola, me esta dando este error con una aplicacion en una
maquina en especifico, y no se que pueda ser, si alguno
me puede ayudar
El error es este

Excepción no manejada: --System.Web.Services--El cliente
encontró un tipo de contenido de respuesta de 'text/html;
Error de la solicitud con el mensaje de error:
<html>
<head>
<title>Error de configuración</title>
<style>
body {font-family:"Verdana";font-
weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-
weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-
weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-
weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-
weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-
size: .9em}
.marker {font-weight: bold; color: black;text-
decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-
weight:bold; color:navy; cursor:hand; }
</style>
</head>

<body bgcolor="white">

<span><H1>Error de servidor en la
aplicación '/TSSws'.<hr width0% size=1
color=silver></H1>

<h2> <i>Error de configuración</i>
</h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-
Regular, sans-serif ">

<b> Descripción: </b>Error durante el
procesamiento de un archivo de configuración requerido
para dar servicio a esta solicitud. Revise los detalles
de error específicos siguientes y modifique el archivo de
configuración en consecuencia.
<br><br>

<b> Mensaje de error del analizador: </b>El
car&#225;cter '-', con valor hexadecimal 0x2D, no puede
empezar con un nombre. L&#237;nea 5, posici&#243;n
4.<br><br>

<b>Error de código fuente:</b> <br><br>

<table width0% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

Línea 3: &lt;appSettings&gt;
Línea 4: &lt;add key=&quot;ASPGNKey&quot;
value=&quot;ZD4fTlfm1aM=&quot;/&gt;
<font color=red>Línea 5: &lt;--&lt;add
key=&quot;cn&quot; value=&quot;Server=ASPLTDESA;User
Id=sa;Password=sa;Initial Catalog=Contratos;Application
Name=TSS;&quot; /&gt;--&gt;
</font>Línea 6: &lt;add key=&quot;cn&quot;
value=&quot;Server=GUACUCO;User Id=sa;Password=;Initial
Catalog=ContratosLagunamar;Application
Name=TSS;&quot;/&gt;
Línea 7: &lt;!--&lt;add key=&quot;MailServer&quot;
value=&quot;aspex&quot;/&gt;</pre></code>

</td>
</tr>
</table>

<br>

<b> Archivo de origen: </b>
c:\inetpub\wwwroot\TSSws\web.config<b> &nbsp;&nbsp;
Línea: </b> 5
<br><br>

<hr width0% size=1 color=silver>

<b>Información de versión:</b>&nbsp;Versión
de Microsoft .NET Framework:1.1.4322.573; Versión de
ASP.NET:1.1.4322.573

</font>

</body>
</html>
<!--
[XmlException]: El car&#225;cter '-', con valor
hexadecimal 0x2D, no puede empezar con un nombre.
L&#237;nea 5, posici&#243;n 4.
at System.Xml.XmlScanner.ScanName()
at System.Xml.XmlScanner.ScanMarkup()
at System.Xml.XmlScanner.ScanToken(Int32 expected)
at System.Xml.XmlTextReader.SetElementValues()
at System.Xml.XmlTextReader.ParseElement()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.Skip()
at
System.Web.Configuration.XmlUtil.StrictSkipToNextElement()
at
System.Web.Configuration.HttpConfigurationRecord.ScanSecti
onsRecursive(XmlUtil xml, String configKey, Boolean
location, Boolean lockSections, LocationInput deferred)
at
System.Web.Configuration.HttpConfigurationRecord..ctor
(String filename, HttpConfigurationRecord parent, Boolean
inheritable, String path)
[ConfigurationException]: El car&#225;cter '-', con valor
hexadecimal 0x2D, no puede empezar con un nombre.
L&#237;nea 5, posici&#243;n 4.
(c:\inetpub\wwwroot\TSSws\web.config line 5)
at
System.Web.Configuration.HttpConfigurationSystem.CacheLook
up(String vpath)
at
System.Web.Configuration.HttpConfigurationSystem.ComposeCo
nfig(String reqPath, IHttpMapPath configmap)
at System.Web.HttpContext.GetAppConfig(String name)
at System.Web.HttpContext.GetAppLKGConfig(String name)

Preguntas similare

Leer las respuestas

#6 Mayerly
05/06/2004 - 19:53 | Informe spam
El lunes reviso, ya que el problema lo tengo en un
cliente y hoy ellos no estan trabajando.
Cualquier cosa te aviso para ver si me puedes seguir
ayudando.




¿Y seguro es exacatamente el mismo fichero de


configuración?

"Mayerly" escribió en el mensaje
news:1850f01c44b22$6d1aa310$
a otros servidores web,


¿Te refieres a otros servidores web donde pones el


servicio, o a máquinas
clientes desde las que haces llamadas?

"Mayerly Gamboa" escribió en el


mensaje
news:1896c01c44b14$9bacaab0$
Hola,
Lo que no entiendo por que en otras maquinas si me
funciona perfectamente, y no me da ese error
Eso no lo entiendo


Hola,

Creo que tienes un errorcillo en la línea 5 del fichero


de configuración
XML, como dice el mensaje. Al comentar una línea con






los
datos de un
servidor, te ha faltado el signo de admiración (!)


delante de los dos
guiones (--).
Te recomiendo que cambies las contraseñas a esos


servidores SQL!

Saludos - Octavio

"Mayerly Gamboa" escribió en el


mensaje
news:183da01c44a69$e910f280$
Hola, me esta dando este error con una aplicacion en






una
maquina en especifico, y no se que pueda ser, si alguno
me puede ayudar
El error es este

Excepción no manejada: --System.Web.Services--El






cliente
encontró un tipo de contenido de respuesta




de 'text/html;
Error de la solicitud con el mensaje de error:
<html>
<head>
<title>Error de configuración</title>
<style>
body {font-family:"Verdana";font-
weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-
weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-
weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-
weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-
weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-
size: .9em}
.marker {font-weight: bold; color: black;text-
decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-
weight:bold; color:navy; cursor:hand; }
</style>
</head>

<body bgcolor="white">

<span><H1>Error de servidor en la
aplicación '/TSSws'.<hr width0% size=1
color=silver></H1>

<h2> <i>Error de configuración</i>
</h2></span>

<font face="Arial, Helvetica, Geneva,


SunSans-
Regular, sans-serif ">

<b> Descripción: </b>Error durante el
procesamiento de un archivo de configuración requerido
para dar servicio a esta solicitud. Revise los detalles
de error específicos siguientes y modifique el archivo




de
configuración en consecuencia.
<br><br>

<b> Mensaje de error del analizador: </b>El
carácter '-', con valor hexadecimal 0x2D, no puede
empezar con un nombre. Línea 5, posición
4.<br><br>

<b>Error de código fuente:</b> <br><br>

<table width0% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

Línea 3: <appSettings>
Línea 4: <add key="ASPGNKey"
value="ZD4fTlfm1aM="/>
<font color=red>Línea 5: <--<add
key="cn" value="Server=ASPLTDESA;User
Id=sa;Password=sa;Initial Catalog=Contratos;Application
Name=TSS;" />-->
</font>Línea 6: <add key="cn"
value="Server=GUACUCO;User Id=sa;Password=;Initial
Catalog=ContratosLagunamar;Application
Name=TSS;"/>
Línea 7: <!--<add key="MailServer"
value="aspex"/></pre></code>

</td>
</tr>
</table>

<br>

<b> Archivo de origen: </b>
c:\inetpub\wwwroot\TSSws\web.config<b>
Línea: </b> 5
<br><br>

<hr width0% size=1 color=silver>

<b>Información de versión:</b> Versión
de Microsoft .NET Framework:1.1.4322.573; Versión de
ASP.NET:1.1.4322.573

</font>

</body>
</html>
<!--
[XmlException]: El car&#225;cter '-', con valor
hexadecimal 0x2D, no puede empezar con un nombre.
L&#237;nea 5, posici&#243;n 4.
at System.Xml.XmlScanner.ScanName()
at System.Xml.XmlScanner.ScanMarkup()
at System.Xml.XmlScanner.ScanToken(Int32 expected)
at System.Xml.XmlTextReader.SetElementValues()
at System.Xml.XmlTextReader.ParseElement()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.Skip()
at
System.Web.Configuration.XmlUtil.StrictSkipToNextElemen






t
()
at
System.Web.Configuration.HttpConfigurationRecord.ScanSe






c
t
i
onsRecursive(XmlUtil xml, String configKey, Boolean
location, Boolean lockSections, LocationInput deferred)
at
System.Web.Configuration.HttpConfigurationRecord..ctor
(String filename, HttpConfigurationRecord parent,




Boolean
inheritable, String path)
[ConfigurationException]: El car&#225;cter '-', con




valor
hexadecimal 0x2D, no puede empezar con un nombre.
L&#237;nea 5, posici&#243;n 4.
(c:\inetpub\wwwroot\TSSws\web.config line 5)
at
System.Web.Configuration.HttpConfigurationSystem.CacheL






o
o
k
up(String vpath)
at
System.Web.Configuration.HttpConfigurationSystem.Compos






e
C
o
nfig(String reqPath, IHttpMapPath configmap)
at System.Web.HttpContext.GetAppConfig(String name)
at System.Web.HttpContext.GetAppLKGConfig(String




name)


.





.





.

email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una pregunta AnteriorRespuesta Tengo una respuesta
Search Busqueda sugerida