Ir al contenido principal

Entradas

Mostrando entradas de marzo, 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

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

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 Reference: Better support for multiple assembles in WSPBuilder project

Telerik ASP.NET Ajax

The documentation for RadGrid is here . Also the book Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and Silverlight Projects (Pro Series) seems to be a good source of information

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

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

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.