Sunday, December 12, 2010

Missing system32/drivers/pci.sys

Do you have a Windows XP install CD? If you, you can boot the Recovery Console from it by entering R at the first opportunity. Once you get to the command prompt, enter

chkdsk c: /r

Do not disturb, let it run to completion. This can take a while depending on how large the hard drive is. Reboot and see if that resolved the problem.

If not, boot the Recovery Console again and enter

expand d:\i386\pci.sy_ C:\WINDOWS\system32\drivers\pci.sys

d: would be your CD/DVD drive letter
C: would be your boot drive

Info on the expand command here: http://pcsupport.about.com/od/termse/p/expand.htm

If that doesn't resolve it, you can use Puppy Linux, a Linux Live (bootable) CD to save your data then do a reinstall of XP. See this post by Happyrck on GeeksToGo for some very explicit directions on using Puppy Linux. http://www.geekstogo.com/forum/topic/192486-help-with-windows-xp-wont-start/page__p__1197721#entry1197721

Thursday, May 06, 2010

SVN For Windows

http://www.visualsvn.com/server/

VisualSVN Server allows you to easily install and manage a fully-functional Subversion server on the Windows platform. Thanks to its robustness, unbeatable usability and unique enterprise-grade features, VisualSVN Server is affordable both for small business and corporate users.

VisualSVN Server is based on open standards and offers rock-solid stability, security and performance. Its key features are:

* Works out-of-the-box
* Powerful management console
* Integrated Windows Authentication
* Remote Server Administration
* Access and Operational Logging

http://www.findMySiteNow.com

aspx MasterPage.Master Meta Notes

The master page can’t set the title for each content page in an application. Only the content pages know what thier title will be. Fortunately, ASP.NET provides a public property on the Page class, and we can set a content page’s title declaratively in the @ Page directive.

example:
< % @ Page Language="VB" MasterPageFile="~/Master1.master"
AutoEventWireup="true" Title="Home"
% >

A Page Directive Approach

Another approach is possible which provides the same flexibility and convenience of the Title attribute. For example, what if we wanted to set the meta keywords of a page in the @ Page directive?

<%@ Page Language="VB" MasterPageFile="~/Master1.master"
AutoEventWireup="true" Title="Home" Inherits="BasePage"
MetaKeywords="masterpage ASP.NET"
%>

To use the MetaKeywords attribute in every page of an application, we just need to inherit from a common base class that exposes a MetaKeywords property. The base class can also inject the meta tag into the page header.

using System;
using System.Web.UI;
using System.Web.UI.HtmlControls;

public class BasePage : Page
{
public BasePage()
{
Init += new EventHandler(BasePage_Init);
}

void BasePage_Init(object sender, EventArgs e)
{
if (!String.IsNullOrEmpty(MetaKeywords))
{
HtmlMeta metaTag = new HtmlMeta();
metaTag.Name = "Content";
metaTag.Content = MetaKeywords;
Header.Controls.Add(metaTag);
}
}

private string _metaKeywords;
public string MetaKeywords
{
get { return _metaKeywords; }
set { _metaKeywords = value; }
}
}

Wednesday, January 06, 2010

What if you forget the ColdFusion Admin Password?

Imagine suppose you have forgotten the admin password and cannot log in to ColdFusion Administrator. Here is a solution for this, follow the below steps.

1. Make a backup copy of CF_HOME\lib\neo-security.xml file

In case of multi-server editions, the path is:
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\neo-security.xml
2. Open the neo-security.xml file in a text editor and change 'true' to 'false' for the admin.security.enabled variable tag. For example, search the file for "admin.security.enabled" and change the entry as follows:


3. Restart the ColdFusion application server.

You should now be able to bypass the login to the ColdFusion administrator. You can reset the password by choosing Security > Administrator.

Wiredwizrd

Morgan Todd Lewistown, PA

Experienced Information Technology Manager with a strong knowledge of technical guidance, IT best practices, security protocols, team leadership, and analyzing business requirements.
Google