The SharePoint STSADM.exe tool and ASPNet_regiis.exe

Learn the syntax – command operations, parameters and shortcuts, and properties of the SharePoint STSADM.exe tool

WSS 3.0

WSS 2.0

The last post on ASP.Net was actually not using the aspnet_regiis.exe tool at all and what really happened was that the SharePoint Sites web.config file was reconfigured to undue some of the security constrictions of .NET 2.0 that weren’t compatible with SharePoint.  This is why the STSADM.exe tool was used.

Aspnet_regiis.exe is a very helpful tool in its own right and you can learn more about it starting here:

a common inventory query done using v2.0.50727 would be:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -lk

aspnet_regiis.exe demo

In the above mapping query WSUS 3.0 is shown with its v2.0.50727.0 applications while the default SBS 2003 sites remain at .NET 1.1.4322.2407.

…and yes the .NET framework is designed so that multiple web applications can run side-by-side with different versions as needed.  In other words, it isn’t a requirement to have all sites with the same version of ASP.Net.  It is only required that the version fits with the application associated with the site.  The above aspnet_regiis.exe tool will help inventory, reinstall, remap, and uninstall as needed.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s