500 Internal server error on RPC over HTTP using TS Gateway

I've been happily using TS Gateway on Windows Server 2008 x64 for 18 months and everything was working perfectly. Suddenly this week it started giving "access denied" errors to any user who tried to connect, evidenced in event viewer as a failed login attempt.
After restarting the server, it got worse in that if I browse to the /rpc folder it gives me 500 Internal server error and I don't even get as far as authenticating credentials. I've tried removing IIS, RPC over HTTP and TS Gateway, and re-adding all of them,
but I still get the same error 500. The RPC and TS Gateway services are both running. What could be causing this and how can I fix it?

Hi,
Thanks for your post.
Firstly, check the following KB article to troubleshoot this issue.
This computer can't connect to the remote computer because the Terminal Services Gateway server is temporarily unavailable
http://support.microsoft.com/default.aspx?scid=kb;EN-US;969743
If the issue still persists, you may perform the below steps:
Uninstalled TSGateway, IIS role, all IIS related components.
Delete all files in the folder %windir%\system32\inetsrv\config
Delete all files in the folder %windir%\system32\inetsrv\metaback
Restart the server and try to re-install TSGateway again
Best Regards,
Aiden
Aiden Cao
TechNet Community Support
Thank you very much for this. I confirm it fixed the problem, although there was an error in reinstalling IIS and TS Gateway until I also removed Windows Process Activation Service.

