Convert form from ASP to ASP.Net

karajan

New Member
I have a login form in ASP that I am trying to convert to .NET. This should be simple enough - but my new form does not work. Not sure what I am missing.<BR><BR>The old form allows the user to enter their userid and password then posts this information to a dll on the server. The form action is set to the dll.<BR><BR>EXAMPLE:<BR><BR><form NAME="Signon" ACTION="../../login/login.dll" method="post"><BR><BR>I attempted to do the same with my .NET form but my submit button did not call the form action. After some research I modified my submit button to try to transfer control to the dll -<BR><BR>Server.Transfer("../../login/login.dll")<BR><BR>This caused the following error - "Error executing child request for ../../login/login.dll"<BR><BR>Any help/guidance I could get on this would be GREAT!! Thanks!!<BR>for starters..the form tag is missing the runat="server" propertyThe form line was from my old ASP page. (Sorry for the confusion) my .NET form has the following -<BR><BR><form id="Form1" name="Signon" action="../../login/signon.dll" method="post" runat="server"><BR><BR>Thanks!!why not just have a button that raise an event..in that event you server.transfer....that may worksomething like....<BR><BR>protected void Page_Transfer()<BR>{<BR> Server.Transer("page...");<BR>}<BR><form runat="server"><BR>.....<BR><asp:Button Text="Submit" OnClick="Page_Transfer"<BR> runat="server" /><BR></form>Currently I have my web form button's onclick event doing the server.transfer call. I am trying to keep my forms as purely VB.NET code/functionality. Anyway, this seems almost the same as what you suggested. <BR><BR>Could the problem be due to the fact that I am not transferring to another page but rather to a dll?
 
Back
Top