Finding a whole lot of nothing provoked me to write about something specific related to this topic.

The Problem

You have Internet Information Server (IIS) running and are missing the ASP.NET tab.  In most cases, you could use “aspnet_regiis /lk” and find the unique name of the website and then use that name to issue “aspnet_regiis /sn <uniqueName>”.  Only the script maps for the specified site are updated right?  Well, not exactly because the /lk switch only lists virtual directories and you have multiple websites running on your box.  Therefore you find yourself stuck at step one and thinking:

“Why do websites not show up when I run “aspnet_regiis /lk”.  And furthermore, if they are not listed then how do I upgrade their scriptmaps to .NET 2.0?”

I actually have 15 websites running on my IIS server and only 8 results.  Not to mention, the specific website I want to upgrade is not listed!

image

The Solution

First of all, forget about all the recommendations and posts you’ve read about hacking the registry to fix the missing ASP.NET tab or reinstalling IIS.  It’s not worth it!

Instead, you can find the unique name needed for the aspnet_regiis command using IIS Administration Console.  Once you have that unique name, you can shell out to the command line and run “aspnet_regiis /sn <uniqueName>” without a problem.

Step 1: Open IIS Administration Console and right click the website you would like to upgrade.

image

Step 2: Click on “Properties” in the “Enable Logging” group.  The unique name you are looking for is located at the bottom of the Logging Properties dialog and embedded in the “Log file name”.  Remember this number, you will need it for the next step!

image

Step 3: Open the command line and navigate to the .NET 2.0 framework directory.  This is usually under “C:\Windows\Microsoft.NET\Framework\v2.0…”.  Issue the “aspnet_regiis –sn <uniqueName>” command to upgrade the desired website to .NET 2.0.  Keep in mind, the unique name from above needs a minor tweak to work.  For example:

               W3SVC1911477709  =  /W3SVC/1911477709/Root

Notice you must include the forward slashes in the appropriate places and append /Root to the end.  Then, aspnet_regiis will fully understand your request.

image

Step 4: Open your site in a browser.  If it depends on .NET 2.0, 3.0, 3.5, or 3.5 SP1 you should be in good shape.  Remember, you can’t verify the upgrade by using “aspnet_regiis /lk”.  Your website will not be listed!

Additional Tip: You can find the same information by opening the metabase.xml file and doing a search for your friendly website name.  The unique name is in a little bit different format, but you can massage it the same way we did the log file name above to get a compatible format for “aspnet_regiis /sn <uniqueName>”.

image

Conclusion

We found the unique name of a website running on our IIS server for use with the aspnet_regiis command.  Having this unique name provides us the ability to leverage aspnet_regiis and a slew of other useful commands.  We didn’t have to reinstall anything, we didn’t have to hack the registry and we accomplished our goal in this case of upgrading a specific website to .NET 2.0 or higher.

I sincerely hope this saves someone out there some time!  Good luck and happy coding.

Posted by: Jeff Watson | January 17, 2009

Did You Know?

DidYouKnow

 

“A society of problem solvers will advance far beyond that of labor workers.”

Jeff Watson, 1.16.2009

Watch the Video

 

 Background

It is Friday afternoon and I’m minding my own business when an email hits my inbox that I would normally dismiss without another thought.  Instead, I figure I’ll give it 10 seconds to get my attention.  After all, it was sent from someone I know and trust but is also known for forwarding way to much email.  I’m not pointing fingers, you all know who you are, but if you don’t forward this link to at least 10 people you will have bad luck for the rest of the year. :-)  

At any rate, it struck a nerve.  I work in technology, I consider myself a technologist, and until I watched this video I don’t think I have ever pondered the scale and speed things are moving.  If you have not watched the video above, then do so now.

The Inquiry

An old high school buddy of mine, Artagus, is teaching a class on technology at the college this semester and responded to my email about the “Did You Know” video above.

Hey Jeff,

How are ya man? I hope you all are doing great! I am teaching a class at … this semester (if you can believe that!), and thought you might be able to offer some insight for me and the class. The course is Technology and Sustainable Economic Development, basically on how technology helps to fuel economic dev. at different levels. Any thoughts or input or resources you may have would be much appreciated!

-Art

My Response

That’s great that you’re teaching.  Pretty neat!

One of the latest trends in technology is Business Process Management, or BPM.  BPM focuses on improving the quality and or velocity of business processes.  The bottom line is money.  Imagine how the assembly line transformed manufacturing during the industrial revolution.  BPM is the foundation for accomplishing the same thing but with technology.  It is less tangible which makes it more complex, but the end goal is the same.  Efficiency.  Do more with less.

This concept may seem counter intuitive when related to economic development because it seems to require less skilled resources or labor workers.  However, if looked at from a macro level, it stimulates the education of problem solvers rather than technical skills.  Think of it this way.  Would the world be a safer place with the majority of people knowing how to make better cars or drive cars better?  A society of problem solvers will advance far beyond that of labor workers.

