Posteado por: edeortuzar | 24/05/2017

How can I find a component that has a specific id?


I maked this sql to find in the database where the field is uniqueidentifier and contain id:

select 'select '''+ table_name +''' from ' + a.table_name + ' where '+ column_name +' = ''b422f0ec-372c-e711-80dd-005056bd5340'';' from (
SELECT t.name AS table_name,
c.name AS column_name,
ty.name
FROM sys.tables AS t
INNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_ID
INNER JOIN sys.types ty ON c.user_type_id = ty.user_type_id
where c.name like '%id%' and ty.name = 'uniqueidentifier'
) as a

Hope this can help you

Posteado por: edeortuzar | 28/04/2017

DllRegisterServer – Error code: 0x80004005


If you have this error with Vista or 7, the solution is “Run as administrator” the following shortcut:

Home – Accessories – Command Prompt

To do this you have to go to Command Prompt and right-click and select the Run as admin option that has a shield.

That way, we can run regsvr32 without problems.

On a Windows 64bit, 32-bit modules must reside and register from c:\windows\syswow64

So you have to open a command console as an administrator, go to c:\windows\syswow64, copy the module there, and from that path run regsv32.

To clarify a bit the regsvr32 of \windows\system32 is the 64-bit, and the regsvr32 of \windows\syswow64 which is the 32-bit, confuse the directories but it is.

NOTE: On 64-bit systems, each time a 32-bit job is launched, the \windows\syswow64 folder is remapped internally as \windows\system32 and the actual system32 is not accessible.

They have more information about this mechanism, called “File System Redirector” at http://msdn2.microsoft.com/en-us/library/aa384187.aspx

If you have a DLL made from .NET to register it, as indicated in a comment Daniel Donoso , you should, for example for Framework 4.0 do:

C:\Windows\Microsoft.NET\Framework64\v4.0\regAsm.exe\my.dll

Regards


If you have this problem, you can solution adding the next code:

$scope.$on('$ionicView.enter', function(e) {
    $ionicNavBarDelegate.showBar(true);
  });

You must add $ionicNavBarDelegate on the controller.

Regards.


If you have this error, it is due to the new version of cordova-android@6.2.0 as you can see here:

Https://issues.apache.org/jira/browse/CB-12633

If you are with Ionic, the solution is:

Ionic platform rm android
Ionic platform add android@6.1.2

Keep in mind that when doing the remove platform that delete the files like the keystore and necessary files to upload the app to the store if they do not have it automated.

Regards


Hi, I leave a link to a video that explains step by step and has the download links that work to install PlayStore in Genymotion.

https://www.youtube.com/watch?v=dHO94GyaV2k&feature=youtu.be

I hope it serves them.

Regards.


Gente, les dejo un link a un video que explica paso a paso y tiene los links de descarga que funcionan para instalar PlayStore en Genymotion.

https://www.youtube.com/watch?v=dHO94GyaV2k&feature=youtu.be

Espero que les sirva.

Saludos.


Si tiene este error, se debe a la nueva versión de cordova-android@6.2.0 como se puede ver acá:

https://issues.apache.org/jira/browse/CB-12633

Si está con Ionic, la solución es:

ionic platform rm android
ionic platform add android@6.1.2

tengan en cuenta que al hacer el remove de la plataforma se borran los archivos que hayan puesto del keystore y lo necesario para subir la app al store si es que no lo tienen automatizado.

Saludos.


Si tienen el siguiente error:

Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK

A mi me paso cuando actualice el Android Studio.

Para solucionarlo tuve que descargar tools_r25.2.5-macosx.zip (en mi caso para Mac) de:

http://mirrors.neusoft.edu.cn/android/repository/

Una vez descargado y descomprimido el contenido se tiene que pegar en la carpeta donde este la SDK de Android (por default):

MAC: /Users/username/Library/Android/sdk/tools
Win: C:\Users\username\AppData\Local\Android\sdk\tools

Si estan con Ionic – Cordova, tienen que quitar y agregar la plataforma Android:

Cordova
cordova platforms remove android
cordova platforms add android

Ionic
ionic platforms remove android
ionic platforms add android


Si tienen este error cuando están queriendo leer un json desde un proyecto C# de forma local, lo que deben hacer es agregar en el web.config el siguiente tag:

<system.webServer>
   <staticContent>
      <mimeMap fileExtension=".json" mimeType="application/json" />
   </staticContent>
</system.webServer>

Con esto se soluciona. Lo que hace es agregar al IIS Express decirle que es una archivo .json.

Espero que les sirva.

Saludos.

Posteado por: edeortuzar | 24/02/2017

Llamar a un web services C# desde JAVA


Si tienen que llamar a un servicio de C# desde JAVA que retorna una propiedad que es una lista de otro objeto, prueben con hacer lo siguiente:

ArrayOfProductInfo ap = respuestaServicio.getDatos(); // this is web service's class's list
List<ProductInfo> lp = ap.getProductInfo(); // here we obtain a generic list reference from the above

Espero que les sirva.

Saludos.

Older Posts »

Categorías

A %d blogueros les gusta esto: