Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4042538
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:01:06+00:00 2026-05-20T13:01:06+00:00

So I have a link on my aspx page that Im trying to trigger

  • 0

So I have a link on my aspx page that Im trying to trigger a separate html using lightbox. whenever I click the link the lightbox works fine but the html that is being loaded is giving me the error below. BUT if I use an aspx file instead of an html file it works BUT it shows the page twice! I’ve searched and I dont know if editing the aspnet_isapi.dll will really work. First of all I don’t even know where to find it. Any thoughts?
Thanks!

The HTTP verb POST used to access path
‘/test.html’ is not allowed.
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.Web.HttpException: The HTTP
verb POST used to access path
‘/PersonEditor_WebApp/test.html’ is
not allowed.

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.

**********EDIT FOR CODE***************

    <tr>
    <td><asp:Button ID="bLogin" runat="server" Text="Login" onclick="bLogin_Click" /></td>
    <td><asp:LinkButton ID="lbForgotPassword" runat="server" href="confirmcancel.html" autopostback="true" OnClick="lbForgotPassword_OnClick">Forgot Password</asp:LinkButton></td>
    <td><asp:Label ID="lbLoginError" runat="server" ForeColor="Red" 
            CssClass="validator"></asp:Label></td>

</tr>

******this is the one on the cs file*************

protected void Page_Load(object sender, EventArgs e)
{
    Page.MaintainScrollPositionOnPostBack = true;
    //register javascripts and setup buttons
    ClientScript.RegisterClientScriptBlock(this.GetType(), "Prototype", "<script src='Scripts/prototype.js' language=javascript></script>");
    ClientScript.RegisterClientScriptBlock(this.GetType(), "LigthBoxScript", "<script src='Scripts/lightbox.js'></script>");
    lbForgotPassword.CssClass = "lbOn";


}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:01:07+00:00Added an answer on May 20, 2026 at 1:01 pm

    Ok so I think i solved it. But not really.

    I was able to make the lightbox load the correct page but it needs to be an aspx page. if i use a normal html page I get the error again…

    And I used the same lines of codes btw.
    So i guess i just have to make do with an aspx page.
    If anybody would know why a regular html page will give the error please feel free to post an answer.

    Thanks much!
    -G

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page with a Print link that takes the user to a
I click on a link from one page that does a redirect to another
Here's my setup. I'm using .NET: I have a Main.aspx lets call it. That
Let's say I have a page view called PagePreview.aspx . on that page I've
Using C# & Java Script I have the link like this http://localhost/Server/Vehicle/Vehicle.aspx?appid=5 , when
I have a link that I dynamically create which looks something like the following:
I have established a link using Netbeans and Paradox driver and can query the
I am trying to place an action to happen after an entire .aspx page
My question is fairly simple. This is what I have for the aspx page:
I have a newsletter tool that I am trying to setup to run as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.