martes, 15 de noviembre de 2011

installing VirtualBox guest additions to Bodhi 1.2.1

Out of the box Bodhi 1.2 has no support to install virtualbox additions. I did the next steps to be able to install:
open a terminal (LXTerminal) and type
$sudo aptitude update
$sudo aptitude safe-upgrade
$sudo aptitude install build-essential dkms linux-headers-$(uname -r)
$cd /media/VBOXADDITIONS_4.1.6_74713
$sudo ./VBoxLinuxAdditions.run

then reboot


ref: Full screen resolution for Bodhi 1.2.1 in VirtualBox possible?

jueves, 22 de septiembre de 2011

viernes, 16 de septiembre de 2011

SQL 2008 R2 Firewall Ports

Information about firewall ports for SQL 2008 R2

Configuring the Windows Firewall to Allow SQL Server Access

hardcore uninstall SQL2008R2

It's a pain but this one reference works for me:

http://sqlblog.com/blogs/aaron_bertrand/archive/2010/10/25/fun-with-software-uninstalling-sql-server-2008-r2-evaluation-edition.aspx

I continue to troubleshoot uninstall SQL 2008 R2 Express; basically all blogs point to the same low level stuff
msiexec /x "{guid}"

with this post you could get the guid with powershell instead of navigating with regedit.

IIS / WebDeploy

I want to take advantage of web deployment packages generated from visual studio 2010 for MVC projects, so I started to search information about web deploy technology that visual studio produces
here the references:



miércoles, 18 de mayo de 2011

meta:progid

The meta:progid attribute on the Page directive is necessary if the page will ever be opened in SharePoint Designer. You should include this as site pages are supposed to support customization and thus, be opened in SharePoint Designer. If you don't want to allow pages to be opened and customized in SharePoint Designer, then you should do that through permissions, not at the page level.

Using ASP.NET 2.0 Code Behind Files in SharePoint v3 Sites

SPFile.ProgID gets a string that identifies the application in which the file was created.

That's all the meta:progid is about. It's a identifier for SharePoint and you probably should not use other attributes, they might cause run-time error.


Ref:

UML videos

viernes, 13 de mayo de 2011

MVC tutorials

Fundamentals
Microsoft MVC
Razor View Engine
Entity Framework
Internationalization
Related Patterns
Logging
Tools/Products
Other Compilations


Webcast

lunes, 28 de marzo de 2011

VisualStudio 2010 *.sql files not opening

from here

1. Load up your ISO or DVD VS2010 Installer in an explorer window
2. Go to the WCU foldler
3. Go to the DAC folder
4. Install MSI's

i. DACFramework_enu.msi
ii. DACProjectSystemSetup_enu.msi
iii. TSqlLanguageService_enu.msi

In case not working at all check uninstall Visual Studio 2010

viernes, 25 de marzo de 2011

Start and Stopping services PowerShell

open PowerShell console with admin privileges (right click->run as administrator)

display services regexp *sql*:

PS$>Get-Service -displayname *sql*

Stop/Start microsoft sql server instance:

PS$>Stop-Service -name MSSQLSERVER

PS$>Start-Service -name MSSQLSERVER


Ref: Five basic PowerShell commands Windows admins should know

miércoles, 23 de marzo de 2011

Firefox 4.0..

Yeeehaa FireFox is back,.... 4.0 feels and looks pretty faster and cute... now hope to de-chromize my cookies :D

Get Yours now!!

martes, 15 de marzo de 2011

IE9 buena presentacion, mal desempeño

IE9 funciona lento en mi win7 profesional con tarjeta de gráficos intel, tiene una interfaz mejorada pero sigue siendo mucho mas lento que chrome 10, al menos eso es lo que me parece hoy trabaje todo el día con él.

Además no se porque o como el default del zoom es 125 y no encontré como regresar a 100%, espero en lo próximos días cambiarlo.

espero que Firefox 4 en Windows se tan bueno como como chrome para poder volver a navegar en él, ya que prácticamente no lo uso más.

