Skip to main content

Posts

Showing posts from April, 2012

Enabling ASP.NET 4.0 issue IN IIS 8 WINDOWS 8 for Umbraco 5.1 install

    On Windows 8, if you install Umbraco 5.1 and any other software you need ASP.NET 4.0 . After all the prerequisites installed if you try running aspnet_regiis -ir , you will get below information. But in Win8 - IIS 8 - default framewrok is .net framework 4.5 (also supports 3.5)  .And you won't find 'ASP.NET 4.0' in the Application pool list. From the 'add application pool' - you have to choose .net 4.5 from the drop down . This will take care of Umbraco 5.1 install running from your IIS 8. If you have permission issues , add 'Modify' permission to  IIS_IUSER . You can do this from IIS rightside menus or from the File explorer -> Right click on the file >select -property > select Security Tab > . ------ aspnet_regiis -ir install result. C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -ir Microsoft (R) ASP.NET RegIIS version 4.0.30319.17379 Administration utility to install and uninstall ASP.NET on the local machin...

Multiple FORM elements in asp.net Master / Pages / User Controls

Options for multiple <FORM > elements in a Master / Page / User Control FORM element restrictions:  There could be ONLY ONE FORM  that can have  'RUNAT=" SERVER "' and VISIBLE on a Page.  You can have more than one FORM with RUNAT=SERVER and VISIBLE=FALSE attributes.  You can have more than one <FORM method=post> element.  User control does not allow '<html> , <body> and <form>' elements. So by default the hosting or parent page should have the FORM element. Now what works between Pages and Master Page:       When a content page merged with  a Master page, by default the content page rendered in between a <FORM runat=server> <ContentPlaceHolder: Content Page> </FORM> Mast page always contains one <FORM runat=server> automatically created. Use Case: Embedding more than one PayPal 'Buy' buttons on your page     PayPal 'Buy' / 'PayNow' buttons are t...