on 12-13-2011 2:38 PM
Hi experts,
I am getting HTTP 401 Error when I try to access /Osoft application within server with IP like http://192.168.1.50/Osoft or http://machinename/Osoft, but when I try to open http://localhost/Osoft I do not get this error on server.
Any ideas?
Server Error in '/OSoft' Application.
--------------------------------------------------------------------------------
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) +202
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +275
OSoft.Consumers.ZFP.WebBase.Utility.SetWSCredential(String strServiceName, String strMethod, String strParameter, String strContext, String strSecurity) +9306
OSoft.Consumers.ZFP.WebBase.Utility.GetLastUserApp(CPMUser& mUser, String strAppServerURL, String strSecurity, String strContext, Boolean bServerPathReset) +1419
OSoft.Consumers.ZFP.WebBase.PageBase.Page_Init(Object sender, EventArgs e) +1906
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.Page.OnInit(EventArgs e) +12
OSoft.Consumers.ZFP.WebBase.PageBase.OnInit(EventArgs e) +12
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
Hi,
it seems that the user that you use to acces is not registered in BPC, please check if the user is registered in the admin console.
Kind regards
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have found solution, PC_MS folder was copied from another instance and web.config file was problematic.
<appSettings>
<!-- base locations of servers -->
<add key="AppServer_URL" value="http://XXX/osoft/app"/>
<add key="AppServer_AUTH" value="1"/><add key="UserID" value="***"/><add key="UserPassword" value="***"/></appSettings>
<!--system.codedom-->
<system.codedom>
Regards,
Ergin Ozturk
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.