Hyper-V issues..

I use a number of external hard drives for Hyper-V. It looks like Hyper-V can get quite confused sometimes if a) the Bitlocker encryption is not unlocked before starting the Hyper-V Manager, or b) the external drive is not attached. Like in this case. “The application encountered an error while attempting to change the state of VMNAME…’ Start failed.

vmproblem 2A

Continue reading


TF402484: The ..projectname.. team project has been deleted

Seems like half of my working time is wasted on complete garbage. Like this. TF402484. Visual Studio 2013 Update 4 messed up something, and now I can’t do anything in VS2013 without that annoying error TF402484: The ..projectname.. team project has been deleted..

The solution? I delete the workspace completely and reload the projects, and add them to TFS manually, unless already uploaded there.

Continue reading

Install the EPiServer 8 Database

Deployment of EPiServer 8 to the production server is supposed to be possible to be done automated with Visual Studio, including the database? Not with me. I think I did something wrong earlier when savaging (read:uninstalling) my 2012 LocalDB instance. Due to this, I seem to need to install the database manually.

No problem, that is done easily and fast as long as you have access to the database server.

Navigate to your solution folder, then go to the Nuget package folder, and within it to the EPiServer CMS Core files.. For me that would be:


Installing EPiServer Database

Once here, copy the sql file and paste it to your database server.

On the database server, open the SQL Server Management Studio, and create a new EPiServer database. Create a new query after that. Paste the SQL source code to the query and execute.

Btw, remember to select the appropriate database before commencing the script – it happened to me that I now have a full EPiServer schema in my master database. Doh..

Installing EPiServer Database 2

EPiServer – Login with a Microsoft Account on a development machine?

Many of you probably share the same problem – You have installed EPiServer on your laptop, you get it up and running and you try to login. You try to use your Microsoft account. You enter MyAccount & Password, but it doesn’t work. Then you try with MicrosoftAccount\MyAccount, but it does not work either.

Epi 8 - Login with Microsoft Account

I don’t know if you can use your Microsoft account with EPiServer, but the far more easier approach is to create a local admin on your workstation. Computer Management => Local Users and Groups => Add user. Then add it to the Administrators group.

Epi 8 - Add local admin

Login with the newly created admin account. Problem solved.

Hyper-V left mouse button stuck :(

It happens to me quite often that the left mouse click in Hyper-V is no longer registered in the ‘Virtual Machine Connection’ app.

I previously solved this by shutting down the virtual machine, and closing any Hyper-V apps. Googling around for some time, I found a better solution – Save the Hyper-V machine state, and once saved, start it again. It will fix the mouse button issue.

Saving might sometimes be a problem, especially if you use Virtual Machine Connection for the same purpose as I do – namely to use virtual machines to connect over a VPN that closes external connections. Try doing this over remote desktop and you notice you lose connection to the virtual machine for good. But in my case, the Save -> Start operation is quick enough for the VPN connection not to break, but to simply reconnect after this 5 .. 10 second operation.

Attaching an MDF file to LocalDB

Question: I need to attach an MDF file to the LocalDB. How to do it? In this case, I lost the EPiServer LocalDB connection and hence could not publish my EPiServer 8 site properly to my test server. It failed with a database connection error – I tried to solve this issue by making changes to the target database server, not realizing that the problem was the LocalDB database on my laptop, trying to publish the EPiServer database to the target SQL Server.

Continue reading