MVC 4 and Azure emulator error: CREATE DATABASE permission denied in database ‘master’

Go through the basics of ASP.Net MVC 4 and Azure development, I ran into a problem when the site would try to access the database:

CREATE DATABASE permission denied in database ‘master’

I found this site detailing the problem and a potential soltuion: http://blogs.msdn.com/b/dparys/archive/2009/09/17/create-database-permission-denied-in-database-master-my-fix.aspx

What that doesn’t cover is the fact that, when debugging with the Azure emulator, it’s not using your personal local account anymore. It’s using the “NT AUTHORITY\NETWORK SERVICE” account. So the steps to grant that account access to the database from SQLCMD is:

CREATE LOGIN [your domain account] FROM WINDOWS;
GO;
SP_ADDSRVROLEMEMBER ‘NT AUTHORITY\NETWORK SERVICE’, ‘sysadmin’;
GO;

Why can’t my tablet be the best remote control ever?

Every time Apple TV gets an update, I can’t help but think that Apple (or a competitor) is missing an opportunity.

Check out this quick video from The Verge:

See how you have to move what is essentially a cursor around the screen, using Apple TV’s tiny remote with its arrow and select buttons, to highlight the choice you want? Come on. For as pretty a UI as the Apple TV presents you with, navigating around like that feels so antiquated in this “Post-PC” era that Apple champions.

This is where a tablet comes in. So while mirroring and AirPlay options exist already, they’re awkward features, and it doesn’t make sense for the tablet to do the heavy lifting of data transfer and streaming that both of those options imply. The Apple TV doesn’t have to worry about battery life, so make it do all the work. But what a tablet is really good at is presenting me with choices, and allowing me make my selection using a pretty and responsive interface.

And that’s exactly how a tablet can be used here. See all those menu items at the top of the Apple TV UI? Present me with those choices in a tablet-oriented UI on my tablet. I make my selection, and both my tablet and the TV respond with the next screen of choices. I tap a movie to see its details on both my tablet and the TV. I hit play, the movie starts playing on the TV, and the tablet shows a progress bar and pause/play/etc. buttons along the bottom of its screen. At which point I can navigate away, use a different app, lock my tablet, or turn it all the way off, and the TV keeps showing the content from the Apple TV until told to do otherwise.

This could also be the start to an API that apps could make use of, to essentially have two screens at their disposal. This could be great for both media consumption scenarios, and for the displaying of content with a group of people.

Why can’t my tablet be the best remote control ever?

Login Form Input Elements’ Tab Order should be Standardized

One thing that can always irk me about a website’s interface is when the tab order of the site’s login form input elements are not what I expect. Typically, this is the order I want to do things:

  1. Click in the Username field.
  2. Type my username.
  3. Press Tab to go to the password field.
  4. Type my password.
  5. Press Tab to go to the “Remember Me” check box.
  6. Optionally press the spacebar to (un)check “Remember Me.”
  7. Press Tab to go to the submit button.
  8. Press the spacebar to submit the form.

This process often gets mucked up by extra links in the way, like the “Forgot your username/password?” link, or a “?” help link, which really annoys me. Providing your username and password is (well, should be) a keyboard-centric action, and it’s completely unnecessary to ask the user to go back forth between the keyboard and mouse for this.

I don’t know of any existing standard that might apply in this situation, or where a standard like this could even be defined. Would be appropriate for the W3C to include this in their standards? Whatever the case, it’s about time this became a universal aspect of all web sites.

Watched Watchmen

And I thought it was great. It was a very accurate representation of the original graphic novel, and (keep this a secret) I think I liked the ending they had in the movie over the book. There’s no giant squid, but instead the idea is that explosions occur around the world, killing even more millions than in the novel, but Ozymandias orchestrates events such that it’s perceived by the rest of the world that Dr. Manhattan is the cause of the explosions. This was a great idea, since nothing is lost from the story in terms of theme or message, but it makes the ending more tragic and personal, since one the characters we’ve gotten to know is now blamed for genocide and forced to excommunicate himself.

