Formatting code in Visual Studio

Formatting code in Visual Studio

This is an article which points out how to format code in Visual Studio. It’s pretty obvious tho, but I was quite happy when I found out this feature a while back, and for the people who didn’t know how, now you do! 🙂


The credentials you provided for the SQL Server Agent service are invalid. To continue, provide a valid account and password for the SQL Server Agent service.

As a beginning .Net developer you probably had to install and/or reinstall SQL Server plenty of times, and so do I. Most of the time the SQL Server install isn’t a big hassle, but sometimes it tends to be a pain in the ass. One of the problems I encounter from time to time, while installing SQL Server whithout much attention, is the following error.


This screen is somewhat confusing as it asks for a list of userlogins, which we obviously don’t know, we’re new here hello 🙂

The “trick” here is to drop down the “Account Name” fields and select NT AUTHORITY\NETWORK SERVICE, without specifying a password. This makes the services of SQL Server boot using that system account, and according security restrictions.  This way you can continue your installation, and specify theSA credentials later on.




Not much of a problem, but I’m guessing that if I ran into this for the second time now, there should be other people who run into this error! 🙂