# MasterPageFile in web.config does not work

I have set a theme for this webform project in the web.config file and also a masterpagefile

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<pages  theme="themeName" masterPageFile="~/mp1.master" />
</system.web>
</configuration>


Unfortunatly this did not work. I have spend a long time searching why my application kept showing the old masterpagefile. I believe that it had to do with this checkbox:

When you publish your webform application and click on configure, you should set the checkbox near the ‘allow precompiled site to be updatable’.

Otherwise it seems that during the compilation, it will bake in the configured masterpage file in your *.aspx files.

Please let me know if I am wrong, but this did fix it for me.

Good luck!

# Manage users for webform auth missing option in Visual Studio

and then there was this stacktrace and error… I have not had this issue before. It was since the 4.6 framework was installed.

Thankfully I found this stackoverflow answer which resolves it:

in notepad++ and ctrl+g (go to) line 989 and give the string appId the value of “1” instead of the stringutil.blabla

No more error on:

StringUtil.GetNonRandomizedHashCode(String.Concat(appPath, appPhysPath)).ToString("x", CultureInfo.InvariantCulture);

Good luck!

# Lenovo Miix 2 tablet won’t power on

The Lenovo Miix 2 tablet is great if you look at the value you get for your money. I purchased one for work for just 196 euro at paradigit.nl

It took me a day to install all updates on the windows 8.1 machine. When I returned at work the next day the tablet did not boot. It was still on the usb charger so it was not a battery drain or empty battery or whatsoever. I tried to contact Lenovo through twitter, but no response (yet).

So I had to figure it out myself and found this blog with tips. One of them is to plugin the USB cable, wait for the white light and power on. That did not work. Power on before removing USB cable also did not work. Maybe this works for you, please let me know in the comments.

Hold the power button for 20 seconds and then release and press again. That does show the lenovo logo and makes the tablet boot again. It does not matter if you have the 8 inch or 10 inch device. According to @marauderz it has to do with "ConnStandby" mode which is the "connected standby" feature of windows. More about it is available on MSDN. This superuser answer explains how you can disable this feature. Since I am developing a universal app on this tablet and have it on an USB powercable 24/7 I do not need this connected standby feature. So launch regedit, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\