Foros del Web » Programando para Internet » ASP Clásico »

Problema Mshtml.dll

Estas en el tema de Problema Mshtml.dll en el foro de ASP Clásico en Foros del Web. Hola, Soy nuevo y ojala puedan atudarme. Estoy haciendo un desarrollo en asp, y cada vez que accedo a el, ya sea de inmediato o ...
  #1 (permalink)  
Antiguo 08/04/2010, 08:34
 
Fecha de Ingreso: abril-2010
Mensajes: 4
Antigüedad: 14 años
Puntos: 0
Problema Mshtml.dll

Hola, Soy nuevo y ojala puedan atudarme.

Estoy haciendo un desarrollo en asp, y cada vez que accedo a el, ya sea de inmediato o al haber accedido varias veces a el, me sale un error de internet explorer, "ie a detectado un problema y debe cerrarce ..." este problema sucede en ie 6,7 u 8 osea que no es por actualizacion.

Este es el codigo:

Código ASP:
Ver original
  1. <%@ Language=VBScript %>
  2. <%
  3. Response.AddHeader "Pragma", "no-cache"
  4. Response.AddHeader "cache-control","private"
  5. Response.CacheControl = "no-cache"
  6. response.expires = 0
  7. on error resume next
  8. 'cadena para abrir base de datos
  9. ''''''
  10.  
  11. dim modificaciones
  12. dim observaciones
  13. dim mensageerror
  14. modificaciones = request.form("modificaciones")
  15. observaciones = request.form("observaciones")
  16. strrepeso = request.form("repeso")
  17. strcargue = request.form("cargue")
  18. strdescargue = request.form("descargue")
  19. strbodegaje = request.form("bodegaje")
  20. strstandby = request.form("standby")
  21. strotros = request.form("otros")
  22.  
  23. 'if isnull(strrepeso) or strrepeso="" then
  24.   'strrepeso = 0
  25. 'end if
  26.  
  27. if strrepeso <> "" then
  28. sqlmodi = "update orden_producción set repeso='" & strrepeso & "' where norden =" & request.form("cual") & ""
  29.         set oco12 = CreateObject("ADODB.connection")
  30.         oco12.open session("cadena")
  31.    
  32.        
  33.         oco12.execute sqlmodi
  34.        
  35.        
  36.         if err.number <> 0 then
  37.             response.write "<hr>ERROR EN INGRESAR LA MODIFICACIONN REPESO " & err.description          
  38.             RESPONSE.END
  39.         end if
  40.        
  41. end if
  42. if (strcargue <> "" or strdescargue <> "" or strbodegaje <> "" or strstandby <> "" or strotros <> "") then
  43.             sqlmodi = "update orden_producción set  cargue=" & strcargue & ", descargue='" & strdescargue & "', bodegaje='" & strbodegaje & "', standby='" & strstandby & "', otros='" & strotros & "' where norden =" &            request.form("cual") & ""
  44.         set oco12 = CreateObject("ADODB.connection")
  45.         oco12.open session("cadena")
  46.    
  47.        
  48.         oco12.execute sqlmodi
  49.    
  50.        
  51.         if err.number <> 0 then
  52.             response.write "<hr>ERROR EN INGRESAR LA MODIFICACION CARGUE " & err.description
  53.             RESPONSE.END
  54.         end if
  55. end if
  56.  
  57. if modificaciones <> "" then
  58.         set oco = CreateObject("ADODB.connection")
  59.         oco.open session("cadena")
  60.        
  61.        
  62.         sqlmodi = "update orden_producción set modificaciones='" & modificaciones & "' where norden =" & request.form("cual") & ""
  63.         oco.execute sqlmodi
  64.  
  65.        
  66.         if err.number <> 0 then
  67.             response.write "<hr>ERROR EN INGRESAR LA MODIFICACION " & err.description
  68.             RESPONSE.END
  69.         end if
  70.     end if
  71.     oco.close
  72.  
  73.  
  74. set oco2 = CreateObject("adodb.connection")
  75. oco2.open session("cadena")
  76.  
  77.  
  78. strSQL= "exec VerOrdenPro2 " + request.form("cual")
  79. set ors2 = oco2.Execute(strSQL)
  80.  
  81.  
  82.  
  83. set oco3 = CreateObject("adodb.connection")
  84. oco3.open session("cadena")
  85.  
  86.  
  87. strSQL= "select repeso from orden_producción where norden =" & request.form("cual") & ""
  88. set ors3 = oco3.Execute(strSQL)
  89.  
  90. %><!--<script>
  91. alert ("seleciono el repeso", "prueba")
  92. </script> -->
  93. <%
  94.  
  95. if session("cedula") = ucase(cstr(ors2("cCedulaUsu"))) then
  96. 'response.write ucase(cstr(strSQL(ors2(2))))
  97. 'response.write ucase(cstr(ors2("cCedulaUsu")))
  98. 'response.write session("cedula")
  99. 'response.end
  100.  
  101.  
  102.     if observaciones <> "" then
  103.  
  104.    
  105.         set oco = CreateObject("ADODB.connection")
  106.         oco.open session("cadena")
  107.  
  108.        
  109.         sqlmodi = "update orden_producción set observaciones='" & observaciones & "' where norden =" & request.form("cual") & ""
  110.         'response.write request.form("cual")
  111.         'response.write sqlmodi
  112.         'response.end
  113.         oco.execute sqlmodi
  114.  
  115.        
  116.         if err.number <> 0 then
  117.         response.write "<hr>ERROR EN INGRESAR LA OBSERVACION " & err.description
  118.             RESPONSE.END
  119.         end if
  120.     end if
  121. else
  122.             response.write "<hr><font size=6 color = #ff0000>SE INGRESO LA OBSERVACIÓN : </font><!--<BR><font size=5>USTED NO TIENE PERMISOS PARA EDITAR ESTE CAMPO</font>-->"
  123.         'response.write "ERROR AL MODIFICAR LA OBSERVACION: EL USUARIO QUE CREO LA O.P. NO CORRESPONDE AL DE MODIFICACION"
  124. end if
  125.  
  126. function Pro_DAto(strValor)
  127. if isnull(strValor) then
  128.   Pro_DAto = ""
  129. else
  130.   Pro_DAto = strValor  
  131. end if
  132. end function
  133. dim cual
  134. dim oco
  135. dim ors
  136. dim fechaCon
  137. dim mediocon
  138. DIM IDcONFIRMA
  139. dim noConfirmado
  140. dim cEmail
  141. dim cFax
  142. dim cTel
  143. dim cMovil
  144. dim cPersona  
  145. dim strOficina
  146. DIM oficina,sw
  147. sw=0
  148. if request.form("cual") = "" then
  149. cual = Request.QueryString("nroOrden")
  150. else
  151. cual = request.form("cual")
  152. end if
  153. '+++ver si el usuario es de Medellin
  154. strOficina="select iCodigo,cCiudad from oficinas where iCodigo= " & Session("Oficina") & ""
  155. set oco = CreateObject("adodb.connection")
  156. set orsrepeso = CreateObject("adodb.recordset")
  157. oco.open session("cadena")
  158.  
  159.  
  160. set ors = oco.execute(strOficina)
  161.  
  162.  
  163. oficina=lCase(ors("cCiudad"))
  164. if oficina= "medellín" then
  165.     sw=1
  166. end if
  167. ors.close
  168.  
  169.  
  170. set ors = nothing
  171.  
  172.  
  173. '***************
  174. set oco = CreateObject("adodb.connection")
  175. oco.open session("cadena")
  176.  
  177.  
  178. strSQL= "exec VerOrdenPro2 " + cual
  179. set ors = oco.Execute(strSQL)
  180.  
  181.  
  182. set oco = CreateObject("adodb.connection")
  183. oco.open session("cadena")
  184.  
  185.  
  186. strrepeso= "select * from orden_producción where norden =" & cual
  187. set orsrepeso = oco.execute(strrepeso)
  188.  
  189.  
  190. fechaCon = Pro_DAto(ors("dConfirma"))
  191. mediocon = Pro_DAto(ors("cConfirma"))
  192.  
  193.  
  194. %>
  195. <html xmlns:v="urn:schemas-microsoft-com:vml"
  196. xmlns:o="urn:schemas-microsoft-com:office:office"
  197. xmlns:x="urn:schemas-microsoft-com:office:excel"
  198. xmlns="http://www.w3.org/TR/REC-html40">
  199. <head>
  200. <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
  201. function test_onclick()
  202. {
  203. document.ver_orden_pro.action = "ver_Orden_pro.asp";
  204. document.ver_orden_pro.submit();
  205. }
  206. function obser_onclick()
  207. {
  208. document.ver_orden_pro.action = "ver_Orden_pro.asp";
  209. document.ver_orden_pro.submit();
  210. }
  211. </script>
  212. <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
  213. <meta name=ProgId content=Excel.Sheet>
  214. <meta name=Generator content="Microsoft Excel 9">
  215. <link rel=File-List href="./plantillaNUEVA_archivos/filelist.xml">
  216. <!--[if !mso]>
  217. <style>
  218. v\:* {behavior:url(#default#VML);}
  219. o\:* {behavior:url(#default#VML);}
  220. x\:* {behavior:url(#default#VML);}
  221. .shape {behavior:url(#default#VML);}
  222. </style>
  223. <![endif]-->
  224.  
  225.    
  226. </head>
  227.  
  228. <body>
  229. <%
  230. if  ors.EOF then
  231.    strParametros= "<hr color=#00008b><p><Strong>No se encontro la orden Número = </Strong><font size=7 color = #ff0000>" + cstr(cual) + "</font>"
  232. %>
  233. <%  
  234. else
  235. %>
  236. <!--[if !excel]>&nbsp;&nbsp;<![endif]-->
  237. <!--La siguiente información se generó mediante la característica Publicar como
  238. página Web de Microsoft Excel.-->
  239. <!--Si se vuelve a publicar el mismo elemento desde Excel, se reemplazará toda
  240. la información comprendida entre las etiquetas DIV.-->
  241. <!----------------------------->
  242. <!--INICIO DE LOS RESULTADOS DEL ASISTENTE PARA PUBLICAR COMO PÁGINA WEB DE
  243. EXCEL -->
  244. <!----------------------------->
  245.  
  246. <div id="ORDEN EN BLANCOnueva_29424" align=center x:publishsource="Excel">
  247. <table x:str border=0 cellpadding=0 cellspacing=0 width=764 class=xl2229424 style='border-collapse:collapse;table-layout:fixed;width:574pt;border-right:1.0pt solid black;border-top:1.0pt solid black;border-bottom:1.0pt solid black;'>
  248.  <col class=xl2229424 width=113 style='mso-width-source:userset;mso-width-alt:
  249.  4132;width:85pt'>
  250.  <col class=xl2229424 width=92 style='mso-width-source:userset;mso-width-alt:
  251.  3364;width:69pt'>
  252.  <col class=xl2229424 width=14 style='mso-width-source:userset;mso-width-alt:
  253.  512;width:11pt'>
  254.  <col class=xl2229424 width=45 style='mso-width-source:userset;mso-width-alt:
  255.  1645;width:34pt'>
  256.  <col class=xl2229424 width=54 style='mso-width-source:userset;mso-width-alt:
  257.  1974;width:41pt'>
  258.  <col class=xl2229424 width=69 style='mso-width-source:userset;mso-width-alt:
  259.  2523;width:52pt'>
  260.  <col class=xl2229424 width=64 style='mso-width-source:userset;mso-width-alt:
  261.  2340;width:48pt'>
  262.  <col class=xl2229424 width=95 style='mso-width-source:userset;mso-width-alt:
  263.  3474;width:71pt'>
  264.  <col class=xl2229424 width=67 style='mso-width-source:userset;mso-width-alt:
  265.  2450;width:50pt'>
  266.  <col class=xl2229424 width=63 style='mso-width-source:userset;mso-width-alt:
  267.  2304;width:47pt'>
  268.  <col class=xl2229424 width=88 style='mso-width-source:userset;mso-width-alt:
  269.  3218;width:66pt'>
  270.  <tr height=17 style='height:12.75pt'>
  271.   <td colspan=11 height=17 width=764  align=left valign=top style='border-right:1.0pt solid black;height:12.75pt;width:574pt' >
  272.   <![if vml]><span style='mso-ignore:vglayout;
  273.   position:absolute;z-index:0;margin-left:15px;margin-top:7px;width:164px;
  274.   height:89px'><img width=164 height=89
  275.   src="logo.gif"
  276.   v:shapes="_x0000_s1028"></span><![endif]>

Última edición por anjubama; 08/04/2010 a las 08:39
  #2 (permalink)  
Antiguo 08/04/2010, 08:35
 
Fecha de Ingreso: abril-2010
Mensajes: 4
Antigüedad: 14 años
Puntos: 0
Respuesta: Problema Mshtml.dll

Código ASP:
Ver original
  1. <form name="ver_orden_pro" method="post">
  2.   <input type="hidden" name="cual" value="<%=cual%>">
  3.  
  4.   </td>
  5.  </tr>
  6.  <tr height=31 style='mso-height-source:userset;height:23.25pt'>
  7.   <td colspan=9 rowspan=2 height=66 class=xl12429424 style='height:49.5pt'><div align="right">ORDEN
  8.           DE PRODUCCIÓN COMERCIAL</div></td>
  9.   <td colspan=2 class=xl11129424 style='border-right:1.0pt solid black'>&nbsp;</td>
  10.  </tr>
  11.  <tr height=35 style='mso-height-source:userset;height:26.25pt'>
  12.       <td colspan=2 height=35 class=xl9029424 style='border-right:1.0pt solid black;
  13.   height:26.25pt'>F-CM-00</td>
  14.  </tr>
  15.  <tr class=xl2229424 height=15 style='mso-height-source:userset;height:11.25pt'>
  16.       <td colspan=9 height=15 class=xl10829424 width=613 style='height:11.25pt;
  17.   width:461pt'>&nbsp;</td>
  18.       <td colspan=2 class=xl9029424 style='border-right:1.0pt solid black'>Versión
  19.         1 </td>
  20.  </tr>
  21.  <tr class=xl2329424 height=29 style='mso-height-source:userset;height:21.75pt'>
  22.   <td height=29 class=xl2429424 width=113 style='height:21.75pt;width:85pt'>FECHA:</td>
  23.   <td colspan=2 class=xl12129424 width=106 style='width:80pt'><%fecha= ors("dEleaboracion")
  24.   fecha= formatdatetime(fecha,2)
  25.   y = year(fecha)
  26.   mes= month(fecha)
  27.   dia = day(fecha)
  28.   response.write y & "-" & mes & "-" & dia%></td>
  29.   <td colspan=2 class=xl5129424 width=99 style='width:75pt'>VENDEDOR:</td>
  30.       <td colspan=2 class=xl9229424 width=133 style='width:100pt'>CARGRANEL</td>
  31.   <td colspan=2 class=xl11329424 width=162 style='width:121pt'>ORDEN No:</td>
  32.   <td colspan=2 class=xl11529424 width=151 style='border-right:1.0pt solid black;
  33.   width:113pt'><%Response.Write ucase(cstr(Pro_Dato(ors(0))))%></td>
  34.  </tr>
  35.  <tr class=xl2329424 height=24 style='mso-height-source:userset;height:18.0pt'>
  36.   <td height=24 class=xl2529424 width=113 style='height:18.0pt;width:85pt'>TIPO VEHÍCULO:</td>
  37.   <td colspan=3 class=xl11729424 width=151 style='border-right:.5pt solid black;
  38.   width:114pt'><%Response.Write ucase(cstr(Pro_Dato(ors(3))))%></td>
  39.   <td colspan=4 class=xl11929424 width=282 style='border-left:none;width:212pt'>FACTURA O DOCUMENTOS DEL CLIENTE No:</td>
  40.   <td colspan=3 class=xl12629424 width=218 style='border-right:1.0pt solid black;
  41.   width:163pt'><%Response.Write ucase(cstr(Pro_Dato(ors(5))))%></td>
  42.  </tr>
  43.  <tr class=xl2329424 height=23 style='mso-height-source:userset;height:17.25pt'>
  44.   <td height=23 class=xl2429424 width=113 style='height:17.25pt;width:85pt'>REMITENTE:</td>
  45.   <td colspan=5 class=xl8129424 width=274 style='border-right:.5pt solid black;
  46.   width:207pt'> <%Response.Write ucase(cstr(Pro_Dato(ors(4))))%></td>
  47.   <td colspan=2 class=xl5129424 width=159 style='border-left:none;width:119pt'>DESTINATARIO:</td>
  48.   <td colspan=3 class=xl12629424 width=218 style='border-right:1.0pt solid black;
  49.   width:163pt'><%Response.Write ucase(cstr(Pro_Dato(ors(6))))%></td>
  50.  </tr>
  51.  <tr class=xl2329424 height=24 style='mso-height-source:userset;height:18.0pt'>
  52.   <td height=24 class=xl2729424 width=113 style='height:18.0pt;width:85pt'>ORIGEN:</td>
  53.   <td colspan=4 class=xl4429424 width=205 style='border-right:.5pt solid black;
  54.   width:155pt'><%Response.Write ucase(cstr(Pro_Dato(ors(11))))%></td>
  55.   <td class=xl2829424 width=69 style='border-left:none;width:52pt'>DESTINO:</td>
  56.   <td colspan=2 class=xl4429424 width=159 style='border-right:.5pt solid black;
  57.   width:119pt'><%Response.Write ucase(cstr(Pro_Dato(ors(12))))%></td>
  58.       <td class=xl2829424 width=67 style='border-left:none;width:50pt'>UNIDADES:</td>
  59.   <td class=xl12829424 width=63 style='width:47pt'><%'Response.Write ucase(cstr(Pro_Dato(ors(8))))%></td>
  60.   <td class=xl12929424 width=88 style='width:66pt'><%response.write ucase(cstr(Pro_Dato(ors(8)))) & " " & cstr(Pro_Dato(ors("empaque")))%></td>
  61.  </tr>
  62.  <tr class=xl2329424 height=24 style='mso-height-source:userset;height:18.0pt'>
  63.       <td height=24 class=xl2429424 width=113 style='height:18.0pt;border-top:none;
  64.   width:85pt'>MERCANCÍA:</td>
  65.   <td colspan=7 class=xl3929424 width=433 style='border-right:.5pt solid black;
  66.   width:326pt'><%RESPONSE.WRITE ucase(cstr(Pro_Dato(ors("descMercancia"))))%></td>
  67.       <td class=xl2829424 width=67 style='border-left:none;width:50pt'>KILOS:</td>
  68.   <td colspan=2 class=xl4229424 width=151 style='border-right:1.0pt solid black;
  69.   width:113pt'> <%Response.Write ucase(cstr(Pro_Dato(ors(10))))%></td>
  70.  </tr>
  71.  <tr class=xl2329424 height=39 style='mso-height-source:userset;height:29.25pt'>
  72.   <td colspan=2 height=39 class=xl2429424 width=205 style='height:29.25pt;
  73.   width:154pt'>DIRECCIÓN CARGUE:</td>
  74.   <td colspan=5 class=xl7829424 width=246 style='border-right:.5pt solid black;
  75.   width:186pt'><%Response.Write ucase(cstr(Pro_Dato(ors(13))))%></td>
  76.       <td colspan=2 class=xl7229424 width=162 style='border-left:none;width:121pt'>FECHA
  77.         DE CARGUE :</td>
  78.   <td colspan=2 class=xl3929424 width=151 style='border-right:1.0pt solid black;
  79.   width:113pt'><%Response.Write ucase(cstr(Pro_Dato(ors(14))))%></td>
  80.  </tr>
  81.  <tr class=xl2329424 height=57 style='mso-height-source:userset;height:42.75pt'>
  82.   <td colspan=2 height=57 class=xl2429424 width=205 style='height:42.75pt;
  83.   width:154pt'>DIRECCIÓN DESCARGUE:</td>
  84.   <td colspan=5 class=xl8029424 width=246 style='border-right:.5pt solid black;
  85.   border-bottom:.5pt solid black;width:186pt'><%Response.Write ucase(cstr(Pro_Dato(ors(15))))%></td>
  86.       <td colspan=2 class=xl7229424 width=162 style='border-left:none;width:121pt'>FECHA
  87.         DE DESCARGUE :</td>
  88.   <td colspan=2 class=xl3929424 width=151 style='border-right:1.0pt solid black;
  89.   width:113pt'><%Response.Write ucase(cstr(Pro_Dato(ors(16))))%></td>
  90.  </tr>
  #3 (permalink)  
Antiguo 08/04/2010, 08:38
 
Fecha de Ingreso: abril-2010
Mensajes: 4
Antigüedad: 14 años
Puntos: 0
Respuesta: Problema Mshtml.dll

Código ASP:
Ver original
  1. <tr class=xl2329424 height=25 style='mso-height-source:userset;height:18.75pt'>
  2.       <td rowspan=3 height=75 class=xl4629424 width=113 style='border-bottom:.5pt solid black;
  3.   height:56.25pt;width:85pt'>ADUANA EXPORTACIÓN</td>
  4.   <td colspan=2 class=xl5129424 width=106 style='width:80pt'>AGENTE:</td>
  5.   <td colspan=2 class=xl14029424 width=99 style='border-right:.5pt solid black;
  6.   width:75pt'><%
  7.   agente = Pro_Dato(ors(17))
  8.   agente = replace(agente, "5D1O SIA", "ÑO")
  9.   Response.Write ucase(cstr(agente))%></td>
  10.       <td colspan=2 rowspan=3 class=xl6329424 width=133 style='border-right:.5pt solid black;
  11.   border-bottom:.5pt solid black;width:100pt'>ADUANA<span style="mso-spacerun:
  12.   yes"></span>IMPORTACIÓN</td>
  13.   <td colspan=2 class=xl7229424 width=162 style='border-left:none;width:121pt'>AGENTE:</td>
  14.   <td colspan=2 class=xl14429424 width=151 style='border-right:1.0pt solid black;
  15.   width:113pt'><%Response.Write ucase(cstr(Pro_Dato(ors(21))))%></td>
  16.  </tr>
  17.  <tr class=xl2329424 height=25 style='mso-height-source:userset;height:18.75pt'>
  18.   <td colspan=2 height=25 class=xl6129424 width=106 style='height:18.75pt;
  19.   width:80pt'>QUIEN PAGA:</td>
  20.   <td colspan=2 class=xl13829424 width=99 style='border-right:.5pt solid black;
  21.   width:75pt'><%Response.Write ucase(cstr(Pro_Dato(ors(18))))%></td>
  22.   <td colspan=2 class=xl7229424 width=162 style='border-left:none;width:121pt'>QUIEN
  23.   PAGA:</td>
  24.   <td colspan=2 class=xl14429424 width=151 style='border-right:1.0pt solid black;
  25.   width:113pt'><%Response.Write ucase(cstr(Pro_Dato(ors(22))))%></td>
  26.  </tr>
  27.  <tr class=xl2329424 height=25 style='mso-height-source:userset;height:18.75pt'>
  28.   <td colspan=2 height=25 class=xl5129424 width=106 style='height:18.75pt;
  29.   width:80pt'>VALOR CONVENIDO:</td>
  30.   <td colspan=2 class=xl14229424 width=99 style='border-right:.5pt solid black;
  31.   width:75pt'>
  32.   <%if sw = 1 then
  33.     'response.write "si entro"
  34.     Response.Write ucase(cstr(Pro_Dato(ors(19)))) + "&nbsp;" + ucase(cstr(Pro_Dato(ors(20))))
  35.     else
  36.     response.write "0 Pesos"
  37.     end if
  38.     %></td>
  39.   <td colspan=2 class=xl7229424 width=162 style='border-left:none;width:121pt'>VALOR
  40.   CONVENIDO:</td>
  41.   <td colspan=2 class=xl12329424 width=151 style='border-right:1.0pt solid black;
  42.   width:113pt'>
  43.      <%
  44.     if sw=1 then
  45.     'response.write "si entro"
  46.     Response.Write ucase(cstr(Pro_Dato(ors(23)))) + "&nbsp;" + ucase(cstr(Pro_Dato(ors(24))))
  47.     else
  48.     response.write "0 Pesos"
  49.     end if
  50.     %>  </td>
  51.  </tr>
  52.  <tr class=xl2329424 height=25 style='mso-height-source:userset;height:18.75pt'>
  53.   <td colspan=2 height=25 class=xl2429424 width=205 style='height:18.75pt;
  54.   width:154pt'>FLETE DE VENTA CONVENIDO:</td>
  55.   <td colspan=5 class=xl7629424 width=246 style='border-right:.5pt solid black;
  56.   width:186pt'><%
  57.     if sw= 1 then
  58.     Response.Write ucase(cstr(Pro_Dato(ors(25))))+ "&nbsp;" +  ucase(cstr(Pro_Dato(ors(41))))
  59.     else
  60.     response.write "0 Pesos"
  61.     end if
  62.     %></td>
  63.   <td colspan=2 rowspan=2 class=xl7329424 width=162 style='border-bottom:.5pt solid black;
  64.   width:121pt'>VALOR MERCANCÍA:</td>
  65.   <td colspan=2 rowspan=2 class=xl13029424 width=151 style='border-right:1.0pt solid black;
  66.   border-bottom:.5pt solid black;width:113pt'><%Response.Write ucase(cstr(Pro_Dato(ors(27)))) + "&nbsp;" +  ucase(cstr(Pro_Dato(ors(28))))%></td>
  67.  </tr>
  68.  <tr class=xl2329424 height=19 style='mso-height-source:userset;height:14.25pt'>
  69.   <td height=19 class=xl2729424 width=113 style='height:14.25pt;width:85pt'>REPESO:</td>
  70.   <td class=xl2929424 width=92 style='width:69pt'>
  #4 (permalink)  
Antiguo 08/04/2010, 08:41
 
Fecha de Ingreso: abril-2010
Mensajes: 4
Antigüedad: 14 años
Puntos: 0
Respuesta: Problema Mshtml.dll

Código ASP:
Ver original
  1. <input name="repeso" type="text" size="10"  value=
  2.     <% if orsrepeso("repeso")="" or isnull(orsrepeso("repeso")) then
  3.    
  4.     response.write "0"
  5.     else
  6.    
  7.     response.write orsrepeso("repeso")
  8.     end if
  9.      %> ></td>
  10.   <td colspan=2 class=xl5129424 width=59 style='border-left:none;width:45pt'>ESCOLTA</td>
  11.   <td colspan=3 class=xl4129424 width=187 style='border-right:.5pt solid black;
  12.   width:141pt'><%
  13.     if sw=1 then
  14.     'response.write "no es de medellin"
  15.     Response.Write "&nbsp;" & ucase(cstr(Pro_Dato(ors("valorEscolta")))) & "&nbsp;&nbsp;$"
  16.     else
  17.     response.write "0 Pesos"
  18.     end if
  19.     %></td>
  20.  </tr>
  21.  <tr class=xl2329424 height=31 style='mso-height-source:userset;height:23.25pt'>
  22.   <td colspan=2 height=31 class=xl2429424 width=205 style='height:23.25pt;
  23.   width:154pt'>INSTRUCCIONES DE SEGURIDAD:</td>
  24.   <td colspan=9 class=xl8729424 width=559 style='border-right:1.0pt solid black;
  25.   width:420pt'><%Response.Write ucase(cstr(Pro_Dato(ors(29))))%></td>
  26.  </tr>
  27.   <tr class=xl2329424 height=40 style='mso-height-source:userset;height:23.25pt;border-right:1.0pt solid black;border-left:1.0pt solid black'>
  28.   <td colspan="1" height="45" style='border-right:1.0pt solid black;border-left:1.0pt solid black'><div align="center"><strong>Cargue
  29.     <input name="cargue" type="text" size="13" value="<%if orsrepeso("cargue")="" or isnull(orsrepeso("cargue")) then  
  30.     response.write "0"
  31.     else       
  32.     response.write Pro_Dato(orsrepeso("cargue"))
  33.     end if
  34.      %> ">  
  35.   </strong></div></td>
  36.   <td colspan="2" style='border-right:1.0pt solid black;border-left:1.0pt solid black'><div align="center"><strong>Descargue
  37.     <input name="descargue" type="text" size="13" value="<% if orsrepeso("descargue")="" or isnull(orsrepeso("descargue")) then    
  38.     response.write "0"
  39.     else       
  40.     response.write Pro_Dato(orsrepeso("descargue"))
  41.     end if
  42.      %> ">  
  43.   </strong></div></td>
  44.   <td colspan="2" style='border-right:1.0pt solid black;border-left:1.0pt solid black'><div align="center"><strong>Stand By
  45.     <input name="standby" type="text" size="13" value="<% if orsrepeso("standby")="" or isnull(orsrepeso("standby")) then
  46.     response.write "0"
  47.     else       
  48.     response.write Pro_Dato(orsrepeso("standby"))
  49.     end if
  50.      %> ">  
  51.   </strong></div></td>
  52.   <td colspan="2"  style='border-right:1.0pt solid black;border-left:1.0pt solid black'><div align="center"><strong>Bodegaje
  53.     <input name="bodegaje" type="text" size="13" value="<% if Pro_Dato(orsrepeso("bodegaje"))="" or isnull(Pro_Dato(orsrepeso("bodegaje"))) then       
  54.     response.write "0"
  55.     else       
  56.     response.write Pro_Dato(orsrepeso("bodegaje"))
  57.     end if
  58.      %> ">  
  59.   </strong></div></td>
  60.   <td colspan="2"  style='border-right:1.0pt solid black;border-left:1.0pt solid black'><div align="center"><strong>Otros
  61.     <input name="otros" type="text" size="13" value="<%if Pro_Dato(orsrepeso("otros"))="" or isnull(Pro_Dato(orsrepeso("otros"))) then
  62.     mifichero.writeline "entro if otros "
  63.     response.write "0"
  64.     else       
  65.     response.write Pro_Dato(orsrepeso("otros"))
  66.     mifichero.writeline "entro else otros "
  67.     end if
  68.      %> ">  
  69.   </strong></div></td>
  70. </tr>
  71.  <tr class=xl2329424 height=27 style='mso-height-source:userset;height:20.25pt'>
  72.   <td colspan=3 height=27 class=xl2429424 width=219 style='height:20.25pt;
  73.   width:165pt'>PÓLIZA DE SEGURO ESPECIFICA:</td>
  74.   <td colspan=3 class=xl7029424 width=168 style='border-right:.5pt solid black;
  75.   width:127pt'><%if ucase(cstr(Pro_Dato(ors(30)))) = "1" then    
  76.         Response.Write "SI"
  77.       ELSE  
  78.         Response.Write "NO"
  79.       END IF
  80.     %></td>
  81.   <td colspan=3 class=xl7229424 width=226 style='border-left:none;width:169pt'>COBRAR
  82.   COSTO DE PÓLIZA / VALOR:</td>
  83.   <td colspan=2 class=xl13429424 width=151 style='border-right:1.0pt solid black;
  84.   width:113pt'><%
  85.   Response.Write ucase(cstr(Pro_Dato(ors(31))))
  86.     %></td>
  87.  </tr>
  88.  <tr class=xl2329424 height=29 style='mso-height-source:userset;height:21.75pt'>
  89.       <td colspan=3 height=29 class=xl2429424 width=219 style='height:21.75pt;
  90.   width:165pt'>INSTRUCCIONES DE PRODUCCIÓN:</td>
  91.   <td colspan=8 class=xl5629424 width=545 style='border-right:1.0pt solid black;
  92.   width:409pt'><%Response.Write ucase(cstr(Pro_Dato(ors(32))))%></td>
  93.  </tr>
  94.  <tr class=xl2329424 height=30 style='mso-height-source:userset;height:22.5pt'>
  95.       <td colspan=3 height=30 class=xl2429424 width=219 style='height:22.5pt;
  96.   width:165pt'>INSTRUCCIONES ESPECIALES DE FACTURACIÓN:</td>
  97.   <td colspan=8 class=xl8429424 width=545 style='border-right:1.0pt solid black;
  98.   width:409pt'><%Response.Write ucase(cstr(Pro_Dato(ors(33))))%></td>
  99.  </tr>
  100.  <tr class=xl2329424 height=25 style='mso-height-source:userset;height:18.75pt'>
  101.   <td colspan=3 height=25 class=xl2429424 width=219 style='height:18.75pt;
  102.   width:165pt'>NOMBRE DE QUIEN PAGA EL FLETE:</td>
  103.   <td colspan=4 class=xl5629424 width=232 style='border-right:.5pt solid black;
  104.   width:175pt'>  <%Response.Write ucase(cstr(Pro_Dato(ors(34))))%></td>
  105.   <td colspan=2 class=xl7229424 width=162 style='border-left:none;width:121pt'>CONDICIONES
  106.   DE PAGO:</td>
  107.   <td colspan=2 class=xl5629424 width=151 style='border-right:1.0pt solid black;
  108.   width:113pt'> <%Response.Write ucase(cstr(Pro_Dato(ors(35))))%></td>
  109.  </tr>
  110.  <tr class=xl2329424 height=17 style='height:12.75pt'>
  111.       <td colspan=11 height=17 class=xl5829424 width=764 style='border-right:1.0pt solid black;
  112.   height:12.75pt;width:574pt'><strong>
  113.         <label languaje= javascript onClick="return obser_onclick()">OBSERVACIONES</label>
  114.         : </strong></td>
  115.  </tr>
  116.  <tr class=xl2329424 height=74 style='mso-height-source:userset;height:55.5pt'>
  117.   <td colspan=11 height=74 class=xl5329424 width=764 style='border-right:1.0pt solid black;
  118.   height:80.5pt;width:574pt'><textarea cols="160" rows="5"  name="observaciones" style="background-color: #E5E5E5;font-family: Bookman Old Style, serif;">
  119.   <%=Pro_Dato(ors("observaciones"))%></textarea></td>
  120.  </tr>
  121.  <tr class=xl2329424 height=20 style='mso-height-source:userset;height:height:22.5pt'>
  122.  
  123.   <td colspan=5 rowspan=4 class=xl10129424 width=232 style='width:175pt'><%Response.Write ucase(cstr(Pro_Dato(ors("ElaboradoPor"))))%></td>
  124.    <td colspan=2 rowspan=4 class=xl10129424>&nbsp;</td>
  125.   <td colspan=7 rowspan=4 class=xl10129424 width=313 style='border-right:1.0pt solid black;
  126.   width:234pt'>&nbsp;</td>
  127.  </tr>
  128.  
  129.  <tr style='mso-height-source:userset;height:10.5pt'> </tr>
  130.  <tr> </tr>
  131.  <tr > </tr>
  132.  <tr class=xl2329424 height=15 style='height:20.25pt'>
  133.  
  134.  
  135.       <td colspan=5 class=xl10229424 width=250 style='width:175pt;border-left:1.0pt solid black;'>ELABOR&Oacute;</td>
  136.        <td colspan=2 class=xl10229424 width=232 >V° B° DIRECTOR OPERATIVO</td>
  137.       <td colspan=7 class=xl10229424 width=313 style='border-right:1.0pt solid black;
  138.   border-left:1.0pt solid black;width:234pt'> V&deg;B&deg; CLIENTE</td>
  139.  </tr>
  140.  
  141.  <tr class=xl2329424 height=17 style='height:12.75pt'> </tr>
  142.  
  143.  <tr class=xl2329424 height=21 style='mso-height-source:userset;height:15.75pt;border-left:1.0pt solid black;'>
  144.   <td colspan=11 height=21 class=xl9629424 width=613 style='height:15.75pt;
  145.   width:461pt;border-right:1.0pt solid black;'><strong>
  146.         <label languaje= javascript onClick="return test_onclick()">OBSERVACIONES
  147.         FACTURACI&Oacute;N:</label>
  148.         </strong></td>
  149.  </tr>
  150.  <tr class=xl2329424 height=17 style='height:12.75pt'>
  151.    <td colspan=11 rowspan=4 height=75 class=xl3329424 width=613 style='border-right:1.0pt solid black;height:56.25pt;width:461pt'><span class="xl33294241" style="border-right:1.0pt solid black;height:56.25pt;width:461pt;">
  152.      <textarea cols="90" rows="5" style="overflow:auto;" name="modificaciones"><%=Pro_Dato(ors("modificaciones"))%></textarea>
  153.    </span></td>
  154.  </tr>
  155.  <tr class=xl2329424 height=17 style='height:12.75pt'> </tr>
  156.  <tr class=xl2329424 height=18 style='height:13.5pt'> </tr>
  157.  <tr class=xl2329424 height=23 style='mso-height-source:userset;height:17.25pt'> </tr>
  158.  <![if supportMisalignedColumns]>
  159.  <tr height=0 style='display:none'>
  160.   <td width=113 style='width:85pt'></td>
  161.   <td width=92 style='width:69pt'></td>
  162.   <td width=14 style='width:11pt'></td>
  163.   <td width=45 style='width:34pt'></td>
  164.   <td width=54 style='width:41pt'></td>
  165.   <td width=69 style='width:52pt'></td>
  166.   <td width=64 style='width:48pt'></td>
  167.   <td width=95 style='width:71pt'></td>
  168.   <td width=67 style='width:50pt'></td>
  169.   <td width=63 style='width:47pt'></td>
  170.   <td width=88 style='width:66pt'></td>
  171.  </tr>
  172.  <![endif]>
  173. </table>
  174.  
  175. </div>
  176. </form>
  177. <%
  178. codepto1 = Pro_Dato(ors("codepto1"))
  179. codepto2 = Pro_Dato(ors("codepto2"))
  180. if cstr(codepto1) = "" then
  181. codepto1 = 200
  182. end if
  183. if cstr(codepto2) = "" then
  184. codepto2 = 200
  185. end if
  186. end if ' de por alla arriba
  187. %>
  188. </div>
  189. <%
  190.  
  191. if session("cedula") <> "" then ' cedula de julian 71516577'
  192.     if session("cedula") = ucase(cstr(Pro_Dato(ors(2)))) or session("cedula") =1020393122  then  'ojo esto es nuevo orden de produccion'
  193.     %>
  194.     <a HREF="Modificar_Orden.asp?nroOrden=<%=cual%>,<%=codepto1%>,<%=codepto2%>">Modificar</a>   
  195.     <%end if%>
  196.     <%end if%>  
  197. <%
  198. set ors = nothing
  199. set ors2 = nothing
  200. set ors3 = nothing
  201. set orsrepeso = nothing
  202. %>
  203. </body>
  204. </html>
  205.  
  206. Aca esta el resto del cod, muchas gracias.
  #5 (permalink)  
Antiguo 08/04/2010, 11:31
Avatar de AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 23 años, 2 meses
Puntos: 535
Respuesta: Problema Mshtml.dll

Hola. Podrías probar con otro navegador, como firefox, y ver qué ocurre. Igual, no se debe tratar de un problema de ASP "en si" (aunque sí puede llegar a ser que alguna salida de tu código ASP genere algún inconveniente con el navegador... pero esa es otra historia).

Ahora... así, sin más datos, nadie va a leer esas más de 600 líneas de código.
__________________
...___...

Etiquetas: Ninguno
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 05:25.