I am getting same version name for WSS and MOSS 2007?

310 views Asked by At

I am getting same version name for WSS and MOSS 2007?

response = urllib2.urlopen(url)
print response.info().getheader('MicrosoftSharePointTeamServices')

I am using the above python code to get the verion of the sharepoint verion using the site URL.

WSS:MicrosoftSharePointTeamServices: 12.0.0.4518 MOSS:MicrosoftSharePointTeamServices: 12.0.0.4518 SP2010:MicrosoftSharePointTeamServices: 14.0.0.4762

So i am confused now because for MOSS and WSS it return the same version id.Why its happening how to resolve it? Is there any v\way to

1

There are 1 answers

2
Jeroen Ritmeijer On BEST ANSWER

The version is exactly the same for both. MOSS is nothing more than a couple of extra modules on top of WSS.

Have a look at this post about how to differentiate between MOSS and WSS from inside SharePoint code.

Not sure if this will help you as you want to look remotely. You may want to consider adding a simple web service to your SharePoint instance. Alternatively try requesting a MOSS only web page and see if that exists.