Posts

Error while trying to run project: unable to start debugging on the web server

Q: When I tried to debug my ASP.Net project (VS 2003), I received the error " Error while trying to run project: unable to start debugging on the web server. " How do I correct this? A: Depending on the remainder of the error message, there are different methods of resolving this error. For more detailed information on fixing this issue, go to http://support.microsoft.com/kb/306172 .

What is the difference between classes and modules?

Q: What is the difference between classes and modules? A: Visual Studio.Net stores code in either classes or modules. Classes are used for items that define their own storage and have persistent data. In addition classes must be instantiated before they're used, unless the keywords "Static" (C#) or "Shared" (VB.Net) are used. Modules, on the other hand, can be viewed as simple code libraries where the methods can be called directly.

Site Context Search Box in SPS

Microsoft has recently made available sample code for creating a site search box in SPS (SharePoint Portal Server). Use the search box sample to customize the Windows SharePoint Services site-level Search box to return Microsoft SharePoint Portal Server Search (SharePointPSSearch) results. This download contains sample Microsoft Visual C# code for creating the custom search box and a deployment package (CAB file) for installing the sample. You can modify this sample code to fit your needs. To download the sample code, visit http://www.microsoft.com/downloads/details.aspx?familyid=DE65EB72-3BB3-4D32-98C2-F2C94458C957&displaylang=en

Bug Found in McAfee's Update Program

The McAfee update (DAT 4715) released on Friday was designed to protect computers against the W95/CTX virus. But because of a programming error, the update also incorrectly identified renamed and quarantined hundreds of legitimate executables including popular ones such as excel.exe, lsetup.exe, uninstall.exe, shutdown.exe and reg.exe. For companies that had configured their McAfee antivirus program to automatically delete bad files, the error resulted in the loss of hundreds, and in some cases even thousands, of files on systems in which the update had been installed, said Johannes Ullrich, chief technology officer at the SANS Internet Storm Center (ISC) in Bethesda, Md. The full article can be found at http://www.computerworld.com/securitytopics/security/story/0,10801,109525,00.html?source=NLT_AM&nid=109525

MDAC Component Checker

As a follow-up to yesterday's post, I found a Microsoft utility used to check the MDAC components and provide detailed information on all the related files. The utility can be downloaded from Microsoft.com at http://www.microsoft.com/downloads/details.aspx?FamilyID=8f0a8df6-4a21-4b43-bf53-14332ef092c9&displaylang=en&Hash=S9VTW5B

MDAC Version

Q: How do I find out what version of MDAC I have on my machine? A: MDAC is short for Microsoft Data Access Components. The MDAC version information is stored in the registry in KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\Version . To download the latest version of MDAC (currently 2.8), go to http://www.microsoft.com/downloads/details.aspx?DisplayLang=en&FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c .

Detecting Network Sniffers

I came across a cool utility on the MSDN web site. PromqryUI (short for Promiscuous Query User Interface) is a GUI tool that detects network interfaces running in promiscuous mode (i.e. network sniffers). To download this free utility, go to http://www.microsoft.com/downloads/details.aspx?FamilyID=1a10d27a-4aa5-4e96-9645-aa121053e083&DisplayLang=en