Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0log in problemlog in problem
Previous
 
Next
New Post
7/16/2006 5:16 PM
 
i try to do a simple log in page
but i encounter an error anyone can help?


this is the error msg:

Server Error in '/CPM project' Application.
--------------------------------------------------------------------------------

Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[ArgumentException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.]
   System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +358
   System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +108
   System.Web.UI.WebControls.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection) +22
   System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +11
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +381
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boo
 
this is my login page code

<%@ Page Language="VB" masterpagefile="~/MasterPage.master"%>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    &nbsp;




    <form id="form1" >
    <div>
        <br />


    <asp:Login ID="Login1" runat="server" style="z-index: 100; left: 12px; position: absolute; top: 336px">
    </asp:Login>
<asp:LoginStatus ID="LoginStatus1" runat="server" style="z-index: 102; left: 341px; position: absolute; top: 439px" />
         </div>
    </form>
</asp:Content>
 
this is my master page code

<%@ Master Language="VB" %>



<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
<script language="javascript" type="text/javascript">
<!--

function IMG1_onclick() {

}

// -->
</script>
</head>
<body>
   <form runat=server>
   
      
   <img src="App_Themes/lanai/hotel%20logo.bmp" style="z-index: 106; left: 35px; width: 114px;
                 position: absolute; top: 62px; height: 103px" id="IMG1" language="javascript" onclick="return IMG1_onclick()" />
    &nbsp;<div>
    <div id="header">
        <asp:LoginStatus ID="LoginStatus1" runat="server" />
        <br />
    
    <h3 style="text-align: left">
        <span style="font-size: 24pt">&nbsp; <span style="font-size: 16pt">&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp; &nbsp;&nbsp;
            <span style="font-size: 18pt">
            Hilton Hotel Restaurant &nbsp; </span></span></span></h3>
        &nbsp; &nbsp; &nbsp;
         <asp:HyperLink ID="HyperLink3" runat="server" Style="z-index: 102; left: 43px; position: absolute;
                 top: 229px" Font-Names="Times New Roman" Font-Size="12pt" NavigateUrl="~/Home.aspx">Home</asp:HyperLink>
                 <asp:HyperLink ID="HyperLink2" runat="server" Style="z-index: 100; left: 240px; position: absolute;
             top: 231px" Font-Names="Times New Roman" Font-Size="12pt" NavigateUrl="~/Catering.aspx">Catering</asp:HyperLink>
        <br />
        <asp:HyperLink ID="HyperLink1" runat="server" Style="z-index: 100; left: 107px; position: absolute;
                 top: 232px" Font-Names="Times New Roman" Font-Size="12pt" NavigateUrl="~/Reservation.aspx">Reservation</asp:HyperLink>
             <br />
         <asp:HyperLink ID="HyperLink4" runat="server" Style="z-index: 101; left: 334px; position: absolute;
             top: 231px" Font-Names="Times New Roman" Font-Size="12pt" NavigateUrl="~/Payment.aspx">Payment</asp:HyperLink>
         <asp:HyperLink ID="HyperLink5" runat="server" Style="z-index: 104; left: 434px; position: absolute;
             top: 232px" Font-Names="Times New Roman" Font-Size="12pt" Width="99px" NavigateUrl="~/Contact.aspx">Contact Us</asp:HyperLink>
        
                 
        <br />
   
                
    
 
     <div id="wrapper">
         
        <br />
     
         <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
             &nbsp;<br />
             <br />
            
             &nbsp; &nbsp;<br />
             <br />
             <br />
             
             <br />
             <br />
             <br />
             <br />
             &nbsp;<br />
             <br />
             <br />
             <br />
             <br />
             <br />
             <img src="App_Themes/lanai/chicken.bmp" style="z-index: 103; left: 57px; width: 135px;
                 position: absolute; top: 561px; height: 104px" />
             &nbsp; &nbsp;
             <br />
             <br />
             <br />
             <br />
             <br />
             <br />
             <br />
             <br />
             
</asp:ContentPlaceHolder>
       
    <div id= "footer"> Copyright 2006 Hilton Hotel </div>
        
    </div>
   </form>
</body>
</html>

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0log in problemlog in problem


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out