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

白昼怎懂夜的黑 提交于 2019-12-24 10:00:13

问题


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:


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.



来源:https://stackoverflow.com/questions/5002569/i-am-getting-same-version-name-for-wss-and-moss-2007

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!