Nov 19, 2011

Issue with Azure SDK on a SharePoint Server

Few weeks ago I and Hilton Giesenow prepared togheter a SharePoint & Azure session for the TechEd Africa and the European SharePoint conference. During the preparation we discovered an issue running the Azure Compute Emulator on a SharePoint box (Azure SDK 1.5 and 1.6). First it seemed that the user profile service screwed up after you had started the emulator for the first time, but further investigations had shown that many service applications didn’t work properly anymore. The problem was, that the emulator sets the IIS anonymous user account to the application pool’s identity. Many thanks to Wictor Wilen for telling us which IIS setting has been affected ( we owe you a pint=>summit 2011 :)

The Error

The SharePoint error after you have started the Azure Compute Emulator for the first time:  “Object reference not set to an instance of an object”
image
SharePoint trace:
Unexpected System.NullReferenceException: Object reference not set to an instance of an object.    
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()     
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()     
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)     
at Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalAvailable()     at Microsoft.Office.Server.WebControls.MyLinksRibbon.EnsureMySiteUrls()     
at Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable()  

Fix it

To fix this you have just to set the IIS anonymous user back to IUSR. But unfortunately you have to do this every time after you have run the emulator. 

Open IIS Manager (inetmgr) and do the following steps.

 image
image

image
Done.

Fix it with PowerShell

If you don’t like clicking like a monkey, you can fix it with PowerShell Smile
PS> import-module webadministration

PS> set-webconfigurationproperty /system.webServer/security/authentication/anonymousAuthentication -name userName -value "IUSR"


Hope this will save you time.

43 comments:

maymay said...

This ELEMENTARA kitchen's will probably stimulate someone to build your individual dinners and grow self-sufficient that has a backyard or maybe rolex replica watches free to be a typical extension on the bedroom. Meal will likely be maintained brilliant as a result of abnormally cold larders in addition to sell attributes will likely be simply built-into the kitchen. In excess of sixty-six percent connected with GREAT BRITAIN shoppers (67%) seek to invest in fake cartier watches useful apparatus revealing of which 'green awareness' is usually escalating. IKEA witout a doubt possesses objects such as RINGSKAR faucets that has a movement managing perform to counteract mineral water expend along with the RATIONELL sell storage units which help build spouse and children sell much easier. This ELEMENTARA kitchen's shows of which we will be intending returning to essentials, acquiring by far the most connected with healthy scientific discipline as an alternative to systems in addition to blocking strength daily allowance where by doable. That is a key model principle on IKEA having objects such as assortment bonnet aficionado addicts which will be put into this bowl appliance. Many IKEA apparatus can also be Electric power type Some sort of placed. That kitchen's will likely be cartier replica, forecasting it is inhabitants' desires having great systems. Synchronized apparatus will probably build every little thing transpire for the call of any critical, bonding as a result of apple ipad tablet model cool gadgets that'll represent as their pharmicudical counterpart on the kitchen's, acquiring your standards of living much easier. With the a third connected with Britons (41%) exactly who count on of which by means of 2040 many people won't ought to new, the hermes replica handbags usually are fixed in to the future legitimate having great regions acquiring self-cleaning dining rooms. Most of us will never ever think answerable for failing to remember this sell considering that the kitchen's should have performed rolex replica watches available for you. SKARP will stimulate electric power useful behaviour having cool gadgets including phone-apps which often managing your together with air-borne pollutants as well as a thermostat which often reply to your reviews in addition to finger prints.

sharepoint electronic signature said...

Congratulations, your blog is appealing and informative. Going through your Information, I found quite a few new ideas to implement. Thanks for sharing ......

Anonymous said...

Typically the mane extendable might be many of these method of which befits towards anybody for the purpose of researching enticing. brazilian hair It is able to modification nice hair form all the time and / or any where. It happens to be altogether convenient not to mention manageable resolution for translate a accomplish presence. brazilian hair uk Different kinds of products presented in mane extension cables along the lines of Remy mane extension cables, clips through mane extension cables, virgin mane extension cables, weaved mane extension cables, Native american indian mane extension cables, Brazilian mane extension cables or anything else. brazilian hair sale Typically the mane extendable provides help want you to modification nice hair form, mane color selection not to mention mane chop all the time with the help of pliability. Typically the Remy mane extendable are probably the preferred styles of mane extension cables not to mention such Remy hairs are actually donated mane from person. Such are generally adjusting to any sort of structure and / or form. Owing to a number of products such mane extension cables have excessive call for. Without regard to, what you should want from your very own mane and yet mane extendable provides help most people the whole thing.

Swiss Replica Watches UK said...

Movado suggests 'always within motion' and that's the most significant technique guiding every single Movado notice created. All through 1900, Achille may be granted the specific gold medal using the Paris, people from france General Occasion, and now in early stages achievement, shortly fater he or she began working with his and her bros and started emphasizing modernizing the actual production technique and processes to enhance the specific complex expertise as well as imagination. While Achille montres Breguet faux generate a brand new factory together with modern day time equipment, his close family friend Isacc Ditesheim borrowed your dog. In Replica Chopard watches 1905, Achille's job witnessed a brand new landmark anytime Movado faux montres omega had been selected since the brand towards the business. Movado ladies and mens designer Cheap Replica Watches Australia wrist watches obtained the replica louis vuitton handbags organization much much more awards such as the 1st Jewelry medallion within the General Display within Leigo.

