Skip to Content
author's profile photo Former Member
Former Member

.Net Server is not running, at a loss

When trying to run my .Net PDK Iview from the portal I am getting "Problems occured while trying to connect to .NET server..NET server is not running."

We are using the SAP IISProxy from an IIS server to pick up NTLM authentication, passing it then to EP6 running on a Unix (sapepb) server. The SAP .Net framework is running on an NT box (nt4m). Both the nt box and the unix box are in the same dcdomain.net domain. I have verified the SAP .Net Runtime Engine 1.0 Server 01 service is running. We have not changed any default ports for this functionality. Since these are two different machines, I do not use localhost to refer to the SAP machine in it's own configurations. I use sapepb.dcdomain.net:8051 and nt4m.dcdomain.net:8050.

I have struggled with this for some time. If anyone has any ideas for where I can look to solve this, it would be much appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2005 at 03:16 PM

    We have changed the Portal setting to ALL for logging. However, we are not finding any log information after running the iview several more times. I am working with an SAP consultant on site with this, but we cannot find where dotnet logs on the portal. Any advice on this?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 14, 2005 at 04:02 PM

    Hi Joseph,

    First of all which version of the PDK for .NET and the Portal you are using ?

    If the PDK for .NET is - Patch 1

    The portal should be EP6 SP9.

    You can get more information from the Logger - go to the Visual Administration ->Log configurator -> Location : com\sap\portal\dotnet change the severity to All.

    You should get more information a bout the problem.

    BTW

    You can also can check the NT Event Log under source SAP for more details.

    Regards,

    Yehuda

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 14, 2005 at 06:41 PM

    I will check out the debugging options. We are using EP 6 SP 10, and Patch 1 of the .Net PDK.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2005 at 12:56 PM

    I've got this on the NT server's event logs....

    1) Exception Information

    *********************************************

    Exception Type: System.Runtime.Remoting.RemotingException

    Message: Remoting configuration failed with the exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port)

    is normally permitted

    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)

    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()

    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider)

    at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider)

    --- End of inner exception stack trace ---

    at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)

    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

    at System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry entry)

    at System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData)

    at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData).

    TargetSite: Void ConfigureRemoting(System.Runtime.Remoting.Activation.RemotingXmlConfigFileData)

    HelpLink: NULL

    Source: mscorlib

    StackTrace Information

    *********************************************

    Server stack trace:

    at SAP.Portal.Framework.Host.PortalHost.RemotingConfig(String configFile)

    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)

    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    Exception rethrown at [0]:

    at SAP.Portal.Framework.Host.PortalHost.Start(HostData hostData)

    at SAP.Portal.Framework.PortalInstance.Server.Start()

    at SAP.Portal.Framework.PortalInstance.Server.Main()

    I'm looking into deciphering what this means.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      The time on the event is from my testing this morning.

      The port is available. we stopped the service, attempted to telnet to it on 8050, and it failed. We started the service, attempted the telnet, and it succeeded. We also enumerated the ports and 8050 was listed as a status of LISTENING when the service was running.

      We also tried shutting down the service and running the command app. That made no change.

      We also noticed that events are not always logged on the NT box. I'm going to try and get log information from the Portal, but our Portal admin is overloaded with other issues so it may not be soon. Any further debugging ideas are appreciated.

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2005 at 06:47 PM

    Okay, Patch 2 did not help the situation. However, I do have new information.

    We have an SAP Portal consultant on site from SAP. When he logs onto our portal server an manually logs in, the PDK iview <u>works correctly</u>. However, if he goes to the portal via our IISProxy redirect for single sign on, it does <u>not</u> work.

    When I go to the PDK page, it does not work at all, either way.

    Any guesses as to why it works under that one circumstance but not others?

    continued thanks...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.