Geeks With Blogs

The Wrecking Bawl Destructuring query language, one keyword at a time. April 2009 Entries
sharepoint 2007 (moss) system account
I spent the past day trying to figure out why I couldn't log in as myself, Sharepoint would always just say I was logged in as System Account. After a ton of research and changing things I ran into this: To fix this, you must run the following commands: stsadm -o updatefarmcredentials -identitytype NetworkService followed by: iisreset http://social.technet.micro... That solved my problem. I'm using NTLM authentication and ......

Posted On Wednesday, April 15, 2009 7:40 AM

powershell cut and paste
Here's a Powershell script I whipped up to copy all bak files from C:\TEMP to Y:\DEST. It checks to make sure the file is present at the destination before it deletes it from the source. I placed it in a ps1 (the extension for Powershell files) file and scheduled a task to execute a batch file that executes the ps1 file. The reason I had to check for null is that Powershell is kinda dumb and if the source folder is empty it picks it up as a child and performs the Copy-item. $oldPath = "C:\TEMP" $newPath ......

Posted On Wednesday, April 15, 2009 4:57 AM

ajax loader in user control within master page
I spent hours trying to figure out why my ASP.Net page, which uses a master page with a RadGrid surrounded by a RadAjaxPanel with an AjaxLoadingPanel, would not show the loading message. I would click on the link to the page in the site menu, then IE would sit and spin for a while until it loaded the entire page, rather than loading the page right away but showing the loading spinner until the data was returned. What I had to do was add this javascript (w/jQuery) to the user control that the grid ......

Posted On Thursday, April 9, 2009 4:58 AM

Copyright © Alex Bransky | Powered by: