• Viernes 3 de Mayo de 2024, 02:25

Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Temas - homess

Páginas: [1]
1
ASP .NET / detailsview + Image+ clickboard
« en: Viernes 14 de Noviembre de 2008, 15:03 »
saludos
estoy utilizando un detailsview que tiene un origen de datos sqldatasource1
al momento de visualizar le pongo un asp:Image(hay una carpeta llamada imagen en el sitio)
y carga las imagenes perfectamente...
el problema es cuando quiero actualizar quiero que ese control Image tenga lo que en el portapapeles tenga

es decir hago un ctrl + C de una imagen cualquiera y al momento de actualizar un registro el control Image tome
esa nueva imagen es decir hacer Ctrl + V y ya este la imagen nueva


como podria hacerlo existe algun es algo que tengo que buscar con insistencia
alguien a solucionado este problemas o debo encontrar otra forma de hacer

gracias por las respuestas ....
att luis

2
ASP .NET / galeria de imagenes en visual web developer
« en: Lunes 6 de Octubre de 2008, 20:57 »
galeria de imagenes en visual web developer

Notapor homess el 06 Oct 2008 07:56 pm
saludos ...

estoy intentando hacer una galeria de imagenes para la web

ya logre que las imagen que vienes desde la base se conviertan en un link (sqlserver express 2005 y visual web developer) y se muestren en un gridview

<asp:GridView ID="gridimagen" runat="server" AutoGenerateColumns="false"
AutoGenerateEditButton="false" AllowPaging="true" CellPadding="4" GridLines="vertical" >
<Columns>
<asp:TemplateField>
<ItemTemplate>
<a href="Default.aspx?Id=<%# Eval("Imagen")%>"><img src='<%# Eval("Imagen") %>' alt="image" /> </a>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

ahora lo que requiero es que en un control IMAGE que tengo en las misma pagina, al hacer click sobre ese link(que es una imagen que esta en el gridview) se carge la imagen
cmo lograr eso...
att
luis

3
ASP .NET / galeria de imagenes en visual web developer
« en: Lunes 6 de Octubre de 2008, 20:56 »
saludos ...

estoy intentando hacer una galeria de imagenes para la web

ya logre que las imagen que vienes desde la base se conviertan en un link (sqlserver express 2005 y visual web developer) y se muestren en un gridview

<asp:GridView ID="gridimagen" runat="server" AutoGenerateColumns="false"
AutoGenerateEditButton="false" AllowPaging="true" CellPadding="4" GridLines="vertical" >
<Columns>
<asp:TemplateField>
<ItemTemplate>
<a href="Default.aspx?Id=<%# Eval("Imagen")%>"><img src='<%# Eval("Imagen") %>' alt="image" /> </a>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

ahora lo que requiero es que en un control IMAGE que tengo en las misma pagina, al hacer click sobre ese link(que es una imagen que esta en el gridview) se carge la imagen
cmo lograr eso...
att
luis

4
PostgreSQL / Unable to read data from the transport connection:
« en: Miércoles 20 de Agosto de 2008, 19:01 »
saludos

tengo un problema obtengo este error cuando trato de conectar un manejador de contenidos desde visual studio express (VWD) con postgresql 8.1.3 desde windows xp


Server Error in '/sitiopostgresql' Application.
--------------------------------------------------------------------------------

Unable to read data from the transport connection: Se ha forzado la interrupción de una conexión existente por el host remoto.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: PostgreSql.Data.PostgreSqlClient.PgException: Unable to read data from the transport connection: Se ha forzado la interrupción de una conexión existente por el host remoto.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[PgException (0x80004005): Unable to read data from the transport connection: Se ha forzado la interrupción de una conexión existente por el host remoto.]
   PostgreSql.Data.PostgreSqlClient.PgConnectionInternal.Connect() +68
   PostgreSql.Data.PostgreSqlClient.PgConnectionPool.Create() +46
   PostgreSql.Data.PostgreSqlClient.PgConnectionPool.CheckOut() +175
   PostgreSql.Data.PostgreSqlClient.PgConnection.Open() +114
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(PgConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) +196
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(PgConnection connection, String spName, Boolean includeReturnValueParameter) +298
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +152
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) +32
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +158
   DotNetNuke.Data.SqlDataProvider.GetPortalAliasByPortalID(Int32 PortalID) +87
   DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32 PortalID) +35
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() +72
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String PortalAlias) +14
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3313
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1155
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +138
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65

 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

si esta obteniendo la cadena de conexion la ip y el puerto no se que pasa

si me podrian enviar información a mi correo lnto_27@yahoo.com estaré muy agradecido por su respuesta...

