Thursday, April 13, 2006

Chris Sherman at Search Engine Watch has an overview:

http://searchenginewatch.com/searchday/article.php/3598681

Thursday, April 13, 2006 6:43:36 PM (Eastern Standard Time, UTC-05:00)
 Wednesday, April 12, 2006
 Monday, April 10, 2006

If you're reading this blog, you're probably the IT manager for for family and circle of friends.  The trick to being the IT manager for this group is to maximize their benefit, while minimizing your own pain.  In such a role, I needed something "simple and easy", and one thing I checked out was Jeffrey Palermo's EZWeb.

Installation was a snap--download a ZIP from GotDotNet, and extract the contents.  Create an IIS virtual directory, drop the extracted files into the virtual dir, and grant the ASPNET (or Network Service if Win2K3) user Modify permissions on the directory (documentation says Full Control, but I haven't had any problems with Modify).  Once this is done, browse to your new virtual dir.

The first thing you'll see is the welcome page below

Click the [sign in] link, and you'll get the usual login box.  Log in with the admin credentials (admin/ezweb, in case you didn't read the welcome page)

Once you've logged in, you'll see the menu has added some administrative tasks.

Your site consists of only the Home page right now.  To add a page, click on the Manage Page link in the menu.  You'll be taken to the Page Administration.

To create a new page, click the Add button in the "Children and Hyperlinks" section.  You'll be prompted to enter the title of the new page, and if the page should open in the same window (Target = Self), or a new window (Target=Blank); if you're not using frames, the other options won't matter.

Click the Update button to save the new page.  You'll stay on the Page Administration, but you'll see your new page appear in the menu.

The page title will also appear in the browser's title bar, as well as the page title and breadcrumbs in the default skin.

If you click on the menu link to your new page, you'll have management options in your menu.

Clicking on the Edit Content link will open a rich text editor, where you can enter the text to appear on the page.  You can add and format text in Design mode, or switch to HTML mode to enter HTML code.  Switch modes by using the tabs in the lower left corner.  When you're done, click Save in the lower right corner.

To add an image to your content, you'll need to upload the images to your website.  To add them one at a time, you an use the built in File Manager tool.  The File Manager is right above the Editor, and is minimized by default.

Click on the Show link to expand the File Manager.

Click the Browse button to find the file you want to upload, then click the Upload button.  If you're uploading a file (such as an Excel spreadsheet), it will be listed in the Files column.  Images, such as GIF or PNG, will be listed in the Images column.  Note that JPG files are not supported, so you'll need to use GIF or PNG files.  After the upload, you'll receive a message that your file already exists on the server--I think that's a bug right now.

To insert the image, right-click on the image's file name, and choose Copy Shortcut.  Then click the Image button in the text editor (looks like mountains--) to open the Image Editor.  Paste the image path into Image Source box, add some ALT text, set any other image parameters, and click OK.

You'll be returned to the text editor, and your image will appear in the editor window.  As before, when you're done editing, click Save.

In this application, images, files and content don't disappear.  For each page, a new folder is created in the Images, Files and FilePageConfigProvider directories.  Images and files are stored accordingly, in the proper folders.

Page content is stored in XML files in the proper folders under FilePageConfigProvider.