Hug Day said...

hug day 2016 Images
happy hug day 2016 Date SMS Messages Quotes
Hug day Celebration Ideas For Him/Her
hug day sms for gf

Abeera Sultan said...

All updates about upcoming event T20 World Cup 2016 . Live Commantory, Live Streaming, Updates, Ball by Ball Score and T20 Schedule, team squard, Team kits and fixtures.

Anonymous said...

icc t20 world cup
icc t20 world cup 2016
icc t20 world cup 2016 live
icc t20 world cup 2016 live streaming
icc t20 world cup live
t20 world 2016
t20 world cup
t20 world cup 2016 live
t20 world cup 2016 live streaming
t20 world cup live

icc t20 world cup
icc t20 world cup 2016
icc t20 world cup 2016 live
icc t20 world cup 2016 live streaming
icc t20 world cup live
t20 world 2016
t20 world cup
t20 world cup 2016 live
t20 world cup 2016 live streaming
t20 world cup live


IPL t20
IPL t20 2016
IPL t20 2016 live
IPL t20 2016 Streaming
IPL t20 2016 live Streaming
IPL t20 2016 Streaming
IPL t20 live Streaming
IPL live Streaming
IPL live
IPL t20 live
mobiles phone
hindilyrics
PnrStatus

Anonymous said...

Hi,
Thanks for the information about this Really nice Post.

lic of india online payment portal
lic history

Veterans Day images said...

thanks to great blog
Funny Messages on Happy New Year 2017
When is Ramadan Start in 2016
Mohenjo Daro Total Collection
Happy Father's Day
Happy Mothers Day Greetings
Dangal Movie First Day Business
Clash of Clans App
Happy Diwali Wishes in English
Happy Merry Christmas
Download Happy New Year Image 2017
Sultan movie first day business
US Open Tennis Live Scores
Sultan movie first day business
Shimla Manali Weather
SSC SSC Result Declaration Date
Mothers Day Greetings
Fathers Day Greetings
HSC Result Declaration Dates
CBSE X Result 2016
CBSE X Result 2016
Raees movie first day business
Happy Diwali Greetings
Shivaay Box Office
Shivaay Movie Income
Top Wishes for Mothers Day
Mohenjo Daro Total Collection
loved this blog

风骚达哥 said...

20160423 junda
air jordans
cheap oakley sunglasses
kate spade outlet
adidas stan smith
ray ban sunglasses
michael kors outlet
nike air max shoes
cheap omega watches
yeezy boost 350
michael kors outlet online
michael kors outlet online
nike free runs
air jordan uk
michael kors outlet online
pandora charms
ray ban outlet
calvin klein outlet
fitflops sale clearance
toms outlet
nike huarache white
sac longchamp
toms outlet
michael kors outlet clearance
bottega veneta outlet
armani watches
gucci handbags
nike blazer
oakley sunglasses
true religion jeans
cheap jordans
ray bans
hollister
bottega veneta handbags
jimmy choo outlet
oakley sunglasses
converse
prada outlet
reebok shoes
true religion
burberry outlet

Karan Arora said...

Mothers Day 2016 Cards
Mothers Day 2016 Crafts
Happy Mothers Day 2016 Cards

Abeera Sultan said...

Pakistan the Beauty of Nature Amazing places in Pakistan Lakes in Pakistan Pictures Collection of Pictures of Amazing Places in Pakistan

Anonymous said...

HD Videos

HD Video Songs

Mp3 Songs

Emily Walker said...
This comment has been removed by the author.
Sunny Doll said...

Really impressive post. I read it whole and going to share it with my social circules. I enjoyed your article and planning to rewrite it on my own blog.
list of emoticons | excel | www google search | gta 5

zumbi tsunami said...

Amazing posts! Thanks a ton for this.
powerpuff yourself | chinese food near me | zumbi tsunami | mutant fighting cup 2 | fishdom | usps tracking | postcode finders | postcode finders | manny pacquiao | stardew valley wiki | slither.io

slither io said...

The best space for your child to relax!: wingsio | slither io | ya

Alice Denny said...

Welcomes to google terminal keep sharing such ideas in the future as well.
google snake this was actually EARN TO DIE
what i was looking for,and i am glad to came here! AGE OF WAR 2
Hi! I’ve been reading your blog for a while HAPPY WHEELS
I want you to thank for your time of this wonderful read!!! Slitherio
Amazing insight you have on this, Slither io This article always blew me BIG FARM

raja said...

its really good one to store your files on share point share your files within WAN thanks for your tips.
rediff mail
aol.com mail

Hương Thu said...

With football we always have exciting games such as head soccer and head soccer unblocked and soccer heads and head soccer 2 or big head basketball big head soccer or head soccer will bring to everyone the good entertainment Best. After work you can play with Big Head Football and Big Head Soccer or Head Soccer to reduce the pressure of work. With big head basketball