The casting turned out to be spot on. Pretty much everyone was presented nearly identical to how I interpreted them in the novel. One exception would be Sally Jupiter. She was a little too Joan Rivers for me.

If I had to pick one thing to improve, it would be the pacing of some of the scenes. This is probably the fault of trying to keep as short as they could. But certain scenes didn’t feel right. Towards the beginning, when Rorschach is giving a voice over, some of his lines are strung together too fast, making it seem like his mind is moving from thought to thought incohesively. Putting a couple beats between those lines would have helped. Same goes for some of Laurie’s and Daniel’s exchanges. Some of their interactions happened faster than what seems normal.

Can’t wait for the DVD release, though. Seeing the scenes that didn’t make it, as well as potential pacing fixes, is going to be even better.

StyleCop Brutality

We’ve just started to use StyleCop, and the classes I’m currently writing are the first of our project that have to validate correctly before submission. It’s an interesting task, getting my code to be in the exact proper format: the 4 or so classes I’m writing generated over 300 StyleCop errors. I’m amazed at how specific StyleCop is, in regards to what it considers valid. I went into it expecting that it would enforce that certain elements merely have documentation, but it actually goes a step further an enforces that the documentation have specific wording. Kudos the StyleCop on that.

But one (default) rule that I think might be excessive is that a class’ private variables must be documented. While I understand from an idealistic point of view why it should be documented, the typical scenario where I use private variables is one where that documentation seems excessive to me. That scenario is for read-only properties that force me to have a private variable to store the value of the property (if I want to be able to set the property from within the class). In that scenario, I then must document both the private variable and read-only property itself. But documenting that private variable seems just as (ir)relevant as documenting local variable of a method.

I think we’ll be turning that rule off.

ASP.Net MembershipProvider using NHibernate

At work we are in the process of implementing an ASP.Net MembershipProvider that uses NHibernate for the data access. I’m hoping that once it’s all complete, we’ll be able to post it online (somewhere) for the ASP.Net and NHibernate communities to peruse. It seems like a typical thing that developers out in the wild would make use of. Stay tuned.

A Healthy Skewering of Rush, Steele, and Bill-O

Another futile attempt…