If the day comes where you need a new system, you can either cut and paste your content out of the XML (provided you don't have a zillion pages), or a competent developer can write a widget to read every file and upload the content into your new system.

Monday, April 10, 2006 9:53:06 PM (Eastern Standard Time, UTC-05:00)

I was asked the other day if I knew of a DNN document library with version control.  At the time, I didn't, but I've since found one from WillowTree Software.

This is a DNN 3.1.x or later version of the Wrox Document Dontrol (DNN ported) module. This was first offered by Mark Hoskins (KodHeaz), then Robert J Collins (WillowTree Software), then Tam Tran Minh (TTT Company), and lastly (and once again) Robert J Collins (WillowTree Software).
 
You can’t beat the price—it’s free!
Monday, April 10, 2006 8:13:31 PM (Eastern Standard Time, UTC-05:00)

According to an article in today's Post-Gazette:

By the time visitors stream into Pittsburgh for the July All-Star Game, Mayor Bob O'Connor and Pittsburgh Downtown Partnership CEO Michael Edwards want them to be able to fire up their laptops and connect to the Internet from anywhere in the Golden Triangle. The system may tie into another wireless network the Pirates want to deploy in PNC Park.

That would be the MLB All-Star game, coming to PNC Park this summer.

Monday, April 10, 2006 6:25:40 PM (Eastern Standard Time, UTC-05:00)
 Sunday, April 09, 2006

I've used CSE HTML Validator for quite some time.  I started with ther free version, and upgraded to the full version after using it for a while.  They've recently released a free online HTML validator, based on their Lite version engine.  Find it at http://onlinewebcheck.com/.  You can submit the URL of a page, upload a page, or paste in a snippet.  Very cool, and you can't beat the price.

Sunday, April 09, 2006 10:37:29 AM (Eastern Standard Time, UTC-05:00)

In my article on Preventing Page Review After Logout With Forms Authentication, I talked about several HTTP headers that can be used to direct browsers not to cache pages locally.  In one comment, a reader said they had used the article's code, but Firefox was still caching pages.  Another reader left a comment about using the "cache-control: no-store" header to prevent Firefox from caching pages.  If you see that Firefox is caching secured pages, try adding this header to your pages.  If possible, add it to your master page or page template.

ASP.NET, you can set this header by using the HttpCachePolicy.SetNoStore method.  Put this in your page_load at the latest.  You can also set this in your page's HEAD section  by adding the following line of code:

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

In the IIS control panel, you can set headers to be automatically added to every response.  This is discussed briefly at http://support.microsoft.com/kb/815313/, but if you're in a shared host environment, you probably don't have access to the IIS control panel.

The "Cache-Control: No Store" header can cause problems with PDF files in IE 6.  Microsoft has a KB article on this at http://support.microsoft.com/default.aspx?scid=kb;en-us;812935.  File downloads via SSL may also beimpacted if you use this header; see http://support.microsoft.com/?kbid=323308 for more details.  This second article involves a registry edit.

Also, remember that browsers need to cache image files if you're using image rollovers, so be careful where you use any of these headers.  You might mess up your menu.

Sunday, April 09, 2006 10:17:29 AM (Eastern Standard Time, UTC-05:00)
 Wednesday, April 05, 2006
Holy cow, nice ballpark. Pirates vs. Brewers, 1-0, bottom of the 2nd. 18 rows behind Pirates' dugout. Sweet!
Wednesday, April 05, 2006 7:46:20 PM (Eastern Standard Time, UTC-05:00)
 Tuesday, April 04, 2006

Pittsburgh MSDN Event, May 25 1pm-5pm at Carmike 10 Theater on Fort Couch Rd.

With the productivity enhancements in Visual Studio 2005 and the .NET Framework 2.0, you'll spend less time coding and more time focusing on actually getting the job done. First, learn how to build customizable web user interfaces in no time flat with the ASP.NET 2.0 Web Parts framework. Next, see how the many new language features of Visual Basic® 2005 and C# 2005 can simplify your coding. Finally, stand on the shoulders of giants by incorporating Application Blocks from the Enterprise Library for .NET Framework 2.0 into your application. Your project will be finished and you'll be on to your Xbox 360™ before you know it! These don't-miss events are always free, local and live.

  • Creating Customizable User Interfaces with Web Parts and ASP.NET 2.0
    Learn how you can easily add a dynamic, modular, customizable portal interface to your own ASP.NET 2.0 Web site using the new Web Parts framework.
  • Language Enhancements in the .NET Framework 2.0
    This session highlights key language enhancements for both C# and Visual Basic, explores the usage of partial classes to manage source code, and looks at the new My namespace in Visual Basic.
  • Exploring the Enterprise Library for the .NET Framework 2.0
    In this session, we'll examine the design and usage of several application blocks that will streamline and simplify your coding, and how their architecture embodies Microsoft's best practices and recommendations for .NET-based applications.

Full info and registration at http://www.msdnevents.com/?dist=MAtGP.

Tuesday, April 04, 2006 4:00:54 PM (Eastern Standard Time, UTC-05:00)

via Betanews:

Microsoft is preparing to beta test a new software client for Windows Mobile 5.0, which will replace the Pocket MSN application with Windows Live based services formatted for smartphones. Pocket MSN features currently include one-click access to Hotmail and Messenger, along with viewing alerts.

With Windows Live services set to succeed their MSN counterparts throughout the year, Microsoft will update the mobile client as well. The company is seeking beta testers to trial the new software, which requires a Windows Mobile 5.0 device such as a Treo 700w. The test, only available in the United States, is open to join through Microsoft's Connect beta site -- users can find an application survey under the "Available Programs" link.

Part of the program requirement is a compatible cell phone (such as a Treo 700w) and a good data plan.  Click through to the connect site, sign in with your Passport, and fill out the survey.  The program is near the bottom of the list.

Tuesday, April 04, 2006 1:30:19 PM (Eastern Standard Time, UTC-05:00)

This used to cost bucks, but it's now free.  Why?

As Microsoft releases its Windows hypervisor technology in the Windows Server "Longhorn" wave, customers will be receiving the benefits of virtualization as part of the Windows Server operating system. Today’s price change makes it easier for customers to access and experience the benefits of virtualization technology.

Umm....yeah.  Basically, the next server versions have better stuff included, so might as well give away the current technology.  I think.

Anyhow, go get yours: http://www.microsoft.com/windowsserversystem/virtualserver/default.mspx.  RAM is your friend (seriously--get as much as you can).

This is the version which supports Linux.  Maybe.  See image below (original document at http://www.microsoft.com/windowsserversystem/virtualserver/evaluation/linuxguestsupport/default.mspx).

Virtual Server 200? Linux support

Tuesday, April 04, 2006 1:27:06 PM (Eastern Standard Time, UTC-05:00)

I received an e-mail in regards to my article Exporting to Excel in Crystal Reports .NET - Perfect Excel Exports:

I have crystal reports that are displayed in PDF or Excel format from an ASP.NET application. The reports are displaying, my only problem is in Excel, I keep getting fixed width columns when exporting the report. On my localhost it works (variable width columns, very esy to use), I move my product to the Windows 2003 server, and the export becomes fixed width (same size columns, very difficult to modify).

We are using Crystal Reports 9, VS.NET 2003, Windows 2003 Server, Windows XP (local box for developemnt).

My first thought was that this was a DLL problem, perhaps an outdated or incorrect one on the server.  As it turned out, the problem was with some registry entries not being created when the Crystal Reports was installed:

What happened is in the server, the registry entries for export from crystal reports did not exist. I copied the register entries for Crystal Reports - Export from my machine into the server registry and it fixed my problem (I don’t know if I would recommend that for novices, due to the problems that can occur from changing the registry). In short the server didn’t know what to do with the constant width column statement until I gave it a reference.

I don't advocate poking around in the registry of a production server, especially if you're not an experienced regsitry person.  Instead, I think an administrator uninstalling and reinstalling the Crystal Reports might have solved the problem.  Try that first, before poking around in the registry.

Tuesday, April 04, 2006 11:05:48 AM (Eastern Standard Time, UTC-05:00)
 Monday, April 03, 2006

If you're an avid blogger, prolific article author, guru of some forum, etc., then check out Community Credit at http://www.community-credit.com.  You can earn points for each answer, article and activity; at the end of the month, those with the most points win swag.  This month's grand prize is the very cool Projector Keyboard:

Monday, April 03, 2006 9:44:54 AM (Eastern Standard Time, UTC-05:00)