Did a security update kill our BI portal again?

Last post 09-07-2007 6:51 AM by XiaoYong Dai – MSFT. 1 replies.

Sort Posts:

  • Did a security update kill our BI portal again?

    09-05-2007, 4:54 PM
    • Loading...
    • pjpark
    • Joined on 07-09-2006, 3:43 PM
    • Posts 2

    The following code used to work (on an aspx page): 

    System.Net.NetworkCredential credentials = new System.Net.NetworkCredential(userName, password);

    System.Net.WebRequest wr = System.Net.WebRequest.Create("https://url.edu/");

    wr.PreAuthenticate = true;

    wr.Credentials = credentials;

    System.Net.HttpWebRequest hr = (System.Net.HttpWebRequest)wr;

    Now it returns this error:

    System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at OlapAuthentication.ValidateCredentials(String userName, String password) 

    The userName and password values are correct and manually navigating to https://url.edu works without error. I am trying to determine if this is a problem with our servers or if Microsoft has introduced another "security" update and this behavior is now expected.

    Thanks

     

  • Re: Did a security update kill our BI portal again?

    09-07-2007, 6:51 AM
    Answer

    Hi

    I wonder if you'd mind provide more details about the IIS log file output with errors and full error code?

    Please refer to the following status code in IIS log for more information.

    401 - Access denied. IIS defines a number of different 401 errors that indicate a more specific cause of the error.

    401.1 - Logon failed.
    401.2 - Logon failed due to server configuration.
    401.3 - Unauthorized due to ACL on resource.
    401.4 - Authorization failed by filter.
    401.5 - Authorization failed by ISAPI/CGI application.
    401.7 – Access denied by URL authorization policy on the Web server. This error code is specific to IIS 6.0.
    And, will the server change authentication method?
    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter