ASP.NET Master Page Nested inheritance

I seem to be asked this a lot so i thought i would mention this online so hopefully people will no longer ask me, they’ll find the answer when they ask google

You are trying to inherit from a masterpage and you recieve the following error

the page has one or more < asp:content> that do not correspond with < asp:ContentPlaceHolder> controls in masterpage

Script tags are the culprit around 80% of the time. For some reason the visual studio designer doesnt like not fully closing your script tags at design time.

Change all of you script tags from this

< script type="text/javascript" src="js/myjs.js" /> 

correcting it to this:

< script type="text/javascript" src="js/myjs.js" ><  /script>

Any you should be good to go.

Error 1310 Config.msi verify access

If you recieve the following error when trying to install or uninstall windows applications

Error 1310. Error writing to file: C:\Config.Msi\*******.rbf. System error 5. Verify that you have access to that directory.

You can try and resolve this by re registering windows installer

Open a command prompt Start > run > “cmd”

msiexec /unreg
msiexec /regserver

If this doesnt solve your problem try running your installer from the root of the C drive as an administrator in various compatibility modes.