5
C# / error: 'CS$2$0000' unexpected character '$'
« en: Lunes 11 de Agosto de 2008, 17:49 »
saludos a todos
tengo esta linea de codigo
PgPoint[] CS$0$0000 = new PgPoint[] { new PgPoint(0.0, 0.0), new PgPoint(1.0, 0.0) };

pero me sale un error

unexpected character '$'

no se como solucionarlo me pueden ayudar

de antemano gracias...

6
PostgreSQL / System.Data.PostgreSql
« en: Miércoles 23 de Julio de 2008, 15:16 »
saludos nuevamente

existe en .net una dll llamada System.data en la cual tiene varios metodos uno de ellos es sqlclient...

mi pregunta es puedo yo conseguir la dll o transformarlo a System.Data.PostgreSql para poder conectarme postgres con dotnetnuke... todo esto lo hago bajo windows xp y con VWD express 2005...

de antemano gracias.... :good:

7
PostgreSQL / ERROR: Could not load file or assembly 'Npgsql, Version=1.98
« en: Viernes 18 de Julio de 2008, 19:45 »
saludos a todos

el motivo de mi mensaje es que tengo un error al cargar una pagina.. estoy haciendo un sistemas con un manejador de Contenidos y con base de datos Postgresql... todo esto en Xp... al momento de hacer la referencia a NPgsql.dll y cargar la pagina me sale el siguiente mensaje

Could not load file or assembly 'Npgsql, Version=1.98.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Npgsql, Version=1.98.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Npgsql, Version=1.98.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].

 

Stack Trace:


[FileLoadException: Could not load file or assembly 'Npgsql, Version=1.98.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   DotNetNuke.PostgreSqlDataProvider.PostgreSqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +0
   DotNetNuke.Data.PostgreSqlDataProvider.GetPortalAliasByPortalID(Int32 PortalID) +77
   DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32 PortalID) +35
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() +74
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String PortalAlias) +14
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3534
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +840
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +138
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

probe con un opcion que me da en la propia pagina... que es el modificar [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.. pero no funciona...

Npgsql.dll esta en el directorio bin del sitio....
 
si alguien podría ayudarme...

de antemano muchas gracias.....

8
PostgreSQL / Error: Conexion Postgres Con Dotnetnuke
« en: Martes 17 de Junio de 2008, 15:48 »
saludos a todos del foro de SoloCodigo

estoy intentando conectar postgres con dotnetnuke y al modificar algunos parametros del web.config me produce el siguiente error:

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +48
   DotNetNuke.Common.Utilities.Config.GetConnectionString() +38
   DotNetNuke.Data.SqlDataProvider..ctor() +83

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
   DotNetNuke.Data.DataProvider.CreateProvider() +46
   DotNetNuke.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
   DotNetNuke.Common.Globals.GetUpgradeStatus() +67
   DotNetNuke.Common.Initialize.CheckVersion(HttpApplication app) +147
   DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +408
   DotNetNuke.Common.Initialize.Init(HttpApplication app) +127
   DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +162
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +138
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65

 
los parametros que cambie son <connectionStrings>, <authentication mode="Forms">, <machineKey>, <membership>, <roleManager>, <profile>, <sessionState>, si alguien podría ayudarme a corregir el error, me ayudaria un mundo

de antenamo.... gracias

9
PostgreSQL / Dotnetnuke Y Postgres(conexion)
« en: Jueves 12 de Junio de 2008, 15:24 »
Saludos... amigos de "SoloCodigo"...

la idea de esta discusión es pedir un poco de ayuda hacerca de la coneccion de postgres con dotnetnuke... ya lo he intentado con sql server 2005... con la que biene por defecto y me funciono perfectamente estaba haciendo algunas pruebas y todo bien... hace unos dias estoy intentando conectarme con Mysql.. conosco que existen los data provider para mysql... me los he bajado para probarlo creo que no tendre mayor problema con este motor... pero la cuestion es que necesito conectar ahora con postgres... me he pasado muchos dias tratando de encontrar algun proveedor que funcione... he tratado de modificar el web.config la parte del connectionstring el appsettings incluso lo del data defaultprovider... pero nada...
existe una forma de conectar postgres con dotnetnuke... tengo que crear mi propias dll... existen proveedores compatibles para dotnetnuke... ayudenmen con una pista o informacion de como hacerlo

de antemano.... GRACIAS

10
PostgreSQL / Postgres Y Dotnetnuke
« en: Lunes 2 de Junio de 2008, 17:44 »
saludos amigos de solocodigo

estoy iniciando en esto... necesito conectar desde dotnetnuke a postgres... estoy haciendo una pequeña aplicacion... la base ya esta creada... pero al querer conectar con el sitio que se crea al instalar dotnetnuke... no se conecta,


si me ayudan con los parametros que debo colocar en el web.config...estaria muy agradecido

de antemano... gracias

Páginas: [1]