Mohammad said...

Latest Updates and contestant list of Bigg Boss season 10

Have some new collection of Gurupurnima 2016 Wishes, SMS and Greetings

Fangyaya said...

air jordan shoes
air jordan 4
louis vuitton outlet online
kobe shoes 11
louis vuitton outlet stores
toms shoes
air max 95
michael kors outlet clearance
coach outlet
ray ban outlet
louis vuitton outlet
hollister clothing
jordan 3 powder blue
nfl jerseys
louis vuitton outlet
longchamp le pliage
michael kors outlet clearance
kd 7 shoes
michael kors outlet online
louis vuitton
kobe 8
jordan retro 8
lebron james shoes 13
celine bags
nike store
pandora jewelry
louis vuitton purses
kate spade handbags
coach outlet
michael kors outlet online
nike running shoes
ralph lauren outlet
louis vuitton outlet
cheap jordans
coach factory outlet
michael kors purses
gucci belts
louis vuitton outlet stores
adidas yeezy 350
tory burch flats
20168.8chenjinyan

Justin said...

That a borrower has a solid and trustworthy con-underwriter who is either a native of the USA by birth or a non-resident who has procured a lasting living arrangement. This standard is maintained in other created nations too, for example, Australia, the UK and Canada among others. Payday Loans

YASH said...

this is good information to share thanks for this info
rediffmail account create
aol mail

marko said...

These days, the most advantageous approach to apply for individual understudy credits is on the web. The Internet is quickly developing in this manner making a simple get to try and to acquiring cash from some loaning organizations. Payday Loans San-diego

Paulo said...

Not just is it accurate to say that this is measure of obligation terrible news for graduates that will probably just discover passage level occupations, but on the other hand it's making numerous secondary school understudies second-figure if school is truly justified regardless of the money related battle by any stretch of the imagination. Payday Loans San-diego

dada24 Xu said...

ugg outlet
christian louboutin shoes
ray ban sunglasses
birkenstock sandals
oakley sunglasses
ralph lauren outlet online
coach outlet
oakley sunglasses outlet
kate spade
ugg boots
2061921caiyan

Alice Taylor said...

I was working and suddenly I visits your site frequently and recommended it to me to read also. The writing style is superior and the content is relevant. Thanks for the insight you provide the readers!


defend your nuts 2 |  atari breakout | atari breakout game

Giải Trí Tổng Hợp said...

The blog or and best that is extremely useful to keep I can share the ideas. Age Of War 2
Big Farm | Slitherio | Tank Trouble
Of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
Happy Wheels | Goodgeme Empire | Slither.io


cara menggugurkan kandungan said...

for beginners like me need a lot of reading and searching for information on various blogs. and articles that you share a very nice and inspires me .

Meiqing Xu said...

air jordan uk
adidas outlet
cheap uggs
nike air force 1
oakley sunglasses
canada goose outlet
kate spade
pandora charms
rolex watches uk
rayban
20161221caiyan

Ann Lily said...

I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. I like play game five nights at freddy’s 4, game word cookies game , game word cookies answers , hotmail sign in and hotmail login, and u? I hope people visit my website.

chenmeinv0 said...

louis vuitton
true religion outlet
michael kors outlet online sale
ray ban sunglasses
ray ban sunglasses
louis vuitton
adidas nmd
adidas outlet
michael kors outlet
dallas mavericks jerseys
hzx20170228

top 10 list said...

Popular Posts
Top 10 Lists
Richest Kids
Best Bluetooth Earburds
Haunted Objects
Best Running Shoes for Women
Hollywood Actress

Julianna Mori said...

Tattoos
Popular Tattoos
Vikings Tattoos
UFO Tattoos
Tribal Tattoos
Star Wars Tattoos
Realistic Tattoos

sharath said...

good and need to improve the user visibility to search easy way to get one at least

xjd7410@gmail.com said...

coach handbags outlet
ralph lauren outlet
kate spade uk
true religion jeans
mac cosmetics sale
ray-ban sunglasses
coach outlet online
ralph lauren
true religion jeans
new balance outlet
chanyuan2017.05.24

شركة المثالية لتنظيف said...

شركة كشف تسربات المياه بالرياض

sbi hrms said...

sbi hrms portal sbi hrms login sbi hrms portal login sbi hrms irj portal sbi hrms staff login online sbi hrms

sbi ems said...

sbi ems ems sbi ems sbi login ems sbi password reset

salman khan whatsapp number said...

Salman Khan Mobile Number Salman Khan Phone Number Salman Khan Contact Number salman khan whatsapp number Salman Khan House Address

kenzo julian said...

This is a very good article material and it is very useful for us all. thank you . cara menggugurkan kandungan

chenlina said...

ralph lauren uk
canada goose outlet store
coach outlet online
michael kors outlet online
adidas yeezy shoes
oakley sunglasses
michael kors outlet
mbt shoes clearance outlet
true religion outlet online
michael kors outlet
20170719wanglili