El TecnoBaúl de Kiquenet

Kiquenet boring stories

Archive for 31 mayo 2010

Spotify: Desmontando el mito

Posted by kiquenet en 31 mayo 2010

Spotify es lo peor: desmontando el mito

“Spotify ha acabado con las descargas de música por P2P”

No sirve para descubrir música

Como reproductor de audio, mi radiocassette tenía más opciones

Sabes mis gustos, ¿por qué no lo aprovechas?

El problema de las carencias del catálogo

Las listas son de Spotify y de nadie más

¿Spotify social? Vaya timo



Posted in Multimedia | Etiquetado: , | Leave a Comment »

About:Tabs en IE

Posted by kiquenet en 27 mayo 2010

When opening a new tab,my "About:Tabs" page has been hijacked


Modifying REGISTRY settings incorrectly can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the configuring of REGISTRY settings can be solved. Modifications of these settings are at your own risk.

1. Click Start

2. In ‘Start Search’ type regedit, press Enter (provide administrative credentials if prompted)

3. Navigate to the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AboutURLs

4. Right-click Tabs, then click Modify…

5. Change the “Value data:” to:


6. Click OK

Now go back into Internet Explorer and make sure that under Tabs settings and under the category “When a new tab is opened, open:” you have it set for “The new tab page”.


Referencia: IE FAQ

Posted in IE | Etiquetado: | Leave a Comment »

Directorio activo

Posted by kiquenet en 21 mayo 2010

Setting “Password never expires” for Active Directory Users with Powershell

You have to set “Password never expires” for some active directory users like IIS or SCVMM users. To do this with Powershell, we’ll simply use “userAccountControl” property with Powershell.

$User = [ADSI] "LDAP://CN=$Username,$CustomerOU,$FQDN"
$User.Put("userAccountControl", "65536")

65536 means “Password never expires”. Be careful with LDAP name.

Posted in Uncategorized | Leave a Comment »


Posted by kiquenet en 7 mayo 2010

Command line builds:

devenv solutionfile.sln /build [ solutionconfig ] [ /project projectnameorfile [

/projectconfig name ] ]

Available command line switches:

/Build Builds the solution or project with the specified solution

configuration. For example "Debug". If multiple platforms

are possible, the configuration name must be enclosed in quotes

and contain platform name. For example: "Debug|Win32".

/Clean Deletes build outputs.

/Command Starts the IDE and executes the command.

/Deploy Builds and then deploys the specified build configuration.

/Edit Opens the specified files in a running instance of this

application. If there are no running instances, it will

start a new instance with a simplified window layout.

/LCID Sets the default language in the IDE for the UI.

/Log Logs IDE activity to the specified file for troubleshooting.

/NoVSIP Disables the VSIP developer’s license key for VSIP testing.

/Out Appends the build log to a specified file.

/Project Specifies the project to build, clean, or deploy.

Must be used with /Build, /Rebuild, /Clean, or /Deploy.

/ProjectConfig Overrides the project configuration specified in the solution

configuration. For example "Debug". If multiple platforms are

possible, the configuration name must be enclosed in quotes

and contain platform name. For example: "Debug|Win32".

Must be used with /Project.

/Rebuild Cleans and then builds the solution or project with the

specified configuration.

/ResetAddin Removes commands and command UI associated with the specified Ad


/ResetSettings Restores the IDE’s default settings, optionally resets to

the specified VSSettings file.

/ResetSkipPkgs Clears all SkipLoading tags added to VSPackages.

/Run Compiles and runs the specified solution.

/RunExit Compiles and runs the specified solution then closes the IDE.

/SafeMode Launches the IDE in safe mode loading minimal windows.

/Upgrade Upgrades the project or the solution and all projects in it.

A backup of these files will be created as appropriate. Please

see Help on ‘Visual Studio Conversion Wizard’ for more

information on the backup process.

Product-specific switches:

/debugexe Open the specified executable to be debugged. The

remainder of the command line is passed to this

executable as its arguments.

/useenv Use PATH, INCLUDE, LIBPATH, and LIB environment variables

instead of IDE paths for VC++ builds.

To attach the debugger from the command line, use:

VsJITDebugger.exe -p <pid>

Posted in .NET, Comandos, VisualStudio | Etiquetado: | Leave a Comment »

Recycling Application Pools in IIS 6.0

Posted by kiquenet en 6 mayo 2010

A quick tip for those of us fond of iisreset. Restarting IIS takes quite a while. Sometimes 15-20 seconds, when my w3wp.exe processes are particularly unruly. In many cases, though, a full iisreset is unnecessary. Since IIS 6.0 expanded its process isolation model to include Application Pools, the simplest way is to simply recycle the application pool – takes only a second, and usually does the trick.

We can do this in .NET with very little effort:

using(DirectoryEntry appPool = new DirectoryEntry(string.Format("IIS://{0}/w3svc/apppools/{1}", host, poolname)))

Or, if we want to use this in automation scripts or post-build events, we can wrap this in a console application.


Posted in .NET, ASP.NET, Scripts | Etiquetado: , | Leave a Comment »

Unable to build custom action named ‘Primary output from MyProject (Release .NET)’ because it references an object that has been removed from the project.

Posted by kiquenet en 6 mayo 2010

Alguna vez con Visual Studio 2008 SP1 aparece este error trabajando con proyectos de Instalación (Setup Projects).

Unable to build custom action named ‘Primary output from MyProject (Release .NET)’ because it references an object that has been removed from the project.

En la referencia indicada se describen las posibles soluciones.

La clave es: “the project had the Primary Output listed as a custom action for all four custom action types–Install, Commit, Rollback, and Uninstall.”

”Open the property of the item which is underlined with red curvy line. Look at the file path for this item. Most likely there’s no physical file matching this path.”

”Delete and add again failing custom action items. It will help.”

Básicamente, en Custom Action Editor del proyecto Setup se eliminan los Primary Output que no tengan el SourcePath establecido, y se vuelven a agregar.


Posted in .NET, Soporte | Etiquetado: , | Leave a Comment »

Encriptar Secciones de Config

Posted by kiquenet en 5 mayo 2010

Una forma de hacerlo:

protected void EncryptConfig(bool bEncrypt) 

object path = "/EXAMPLE"; 
Configuration config1 = 

ConfigurationSection section1 = config1.GetSection("connectionStrings"); 
ConfigurationSection section2 = config1.GetSection("system.net/mailSettings/smtp"); 

if (bEncrypt) 









Posted in .NET | Etiquetado: | Leave a Comment »