by StoneJunction
6. January 2012 23:58
I am just getting up to speed on MVC3 with Razor and when creating a partial view ("_TestPartial.cshtml") and including it on another page through with:
@Html.RenderPartial("_TestPartial")
I got the error:
CS1502: The best overloaded method match for 'System.Web.WebPages.WebPageExecutingBase.Write(System.Web.WebPages.HelperResult)' has some invalid arguments
Looking at RenderPartial it returns a void. Internally it writes directly to the response. A quick razor syntax change to:
@{ Html.RenderPartial("_TestPartial"); }
sorted the problem. Now for the interesting problem of getting MVC partials to render on classic aspx webpages.
by StoneJunction
17. November 2011 19:34
While trying to install google sketchup I kept getting the error:
"An error occurred during the installation of assembly 'Microsoft.VC80.MFC, type="win32", version="8.0.507274053",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86". Please refer to Help and Support for more information. HRESULT: 0x80070BC9"
on a windows 7 x64 machine.

After a lot of googling with little success I realised I had left the windows update box in the bottom corner of the screen for a few days. A quick updates install and a reboot and it installed without a problem