Scaling down from MS to open source
We just moved a service that was running on the Microsoft stack (Windows Server 2008, .NET, MSSql Server, IIS) to an open source stack (Ubuntu Server, php, Codeigniter framework, apache2, postgres).
We now run the service on a cloud server with dual cpu and 256MB ram (Yes, that's megabytes).
The old server ran on dual core with 2GB of ram.
.NET Error “The password provided is invalid. Please enter a valid password value.”
Using the SqlMembershipProvider, you may encounter the error message, "The password provided is invalid. Please enter a valid password value. ", which is not very clear as to the exact problem. Apparently, the default setting in the .net membership configuration requires a password with a minimum of eight character and at least one non alpha numeric character such as "!@#$%^&*()".
asp:HyperLink With Dynamic URLs
Much headache to get this to work. The following format will allow dynamic url with multiple variables in the query string in a itemtemplate.
<asp:HyperLink ID="HyperLink1" runat="server"
Text="Link Text"
Target="_blank"
NavigateUrl='<%# "~/mypage.aspx?var1="+ Eval("Var1") + "&var2=" + Eval("var2")%>'>
</asp:HyperLink>
NOTE: Make sure any literal between <%# and %> uses double quotes NOT single quotes.