WSPBuilder adding link assemblies


for adding link assemblies in a wspbuilder sharepoint 2007 project/solution feature right click folder (e.g. bin) and select add existing item the follow the right down arrow

jueves, 10 de marzo de 2011

Dealing with MOSS Session State

In the code for an SharePoint application page i'm getting NULL for HttpContext.Current.Session;
so I'm looking for information related to why this is happening.
Until now only found these blogs with information related to state and SharePoint:

Enabling Session State in SharePoint 2007 I first thought this was my problem but from this book (chapter 7: Database Security for SQL Session State), found that the session state tables live in my SharePoint services provider database (default created: SharedServices1_DB) and also found this blog(it fixes other issue with session state) about how to extract the sql script from command aspnet_regsql.exe

aspnet_regsql -sstype c –d [YOUR SSP DB NAME] -sqlexportonly fix.sql –ssadd

in my case

aspnet_regsql -S vpc03 -sstype c –d SharedServices1_DB -sqlexportonly fix.sql –ssadd

Note: i added the -S paramenter to specify my server name "vpc03".

Unfortunately I'm still stuck with Session NULL :(

Here was posted how to enable the session state in web.config of SharePoint application; only need to review this tag:

page enableSessionState="true"

Recycling Pool

I need to recycle application pool every time for SharePoint 2007 application page debug, so i searched for PowerShell script out there and ended with this option:

PS > (Get-WmiObject -class "iisapplicationpool" -namespace "root\microsoftiisv2"
-filter "Name='W3SVC/AppPools/DefaultAppPool'").Recycle()

here DefaultAppPool is the name of your application pool under the tree of IIS admin, so you must change on demand

this works fine for IIS6 on windows server 2003 R2 64bits, and power shell 1.0
It should work for power shell 2.0 and Win2008R2


martes, 1 de marzo de 2011

Windows 7 short cut keys

http://msdn.microsoft.com/en-us/library/bb545461.aspx

Most useful:

Windows key shortcuts:
  • Windows logo key+E Open Windows Explorer navigated to Computer.
Windows Explorer shortcuts
  • F3 or Ctrl+F Search for a file or folder.

jueves, 24 de febrero de 2011

Installing SP1 Win2008R2

To get Windows 2008 R2 SP1 listed as an option in windows update for my laptop toshiba satellite A505, I had to manually update the video driver.
I followed instructions about conflicts with Intel video drive from kb2498452,
then I went to Intel for new driver and found Win7Vista_64_152110.exe;

Hope this fix the issue with hyper-v and BSOD with Intel drivers.

miércoles, 23 de febrero de 2011

Collation SQL 2008

Troubleshooting with COLLATE in comparison between fields, found this information about Collation Settings in Setup.
Also this forum thread provides a lot information about:
Server Collation SQL_Latin1_General_CP1_CI_AS versus Latin1_General_CI_AS.

jueves, 17 de febrero de 2011

merging VirtualBox Snapshots

from http://forums.virtualbox.org/viewtopic.php?t=229

Re: Possible to merge snapshot with base VDI?

Postby AntiMatter » 13. Mar 2009, 17:44

) with the current State (so that I only have 1 large vdi-file instead of 2, and that the 'current state' is also the only state)
Right click on current state (changed)
Select 'Discard current snapshot and state'?

And after this I have no more snapshots AND I haven't lost any data?
DON'T do that. You WILL lose you latest change made after the snapshot. This was what I've done, whcih was the reason I went after documentation for clarification about this snapshot mess. What you should do to merge the snapshot into the VDI is:

- Right click on the snapshot (Snap1 in your case)
- Select Discard Snapshot (Ctrl+Shift+D)

That's it

lunes, 10 de enero de 2011

VDI VirtualBox

I've been trying to enlarge virtual disk drives from my initials virtual machines created a few months ago; but found that they were created as fixed sized so i really freaked it up trying to enlarge.
I'm searching for best practices to manage VDI and so for creating VM in VirtualBox.
some urls:

Cloning/Copying VMs

Datos personales