<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3924845567650552810</id><updated>2024-09-05T12:07:21.939-07:00</updated><category term="Datadynamics"/><category term="danny fabian duran vesga"/><category term="webreportviewer"/><category term="corehandler"/><category term="httphandler"/><category term="report"/><category term=".ashx"/><category term=".net"/><category term="ORA 01036"/><category term="ORACLE"/><category term="click once"/><category term="comando"/><category term="controladores personalizados"/><category term="datasource"/><category term="grapecity"/><category term="instalador"/><category term="installer"/><category term="oracle provider"/><category term="problema al cargar"/><category term="report designer"/><category term="suscription"/><category term="system.deployment.application.deploymentexception"/><category term="web.config"/><category term="wrong load"/><title type='text'>Datadynamics en Asp.Net</title><subtitle type='html'>Tips sobre errores en el uso de Datadynamics en .Net</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ingdannyduran.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ingdannyduran.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3924845567650552810.post-2516595739807251385</id><published>2012-02-06T07:01:00.000-08:00</published><updated>2012-03-08T06:01:08.392-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".ashx"/><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="controladores personalizados"/><category scheme="http://www.blogger.com/atom/ns#" term="corehandler"/><category scheme="http://www.blogger.com/atom/ns#" term="danny fabian duran vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="Datadynamics"/><category scheme="http://www.blogger.com/atom/ns#" term="httphandler"/><category scheme="http://www.blogger.com/atom/ns#" term="web.config"/><category scheme="http://www.blogger.com/atom/ns#" term="webreportviewer"/><title type='text'>CoreHandler .ashx, Controladores Personalizados WebReportViewer</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Hoy les comparto una forma de generar Controladores personalizados, este tema esta ligado a Datadynamics debido a que el &quot;WebReportViewer&quot;, o el visor de reportes web. ¿por qué?. Este control de GrapeCity us un core handler para el manejo de eventos y según lo entiendo, lo usa también como archivo de recursos para imágenes y cultura (Quizás otras cosas más), entonces debido a múltiples inconvenientes que podrían ocurrirle (como a mí), presento una compilación de información que me ha ayudado a sacar adelante algunos de los posibles problemas que vas a encontrar.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Al adicionar un control WebReportViewer, tendremos que adicionar un controlador, normalmente llamado &quot;CoreHandler.ashx&quot;, cuyo contenido es el siguiente:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;lt;% @ WebHandler language=&quot;C#&quot; class=&quot;DataDynamics.Reports.Web.CoreHandler, DataDynamics.Reports.Web, Version=1.6.2084.14, Culture=neutral, PublicKeyToken=A597G2F42D260XS3&quot; codebehind=&quot;CoreHandler.cs&quot; %&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Muchas veces este código es suficiente para que el control pueda ubicar el controlador; los datos que vemos como version, culture, token lo obtenemos del mismo web.config en la sesión de assemblies.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Otra manera que he encontrado es usando este codigo dentro del &lt;system.web&gt; dentro del web.config en una etiquta httphandler, por ejemplo:&lt;/system.web&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;lt;%&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;add verb=&quot;GET&quot; path=&quot;Page/CoreHandler.ashx&quot; type=&quot;DataDynamics.Reports.Web.CoreHandler, DataDynamics.Reports.Web, Version=1.6.2084.14, Culture=neutral, PublicKeyToken=D557F2F30A260DA2&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;además de localización dentro de las etiquetas de configuration, también dentro del web.config&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;location path=&quot;CoreHandler.ashx&quot;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;system.web&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;authorization&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;allow users=&quot;*&quot;/&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;/authorization&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;/system.web&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;/location&lt;/span&gt;&lt;span style=&quot;color: #274e13; text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; text-align: justify;&quot;&gt;Aún así es posible que tengas un problema en el que actualmente estoy trabajando, y se trata que al correr la aplicación y todo parece correr perfectamente, al generar el reporte este carga, pero las imágenes que van dentro del reporte no aparecen. &amp;nbsp;Es decir que el src de la imagen es incorrecto y nos encontramos algo parecido a esto:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-OP_slnrGVDg/Ty_op4YAZhI/AAAAAAAAAC8/7zX9Ihh2uEs/s1600/web.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;http://4.bp.blogspot.com/-OP_slnrGVDg/Ty_op4YAZhI/AAAAAAAAAC8/7zX9Ihh2uEs/s320/web.JPG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Al inspeccionar las imágenes el src debería tener la siguiente estructura:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;src=/misitio/CoreHandler.ashx?rs:Command=GetResourceItem&amp;amp;ResourceName=Plus.PNG&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;pero en mi código al inspeccionar lo encuentro así:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;src=/CoreHandler.ashx?rs:Command=GetResourceItem&amp;amp;ResourceName=Plus.PNG&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;es decir que está buscando el corehandler.ashx en la raiz de mi localhost y porsupuesto que JAMÁS lo va a encontrar. En los foros de datadynamics se encuentra el siguiente &lt;a href=&quot;http://www.datadynamics.com/forums/141834/PrintPost.aspx&quot;&gt;foro&amp;nbsp;&lt;/a&gt;&amp;nbsp;creado en el 2004 y aceptando el error como propio de Datadynamics y cuya solución debía salir en el siguiente release; pues para la fecha de hoy (año 2012, cerca del fín del mundo) y teniendo la última versión me sucede lo mismo. Lo cierto es que la versión anterior si muestra las imágenes correctamente, por lo que he venido pensando que hay alguna configuración que he hecho mal, pero sé con certeza que hallaremos una solución, así sea muy recursiva.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Por lo pronto les comparto un &lt;a href=&quot;http://www.brainbell.com/tutorials/ASP/TOC_Tutorial_18.html&quot;&gt;tutorial&lt;/a&gt; del tema de los manejadores que podría darle una luz para hallar la solución..... &amp;nbsp;///parece que ya puedo ofrecerles una ayuda !!!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Aunque siendo sincero no es la mejor de las opciones fue una &quot;práctica&quot; que me ingenié para solucionar este tedioso error, pero igual hasta conseguir la correcta les comparto mi solución:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Se trata de una función javascript con la cual buscamos las imágenes dentro del iframe que carga el reporte; obteniendo el nombre de nuestro sitio &quot;path&quot;, buscamos las imágenes que no tenga este path dentro de su src, entonces les creamos una nueva url con nuestro path y se lo adicionamos a su src. La función es la siguiente:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;function CorregirImagenes()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // obtiene el nombre de nuestro sitio&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var path = &amp;nbsp;&#39;&amp;lt;%=Context.Request.ApplicationPath %&amp;gt;&#39;;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// Obtiene el iframe donde se presenta el reporte&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var ifReport = document.getElementById(&#39;CorePanelWebReportViewer1$coreViewer&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// obtiene el document del iframe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var doc = &amp;nbsp;ifReport.contentDocument || ifReport.contentWindow.document;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// obtiene el body del iframe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var iFContent = doc.body;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// obtiene todas las imágenes dentro del body, es decir las img del reporte&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var imagenes = iFContent.getElementsByTagName(&#39;img&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for( i=0; i &amp;lt; imagenes. length; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var imagen = imagenes[i].src;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var urlimg = imagen.split(&quot;/&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// debido a que la url de la imagen viene con &quot;/&quot; (http://localhost/sitio/corehandl**), hacemos un split y buscamos en la posición 4 el nombre del sitio, es decir [3], esto nos devolvería la palabra &quot;sitio&quot;, si esto es DIFERENTE a nuestro path &quot;/sitio&quot; (al cual le hacemos un substring para compararlo si el &quot;/&quot;), entonces le añadimos nuestro path.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(urlimg[3] != path.substring(1,path.length))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var newurl = imagen.substring(0, imagen.indexOf(&quot;/CoreHandler&quot;)) + path + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;imagen.substring(imagen.indexOf(&quot;/CoreHandler&quot;), imagen.length); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; imagenes[i].src = newurl; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Una vez entendida la función, lo que debemos hacer es implementarla a través de un evento después de cargado el reporte, y aunque a mí nunca me funcionó les comparto&amp;nbsp;&lt;a href=&quot;http://icodethereforeiam.blogspot.com/2010/05/ddr-webviewer-toolbar-customize.html&quot; target=&quot;_blank&quot;&gt;este blog&lt;/a&gt;&amp;nbsp;para que tengan mejor idea de como lograrlo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Debido no encontrar forma de implementar mi función para corregir el src de estas imágenes, opté por implementar con la ayuda de mi compañero una función en el HOVER del DIV del Reporte, y obtenemos un solución casi transparente para el usuario.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Espero les funcione...&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingdannyduran.blogspot.com/feeds/2516595739807251385/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingdannyduran.blogspot.com/2012/02/handlers-ashx-controladores.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default/2516595739807251385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default/2516595739807251385'/><link rel='alternate' type='text/html' href='http://ingdannyduran.blogspot.com/2012/02/handlers-ashx-controladores.html' title='CoreHandler .ashx, Controladores Personalizados WebReportViewer'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-OP_slnrGVDg/Ty_op4YAZhI/AAAAAAAAAC8/7zX9Ihh2uEs/s72-c/web.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924845567650552810.post-3248150235803020640</id><published>2012-02-02T05:38:00.000-08:00</published><updated>2012-03-08T06:04:28.808-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="corehandler"/><category scheme="http://www.blogger.com/atom/ns#" term="danny fabian duran vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="Datadynamics"/><category scheme="http://www.blogger.com/atom/ns#" term="httphandler"/><category scheme="http://www.blogger.com/atom/ns#" term="problema al cargar"/><category scheme="http://www.blogger.com/atom/ns#" term="report"/><category scheme="http://www.blogger.com/atom/ns#" term="webreportviewer"/><category scheme="http://www.blogger.com/atom/ns#" term="wrong load"/><title type='text'>WebReportViewer Datadynamics wrong load</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Actualmente trabajo sobre una aplicación para generar reportes, la cual trabaja con controles de Datadynamics y&amp;nbsp;específicamente&amp;nbsp;con WebReportViewer. Cuando inicié el proyecto me dieron un instalador que terminaba en .45, en el servidor de compilación las librerías eran .61, por lo cual me generaba algunos errores obvios de compilación, que solucioné estandarizando los ensamblados.... pero este no es el error del que hablamos.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Cuando ejecuté la aplicación el visor de reportes me cargaba totalmente&amp;nbsp;vacío&amp;nbsp;y ninguna de las opciones se visualizaba por lo cual el control nunca iba a funcionar pero no generaba ningún error. Algo como esto:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-49VRr7gri6c/TyqRv86GUxI/AAAAAAAAAC0/KdVb4wY071g/s1600/reportes.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;51&quot; src=&quot;http://4.bp.blogspot.com/-49VRr7gri6c/TyqRv86GUxI/AAAAAAAAAC0/KdVb4wY071g/s400/reportes.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Este evento ocurre debido al CoreHandler, que no es más que un manejador de eventos que usa datadynamics, para sus controles, y donde además lo usa como referencia de archivo de recursos; al revisarlo me dí cuenta que el xml de este archivo estaba apuntando a la versión anterior, entonces usé la información del ensamblado que registra en el web.config y la actualizé.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Este error más humano que de tecnología, no tiene algún espacio en los foros de GrapeCity, por lo cual me gustaría compartirlo. De nuevo una aplicación corriendo perfectamente, nos hace la vida más feliz.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingdannyduran.blogspot.com/feeds/3248150235803020640/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingdannyduran.blogspot.com/2012/02/webreportviewer-datadynamics-wrong-load.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default/3248150235803020640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default/3248150235803020640'/><link rel='alternate' type='text/html' href='http://ingdannyduran.blogspot.com/2012/02/webreportviewer-datadynamics-wrong-load.html' title='WebReportViewer Datadynamics wrong load'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-49VRr7gri6c/TyqRv86GUxI/AAAAAAAAAC0/KdVb4wY071g/s72-c/reportes.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924845567650552810.post-3614669533466544244</id><published>2012-02-01T16:09:00.000-08:00</published><updated>2018-03-07T13:56:38.005-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="click once"/><category scheme="http://www.blogger.com/atom/ns#" term="comando"/><category scheme="http://www.blogger.com/atom/ns#" term="danny fabian duran vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="Datadynamics"/><category scheme="http://www.blogger.com/atom/ns#" term="instalador"/><category scheme="http://www.blogger.com/atom/ns#" term="installer"/><category scheme="http://www.blogger.com/atom/ns#" term="suscription"/><category scheme="http://www.blogger.com/atom/ns#" term="system.deployment.application.deploymentexception"/><title type='text'>System.Deployment.Application.DeploymentException (Subscription)</title><content type='html'>&lt;span style=&quot;color: #073763;&quot;&gt;Estuve haciendo unas pruebas del instalador más complicado que he tenido que lidiar; generé el proyecto y el instalador, que porsupuesto probé en mi máquina donde funcionó perfecto, luego la prueba reina en un wserver 2008, donde ya había instalado la revisión anterior y donde el instalador para mi componente ClickOnce había servidor. &amp;nbsp;En la segunda Instalación me apareció el siguiente error:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&lt;b&gt;System.Deployment.Application.DeploymentException (Subscription)&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt; // en resumen del log&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;En una descripción del mismo, nos dice que ya existe una instalación de este componente, ...Pero yo me he asegurado de desinstalarlo o eso creo ???.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Lo que sucede es que existe una cache para aplicaciones ClickOnce, lo cual en mi ignorancia desconocia, y era esta la causante del dichoso error. Solución, Eliminar la caché, este proceso lo realizamos con el siguiente comando:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #c9d7f1; color: blue; font-family: &#39;Courier New&#39;; font-size: 16px; text-align: left;&quot;&gt;rundll32 dfshim CleanOnlineAppCache&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #c9d7f1; color: blue; font-family: &#39;Courier New&#39;; font-size: 16px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: inherit;&quot;&gt;Me pareció un aporte muy interesante obtenido del siguiente &lt;a href=&quot;http://www.nerdfurio.us/blog/post.aspx?id=004f104e-da73-df11-949e-001143eed2d5&quot;&gt;post&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingdannyduran.blogspot.com/feeds/3614669533466544244/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingdannyduran.blogspot.com/2012/02/systemdeploymentapplicationdeploymentex.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default/3614669533466544244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default/3614669533466544244'/><link rel='alternate' type='text/html' href='http://ingdannyduran.blogspot.com/2012/02/systemdeploymentapplicationdeploymentex.html' title='System.Deployment.Application.DeploymentException (Subscription)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3924845567650552810.post-6237230666511852841</id><published>2012-01-24T12:26:00.000-08:00</published><updated>2012-03-08T06:07:33.041-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="danny fabian duran vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="Datadynamics"/><category scheme="http://www.blogger.com/atom/ns#" term="datasource"/><category scheme="http://www.blogger.com/atom/ns#" term="grapecity"/><category scheme="http://www.blogger.com/atom/ns#" term="ORA 01036"/><category scheme="http://www.blogger.com/atom/ns#" term="ORACLE"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle provider"/><category scheme="http://www.blogger.com/atom/ns#" term="report"/><category scheme="http://www.blogger.com/atom/ns#" term="report designer"/><category scheme="http://www.blogger.com/atom/ns#" term="webreportviewer"/><title type='text'>ORA - 01036 Datadynamics Report Designer</title><content type='html'>Posiblemente te haz encontrado con el siguiente error, cuando intentas hacer una consulta usando un dataset en Datadynamics Report Designer, el cual esta pegando a un DataSource con Oracle Provider:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-OvnCrQn4HhE/Tx8QA09fsyI/AAAAAAAAABo/VAldx7DnXOw/s1600/Ora+01036.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-OvnCrQn4HhE/Tx8QA09fsyI/AAAAAAAAABo/VAldx7DnXOw/s320/Ora+01036.PNG&quot; width=&quot;311&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
El error no es atendido como tal por GrapeCity y esto es debido a que NO HAY ERROR!!, es simplemente que al crear el&amp;nbsp;parámetro&amp;nbsp;nos confunde ese mensaje, entonces, ¿Por qué la consulta es inválida?. En mi caso ocurre por la&amp;nbsp;costumbre&amp;nbsp;de trabajar en MSSQL ya que a los parametros les añadimos un &quot;@&quot;, y esto va de perlas en un datasource sqlserver, pero en este caso (ORACLE) se usa &quot;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;:&lt;/span&gt;&lt;/b&gt;&quot;, por ejemplo (select * from product where productID=:Id). Probamos de nuevo, y obtenemos una consulta limpia.</content><link rel='replies' type='application/atom+xml' href='http://ingdannyduran.blogspot.com/feeds/6237230666511852841/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingdannyduran.blogspot.com/2012/01/ora-01036-datadynamics-report-designer.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default/6237230666511852841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3924845567650552810/posts/default/6237230666511852841'/><link rel='alternate' type='text/html' href='http://ingdannyduran.blogspot.com/2012/01/ora-01036-datadynamics-report-designer.html' title='ORA - 01036 Datadynamics Report Designer'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-OvnCrQn4HhE/Tx8QA09fsyI/AAAAAAAAABo/VAldx7DnXOw/s72-c/Ora+01036.PNG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Colombia</georss:featurename><georss:point>4.6530801643341908 -74.179687875000013</georss:point><georss:box>-4.1591498356658088 -81.622494375000016 13.465310164334191 -66.73688137500001</georss:box></entry></feed>