Permission failure on save/cancel button press

Discussion in 'ASP .Net' started by =?Utf-8?B?TmlnZWwgUml2ZXR0?=, Jun 17, 2004.

  1. This happened last week and it's happened again today.
    Last week it suddenly started working after a reboot of a server - we tried rebooting that server and it didn't help so it was probably a coincidence.

    It comes up with a connect window asking for user name and password to connect to websvr.xxxx.com).

    We just want any ideas about what to look at.

    We have an aspx and aspx.cs.

    The aspx has
    <asp:button id="btnCancel" onclick="btnCancelEvent" Runat="server" Text="Cancel" Font-Bold="True" Font-Size="8" Font-Name="verdana"></asp:button></TD>

    and the aspx.cs
    public void btnCancelEvent(Object source, System.EventArgs e)
    {
    //Handle the cancel button click event
    ViewControls(false);
    lblMsg.Text = "";

    }

    and

    private void Page_Load(object sender, System.EventArgs e)
    {
    // Put user code to initialize the page here
    if (!IsPostBack)
    {
    GetData();
    ViewControls(false);
    specialSecHeader.TitleText = "Special Security Pricing";

    }
    userName = User.Identity.Name;
    if (userName.IndexOf("DOMAIN") > -1)
    {
    string myString = userName.Substring(10);
    userName = myString;
    }
    }

    When the cancel is pressed it comes up with a connect window asking for user name and password to connect to websvr.xxxx.com).
    The same thing happens with another button handled in the same way (save).

    To display this page it has had to execute an addnew which looks like very similar functionality.


    Anyone any idea about what to look at?
     
    =?Utf-8?B?TmlnZWwgUml2ZXR0?=, Jun 17, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?c3Fs?=

    Permission failure on button click

    =?Utf-8?B?c3Fs?=, Jun 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    357
    =?Utf-8?B?c3Fs?=
    Jun 15, 2004
  2. gnewsgroup
    Replies:
    0
    Views:
    533
    gnewsgroup
    Dec 27, 2007
  3. sklett

    press cancel twice to get out of edit mode

    sklett, Jan 16, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    161
    sklett
    Jan 16, 2004
  4. Quinn
    Replies:
    5
    Views:
    345
    Griff
    Jul 8, 2005
  5. Indu
    Replies:
    9
    Views:
    367
Loading...

Share This Page