Skip to Content
avatar image
Former Member

Server Error in '/OSoft' Application

Hi Experts,

This is my configuration:

  • SAP BPC 7.5 MS with SP07
  • Windows Server 2008 R2
  • SQL Server 2008 R2
  • IIS 7
  • SSL configuration

Architecture: Two linked servers: one for the SAP BPC Server Manager and the other for the SQL Server 2008 R2.

I am getting the following authentication error when trying to access to http://<server:port>/osoft

<<

The request failed with HTTP status 401: Unauthorized.

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.Net.WebException: The request failed with HTTP status 401: Unauthorized.

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:

[WebException: The request failed with HTTP status 401: Unauthorized.]

   Microsoft.VisualBasic.CompilerServices.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) +783261

Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +715

OSoft.Consumers.ZFP.WebBase.Utility.SetWSCredential(String strServiceName, String strMethod, String strParameter, String strContext, String strSecurity) +9091

   OSoft.Consumers.ZFP.WebBase.Utility.GetLastUserApp(CPMUser& mUser, String strAppServerURL, String strSecurity, String strContext, Boolean bServerPathReset) +1993

OSoft.Consumers.ZFP.WebBase.PageBase.Page_Init(Object sender, EventArgs e) +2201

   System.EventHandler.Invoke(Object sender, EventArgs e) +0

   System.Web.UI.Control.OnInit(EventArgs e) +132

   System.Web.UI.Page.OnInit(EventArgs e) +16

OSoft.Consumers.ZFP.WebBase.PageBase.OnInit(EventArgs e) +16

   System.Web.UI.Control.InitRecursive(Control namingContainer) +143

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477

>>

What’s wrong with it?

I think that this error might come from one of these two options:

  • There is an error with the SSL configuration.
  • There might be some error with any authentication parameter into the aspx or XML files (Websrvr/Web folder), taking into account the SSL configuration as well as the server architecture previously mentioned.    

Any idea in order to solve this issue?

Thanks in advance!

Kind regards,

Albert Mas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    May 08, 2012 at 02:53 PM

    Hi Albert,

    The two root cause options you have mentioned are related to the SSL. Does this mean that you didn't get this message before SSL configuration?

    Regards,

    Mahmoud

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mahmoud,

      Before SSL configuration, I did'nt get this message and I could access to this link without problems.

      So this problem should come after applying the SSL configuration.

      Kind regards,

      Albert Mas

  • May 08, 2012 at 03:10 PM

    Hi Albert,

    this is a generic error, it's a reply from the BPC server, normally it shows that you haven't the security rights to connect to the server.

    So try through "quick launch" right click "exec as ..." (normally 2nd from above) and try connecting to the server with the admin user you have used during install, go in admin console and check your sec. profile.

    Or web.config file is corrupted than please delete your PC_MS folder and see if after is ok.

    Kind regards

         Roberto

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Albert,

      i see that in my server options all the server name, even SQL, OLAP etc., are full domain, please try this.

      I've even setted a Local path for APshell DB but I don't think that it will change something.

      Kind regards

           Roberto

  • avatar image
    Former Member
    May 16, 2012 at 07:12 PM

    Hi Albert,

    am recieving the same error and i have a similar architecture. please post the soultion once you get to it. if i get to something ill post it here to.

    thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 12, 2012 at 08:02 AM

    Dear all,

    We finally managed to get the this solved. What we did is to leave the BPC Server Manager configuration without the DNS name configured and the default port to 80. So now it is the DNS server who translates between our DNS name and the Server name, and not BPC. And also IIS allows us to connect through the 80 and 443 ports even if the default port in BPC Server Manager is 80. The mentioned tables should be checked and the server needs to be restarted.

    Ideally the BPC Server Manager should be configured with the DNS name so the Work Status pages and exporting Journals, etc keep working with the DNS name when loading them from Excel. We still have to test this, but we are waiting for an available slot of time to do it.

    Hope this sollution helps you. And thanks for the support.

    Regards,

    Albert

    Add comment
    10|10000 characters needed characters exceeded