Ir al contenido principal

Entradas

Mostrando entradas 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?

Exporting SP List to Excel

The question about enhancing the excel export OOTB Using SPServices and Excel to Create Printable Reports [Update 1] Export Excel to List Error: “Method ‘Post’ of object ‘IOWSPostData’ failed” in SharePoint Ref. jQuery Library for SharePoint

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: The Prerequisites  original reference from produced package visual studio 2010 Scott Gunthrie on Automating Deployment with Microsoft Web Deploy

Signing PowerShell Scripts

ebook Chapter 10: Digital Signatures for Your Scripts Can't believe but this is True with code signing: “Unknown Error” Signing Powershell Script How To: Schedule PowerShell Script for an Exchange Task Ref: ebook Master-PowerShell

WCF

How to Enable Streaming WCF Error : System.InvalidOperationException: Cannot load the X.509 certificate identity specified in the configuration. How To: Create and Install Temporary Certificates in WCF for Message Security During Development How to turn on debug exceptions with WCF How to: Host a WCF Service in a Managed Application IsSystemEndpoint How to deploy wcf (net 4) Service on iis 6 Deploying an Internet Information Services-Hosted WCF Service Getting an ASP.NET 4 application to work on IIS6 WCF Binding Comparison

Windows Service Application

Windows Service Application Simple windows Service Sample Reading a text file with LINQ Enumerable.Empty Wrapper FileSystemWatcher: detects the creation of files more reliably Log4Net configuring log4net with vs2010 and net 4 How configure log4net for a c# Windows service How to Configure Remote Connections To SQL Server 2008 R2 Express

Online IDE, compilers

These are the new wave of online dev, I wonder which microsoft will buy for SharePoint online dev? coderun closure (google) ShiftEdit compilr Ref: http://www.codeproject.com/KB/ThirdParty/what-is-an-online-IDE.aspx

Entity Framework

EF 4.1 released ADO.NET EF Code First Development with Entity Framework Walkthrough: POCO Template for the Entity Framework Explicit connection string for EF Ref: 101 LINQ Samples Connection Strings for SQL 2008 Entity Framework: The version of SQL Server in use does not support datatype ‘datetime2′

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: msdn forum thread explanation

MVC tutorials

Fundamentals Wikipedia Model-View-Controller MSDN Model-View-Controller MSDN: MVC 3 Microsoft MVC ASP.NET MVC: The Official Microsoft ASP.NET Site ASP.NET MVC Framework (Primera parte) MVC Code First Walkthrough ( Install EF 4.1 ) Working with the ASP.NET MVC 3 Razor view Engine ASP.NET MVC Application Using Entity Framework Code First Razor View Engine A first look at ASP.NET MVC 3 WebGrid MVC3 Webgrid Html Helper (sorting) ASP.NET WebGrid ( P1 , P2 ) WebGrid Class Get the Most out of WebGrid in ASP.NET MVC ASP.NET MVC 3 Razor; Version: 1.1.0 ASP.NET Web Pages with Razor Syntax Entity Framework Creating an Entity Framework Data Model for an ASP.NET MVC Application Agile Entity Framework 4 Repository: Part 1- Model and POCO Classes (6 parts) Internationalization ASP.NET MVC 3 Internationalization Routing Related Patterns Introduction to Domain Driven Design UML class diagram with Repository and Service class question Using Repository and U

fixing office 2010 icons gone

this post resolved my issue. quick how to

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.

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 .

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.

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

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: All about VDIs (VirtualBox forum's) Cloning/Copying VMs How to copy and transfer or backup a Virtualbox Virtual Machine .vdi Cloning and Copying VirtualBox virtual machines