Tuesday 4 December 2012

Install .NET Framework 3.5 bug on Windows Server 2012


I recently worked through a new SharePoint Server 2013 RTM Farm setup which included setting up a separate SQL Server 2012 and SharePoint Server 2013 VM, with both using Windows Server 2012 as their OS.
For both SQL Server 2012 and SharePoint 2013 I hit issues due to not having .NET Framework 3.5 installed, which isn’t installed by default on Windows Server 2012. 

You add it as a Feature, so lets try and add it how you're meant to add Features to Windows Server 2012 (spoiler - doesn't work)

So launch the Server Manager and select Dashboard.



Click "Add roles and features".


Next >


Role-based or feature-based installation then Next >


Select your Server and then Next >


Tick ".NET Framework 3.5 Features" and Next >



Can’t do it through the Add Roles and Features Wizard, note the exclamation warning sign and this message: “Do you need to specify an alternate source path? One of more installation selections are missing source files on the destination"
 .NET Framework 3.5 Fails to install via the Add Roles and Features Wizard.

This looks like a bug – instead you need to install the .NET Framework 3.5 feature via a Command Prompt (!!!) Hope they fix this in a future build.

In our case, CD Drive with the Windows Server 2012 media is G:\ ensure the Windows Server 2012 disk is in and run the following command -

dism /online /enable-feature /featurename:NetFX3 /all /Source:g:\sources\sxs /LimitAccess

Start a new command prompt with ‘run as administrator’



.NET Framework 3.5 is now installed – Yeaaaaah!
Now you can go ahead and install SQL Server 2012 or SharePoint Server 2013 :)

8 comments:

Anonymous said...

Thank you,

Worked a treat for me

Unknown said...

Perfect! thanks a lot...

Marco

Anonymous said...

Just saved me quite a bit!

Anonymous said...

you can specify a alternate source path via UI, in your last screen check the URL on the bottom

Anonymous said...

At the final screen in the add roles and features wizard, click on the link that says 'Specify an alternate source path' and enter the path to the xsx folder. In the example above it would have been G:\Sources\sxs. The feature would then install successfully.

Anonymous said...

This work for me. Thank you!

Anonymous said...

Thank you very much! I was wondering what I was doing wrong and couldn't get .NET FW 3.5 installed no matter what I did. This worked perfectly and I'm up and running!

Anonymous said...

Didnt work for me , below link worked.
http://sharelockpoint.wordpress.com/2013/09/09/sharepoint-2013-pre-requisites-install-fail-error-the-tool-was-unable-to-install-application-server-role-web-server-iis-role/#comment-78

Newer Post Older Post Home
 

4617作文网周易免费预测2018股市那个月好解梦大门华易起名网站周易对中国文化的影响准的算命网软件开发公司起名字周易八卦起名馆的朱姓男孩男孩起名猪年周公解梦梦见丧事场面八字算命测算免费周公解梦手表表盘碎了算死命免费读全文章车灯改装店起名女人被蛇咬 周公解梦养生会所起名大全周易有限公司起名网温姓起名称八字排盘国际周易周公解梦梦见小猪男人梦到大蛇周公解梦最新起名女孩子名字大全周易女孩取名字网络游戏起名排行八字算命依据女孩起四个字的名字属猴怎么起名字男宝宝20年起名手机起名字有哪些神也佑我起个名字缺火木起名字淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻让美丽中国“从细节出发”清明节放假3天调休1天男子给前妻转账 现任妻子起诉要回网友建议重庆地铁不准乘客携带菜筐月嫂回应掌掴婴儿是在赶虫子重庆警方辟谣“男子杀人焚尸”国产伟哥去年销售近13亿新的一天从800个哈欠开始男孩疑遭霸凌 家长讨说法被踢出群高中生被打伤下体休学 邯郸通报男子持台球杆殴打2名女店员被抓19岁小伙救下5人后溺亡 多方发声单亲妈妈陷入热恋 14岁儿子报警两大学生合买彩票中奖一人不认账德国打算提及普京时仅用姓名山西省委原副书记商黎光被逮捕武汉大学樱花即将进入盛花期今日春分张家界的山上“长”满了韩国人?特朗普谈“凯特王妃P图照”王树国3次鞠躬告别西交大师生白宫:哈马斯三号人物被杀代拍被何赛飞拿着魔杖追着打315晚会后胖东来又人满为患了房客欠租失踪 房东直发愁倪萍分享减重40斤方法“重生之我在北大当嫡校长”槽头肉企业被曝光前生意红火手机成瘾是影响睡眠质量重要因素考生莫言也上北大硕士复试名单了妈妈回应孩子在校撞护栏坠楼网友洛杉矶偶遇贾玲呼北高速交通事故已致14人死亡西双版纳热带植物园回应蜉蝣大爆发男孩8年未见母亲被告知被遗忘张立群任西安交通大学校长恒大被罚41.75亿到底怎么缴沈阳一轿车冲入人行道致3死2伤奥运男篮美国塞尔维亚同组周杰伦一审败诉网易国标起草人:淀粉肠是低配版火腿肠外国人感慨凌晨的中国很安全男子被流浪猫绊倒 投喂者赔24万杨倩无缘巴黎奥运男子被猫抓伤后确诊“猫抓病”春分“立蛋”成功率更高?记者:伊万改变了国足氛围奥巴马现身唐宁街 黑色着装引猜测

4617作文网 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化