Just my .02.  I’ll probably blog on this now that you’ve got me started.

-Jeff

And true to my threat, you are now reading my post.  Which, by the way, I’m mostly interested to hear your take on the video or the email thread.  What do you think?

Posted by: Jeff Watson | December 18, 2008

Compliance is the Answer to Going Paperless

Mind Blowing

It simply blows my mind to see how companies spend time and money wrestling with a paper process.  I’m sure anyone who reads this can relate.  Have you ever heard someone around the office say:

  • Ummm, yeah, I think that document is in file cabinet xyz.
  • Our SLA?  We drafted that last year and I have no idea where it is.
  • O, that document?  It was shipped offsite to Iron Mountain months ago.  We need it now?  Good luck!  We’ll be lucky to even find the thing.
  • We wrote it and everyone read it…  I mean, we sent it out to all the employees, but we don’t know if they actually read it or not.

The story is the same everywhere you look these days.  We are surrounded by technology, yet continue to accept the defeat a paper process has to dish out.  The question is simple.  Why?  Well, if you’re like many companies it boils down to compliance.  That’s right compliance.  Think about it.  Regardless of how many trees I can save by going paperless, if I you can’t guarantee my digitized files will meet all the regulations imposed on my business, then what value are you actually adding? 

Enter Compliance

Compliance issues are the root of all evil when it comes to document management, workflow, and training.  They simply demand more than any solution can provide, right? And I don’t even want to think about the Archive Room. You know the one tucked away at the end of some hallway or in the basement. Cold and dreary, it’s the place where paper documents go to die!  Sound familiar?  If so, then you will also be familiar with the needs of an enterprise document management system.  Items like:

Scanning
Security
Retention
Archiving
Availability
Indexing
Searchable
Workflow Automation
Accessible
Revisions
Training Verification
Electronic Signature

 

The list goes on and on.  My point is, and I’m not just saying this because I work for WayPoint, there is a better way and we help clients everyday overcome the burden of paper while improving process efficiency.  Not to mention, we are meeting every compliance regulation we’ve ever run up against and we’ve encountered some real buggers like the FDA’s 21 CFR Part 11.

Summary

If you’re planning or have even thought about going paperless, look at it as an opportunity to incorporate a variety of improvements across your organization.  Focus on the end game and how it relates to your compliance strategy.  Finally, get with the program, pass every audit, save the company a bundle, and pat yourself on the back.  Sounds satisfying doesn’t it?

Posted by: Jeff Watson | December 18, 2008

Blogging? Can I Play?

Get In The Game

Admittedly, I’ve been late to join the wave of blogging enthusiast but decided to give it a shot.  So far it seems like a nice outlet and a way to contribute back to the masses rather than being an information free loader.  What I quickly found was I needed, or at least wanted, an easier way to create snazzy blogs and then post them.  Here is my setup.  Hopefully it will save you the time it has taken me to test drive everything under the sun.

Step 1

Get a blog.  Doesn’t really matter where, but you need a place to store your posts.  Word Press is one of the most popular and it’s free.  Go out to Word Press and create an account.

Step 2

Download Windows Live Writer and connect it up to your Word Press Blog.  It makes the blogging experience so much nicer.  Here is a screen-shot.

WindowsLiveWriter

Step 3

For me, Linked-In is a valuable resource and I use the free BlogLink tool to link my blogs to my connections.  Maybe you noticed this post via my Linked-In profile!

Posted by: Jeff Watson | December 18, 2008

Team Foundation Server (TFS) Rules

vsts   “That’s right boys and girls, I’m touting a Microsoft product and have to say I’m very impressed.”

TFS + .NET = Loving It

Ok, ok, so everyone I know has some horror story about source control.  Personally, I’ve worked with and/or administered everything including but not limited to ClearCase, Source Safe, Synergy, CVS, SVN, Dynamsoft, etc.  However, until now, I haven’t experienced anything that pulls it all together as well as TFS 2008.

That’s right boys and girls, I’m touting a Microsoft product and have to say I’m very impressed.  In short, the support TFS has for developing with Microsoft technologies is excellent.  That’s not to say that TFS doesn’t fit other development environments, but for .NET and VisualStudio shops it rocks!

Apples to Oranges

You are probably thinking to yourself by now that comparing TFS to source control systems like Source Safe or CVS isn’t an apples to apples argument and to that I would have to say you’re right!  TFS boasts integration with Sharepoint and a work item tracking engine that can be used for almost any type of tasking.  Plus, with its slick integration with MS Project, Excel, and MS Reporting Services, your world quickly starts to come into focus.  I’m currently leading an initiative at WayPoint Technologies to roll out an enterprise class technology infrastructure and TFS is proving to be a solid platform investment.

O, and if your looking for a TFS hosted environment then contact WayPoint and mention this blog.  We are rolling out shared and dedicated TFS hosting!

Categories