Similar Messages

  • MII 14.0 SP5 - 500 Internal Server Error is returned for HTTP request - XMIIVirtual Illuminator

    Hello All,
    I appreciate your help with the issue.
    We are connecting from MII 12.1 to MII 14.0 SP5 Patch 3 on our local MII server using virtual connectors. We appreciate your help on it.
    This issue is happening for MII 14.0 SP5 Patch 3 on our local MII server
    As per the logs, accessing  http://server:port/XMIIVirtual/Illuminator gives 500 Internal Server Error
    500 Internal Server Error is returned for HTTP request [http://server:port/XMIIVirtual/Illuminator]:
      component [VirtualProxyConnector],
      web module [XMIIVirtual],
      application [sap.com/xapps~xmii~ear],
      DC name [sap.com/xapps~xmii~ear],
      CSN component[],
      problem categorization [com.sap.ASJ.web.000137],
      internal categorization [-944271956].
    [EXCEPTION]
    java.io.IOException: Stream closed.
    at java.net.PlainSocketImpl.available(PlainSocketImpl.java:483)
    at java.net.SocketInputStream.available(SocketInputStream.java:217)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:325)
    at com.sap.engine.httpdsrclient.io.ServerInputStreamWrapper.read(ServerInputStreamWrapper.java:49)
    at java.io.DataInputStream.read(DataInputStream.java:83)
    at com.sap.servlet.VirtualProxyConnector.service(VirtualProxyConnector.java:110)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:126)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Thanks,
    Kiran
    Message was edited by: Kiran Sakhardande

    Hello Julian
    This is a known problem.
    Cause
    - A user may have been added to a group in another ldap tree with a name, that is already existing.
    - When DTR retrieves the group from UME, we get 2 similar group names, but the groups may be different.
    - DTR cannot handle this and throws "Internal Server error"
    Resolution
    If you change parameter "ume.ldap.unigue_grup_attribute" to 'uid', DTR doesn't use the groupname,
    but the group-uid, therefore the group is unique.
    1. open Visual Administrator
    2. choose Services
    3. choose UME Provider
    4. Reset "ume.ldap.unigue_grup_attribute" with 'uid'
    5. restart the system
    Thanks
    Kenny.

  • I got "500 Internal Server Error " as Response in HTTP Client Prog

    In my Java Server Proxy the following are the configurations that I followed right from SLD: Please help me where I went wrong:
    In SLD->Business Landscape:
    Web As Java,
    ->Technical System: Web As Java.
    created Product and Software Component version accordingly.
    In IR->created Data types and Message Types of same Data type. 
      In Message Interface created Inbound synchronous--specified both input and output message there
      In Message Mapping-> selected source and target message types and done the mapping
      In Interface Mapping->Selected source and target interfaces->read interfaces; In request tab->selected source msg and selected mapping program of type Fatal Error: com.sap.engine.lib.xml.parser.Parser</SAP:P3><SAP:Stack>Während des Anwendungs-Mappings com/sap/xi/tf/_Folder_MM_ wurde eine com.sap.aii.utilxi.misc.api.BaseRuntimeException geworfen: Fatal Error: com.sap.engine.lib.xml.parser.Parser.</SAP:Stack></SAP:Error>
    =========================
    Thanks a lot

    Hi I got this as result when my Pyload is like what you said: <ns0:Foldername_MT xmlns:ns0="http://jps.com">
    <name>
    <XISystemhost>\<xyzdir>
    </name>
    </ns0:Foldername_MT>
    ===================
    and for that I got:
    Result:
    http-Status:  500 Internal Server Error
    Payload:
    <SAP:Error><SAP:Category>XIServer</SAP:Category><SAP:Code>INTERNAL.HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code><SAP:P1>503 </SAP:P1><SAP:P2>Service Unavailable</SAP:P2><SAP:AdditionalText>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
    &lt;html&gt;
    &lt;head&gt;
         &lt;title&gt;Error Report&lt;/title&gt;
    &lt;style&gt;
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    &lt;/style&gt;
    &lt;/head&gt;
    &lt;body marginwidth=&quot;0&quot; marginheight=&quot;0&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; rightmargin=&quot;0&quot;&gt;
    &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;left&quot; height=&quot;75&quot;&gt;
    &lt;tr bgcolor=&quot;#FFFFFF&quot;&gt;
        &lt;td align=&quot;left&quot; colspan=&quot;2&quot; height=&quot;48&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;4&quot; color=&quot;#666666&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;503 &amp;nbsp Service Unavailable&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr bgcolor=&quot;#3F73A3&quot;&gt;
        &lt;td height=&quot;23&quot; width=&quot;84&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt;
        &lt;td height=&quot;23&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt;
        &lt;td align=&quot;right&quot; height=&quot;23&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;2&quot; color=&quot;#FFFFFF&quot;&gt;&lt;b&gt;SAP J2EE Engine/6.40&amp;nbsp;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr bgcolor=&quot;#9DCDFD&quot;&gt;
        &lt;td height=&quot;4&quot; colspan=&quot;3&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;
    &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
    &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;left&quot; height=&quot;75&quot;&gt;
    &lt;tr bgcolor=&quot;#FFFFFF&quot;&gt;
        &lt;td align=&quot;left&quot; colspan=&quot;2&quot; height=&quot;48&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;3&quot; color=&quot;#000000&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;The requested application, JPR, is currently unavailable.&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr bgcolor=&quot;#FFFFFF&quot;&gt;
        &lt;td align=&quot;left&quot; valign=&quot;top&quot; height=&quot;48&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;2&quot; color=&quot;#000000&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;Details:&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
        &lt;td align=&quot;left&quot; valign=&quot;top&quot; height=&quot;48&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;3&quot; color=&quot;#000000&quot;&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp;No details available&lt;/pre&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;/body&gt;
    &lt;/html&gt;
    </SAP:AdditionalText><SAP:Stack>In der HTTP-Antwort liegt der Status-Code 503 mit der Beschreibung Service Unavailable vor</SAP:Stack></SAP:Error>
    =========================================
    What is that? Can u help me!!!
    Thanks

  • (500) Internal Server Error when create storage table use development account

    Yesterday, our team suddenly cannot use storage emulator all, it always said 'can not create database' when start the emulator. Finally, we found a issue may affect this, we delete the WAStorageEmulatorDb30.mdf file in C:\Users\[User], and create manully
    in localdb, and so we can start the storage emulator later.
    But we still can not use it, since it always throw exception when creating Tables/Blobs/Queues, the exception like this:
    Microsoft.WindowsAzure.Storage.StorageException was caught
    HResult=-2146233088
    Message=The remote server returned an error: (500) Internal Server Error.
    Source=Microsoft.WindowsAzure.Storage
    StackTrace:
    at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
    at Microsoft.WindowsAzure.Storage.Table.TableOperation.Execute(CloudTableClient client, CloudTable table, TableRequestOptions requestOptions, OperationContext operationContext)
    at Microsoft.WindowsAzure.Storage.Table.CloudTable.Exists(Boolean primaryOnly, TableRequestOptions requestOptions, OperationContext operationContext)
    at Microsoft.WindowsAzure.Storage.Table.CloudTable.CreateIfNotExists(TableRequestOptions requestOptions, OperationContext operationContext)
    at WorkerRole1.TableService..ctor() in c:\Users\<user>\Documents\Visual Studio 2013\Projects\WindowsAzure8\WorkerRole1\TableService.cs:line 21
    InnerException: System.Net.WebException
    HResult=-2146233079
    Message=The remote server returned an error: (500) Internal Server Error.
    Source=System
    StackTrace:
    at System.Net.HttpWebRequest.GetResponse()
    at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
    InnerException:
    And if we visit this url: http://127.0.0.1:10002/devstoreaccount1, it said Internal Error:
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <code>InternalError</code>
    <message xml:lang="en-US">
    Server encountered an internal error. Please try again after some time. RequestId:e9637e04-76ad-4237-8df0-31a511e4c116 Time:2014-04-25T00:56:16.9990136Z
    </message>
    </error>
    Any ideas of this? We still don't know what caused this whole trouble from yesterday, is it possible affect the storage emulator just by code? We were coding, not configuring anything. Strange.

    I have tried it before, but not works.
    Finally, I solved this issue by delete LocalDB instance, uninstall storage emulator and install LocalDB instance / storage emulator again, it works now. Quite strange.

  • DTRServlet - 500 Internal Server Error is returned for HTTP request

    Hi everybody,
    I've got a Problem with my DTR.
    Recently we've set up the new CE 7.2 System.
    The DTR has run until about 3 hours ago.
    I don't know what I've done that this error occurs, but I'm nearly shure that I haven't done anything that depends on the dtr.
    I went through the set up wizzard of "Connect Design Time for Visual Composer with NWDI" again, but nothing changed.
    Can you please help me with this issue?!
    Thank you and best regards
    julian
    This is the text from the application log:
    #2.0 #2010 08 20 15:02:47:398#+0200#Info#/Applications/DTR/Lifecycle#
    lifecycle.startApplicationInitialisation#BC-CTS-DTR-SRV#sap.com/tcdtrenterpriseapp#005056BA56AE050000000000000010D8#1694250000000004#sap.com/tcdtrenter
    priseapp#com.tssap.dtr.server.servlet.WebdavServlet#Guest#0##F30581C3AC5A11DFCAED00000019DA2A#f30581c3ac5
    a11dfcaed00000019da2a#f30581c3ac5a11dfcaed00000019da2a#0#Thread[HTTP Worker [@1902689675],5,Dedicated_Application_Thread]#Plain#com.tssap.dtr.server.deltav.resources.log_messages#
    Starting initialisation of DTR application.#
    #2.0 #2010 08 20 15:02:47:405#+0200#Fatal#/Applications/DTR/Lifecycle#
    com.sap.DI.dtr.090009#BC-CTS-DTR-SRV#sap.com/tcdtrenterpriseapp#005056BA56AE050000000001000010D8#1694250000000004#sap.com/tcdtrente
    rpriseapp#com.tssap.dtr.server.servlet.WebdavServlet#Guest#0##F30581C3AC5A11DFCAED00000019DA2A#f30581c3ac5
    a11dfcaed00000019da2a#f30581c3ac5a11dfcaed00000019da2a#0#Thread[HTTP Worker [@1902689675],5,Dedicated_Application_Thread]#Plain#com.tssap.dtr.server.deltav.resources.log_messages#
    Initialisation of DTR application failed. Please refer to SAP note 774339 for more details on how to analyze the error condition.#
    And this is the message from the Default Trace: (not all, that didn't fit in this thread)
    #2.0 #2010 08 20 15:13:49:744#+0200#Error#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#
    com.sap.ASJ.web.000137#BC-CTS-DTR-SRV#sap.com/tcdtrenterpriseapp#005056BA56AE05D600000002000010D8#1694250000000004#sap.com/tcdtrent
    erpriseapp#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##7F3F3C0AAC5A11DF869E00000019D
    A2A#7db05704ac5c11dfa28500000019da2a#7db05704ac5c11dfa28500000019da2a#0#Thread[HTTP Worker [@236433360],5,Dedicated_Application_Thread]#Plain##
    Cannot process an HTTP request to servlet [DTRServlet] in [dtr] web application.
    [EXCEPTION]
    javax.servlet.ServletException: WebdavServlet.init() failed : com.tssap.dtr.pvc.basics.cluster.TaskFailedException: Connection is invalid.
         at com.tssap.dtr.server.servlet.WebdavServlet.init(WebdavServlet.java:471)
         at javax.servlet.GenericServlet.init(GenericServlet.java:270)
         at com.sap.engine.services.servlets_jsp.server.application.WebComponents.getServlet(WebComponents.java:864)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:326)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:203)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:438)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:427)
         at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264)
         at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: com.tssap.dtr.pvc.basics.cluster.TaskFailedException: Connection is invalid.
         at com.tssap.dtr.pvc.basics.cluster.ClusterExclusiveTaskRunner.start(ClusterExclusiveTaskRunner.java:54)
         at com.tssap.dtr.server.deltav.impl.Repository.initialize(Repository.java:643)
         at com.tssap.dtr.server.deltav.impl.Repository.initialize(Repository.java:613)
         at com.tssap.dtr.server.servlet.WebdavServlet.initializeDeltaV(WebdavServlet.java:556)
         at com.tssap.dtr.server.servlet.WebdavServlet.init(WebdavServlet.java:462)
         ... 36 more
    Caused by: com.tssap.dtr.pvc.util.sql.SQLRuntimeException: Connection is invalid.
         at com.tssap.dtr.pvc.util.sql.GenericStatementProvider.prepareStatement(GenericStatementProvider.java:75)
         at com.tssap.dtr.pvc.util.sql.GenericStatementProvider._getPreparedStatement(GenericStatementProvider.java:62)
         at com.tssap.dtr.pvc.util.sql.GenericStatementProvider.getPreparedStatement(GenericStatementProvider.java:44)
         at com.tssap.dtr.pvc.basics.persistence.PersistentClass.getPreparedStatement(PersistentClass.java:148)
         at com.tssap.dtr.pvc.repository.TaggedValuePersistentClass.loadTaggedValue(TaggedValuePersistentClass.java:113)
         at com.tssap.dtr.pvc.repository.TaggedValueTransientClass.loadTaggedValue(TaggedValueTransientClass.java:51)
         at com.tssap.dtr.pvc.repository.RepositoryManager._checkDbInitialization(RepositoryManager.java:288)
         at com.tssap.dtr.pvc.repository.RepositoryManager.isDbInitialized(RepositoryManager.java:1128)
         at com.tssap.dtr.server.deltav.impl.Repository.initializeDeltaV(Repository.java:558)
         at com.tssap.dtr.server.deltav.impl.Repository$1.run(Repository.java:645)
         at com.tssap.dtr.pvc.basics.cluster.ClusterExclusiveTaskRunner.startTask(ClusterExclusiveTaskRunner.java:65)
         at com.tssap.dtr.pvc.basics.cluster.ClusterExclusiveTaskRunner.start(ClusterExclusiveTaskRunner.java:51)
         ... 40 more
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseSQLException: Connection is invalid.
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.checkIfInvalid(ConnectionHandle.java:652)
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.checkIfValid(ConnectionHandle.java:639)
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.prepareStatement(ConnectionHandle.java:113)
         at com.tssap.dtr.pvc.basics.transaction.SharedConnection.prepareStatement(SharedConnection.java:131)
         at com.tssap.dtr.pvc.util.sql.GenericStatementProvider.prepareStatement(GenericStatementProvider.java:73)
         ... 51 more

    Hello Julian
    This is a known problem.
    Cause
    - A user may have been added to a group in another ldap tree with a name, that is already existing.
    - When DTR retrieves the group from UME, we get 2 similar group names, but the groups may be different.
    - DTR cannot handle this and throws "Internal Server error"
    Resolution
    If you change parameter "ume.ldap.unigue_grup_attribute" to 'uid', DTR doesn't use the groupname,
    but the group-uid, therefore the group is unique.
    1. open Visual Administrator
    2. choose Services
    3. choose UME Provider
    4. Reset "ume.ldap.unigue_grup_attribute" with 'uid'
    5. restart the system
    Thanks
    Kenny.

  • I get a 500 Internal Server error on EVERY non-https site I visit.  Any suggestions?

    I suddenly get this error using both Safari and Google Chrome, doesn't happen on Firefox, but I have other issues there.  My new ISP, BT, say that it is a browser issue - so is anyone else getting this?
    I am able to access any https site still.
    Thanks!!

    Yes i had this from day 1 with BT. The fools on their helpdesk said it was a browser issue. SO WRONG!!!
    Can be fixed by turning off smart setup within the homehub itself.
    1. Enter 192.168.1.254 into browser.
    2. Goto advanced settings and enter admin password from your card.
    3. Continue to advanced settings.
    4. Goto Home Network.
    5. Goto SmartSetup and turn off!!.
    6. Click Apply
    Job done. All devices should now work. Just wish the idiots on their helpdesk understood this and didnt waste 2 hours and 2 phonecalls. (maybe something stored on your devices if you had an older homehub....)

  • 500 Internal server error while running sqlsrv_query in PHP

    Hello everyone I am having a problem with sqlsrv_query I will be grateful to you please provide some help.
    I am running a query through php:
    $ls_parcel_query = "select  * from  ParcelDetail order by ExtractDate";
    $result = sqlsrv_query($conn, $ls_parcel_query, array(), array("Scrollable"=>"keyset","QueryTimeout"=>300));
    $no_of_rows = sqlsrv_num_rows($result);
    echo "<br/>".$no_of_rows;
    It gives (After 30 seconds):
    500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.
    I have php.ini settings like below:
    max_execution_time = 90
    memory_limit = 128M
    While running this query in SQL SERVER 2008 R2, it successfully gives result in some times in 1 minute and sometimes in 2 minutes.

    Hello,
    A 500 Error will be caused due to many reason.To troubleshooting this issue, you can try to check out the error log and get more information on what is causing the error.
    Reference :
    "500 Internal Server Error" while running PHP
    HTTP Error 500 Internal server for php pages and solution
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Error 500--Internal Server Error.PLEASE   HELP .

    hi,
    I am using BEA weblogic server 9.0.i created a new domain named myproject.I have created directory mywebapp under applications dir.
    i.e C:\bea\user_projects\domains\myproject\applications\mywebapp
    I have placed my servlet class in :
    C:\bea\user_projects\domains\myproject\applications\mywebapp\WEB-INF\classes\Mypackage
    I deployed my apllication mywebapp using admin console.
    when i run the program in the browser,i get this error:
    Error 500--Internal Server Error
    javax.servlet.ServletException: [HTTP:101249][weblogic.servlet.internal.WebAppServletContext@17e5fde - name: 'mywebapp', context-path: '/mywebapp']: Servlet class HelloServlet for servlet myHello could not be loaded because the requested class was not found in the classpath C:\bea\user_projects\domains\myproject\applications\mywebapp\WEB-INF\classes.
    java.lang.ClassNotFoundException: HelloServlet.
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:497)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:234)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:2970)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1888)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1810)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1274)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:167)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:139)
    what should i do?please help me.
    bye

    you are reason our error is slightly different is
    Error 500--Internal Server Error
    javax.servlet.ServletException: [HTTP:101249][ServletContext(id=21255917,name=BonusRoot,context-path=/BonusRoot)]: Servlet class Beans.BonusServlet for servlet BonusServlet could not be loaded because the requested class was not found in the classpath C:\bea\weblogic81\samples\domains\workshop\cgServer\.wlnotdelete\essai\war-ic.war.
    java.lang.ClassNotFoundException: Beans.BonusServlet.
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:799)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    We have try with your proposition but we find the same error
    we must request servlet??? because i've one
    package Beans;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    public class BonusServlet extends HttpServlet {
      CalcHome homecalc;
      public void init(ServletConfig config) throws ServletException{
    //Look up home interface
       try {
         InitialContext ctx = new InitialContext();
         Object objref = ctx.lookup("calcs");
         homecalc = (CalcHome)PortableRemoteObject.narrow(objref, CalcHome.class);
       } catch (Exception NamingException) {
         NamingException.printStackTrace();
      public void doGet (HttpServletRequest request,
         HttpServletResponse response)
         throws ServletException, IOException
        String socsec = null;
        int multiplier = 0;
        double calc = 0.0;
        PrintWriter out;
        response.setContentType("text/html");
        String title = "EJB Example";
        out = response.getWriter();
        out.println("<HTML><HEAD><TITLE>");
        out.println(title);
        out.println("</TITLE></HEAD><BODY>");
        try{
        Calc theCalculation;
    //Retrieve Bonus and Social Security Information
       String strMult =
               request.getParameter("MULTIPLIER");
       Integer integerMult = new Integer(strMult);
       multiplier = integerMult.intValue();
       socsec = request.getParameter("SOCSEC");
    //Calculate bonus
        double bonus = 100.00;
        theCalculation = homecalc.create();
        calc = theCalculation.calcBonus(multiplier, bonus);
        }catch(Exception CreateException){
           CreateException.printStackTrace();
    //Display Data
        out.println("<H1>Bonus Calculation</H1>");
        out.println("<P>Soc Sec: " + socsec + "<P>");
        out.println("<P>Multiplier: " + multiplier + "<P>");
        out.println("<P>Bonus Amount: " + calc + "<P>");
        out.println("</BODY></HTML>");
        out.close();
      public void destroy() {
        System.out.println("Destroy");
    }Help us please
    Thanks

  • SOAP Receiver- Error While Sending Message: 500 Internal Server Error

    Hello,
    Our scenario: IDoc to SOAP
    I have added a third party system in the SLD and have used the same in my ID configuration.
    An idoc will be triggered from R/3, which will received in PI, PI will transform the IDoc into SOAP message for the third party system.
    I have tested the scenario in ID from Interface Determination and its successful.
    But when i try to try to test it from RWB, using Test Message in Adapter Engine, I get an error,
    "Error while sending message:500 Internal server error"
    If we test it using a testing software like SOAP UI, it works fine but from PI we get the error mentioned above.
    Regards,
    Abhishek

    Hello,
    Since the IDOC adapter resides on the ABAP stack, you can use this URL instead (it will be sent to the integration engine as Venkata suggested)
    http://host:port/sap/xi/engine?type=entry
    Also check your firewall settings from PI to the third-party system.
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Feb 7, 2012 11:48 AM

  • Post refresh BI portal shows 500 Internal Server Error

    Hi Experts,
    Post system refresh of BI and ECC system , our JAVA (BI Portal) shows the error "Application error occurred during the request processing" when Approval Portal tab is clicked
    Find the below default trace details. Please let me know what can be done further to resolve this issue.
    #2.0 #2014 05 26 00:00:55:961#0-700#Error#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#
    com.sap.ASJ.web.000137##opentext.com/IM_APPROVAL_PORTAL6_0SP5#C000A7EEAF610045000000040000230A#14599451000000004#opentext.com/IM_APPROVAL_PORTAL6_0SP5#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##3A20F44EE42B11E39A69000000DEC51B#08015d8ce42611e3a2ed00212817ec24#08015d8ce42611e3a2ed00212817ec24#0#Thread[HTTP Worker [@522913632],5,Dedicated_Application_Thread]#Plain##
    Cannot process an HTTP request to servlet [jsp] in [vimportal] web application.
    For more details on the problem please check traces searching by logId: C000A7EEAF610045000000020000230A#
    #2.0 #2014 05 26 00:00:56:008#0-700#Error#com.sap.engine.services.servlets_jsp.ISE500#
    com.sap.ASJ.web.000500##opentext.com/IM_APPROVAL_PORTAL6_0SP5#C000A7EEAF610045000000050000230A#14599451000000004#opentext.com/IM_APPROVAL_PORTAL6_0SP5#com.sap.engine.services.servlets_jsp.ISE500#Guest#0##3A20F44EE42B11E39A69000000DEC51B#08015d8ce42611e3a2ed00212817ec24#08015d8ce42611e3a2ed00212817ec24#0#Thread[HTTP Worker [@522913632],5,Dedicated_Application_Thread]#Plain##
    500 Internal Server Error is returned for HTTP request [https://sap-xxx1:50101/vimportal/jsp/common/index.jsp]:
    component [jsp],
    web module [vimportal],
    application [opentext.com/IM_APPROVAL_PORTAL6_0SP5],
    DC name [opentext.com/IM_APPROVAL_PORTAL6_0SP5],
    CSN component[],
    problem categorization [com.sap.ASJ.web.000137],
    internal categorization [-1152113356].
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object returned from com.opentext.vim.portal.util.JServerParameter.getWhiteListConigParam()
    at JEE_jsp_jsp_common_index_14599451_1390875356000_1390877128615._jspService(JEE_jsp_jsp_common_index_14599451_1390875356000_1390877128615.java:220)
    at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:428)
    Thanks,
    Preetha Balan

    Hi Tapan,
    Please find the below log details
    2.0 #2014 05 27 03:48:42:030#0-700#Error#com.sap.engine.services.servlets_jsp.ISE500#
    com.sap.ASJ.web.000500##opentext.com/IM_APPROVAL_PORTAL6_0SP5#C000A7EEAF6100900000000700003D20#14599451000000004#opentext.com/IM_APPROVAL_PORTAL6_0SP5#com.sap.engine.services.servlets_jsp.ISE500#Guest#0##29D8F6BFE58B11E3A921000000DEC51B#7771ad18e58c11e3cbed000000dec51b#7771ad18e58c11e3cbed000000dec51b#0#Thread[HTTP Worker [@773885252],5,Dedicated_Application_Thread]#Plain##
    500 Internal Server Error is returned for HTTP request [https://sap-XXX1:50101/vimportal/jsp/common/index.jsp]:
    component [jsp],
    web module [vimportal],
    application [opentext.com/IM_APPROVAL_PORTAL6_0SP5],
    DC name [opentext.com/IM_APPROVAL_PORTAL6_0SP5],
    CSN component[],
    problem categorization [com.sap.ASJ.web.000137],
    internal categorization [-305178439].
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method java.lang.String.equalsIgnoreCase(java.lang.String) of a null object returned from com.opentext.vim.portal.util.JServerParameter.getWhiteListConigParam()
    at JEE_jsp_jsp_common_index_14599451_1390875356000_1390877128615._jspService(JEE_jsp_jsp_common_index_14599451_1390875356000_1390877128615.java:220)
    at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)

  • HTTPS - 500 - Internal Server Error

    Hi,
    To send XML file over HTTPS, a RFC destination type G is created in SM59 and is used in Plain HTTP receiver Adapter.
    Now while testing HTTP destination in SM59, HTTP 200 reponce is OK.
    But while sending the XML file, getting an error HTTP 500 - Internal Server Error in SXMB_MONI.
    Certificates are installed in STRUST for HTTPS connection.
    Any suggetion.
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>Internal Server Error</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Internal Server Error</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      <Trace level="3" type="T">Quality of Service EO</Trace>
      <Trace level="1" type="T">Get XML-Dokument from the Message-Objekt</Trace>
      <Trace level="2" type="T">HTTP-Destination : EXT_SERVER</Trace>
      <Trace level="3" type="T">Server ABCD</Trace>
      <Trace level="3" type="T">Service-Nr. 443</Trace>
      <Trace level="3" type="T">URL /PATH1/PATH2?Query</Trace>
      <Trace level="3" type="T">~request_method POST</Trace>
      <Trace level="3" type="T">~server_protocol HTTP/1.0</Trace>
      <Trace level="3" type="T">accept: */*</Trace>
      <Trace level="3" type="T">quality of service: EO</Trace>
      <Trace level="3" type="T">Header-Fields</Trace>
      <Trace level="3" type="T">Prolog conversion Codepage: UTF-8</Trace>
      <Trace level="3" type="T">Epilog conversion Codepage: UTF-8</Trace>
      <Trace level="3" type="T">content-length 2312</Trace>
      <Trace level="3" type="T">content-type: text/xml; charset=UTF-8</Trace>
      <Trace level="2" type="T">HTTP-Response :</Trace>
      <Trace level="1" type="T">Internal Server Error</Trace>
      <Trace level="2" type="T">Code : 500</Trace>
      <Trace level="2" type="T">Reason: Internal Server Error</Trace>
      <Trace level="2" type="T">Code : 500</Trace>
      <Trace level="2" type="T">Reason: Internal Server Error</Trace>
    Thanks,
    Madan

    Hi Madan,
    Please have a look at this thread.
    Plain HTTP adapter error
    Hope this helps to you.
    Regards,
    P.Rajesh

  • OAM 10.1.4.3 integration with EBS- 12.1.3 gives http 500--Internal Server Error on login

    Hi,
    We are integrating E-business (12.1.3) with  Oracle Access Manager (10.1.4.3) using Oracle E-Business Suite AccessGate[1.2.2].
    On trying to login (after submitting credential) to the application we are getting the below error.
    =================================================
    Error 500--Internal Server Error
    java.lang.ClassCastException: weblogic.servlet.internal.ServletRequestImpl cannot be cast to oracle.apps.fnd.ext.sso.AppsHttpServletRequestWrapper
    at oracle.apps.fnd.ext.sso.FndSsoPreLogin.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    ================================================
    The access gate logs fndauth0.log shows the below error
    Oct 28, 2013 10:11:15 AM oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl createIncident
    INFO: An incident has been signalled with the incident facts: [problemKey=DFW-99998 [java.lang.ClassCastException][oracle.apps.fnd.ext.sso.FndSsoPreLogin.doGet][ebsauth_atl01] incidentSource=SYSTEM incidentTime=Mon Oct 28 10:11:15 CET 2013 errorMessage=DFW-99998 executionContextId=004uS_vRJaaB1Fw_GD^Ayf00022y00002X]
    Oct 28, 2013 10:11:15 AM oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl createADRIncident
    1100: incident 80 created with problem key "DFW-99998 [java.lang.ClassCastException][oracle.apps.fnd.ext.sso.FndSsoPreLogin.doGet][ebsauth_atl01]"
    ======================================================
    Please help me if anybody has faced this issue previously.

    Hi,
    Thanks everyone for the response.
    Doc ID 975182.1 for EBS-OAM integration is being followed.
    We've collected the HTTP  traffic but it shows the same 500 internal error and class cast exception. The deployed access gate also shows the same error when in debug mode.
    Any pointers would be helpful.
    Thanks.

  • Error while run OAF, HTTP 500 - Internal server error  Internet Explorer

    I have installed R12 on my laptop having windows 2003 Server, which running successfully.
    In Same machine i have installed Jdeveloper for OAF customization by following 416708.1.
    While running test OAF page from Jdev, following error accruing. I have Run autoconfig as well.
    There is a problem with the page you are trying to reach and it cannot be displayed.
    Please try the following:
    Open the r12.oracle.com:8988 home page, and then look for links to the information you want.
    Click the Refresh button, or try again later.
    Click Search to look for information on the Internet.
    You can also see a list of related sites.
    HTTP 500 - Internal server error
    Internet Explorer

    What is the JDev version?
    Check if the below fixes the issue.
    Go to Tools -> Embedded OC4J Server Preferences-> Global -> Startup. Select the option -> Default Local IP Address.
    Thanks
    Shree

  • HTTP error: 500 (Internal Server Error) while creating content server repst

    Hi All,
    I am getting the HTTP error as mentioned below,
    HTTP error: 500 (Internal Server Error)"CreateTab ContentStorage, connect error SQLConnect failed, [Microsoft][ODBC Driver
    Manager] Data s
    My content server is running on a Microsoft Cluster Environment.
    I tried to follow the steps in the SAP note 301352.
    Please help me in registering the LiveCache ODBC driver.
    When i excute the the odbcreg.exe file i get the foll,
    E:\sapdb\programs\pgm>odbcreg.exe
    DriverName=MaxDB
    Driver=e:\sapdb\programs\pgm\sqlod32.dll
    Setup=e:\sapdb\programs\pgm\sqlsp32.dll
    Version=7.6.0.0
    Please help me in registering the Livecache ODBC driver.
    Expecting your kind reply.
    Vineeth

    hi Vineeth Damodar 
    do it in command prompt.
    change the drive letter ...where u install the sapdb.
    D:\odbcreg LiveCache -i -p d:\sapdb\programs\pgm
    it will prompt that LIvecache is registred. Restart the server.
    then check in control panel...
    The LiveCache ODBC driver should then be registered in the Control Panel -> ODBC Drivers -> Driver tab
    -- Lee
    rewared points .. if it helpful for u....

  • Http 500 internal server error while calling webservice

    I have a scenario Rfc to webservice
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="HTTP">ADAPTER.HTTP_EXCEPTION</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>HTTP 500 Internal Server Error</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In my response pay load i am getting error msg
      <b>ClientUnable to parse the incoming request. Please make sure that the request is valid: javax.xml.soap.SOAPException: Unsupported Content-Type: application/xml</b>
      </env:Envelope>
    Can any one please tell me what would be the problem i have doubled checked the scnrio,i message monitoring i have a messages
    Audit Log for Message: ec1dc1d0-f1c7-11da-91dd-0004ac577b32
    Time Stamp Status Description
    2006-06-01 16:39:52 Success The message was successfully received by the messaging system. Profile: XI URL: http://saptst01.internal.pcshs.com:51000/MessagingSystem/receive/AFW/XI
    2006-06-01 16:39:52 Success Using connection AFW. Trying to put the message into the request queue.
    2006-06-01 16:39:52 Success Message successfully put into the queue.
    2006-06-01 16:39:52 Success The message was successfully retrieved from the request queue.
    2006-06-01 16:39:52 Success The message status set to DLNG.
    2006-06-01 16:39:52 Success Delivering to channel: ZCH_VERISIGNPPGR
    2006-06-01 16:39:52 Success Transform: using Transform.Class: com.sap.aii.messaging.adapter.XSLTConversion
    2006-06-01 16:39:52 Success Transform: transforming the payload ...
    2006-06-01 16:39:52 Success Transform: successufully transformed
    2006-06-01 16:39:52 Success SOAP: request message entering the adapter
    2006-06-01 16:39:53 Success SOAP: completed the processing
    2006-06-01 16:39:53 Success SOAP: response message received ec89a301-f1c7-11da-a561-0004ac577b32
    2006-06-01 16:39:53 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    2006-06-01 16:39:53 Success The message status set to DLVD.
    2006-06-01 16:39:53 Success The message was successfully delivered to the application using connection AFW.
    Any help would be greatly appreciated.......
    Thanks
    sriram

    Hi,
    Content-Type: application/xml
    ...check for the content type of the message that is sent ot the WS.....with the above mentioned content-type going to the WS currently...WS is not able to parse the req and hence the error....in other words wrong format being being passed.
    Regards,
    ABhishek.

Maybe you are looking for