Skip to content

*.dannyg

an extension of dannyg

Menu
  • Home
  • art
  • inspiration
  • music
  • poetry
  • Recipes
  • writings
Menu

Determine ASP.NET root page

Posted on December 3, 2009

Sometimes when an ASP.NET page loads up from the root of a directory, the page name is not revealed via HTTP headers.  If it’s a webforms application, simply scroll down the Postback…

Find column in SQL

Posted on October 1, 2009

SELECT name FROM sysobjects WHERE id IN ( SELECT id FROM syscolumns WHERE name = ‘Column Name’) Technorati Tags: sql-server,t-sql

Poison Cookies

Posted on September 18, 2009

I thought I coined the term, but it exists already http://www.testingreflections.com/node/view/3701 Technorati Tags: web-development,cookies,javascript,debugging

Finding PID for IIS Application Pool

Posted on September 9, 2009

This is pretty simple. Create a batch file, call it app-pool-pid.bat for instance. Edit it and add the following lines into the file: @echo off cscript.exe c:windowssystem32iisapp.vbs pause Technorati Tags: iis,app-pools,windows,windows-server,application-pools,pid

Warning label

Posted on September 3, 2009

Generate your own: http://www.warninglabelgenerator.com/

Combining Database IDs

Posted on August 25, 2009

There was a interesting requirement recently that came up.  It was to basically modify and existing BIT field and ALTER it to be an INT field.  Essentially it was to really push…

Enabling ASP Errors on Vista/Windows 7 (IIS7-7.5)

Posted on August 13, 2009

Pretty tricky, the title says it all cscript %systemdrive%inetpubadminiscriptsadsutil.vbs set w3svc/AspScriptErrorSentToBrowser true      (to allow error message send to client) On a x64 OS (I run Windows 7 RC x64) cscript C:Windowswinsxsamd64_microsoft-windows-iis-legacyscripts_31bf3856ad364e35_6.1.7100.0_none_4b5800ce84aa413cadsutil.vbs set…

Check-In/Out Sharepoint with Office Quickly

Posted on August 5, 2009

I feel like I should explain this really cool idea that I had.  Basically to quickly check-in and check-out documents in Sharepoint.  I’ll show you with MSword.  First thing to do is…

Run ASP.NET Development Server without Visual Studio

Posted on August 5, 2009

Ever want to run ASP.NET development server without having to fire up Visual Studio Debugger. You can create your own scripts or commands by being able to access this. %WINDOWS PATH%Microsoft.NETFrameworkv2.0.50727WebDev.WebServer.exe Here…

Search for text in SQL database procs/functions

Posted on July 23, 2009

declare @searchString varchar(100) Set @searchString = '%word_to_find%' SELECT Distinct SO.Name FROM sysobjects SO (NOLOCK) INNER JOIN syscomments SC (NOLOCK) on SO.Id = SC.ID AND SC.Text LIKE @searchString ORDER BY SO.Name Technorati Tags:…

Posts pagination

Previous 1 … 5 6 7 … 9 Next

Recent Posts

  • Reading Room
  • Inspirational Movies / TV shows
  • Remove passphrase from PEM file
  • Parallels Multihoming a CentOS Server
  • Forced Failures

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2026 *.dannyg | Design: Newspaperly WordPress Theme