Maybe THIS blog will be used.

  • fda warning
  • or .
  • abscess
  • 1-5 success
  • pharmacology information
  • withdrawal 20mg 10mg
  • plan nr. 1
  • birth defects
  • walmart pharmacy price for
  • side effects user reviews
  • 1 pill
  • while taking do you ovulate
  • when to take during cycle
  • second round 100mg
  • dmard
  • milwaukee teachers fight
  • 50 mg acne
  • 40 e gravidanza
  • es
  • 7603830660
  • maximum daily dose
  • vs t
  • hepatotoxicity
  • mujeres que y estan embarazadas
  • do you have to take at night
  • periodontal disease
  • 20 mg reviews
  • long after eating should you take
  • blastocystis hominis
  • conversion between
  • ann curry voice commercial
  • 8 tabletten
  • ica gulmohar complex
  • tendon damage incidence
  • natco pharma
  • clinical trials
  • 5 mg arret
  • bad side effects
  • how often do you take
  • cr 200 mg yan etkileri
  • and pregnant
  • compare
  • and
  • zoloft interaction
  • xanax interaction
  • affecting birth control
  • and
  • and
  • low dose treat rosacea
  • vs wellbutrin side effects
  • generic 10 mg
  • vs atrial fibrillation
  • 800 en espanol
  • sydney
  • sodium side effects
  • vs. for sleep
  • interstitial cystitis dosage
  • difference between
  • how much to get high
  • safety children
  • levels too low symptoms
  • can you drink alcohol with
  • 20 mg bijwerkingen
  • duration action
  • much does cost canada
  • cogrel genericon
  • taking during pregnancy
  • can i take tylenol and together
  • zararlarA
  • fsh levels after
  • when does pfizer patent expire
  • price canada
  • fertility drug side effects
  • no-xplode while on
  • gastroenteritis dose
  • united states
  • merck frosst
  • side effects trigeminal neuralgia
  • max dose
  • xl empty stomach
  • coffee
  • 30 free
  • mag 3 renal scan with
  • can you take before surgery
  • feminino en argentina
  • bipolar ii disorder
  • a antykoncepcja
  • philippines
  • dosage colitis
  • fry v. corp
  • bee sting
  • normal dosage migraines
  • hair loss side effects
  • didn't work
  • does cause shortness of breath
  • dosis for h1n1
  • hip joint pain
  • kelebihan
  • e
  • bAbA 1 an
  • can u take benadryl with
  • tricks
  • side effects shortness of breath
  • do you have to take for herpes
  • staph infections
  • diarrhea side effects
  • can you take mucinex with d
  • dosage for h pylori
  • without prescriptions reviews
  • cream 5 mg
  • online order
  • can use together
  • swelling
  • taking with alcohol
  • and weight gain
  • que es el medicamento
  • indications
  • powder
  • para que sirve el plus
  • 1 plus
  • and dosage for hives
  • allowed dubai
  • interaction with
  • can i take klonopin and together
  • para q sirve forte
  • withdrawal dry mouth
  • can take
  • route administration
  • medicine side effects
  • from canada
  • hypotension
  • acne
  • antifungal cream
  • taking
  • cabelo ddtank q moedas gratis
  • boots
  • metabolism
  • maximum daily dosage of
  • on lips
  • withdrawal symptoms a comprehensive view
  • how often can you take 50 mg
  • medication assistance
  • generic name for z-pak
  • nebules spc
  • and hcg shot
  • causes sleeplessness
  • and glaucoma
  • prices walgreens
  • cream
  • obat apa
  • x tribulus
  • mtf
  • alternating between tylenol children
  • breastfeeding kernicterus
  • or for women
  • is legal to buy online
  • z dipherganem
  • maximum dose
  • tylenol or for toothache
  • d safe for pregnancy
  • chez l'homme
  • elixir
  • medications bipolar disorder
  • garage doors
  • pfizer sued over generic
  • xr bipolar dosage
  • causing itchy skin
  • durata d'azione
  • buy online uk
  • depression only
  • side effects of 320 25
  • telogen effluvium caused by
  • 500 mg compresse
  • infants under 1
  • combining tramadol and
  • yeast infection side effect
  • 8126364608
  • vs
  • 100 mg tablet picture
  • stomaco pieno o vuoto
  • can worsen hair loss
  • 8397533111
  • oral dose
  • causing back pain
  • thicker hair
  • buy uk
  • open angle glaucoma
  • can you switch from to
  • d d better
  • suppository
  • user reviews
  • can take while pregnant
  • verruca vulgaris
  • tablets prescribing information
  • musica minha pedra aline barros
  • does hcl work
  • taking coenzyme q10
  • overdose death
  • can gas x and be taken together
  • dry mouth
  • normal dose
  • for sinus infection dosage
  • manfaat obat
  • what happens if you mix and alcohol
  • 145 mg tabs
  • for men with erectile dysfunction
  • second generation cephalosporin
  • side effects of and alcohol
  • comparison
  • patch classification
  • w ktA?rym dniu
  • pt assistance programs
  • francais
  • 10 mg y efectos secundarios
  • infants dosage for children
  • genentech
  • 24 year old
  • generic patent expiration
  • chronic back pain
  • available dosages
  • cystitis treatment
  • jittery
  • for neuropathic pain
  • on cycle side effects
  • precio ampolletas
  • combat fatigue
  • inhaler schedule
  • cause heartburn
  • taking for life
  • storage temperature
  • dosage for chronic pain
  • tramadol and
  • using on face
  • xr indications
  • ola
  • niacin interaction
  • dosing herpes zoster
  • how does take to work
  • 150 empty stomach
  • kidney problems
  • once a day
  • zastosowanie
  • and rheumatoid arthritis
  • is a sleeping pill
  • does give you energy
  • statins diabetes
  • equivalent doses
  • pain elbow
  • 70 mg weekly
  • pill identifier
  • w tesco uk
  • with pregnancy
  • pseudoephedrine hydrochloride d
  • in pregnancy
  • 1000mg
  • generic
  • blood pressure
  • que es mejor o
  • taking and together
  • slow down metabolism
  • long do you have take after heart attack
  • bathtub commercial
  • use elderly
  • average dose children
  • causes stretch marks
  • pflaster anwendung
  • y sus dosis
  • buy online
  • ec 75 mg tab
  • and aspirin
  • 600 mg high
  • and together
  • illegal sell craigslist
  • psa lowering
  • or skelaxin
  • a-006 2
  • rxlist
  • cm11
  • can i take before surgery
  • medicare part d
  • iAYne 75 mg
  • resinat novartis pharma nebenwirkung
  • blood sugar
  • in children side effects
  • 20 mg vs.
  • cholesterol meds
  • can ointment be used for cold sores
  • side effects rash pictures
  • difference between and
  • thermoplaster navod
  • vs for a-fib
  • eu tomei e emagreci
  • side effects women menstrual cycle
  • d-mannose interaction with
  • sodium levels
  • safe first trimester
  • weak nails
  • coupons printable
  • can you take xanax with
  • with tylenol arthritis
  • package insert
  • how old do you have to be for
  • para que es utilizado el
  • interactions
  • jupiter report
  • xr coupons
  • increased cholesterol
  • how to lose weight while on
  • is bad for you
  • obat gel
  • recall replacement
  • w 6 tygodniu ciAA?y
  • foods to avoid while on medicine
  • jelly 2 how to use
  • 2.5 mg
  • hacer gasa
  • y
  • can you buy over the counter
  • can take during pregnancy
  • el a que edad se puede tomar
  • clinic huntington wv
  • for 5 days
  • there generic form
  • australia cost
  • zoloft vs social anxiety disorder
  • successful pregnancy after
  • does slow down your metabolism
  • can you drink alcohol while
  • does second round of work
  • yan etkileri
  • class action suit
  • birth control
  • with vyvanse
  • flu symptoms
  • side effects memory loss
  • contact info
  • 400 mg dosage
  • in pregnancy and breastfeeding
  • used treat migraines
  • makes acne worse at first
  • for depression and fibromyalgia
  • action
  • d with mucinex dm
  • free offers
  • why does cause acne
  • hct drug interactions
  • o que A feminino
  • is safe to take during pregnancy
  • low dose weight gain
  • for otitis media
  • stroke prevention
  • at night
  • e caduta capelli
  • available generic form
  • l
  • good kidney infection
  • appetite increase
  • pdr
  • off label use of
  • differences between and generic
  • thuoc
  • ds 100 mg 25mg
  • 25mg
  • generic version
  • fastum gel o
  • fda indications
  • iv price
  • heart attack
  • birth defects canada
  • interaction
  • cream alternative
  • kaiser clinic san diego
  • taken together
  • corp number of employees
  • szirup gyerekeknek
  • costo de plus
  • ilac
  • mayo clinic
  • teaching in spanish
  • class b
  • vs pristiq
  • injection coupon
  • o emagrece
  • erectile dysfunction
  • is the same as otc
  • and liver disease
  • side effects
  • liver flush
  • 120 mg of a day
  • contiene medicamento f
  • does cause constipation
  • and together
  • 800 safe while breastfeeding
  • maximum safe dosage of
  • how long will it take for to work
  • can used acid reflux
  • weight loss pcos
  • adverse side effects of
  • xl dosage restless leg syndrome
  • dosage children