How to Resolve HTTP 500 error in sharepoint 2013 workflow

Hi guys,
             I am new to Sharepoint. I have created a workflow for sending if a document added or edited in a document library. When i added a document i
workflow status shows workflow started. But when checked in the internal status of the workflow it shows as cancelled.
RequestorId: 2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce. Details: System.ApplicationException: HTTP 500 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["132"],"SPRequestGuid":["2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce"],"request-id":["2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Wed, 05 Feb 2014 09:18:43 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.Activit
How to resolve this error. It shows http 500 error.

Go to one of your SharePoint boxes, open op powershell and get teh logs around the "SPRequestGUid" you see in your message...  Do something like this:
Merge-SPLogFile -path "Desktop\wferror.log" -correlation 2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce
This will basically grab log files from all boxes ULS logs that have to do with that transaction.
*** not sure how far back it will look depending on your log size, but sometimes I've had to reproduce another error (with a new SPGuid) and then Merge logs with that Correlation...
Once you get this file, you can open it with ULSViewer and then you can filter/sort by Product/Category/ErrorLevel/etc...  this will definitely help you determine what the issue is.  The key is that SPRequestGuid (which is the "Correlation ID"
that you see when you get SharePoint Unexpected errors to reference the log files...

Similar Messages

  • HTTP 500 ERROR AFTER EXCHANGE 2013 SP1 INSTALL

    Help after exchange 2013 sp1 new install unable to get to the ECP or OWA page with HTTP 500 error in IE the install went ok but not sure what can be causing the error any  help would be appriciated.
    EXCHANGE 2013--SP1 on WIN2K12--R2 Standard
    TY
    M4326

    See the following:
    http://social.technet.microsoft.com/Forums/exchange/en-US/08d3777c-dc03-4411-8c87-7db37d2f406a/exchange-2013-owa-login-error-http-500?forum=exchangesvrclients
    CK

  • Calling (HTTPS web service) in sharepoint 2013 workflow (SPD)

    I am using SharePoint 2013. I have created a list workflow in SharePoint Designer. I know there is an action "Call HTTP Web Service". Is it possible to access some webservice with authentication (username and password)?

    http://msdn.microsoft.com/en-us/library/office/dn567558%28v=office.15%29.aspx
    the OData formats support communication with anonymous web services as well as with those protected by various types of authentication. In short, you have full control over the request and response for each service call. This allows you to use a series of
    activities within a workflow to first authenticate using one service and obtain an OAuth token, and then include that token in future requests to services secured using the
    OAuth 2.0 protocol.
    http://blogs.msdn.com/b/kaevans/archive/2009/03/10/calling-sharepoint-lists-web-service-using-wcf.aspx
    <?xml version="1.0" encoding="utf-8" ?>
    2: <configuration>
    3: <system.serviceModel>
    4: <bindings>
    5: <basicHttpBinding>
    6: <binding name="ListsSoap">
    7: <security mode="TransportCredentialOnly">
    8: <transport clientCredentialType="Ntlm" />
    9: </security>
    10: </binding>
    11: </basicHttpBinding>
    12: </bindings>
    13: <client>
    14: <endpoint
    15: address="http://sharepoint/sites/HSC/_vti_bin/lists.asmx"
    16: binding="basicHttpBinding"
    17: bindingConfiguration="ListsSoap"
    18: contract="ServiceReference1.ListsSoap"
    19: name="ListsSoap" />
    20: </client>
    21: </system.serviceModel>
    22: </configuration>http://www.tonytestasworld.com/post/2009/06/04/How-To-Authenticate-and-Use-SharePoint-Web-Services-in-an-FBA-SharePoint-site.aspx

  • How to diagnose HTTP 500 Internal Server Error

    Hi all,
    I have installed SSM 7.5 SP05 Hot Fix 1 on a Windows 2003 Server (64 bits), but in the End User Interface, the Home and Strategy tabs always shows an HTTP 500 Internal Server Error, how can diagnose this kind of error in order to solve this problem? Other tabs, for example the Initiatives tab works fine, the problem is only with the Home and Strategy tabs.
    Thanks in advance.
    Best Regards,
    Douglas

    Hi Ricardo,
    After configuring the model connections all is working fine, thank you!
    I have the idea that in previous versions that is not needed and just affect the Scorecard tab, now I know that if affects other tabs too, however, instead of HTTP 500 error would be more helpful another message that suggest the configuration as a requirement.
    Again thanks for your help.
    Best Regards,
    Douglas

  • HTTP 500 Error while using XML HTTP Port for idoc

    Hi,
    I am trying to send CRM idocs via XML Http instead of usual t-rfc.
    After standard idoc - pi configs i get the below error.
    transferring the IDoc by HTTP, the return code with the message '500Error during parsing of SOAP header' has occurred.
    In BD87 I get the below error.
    The target address was: http://yyyyyy.XXX.local:800X/sap/xi/engine?type=entry
    I get the http 500 error as:-
    Check whether the IDoc can be sent again.
    It is unfortunately not possible to determine automatically whether the IDoc has in fact arrived in the target system and the error occurred afterwards
    Any idea on how to trouble shoot or resolve this.
    Regards,
    Anirban

    Hi Anirban,
      Follow the below links for troubleshooting.
    Troubleshooting  File-to-IDOC Scenario in XI.
    The specified item was not found.
    Regards,
    Leela

  • SQL Server 2008 Reporting Services HTTP 500 error

    Hi Everyone,
    I recently tried changing authentication mode in RSReportServer.config, I changed from RSWindowsBasic to RSWindowsNegotiate. After restarting the services, I tried to access the Reports page (which worked before my change), but I was unable to load HTTP
    500 error.
    I then did what anyone else would do, revert back to the origin config and restart the services. I then tried to access but I got exactly the same error, HTTP 500.
    I really dont understand why, I have reverted back to exactly the same configuration that work.
    The error messages from the logs are as follows:
    rshost!rshost!16ec!01/16/2014-13:33:53:: i INFO: CLR runtime is initialized.
    rshost!rshost!16ec!01/16/2014-13:33:53:: v VERBOSE: Initializing Memory Monitoring
    rshost!rshost!16ec!01/16/2014-13:33:53:: i INFO: Derived memory configuration based on physical memory as 4193848 KB
    rshost!rshost!16ec!01/16/2014-13:33:53:: w WARN: Failed to initialize performance counters: ffffffff. Possible setup issue.
    rshost!rshost!16ec!01/16/2014-13:33:53:: v VERBOSE: Supported winsock version is 2.2.
    appdomainmanager!DefaultDomain!18e4!01/16/2014-13:33:53:: i INFO: Entered managed ServiceMain in DefaultDomain.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing ConnectionType to '0'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing SecureConnectionLevel to '2'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing DisplayErrorLink to 'True'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing WebServiceUseFileShareStorage to 'False'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing WatsonFlags to '1064'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException'
     as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException'
     as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing AuthenticationTypes to '8'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing RSWindowsExtendedProtectionLevel to 'Off'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing RSWindowsExtendedProtectionScenario to 'Proxy'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing EnableAuthPersistence to 'True'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing IsSchedulingService to 'True'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing IsNotificationService to 'True'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing IsEventService to 'True'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing MemorySafetyMargin to '80' percent as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing MemoryThreshold to '90' percent as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing UrlRoot to 'https://ssrsreportingppe.companytest9.co.uk:4434/ReportServer'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing IsWebServiceEnabled to 'True'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing IsReportManagerEnabled to 'True'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing ReportServerUrl to 'https://ssrsreportingppe.companytest9.co.uk:4434/ReportServer'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing MaxConnections to '2'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing Timeout to '10' second(s) as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing AppID to '(Default)'  as specified in Configuration file.
    library!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Initializing CacheLevel to 'Default'  as specified in Configuration file.
    resourceutilities!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Reporting Services starting SKU: Enterprise
    configmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Using report server internal url https://ssrsreportingppe.companytest9.co.uk:4434/ReportServer.
    configmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Using report server external url https://TEST-SRV-DBA01:4445/ReportServer.
    configmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Using url root https://ssrsreportingppe.companytest9.co.uk:4434/ReportServer.
    configmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: AuthPersistence does not apply to basic authentication.
    rshost!rshost!d30!01/16/2014-13:33:54:: i INFO: Configuring maxPhysicalCpu=8, minLogicalCpu=0
    rshost!rshost!d30!01/16/2014-13:33:54:: i INFO: Logical processor per physical processor 1
    rshost!rshost!d30!01/16/2014-13:33:54:: i INFO: Maximum logical CPU is 1
    configmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Using report server internal url https://ssrsreportingppe.companytest9.co.uk:4434/ReportServer.
    configmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Using report server external url https://TEST-SRV-DBA01:4445/ReportServer.
    configmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Using url root https://ssrsreportingppe.companytest9.co.uk:4434/ReportServer.
    configmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: AuthPersistence does not apply to basic authentication.
    appdomainmanager!DefaultDomain!d30!01/16/2014-13:33:54:: i INFO: Appdomain:2 WindowsService_0 started.
    resourceutilities!WindowsService_0!d30!01/16/2014-13:33:55:: i INFO: Reporting Services starting SKU: Enterprise
    library!WindowsService_0!1f70!01/16/2014-13:33:55:: i INFO: Catalog SQL Server Edition = Enterprise
    appdomainmanager!DefaultDomain!d30!01/16/2014-13:33:55:: i INFO: The UserAccountControl value for the service account is 512
    rshost!rshost!1940!01/16/2014-13:33:55:: i INFO: Registered url=https://TEST-SRV-DBA01.company.co.uk:4444/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
    rshost!rshost!1940!01/16/2014-13:33:55:: i INFO: Registered url=http://SSRSReportingPPE.companytest9.co.uk:8081/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
    rshost!rshost!1940!01/16/2014-13:33:55:: i INFO: Registered url=https://+:4445/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
    rshost!rshost!1940!01/16/2014-13:33:55:: i INFO: Registered url=https://+:4443/ReportServer/, vdir=/ReportServer, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer.
    rshost!rshost!1940!01/16/2014-13:33:55:: i INFO: Currently registered url https://+:4443/ReportServer/ on endpoint 2
    rshost!rshost!1940!01/16/2014-13:33:55:: i INFO: Currently registered url https://+:4445/ReportServer/ on endpoint 2
    rshost!rshost!1940!01/16/2014-13:33:55:: i INFO: Currently registered url http://SSRSReportingPPE.companytest9.co.uk:8081/ReportServer/ on endpoint 2
    rshost!rshost!1940!01/16/2014-13:33:55:: i INFO: Currently registered url https://TEST-SRV-DBA01.company.co.uk:4444/ReportServer/ on endpoint 2
    appdomainmanager!DefaultDomain!d30!01/16/2014-13:33:55:: i INFO: The UserAccountControl value for the service account is 512
    crypto!WindowsService_0!1f70!01/16/2014-13:33:55:: i INFO: Initializing crypto as user: company\adm.sukh.gidda
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Registered url=https://TEST-SRV-DBA01.company.co.uk:4444/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Registered url=http://SSRSReportingPPE.companytest9.co.uk:8081/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Registered url=https://WMSvc-TEST-SRV-DBA01:4444/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Registered url=https://+:4445/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Registered url=https://+:4434/Reports/, vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager.
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Currently registered url https://+:4434/Reports/ on endpoint 3
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Currently registered url https://+:4445/Reports/ on endpoint 3
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Currently registered url https://WMSvc-TEST-SRV-DBA01:4444/Reports/ on endpoint 3
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Currently registered url http://SSRSReportingPPE.companytest9.co.uk:8081/Reports/ on endpoint 3
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Currently registered url https://TEST-SRV-DBA01.company.co.uk:4444/Reports/ on endpoint 3
    rshost!rshost!1d44!01/16/2014-13:33:55:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\ReportBuilder.
    resourceutilities!DefaultDomain!d30!01/16/2014-13:33:55:: i INFO: Maximum memory limit is 2097152Mb
    rshost!rshost!d30!01/16/2014-13:33:55:: i INFO: Derived memory configuration based on physical memory as 4193848 KB
    servicecontroller!DefaultDomain!1d44!01/16/2014-13:33:55:: i INFO: Total Physical memory: 4294500352
    rpcserver!DefaultDomain!1940!01/16/2014-13:33:55:: i INFO: Process monitoring started.
    library!WindowsService_0!1f70!01/16/2014-13:33:55:: v VERBOSE: Transaction begin.
    crypto!WindowsService_0!1f70!01/16/2014-13:33:55:: i INFO: Exporting public key
    crypto!WindowsService_0!1f70!01/16/2014-13:33:55:: i INFO: Performing sku validation
    crypto!WindowsService_0!1f70!01/16/2014-13:33:55:: i INFO: Importing existing encryption key
    library!WindowsService_0!1f70!01/16/2014-13:33:55:: v VERBOSE: Transaction commit.
    library!WindowsService_0!1f70!01/16/2014-13:33:56:: v VERBOSE: Transaction begin.
    library!WindowsService_0!1f70!01/16/2014-13:33:56:: v VERBOSE: Transaction commit.
    dbpolling!WindowsService_0!1f70!01/16/2014-13:33:56:: i INFO: EventPolling polling service started
    dbpolling!WindowsService_0!1ef4!01/16/2014-13:33:56:: i INFO: HeartbeatThread(EventPolling): heartbeat thread started.
    dbpolling!WindowsService_0!1f70!01/16/2014-13:33:56:: i INFO: NotificationPolling polling service started
    dbpolling!WindowsService_0!1f94!01/16/2014-13:33:56:: i INFO: HeartbeatThread(NotificationPolling): heartbeat thread started.
    dbpolling!WindowsService_0!1f70!01/16/2014-13:33:56:: i INFO: SchedulePolling polling service started
    dbpolling!WindowsService_0!1f70!01/16/2014-13:33:56:: i INFO: UpgradePolling polling service started
    dbpolling!WindowsService_0!1a54!01/16/2014-13:33:56:: i INFO: PollingMaintenance: Polling started
    resourceutilities!WindowsService_0!1a54!01/16/2014-13:33:56:: i INFO: Maximum memory limit is 2097152Mb
    rpcserver!DefaultDomain!1f70!01/16/2014-13:33:56:: i INFO: RPC Server started.
    servicecontroller!DefaultDomain!1f70!01/16/2014-13:33:56:: i INFO: RPC Server started. Endpoint name ='ReportingServices$MSRS10_50.MSSQLSERVER'
    appdomainmanager!WindowsService_0!1f70!01/16/2014-13:33:56:: i INFO: Appdomain:2 WindowsService_0 initialized.
    library!WindowsService_0!1a54!01/16/2014-13:33:56:: Attempting upgrade of MigrateExecutionLog
    rshost!rshost!18e4!01/16/2014-13:34:39:: v VERBOSE: AcceptCallback(): accepted new connection pipeline=0x000000000036DC50...
    rshost!rshost!1478!01/16/2014-13:34:39:: v VERBOSE: ThreadContinuePipeline: processing request on pipeline=0x000000000036DC50, state=0, IOError=0, node=0.
    appdomainmanager!DefaultDomain!1478!01/16/2014-13:34:49:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-130343528892811172 started.
    appdomainmanager!ReportManager_0-1!1478!01/16/2014-13:34:49:: i INFO: RS authentication mode is 8; effective ASP.NET authentication mode is Windows. vdir=/Reports.
    appdomainmanager!ReportManager_0-1!1478!01/16/2014-13:34:49:: v VERBOSE: Managed threadpool maxWorkerThread=100, maxIoCompletionThread=100 ...
    appdomainmanager!ReportManager_0-1!1478!01/16/2014-13:34:49:: v VERBOSE: Managed threadpool minWorkerThread=1, minIoCompletionThread=1 ...
    appdomainmanager!DefaultDomain!1478!01/16/2014-13:34:49:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-130343528892811172 initialized (#1).
    rshost!rshost!1478!01/16/2014-13:34:49:: v VERBOSE: Processing request pipeline=0x000000000036DC50, callback=0xace640, callback->pipeline=0x000000000036DC50, id=17077649789136404660, connid=17077649788599533747 ...
    httpruntime!ReportManager_0-1!1478!01/16/2014-13:34:49:: v VERBOSE: Response header encoding is Unicode (UTF-8).
    ui!ReportManager_0-1!1478!01/16/2014-13:34:51:: v VERBOSE: User map'<Users><User><Name>TEST-SRV-DBA01\LocalAdmin</Name><Paths><Path>/Reports/home.aspx</Path><NrReq>1</NrReq></Paths></User></Users>'
    rshost!rshost!1478!01/16/2014-13:34:51:: v VERBOSE: HttpPipelineCallback::EndOfRequest(): continue pipeline=0x000000000036DC50.
    rshost!rshost!18e4!01/16/2014-13:34:51:: v VERBOSE: ThreadContinuePipeline: processing request on pipeline=0x000000000036DC50, state=2, IOError=0, node=0.
    rshost!rshost!1180!01/16/2014-13:34:52:: v VERBOSE: AcceptCallback(): accepted new connection pipeline=0x0000000003631610...
    rshost!rshost!1478!01/16/2014-13:34:52:: v VERBOSE: ThreadContinuePipeline: processing request on pipeline=0x0000000003631610, state=0, IOError=0, node=0.
    rshost!rshost!1478!01/16/2014-13:34:52:: v VERBOSE: Processing request pipeline=0x0000000003631610, callback=0xace620, callback->pipeline=0x0000000003631610, id=17365880165288116379, connid=17365880164751245466 ...
    ui!ReportManager_0-1!1478!01/16/2014-13:34:52:: v VERBOSE: User map'<Users><User><Name>TEST-SRV-DBA01\LocalAdmin</Name><Paths><Path>/Reports/Pages/Folder.aspx</Path><NrReq>1</NrReq></Paths></User></Users>'
    ui!ReportManager_0-1!1478!01/16/2014-13:34:53:: e ERROR: Microsoft.SqlServer.ReportingServices2010.RSConnection2010+MissingEndpointException: The attempt to connect to the report server failed.  Check your connection information and that the report
    server is a compatible version. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.ReportingServices.UI.ServerAuthType.GetReportServerAuthentication()
       at Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetNewWebRequest(Uri uri)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.SqlServer.ReportingServices2010.ReportingService2010.ListItemTypes()
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.<ListItemTypes>b__10f()
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
       --- End of inner exception stack trace ---
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.MissingEndpointException.ThrowIfEndpointMissing(WebException e)
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
       at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
       at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel()
       at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Web.UI.Control.OnInit(EventArgs e)
       at System.Web.UI.Page.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ui!ReportManager_0-1!1478!01/16/2014-13:34:53:: e ERROR: Microsoft.SqlServer.ReportingServices2010.RSConnection2010+MissingEndpointException: The attempt to connect to the report server failed.  Check your connection information and that the report
    server is a compatible version. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.ReportingServices.UI.ServerAuthType.GetReportServerAuthentication()
       at Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetNewWebRequest(Uri uri)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.SqlServer.ReportingServices2010.ReportingService2010.ListItemTypes()
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.<ListItemTypes>b__10f()
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
       --- End of inner exception stack trace ---
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.MissingEndpointException.ThrowIfEndpointMissing(WebException e)
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
       at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
       at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
       at Microsoft.ReportingServices.UI.GlobalLinks.Control_Init(Object sender, EventArgs args)
    ui!ReportManager_0-1!1478!01/16/2014-13:34:53:: e ERROR: HTTP status code --> 500
    Anyone seen this issue before? Or know why its failing from the logs?
    Thanks,
    John

    Hi John,
    HTTP 500 error can occur if there are conflicting authentication settings in the report server Web.config file and the RSReportServer.config file. HTTP 500 is returned if authentication initially succeeds and then the mismatch is detected. In RSReportServer.config
    file, make sure the AuthenticationTypes setting as follows:
    <AuthenticationTypes>
    <RSWindows*/>
    </AuthenticationTypes>
    In the report server Web.config file, please also check the authentication type:
    Authentication=”Windows”
    Reference:
    http://technet.microsoft.com/en-us/library/ms159778(v=sql.105).aspx
    If the issue is persist, please check if the web services URL in web.config file is correct.
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • How to resolve "open failed"error while starting dbisqlc utility in UNIX b

    how to resolve the following error while starting dbisqlc utility in UNIX box...??
    Unix Prompt% which dbisqlc
    /sybase/asiq12/bin/dbisqlc
    Unix Prompt%
    Unix Prompt% dbisqlc
    ld.so.1: dbisqlc: fatal: libdblib9_r.so: open failed: No such file or directory
    zsh: killed dbisqlc
    Unix Prompt%

    rm.vikram wrote:
    how to resolve the following error while starting dbisqlc utility in UNIX box...??
    Unix Prompt% which dbisqlc
    /sybase/asiq12/bin/dbisqlc
    Unix Prompt%
    Unix Prompt% dbisqlc
    ld.so.1: dbisqlc: fatal: libdblib9_r.so: open failed: No such file or directory
    zsh: killed dbisqlc
    Unix Prompt%It may not help, but a quick google search for that library gave a link to http://www.sybase.com/content/1040797/deployadmintoolslinux.pdf, and from within that:
    Interactive SQL files
    Copy the following files from your reference installation:
    /opt/sybase/SYBSsa9/bin/dbisql
    /opt/sybase/SYBSsa9/java/dbmaen9.jar
    /opt/sybase/SYBSsa9/java/isql.jar
    /opt/sybase/SYBSsa9/java/jlogon.jar
    /opt/sybase/SYBSsa9/java/xerces.jar
    /opt/sybase/SYBSsa9/java/xml4j.jar
    3
    Copyright © 2004 iAnywhere Solutions, Inc.
    /opt/sybase/SYBSsa9/lib/libdblib9_r.so.1
    /opt/sybase/SYBSsa9/lib/libdbtool9_r.so.1
    /opt/sybase/SYBSsa9/res/asa.cvf
    /opt/sybase/SYBSsa9/res/dblgen9.res
    /opt/sybase/shared/java/HelpManager11.jar
    /opt/sybase/shared/java/JComponents142.jar
    /opt/sybase/shared/java/SCEditor142.jar
    /opt/sybase/shared/java/jsyblib142.jar
    /opt/sybase/shared/sun/javahelp-1_1/jh.jar
    Create the following symbolic links in /opt/SYBSsa9/lib:
    libdblib9_r.so -> libdblib9_r.so.1
    libdbtool9_r.so -> libdbtool9_r.so.1which may suggest a solution.

  • I can go to every other website except for facebook even if i use other browsers all i can see is 404 Not found or HTTP 500 Error since yesterday I tried reinstalling clearing history and cookies enabling them make sure that my firewall permits me to acce

    I can go to every other website except for facebook. I try every other browser in my computer but the only thing I can see is HTTP 500 error and 404 Not Found. I tried clearing cache history and cookies, enabling cookies, checking my modem, make sure my firewall permits me to access this web and even pt 's' in front of 'http' but it still dosent work. I can go to facebook with my dad's laptop and my handphone but not with this computer, why?
    == URL of affected sites ==
    http://www.facebook.com

    Problem Resolved!
              I found out that I had 'http' instead of 'httpd' in the statement where I
              registered my servlet, SqlServlet.
              Now, I am having difficulty with hot deployment. The server is returning
              error 404.
              

  • HTTP 500 Error while login.

    Hi Friends,
    I have fresh installed R121.1 on 2003 server. just after instalation i checked my application was working fine.
    then i shut down my application using adstapal.cmd and did one reboot.
    Post reboot i started my DB with it's listner after this as expected DB is working fine. and then started all the services with adstrtal.cmd
    Every services are started.
    When i was trying to login to application i an getting HTTP 500 Error Below is my steps and services status.
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>adstrtal.cmd apps/apps
    ECHO is off.
    ECHO is off.
    Thu 11/11/2010 10:21 PM
    ECHO is off.
    ECHO is off.
    Connected.
    The logfile for this session is located at D:\oracle\VIS\inst\apps\VIS_ora\logs\
    appl\admin\log\adstrtal.txt
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adopmnctl.cmd start
    script returned:
    Thu 11/11/2010 10:21 PM
    Starting Oracle Process Manager (OPMN) ...
    CALL D:\oracle\VIS\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe start
    opmnctl: opmn started
            STATE              : 4  RUNNING
    exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adalnctl.cmd start
    script returned:
    ECHO is off.
    ECHO is off.
    Thu 11/11/2010 10:23 PM
    ECHO is off.
    The environment settings are as follows ...
    ECHO is off.
           ORACLE_HOME : D:\oracle\VIS\apps\tech_st\10.1.2
                 LOCAL : VIS
            ORACLE_SID :
                  PATH : D:\oracle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps\te
    ch_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre
    \bin;D:\oracle\VIS\apps\apps_st\appl\au\12.0.0\bin;D:\oracle\VIS\apps\apps_st\ap
    pl\fnd\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\ad\12.0.0\bin;D:\oracle\VIS\ap
    ps\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\perl\5.
    8.3\bin\MSWin32-x86-multi-thread\;D:\oracle\VIS\apps\apps_st\comn\util\unzip\unz
    ip;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st
    \10.1.2\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\app
    s\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\o
    racle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3
    \bin;D:\oracle\VIS\apps\apps_st\appl\cz\12.0.0\bin;D:\oracle\VIS\apps\apps_st\ap
    pl\iby\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\pon\12.0.0\bin;D:\oracle\VIS\a
    pps\apps_st\appl\au\12.0.0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\V
    IS\apps\apps_st\appl\cz\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\iby\12.0.0\bi
    n;D:\oracle\VIS\apps\apps_st\appl\pon\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl
    \au\12.0.0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_st\
    10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps
    \tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\
    jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_st\10.1.3\
    appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_s
    t\10.1.3\appsutil\jdk\bin;C:\Dot_Net_VC\Common7\IDE;C:\Dot_Net_VC\VC\BIN;C:\Dot_
    Net_VC\Common7\Tools;C:\Dot_Net_VC\Common7\Tools\bin;C:\Dot_Net_VC\VC\PlatformSD
    K\bin;C:\Dot_Net_VC\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C
    :\Dot_Net_VC\VC\VCPackages;D:\oracle\VIS\apps\apps_st\appl\au\12.0.0\bin;D:\orac
    le\VIS\apps\apps_st\appl\fnd\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\ad\12.0.
    0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\
    tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;D:\oracle\VIS\apps\apps_
    st\comn\util\unzip\unzip;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\o
    racle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk
    \bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\Dir\bin;C:\WINDOW
    S;C:\WINDOWS\system32;D:\oracle\VIS\apps\tech_st\10.1.3\ant\bin;D:\oracle\VIS\ap
    ps\tech_st\10.1.3\ant\bin
       LD_LIBRARY_PATH : D:\oracle\VIS\apps\tech_st\10.1.2\lib
    ECHO is off.
    The service "OracleVIS_ora_TOOLSTNSListenerAPPS_VIS" is already started
    adalnctl.cmd exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adapcctl.cmd start
    script returned:
    Thu 11/11/2010 10:23 PM
    Oracle Managed Process HTTP_Server is already running
    exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adoacorectl.cmd start
    script returned:
    Thu 11/11/2010 10:23 PM
    Oracle Managed Process oacore is already running
    exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adformsctl.cmd start
    script returned:
    Thu 11/11/2010 10:23 PM
    Oracle Managed Process forms is already running
    exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adoafmctl.cmd start
    script returned:
    Thu 11/11/2010 10:23 PM
    Oracle Managed Process oafm is already running
    exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adcmctl.cmd start
    script returned:
    ECHO is off.
    ECHO is off.
    Thu 11/11/2010 10:23 PM
    ECHO is off.
    ECHO is off.
    Thu 11/11/2010 10:23 PM
    ECHO is off.
    ECHO is off.
    Setting environment for using Microsoft Visual Studio 2005 x86 tools.
    APPSORA.cmd exiting with status 0
    Starting concurrent manager for VIS ...
    The OracleConcMgrVIS_ora service is starting...
    The OracleConcMgrVIS_ora service was started successfully.
    adcmctl.cmd exiting with status 0
    .end std out.
    .end err out.
    Executing service control script:
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\jtffmctl.cmd start
    script returned:
    You are running jtffmctl.cmd
    Thu 11/11/2010
    10:23 PM
    "Starting Fulfillment Server for "VIS" on port "9300" ...\n"
    The Oracle Fulfillment Server VIS_ora service is starting.
    The Oracle Fulfillment Server VIS_ora service was started successfully.
    jtffmctl.cmd exiting with status 0
    ERRORCODE = 0  ERRORCODE_END
    .end std out.
    .end err out.
    All enabled services for this node are started.
    Check logfile D:\oracle\VIS\inst\apps\VIS_ora\logs\appl\admin\log\adstrtal.txt f
    or details
    adstrtal.cmd exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>adapcctl.cmd status
    Thu 11/11/2010 10:28 PM
    Checking status of OPMN managed processes...
    Processes in Instance: VIS_ora.ora.apps.com
    ---------------------------------+--------------------+---------+---------
    ias-component                    | process-type       |     pid | status
    ---------------------------------+--------------------+---------+---------
    OC4JGroup:default_group          | OC4J:oafm          |    7980 | Alive
    OC4JGroup:default_group          | OC4J:forms         |    1936 | Alive
    OC4JGroup:default_group          | OC4J:oacore        |    7884 | Alive
    HTTP_Server                      | HTTP_Server        |    7828 | Alive
    ASG                              | ASG                |     N/A | Down
    exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>At the botom i have given status of adapcctl.cmd as well
    Please Suggest
    Bachan.

    Hi,
    [Fri Nov 12 13:22:04 2010] [error] [client 192.168.100.1] [ecid: 1289596924:192.168.100.1:3020:2668:1,0] Directory index forbidden by rule: c:/oracle/vis/apps/apps_st/comn/java/classes/
    [Fri Nov 12 04:08:42 2010] [error] [client 192.168.100.1] [ecid: 1289563722:192.168.100.5:3528:3312:2,0] File does not exist: c:/oracle/vis/inst/apps/vis_ora/portal/favicon.icoThese errors can be ignored.
    And Data base is running perfectly fine.
    I can query, compile n can do any thing on DB.Have you check the log file for any ORA-XXXXX errors?
    i am able to login and after few min it went to same status HTTP 500 Internal server errorAre you still above to access the forms? Is the issue with HTTP server only?
    Thanks,
    Hussein

  • HTTP 500 error when opening "App Server Control" (EM) in OAS 10.1.3.5.0

    Hi,
    I have some (but not much) experience with OAS and am currently stuck. So hope to find someone who can help me further here.
    When i open Oracle Application Server Control from the SOA Suite 10.1.3.5.0 home page i get most of the times an HTTP 500 error.
    Initially i got this even when i opened the login page (/em) but worked around this by increasing the ThreadsPerChild from 100 > 250 in the httpd.conf and replacing the loopback adres 127.0.0.1 in the dms.conf for the virtual host configuration to the actual (fixed) ip-address.
    The current situation is that when i restart the environment (opmn stopall & opmn startall) i can open the the EM login page.
    After logging in om the Enterprise Manager, the page is partly loaded and a HTTP 500 error is shown when i refresh the page.
    The apache log files now still shows the following errors;
    [Tue Sep 07 15:46:19 2010] [error] [client 10.157.1.68] [ecid: 1283867060:10.150.50.110:10312:9568:5,0] mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://ascontrol (no island or jgroup).
    [Tue Sep 07 15:51:20 2010] [error] [client 10.157.1.68] [ecid: 1283867060:10.150.50.110:10312:9568:5,0] mod_oc4j: request to OC4J SOA-WTST:12501 failed: Connect failed
    Any hints ?
    Kind regards,
    Peter

    If finally found the cause of the problem, lack of PermGen space for the home instance;
    When opening the EM Console most of the times i was able to open the login page, under stress opening this page failed most of the times.
    The ascontrol-application.log pointed me in the right direction;
    10/09/07 15:26:59.111 ascontrol: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    When monitoring the PermGen of the home instance, is showed that the system was running out of PermGen space.
    Increasing the PermGen size for the home instance in opmn.xml did the trick
    <data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M......"

  • How to resolve unresolved column error when we change column name in BMM Layer and removed alias in presentation layer

    how to resolve unresolved column error when we change column name in BMM Layer and removed alias in presentation layer

    Looks like the presentation column got Alias before your BMM changes, so in your case renaming logical column and deleting alias is not good to go.
    Keep Alias

  • How to resolve ORA-00001 Error in SQL Insert?

    Hi all, I need your appreciated help.
    I make a plsql procedure that is inserting a row according cursor value, I'm having oracle error ORA-00001: unique constraint (constraint_name) violated.
    You may see this message if a duplicate entry exists at a different level: in RDBMS MySQL I have the syntax IGNORE to resolve this duplication error... and in Oracle ?
    Thanks for your time and hints.
    Miguelito

    user6317803 wrote:
    How to resolve ORA-00001 Error in SQL Insert?ORA-00001 means table has unique/primary key/index and you are trying to insert a row with key value that already exists in the table. I'll assume table COUNTRIES has primary key on COUNTRY_ID. Then change SQL to:
    SQL = "INSERT INTO COUNTRIES(COUNTRY_ID,COUNTRY_NAME,REGION_ID) SELECT 'BZ','BLZ',3 FROM DUAL WHERE NOT EXISTS(SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ')"There is a good chance table COUNTRIES also has unique key/index on COUNTRY_NAME. If so use:
    SQL = "INSERT INTO COUNTRIES(COUNTRY_ID,COUNTRY_NAME,REGION_ID) SELECT 'BZ','BLZ',3 FROM DUAL WHERE NOT EXISTS(SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ' OR COUNTRY_NAME = 'BLZ')"SY.

  • SR: Calling Web Services from PL/SQL gives http 500 errors

    Hi, people from Oracle Support sent me to this forum.
    I'm trying to call the Calendar Web Services from PL/SQL using the utl_http package, but I'm getting http-500 errors.
    I'm using the example from http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html
    Here's the code
    procedure showHtml
    as
    req soap_rpc.request;
    resp soap_rpc.response;
    BEGIN
    req := soap_rpc.new_request('cwsl:NoOp',
    'xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/"');
    resp := soap_rpc.invoke(req,
    'http://nllx004.nl.oracle.com/ocws-bin/ocas.fcgi',
    dbms_output.put_line(resp.doc.getStringVal());
    END;
    Can anyone help?

    I am new to web services and am having trouble getting the utl_http.set_header call to work using pl/sql. listed below is the code.
    CREATE OR REPLACE PACKAGE BODY adm_iModules_test
    AS
    NAME: Admissions iModules testing program
    PURPOSE:
    Ver Date Author Description
    REVISIONS:
    1.0 01/04/08 Julie Michael 1. Created this package body.
    PROCEDURE adm_iModules_test_output
    IS
    --cursor to select data to populate output file
    CURSOR c_iModules_main
    IS
    SELECT DISTINCT spriden_id sprid_id,
                                  spriden_pidm sprid_pidm,
                                  spriden_last_name sprid_last,
    spriden_first_name sprid_first,
                                  spriden_MI sprid_mid,
    spriden_create_date sprid_create_date,
    spriden_activity_date sprid_activity_date,
                                  spbpers_pidm pers_pidm,
    spbpers_name_prefix prefix,
    spbpers_name_suffix suffix,
                                  spbpers_dead_ind deceased_ind,
                                  spbpers_dead_date deceased_date,
                                  spbpers_birth_date, --added birth date
                                  spbpers_sex, --added gender
                                  goremal_pidm emal_pidm,
    goremal_email_address email_address,
                                  saradap_pidm app_pidm,
                                  zzrimod_member_id imod_id,
                                  gobtpac_external_user user_id
    FROM spriden,
    spbpers,
    goremal,
                                  saradap,
                                  zzrimod,
                                  gobtpac
    WHERE spriden_pidm = spbpers_pidm
    AND spriden_change_ind IS NULL
    AND spriden_pidm = goremal_pidm
                             AND goremal_emal_code = 'PERS'
                             AND goremal_preferred_ind = 'Y'
                             AND spriden_pidm = saradap_pidm
                             AND spriden_pidm = 120116
                             AND spriden_pidm = gobtpac_pidm
                             AND spriden_pidm = zzrimod_pidm(+)
                             AND goremal_preferred_ind = 'Y'
                             AND saradap_term_code_entry in ('200810','200820','200830');
         v_record      VARCHAR2 (32000) := null;
         v_record_counter               NUMBER                    := 0;
    f_iModules_output_test UTL_FILE.file_type;
    f_iModules_filename_test VARCHAR2 (50) := 'Adm_iModules_Test.TXT';
    f_iModules_dir_test VARCHAR2 (100) := 'TMP';
         v_separator                    VARCHAR2 (50)          := ',';
         v_id                              VARCHAR2 (90)          := '';
         v_fname                         VARCHAR2 (40)          := '';
         v_lname                         VARCHAR2 (40)          := '';
         v_user                         VARCHAR2 (90)          := '';
         v_login                         VARCHAR2 (100)          := '';
         v_password                    VARCHAR2 (100)          := '';
    -- v_link                         VARCHAR2 (32767)     := 'http://imodules.com/Web%20Services/';
         --the below item 'http://admin.imodules.com - was https://admin.imodules.com
         v_link                         VARCHAR2 (32767)      := 'http://admin.imodules.com/ws_10/MemberQuery.asmx?WSDL';
         v_non_existing_ids          VARCHAR2 (100)          := '"false"';
         v_style                         VARCHAR2 (5)           := '"1"';
         v_imod_member_id               VARCHAR2 (100)      := '';
         v_spriden_first_name           VARCHAR2 (60)          := '';
         req                Utl_Http.req;           --for posting
         resp                Utl_Http.resp;          --for posting
         v_msg                VARCHAR2(80);          --for posting
         H_Name                VARCHAR2(255);          --for posting
         H_Value                VARCHAR2(1023);     --for posting
         v_data_xml                    VARCHAR2(10000);
         BEGIN
                   DBMS_OUTPUT.ENABLE(1000000);
              f_iModules_output_test := UTL_FILE.fopen (f_iModules_dir_test, f_iModules_filename_test, 'w',32767);
                   v_record := '';
                   --needed for posting
    --                Utl_http.set_proxy(proxy => 'xxx.yyy.com',
    --      no_proxy_domains => 'xxx.com');
                   req := Utl_Http.begin_request(url => v_link,
    method => 'POST');
    --                          FOR v_iModules2 IN c_iModules_main
    --                          LOOP     
    --                                    v_record_counter := v_record_counter + 1;
    --                          END LOOP;
                             -- v_record := 'DUQ'||','||v_record_counter||','||to_char(SYSDATE,'mm/dd/yyyy');
                             UTL_FILE.put_line (f_iModules_output_test, v_record, false);     
                                       v_record := null;
                                  FOR v_iModules IN c_iModules_main
                                  LOOP
                                            v_id := v_imodules.sprid_id;
                                            v_fname := v_imodules.sprid_first||'test';
                                            v_lname := v_imodules.sprid_last;     
                                            v_user := '"'||v_imodules.email_address||'"';
                                            v_imodules.imod_id := '29';
                                            v_imod_member_id := '"'||v_imodules.imod_id||'"';
                                            v_spriden_first_name := '"SPRIDEN_FIRST_NAME"';
                                            v_login := '"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"';
                                            v_password := '"xxxxxxxxxxxxxxxxxxxxxxxx"';
                                            v_record :='<?xml version="1.0" encoding="utf-8"?>'||
                                            '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'||' '||
                                            'xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'||
                                            '<soap:Body>'||'<Update xmlns:m='||v_link||'>'||'<AUTHENTICATION login='||v_login||' '||
                                            'password='||v_password||' '||'addNonExistingIDs='||v_non_existing_ids||' '||'style='||
                                            v_style||'/>'||'<MemberInformation ZZRIMOD_MEMBER_ID='||v_imod_member_id||'>'||
                                            '<SPRIDEN_FIRST_NAME>'||v_fname||'</SPRIDEN_FIRST_NAME>'||'</MemberInformation>'||'</Update>'||
                                            '</soap:Body></soap:Envelope>';
    --                                         v_record := v_record := v_record||'<Update xmlns:m='||v_link||'>'||'<AUTHENTICATION login='||v_user||'>'||' '||
    --                                                   'password='||v_password||' '||'addNonExistingIDs='||v_non_existing_ids||' '||'style='||
    --                                                   v_style||'/>'||'<MemberInformation ZZRIMOD_MEMBER_ID='||v_imod_member_id||' '||
    --                                                   'column='||'"SPRIDEN_FIRST_NAME"'||' '||'newValue='||v_fname||'/>'||'</Update>';
                                            dbms_output.put_line('code: '||v_record);
                                            --v_record := v_record||v_separator||v_id||v_separator||v_name||v_separator||v_email;
                                       --Http posting calls
                                            Utl_Http.set_header(r => req,
                                            name => 'Content-Type',
                                            value => 'text/xml');
                                       Utl_Http.set_header(r => req,
                                            name => 'Content-Length',
                                            value => to_char(length(v_record)) );
                                            --JAM 03/25/08 - added to accomodate the missing soap action error                           
                                            Utl_Http.set_header(r => req,
                                            name => 'SOAPAction',
                                            value => 'http://admin.imodules.com/ws_10/MemberQuery.asmx?WSDL');
                                            Utl_Http.set_header(r => req,
                                            name => 'MessageType',
                                            value => 'CALL');
    --                                    Utl_Http.set_authentication(r => req,
    --                                         username => 'zzz',
    --                                                   password => 'ppppp',
    --                               scheme => 'Basic',
    --                               for_proxy => FALSE);
                                       Utl_Http.write_text(r => req,
                                            data => v_record);     
                                            resp := Utl_Http.get_response(r => req,
                             return_info_response => TRUE);
                                            DBMS_OUTPUT.put_line('Status Code: ' || resp.status_code);
                                            DBMS_OUTPUT.put_line('Reason Phrase: ' || resp.reason_phrase);
                                            dbms_output.put_line('testing');
                                            FOR i IN 1 .. Utl_Http.get_header_count(r => resp)
                                            LOOP
                                            Utl_Http.get_header(r => resp,
                   n => i,
                   name => H_Name,
                   value => H_Value);
                                            --DBMS_OUTPUT.put_line( ... );
                                            END LOOP;
                                            BEGIN
                                            LOOP
                                            Utl_Http.read_text(r => resp, DATA => v_msg);
                                            DBMS_OUTPUT.put_line(v_msg);
                                            END LOOP;
                                                 EXCEPTION
                                                 WHEN Utl_Http.end_of_body THEN
                                                 NULL;
                                                 END;          
                                                 Utl_Http.end_response(r => resp);      
    --                                              EXCEPTION
    --                                              WHEN Utl_Http.request_failed THEN
    --                                                   DBMS_OUTPUT.put_line('Request failed: '||Utl_Http.Get_Detailed_Sqlerrm);
    --                                                   WHEN Utl_Http.http_server_error THEN
    --                                                   DBMS_OUTPUT.put_line('Http_Server_Error: '||Utl_Http.Get_Detailed_Sqlerrm);
    --                                                   WHEN Utl_Http.http_client_error THEN
    --                                                   DBMS_OUTPUT.put_line('Client Error: '||Utl_Http.Get_Detailed_Sqlerrm);
    --                                                   WHEN others THEN     
    --                                                   DBMS_OUTPUT.put_line('Others2: '||Utl_Http.Get_Detailed_Sqlerrm);     
    --                                                   Utl_Http.end_response(r => resp);     
    --                                              END;
                                            --End of Htp posting calls
                                            --UTL_FILE.put_line (f_iModules_output_test, v_record, false);
                                            --htp.p('<post>'||v_record||'</post>');
                                            END LOOP;
                                                 EXCEPTION
                                                 WHEN Utl_Http.request_failed THEN
                                                      DBMS_OUTPUT.put_line('Request failed: '||Utl_Http.Get_Detailed_Sqlerrm);
                                                      WHEN Utl_Http.http_server_error THEN
                                                      DBMS_OUTPUT.put_line('Http_Server_Error: '||Utl_Http.Get_Detailed_Sqlerrm);
                                                      WHEN Utl_Http.http_client_error THEN
                                                      DBMS_OUTPUT.put_line('Client Error: '||Utl_Http.Get_Detailed_Sqlerrm);
                                                      WHEN others THEN     
                                                      DBMS_OUTPUT.put_line('Others2: '||Utl_Http.Get_Detailed_Sqlerrm);     
                                                      Utl_Http.end_response(r => resp);     
                                                 END;
                        -- close output file
                   --UTL_FILE.fclose (f_iModules_output_test);
                             --COMMIT;
                             /*EXCEPTION
                        WHEN OTHERS
                        THEN
                   ROLLBACK;
                   DBMS_OUTPUT.put_line ('Other Exception:' || SQLERRM);
                             -- DBMS_OUTPUT.put_line ('Other Exception:' || Utl_Http.Get_Detailed_Sqlerrm);
                             --COMMIT; */
                             -- END adm_iModules_test_output;
                             END adm_iModules_test;
    Message was edited by:
    user627523

  • Exchange 2013 OWA HTTP 500 error when opening another mailbox

    We have an Windows Server 2012 Exchange 2013 server with OWA. 
    All users can login fine, but when I open another mailbox with my Admin account, having enabled access to that user's mailbox, the URL redirects to /owa/auth/errorfe.aspx?httpCode=500 and shows: 
    something went wrong
    Sorry, we can't get that information right now. Please try again later. If the problem continues, contact your helpdesk
    Google won't help me in this instance. Where in the eventlog are OWA events logged?

    Hello,
    I am joining to the thread opener, however, we do not use exchange server. we are using the Cloud services through Microsoft and as far as I know, the version is 2013 wave 15 (again, through Microsoft's cloud).
    when I open the outlook, I can see the shared mailbox just fine.
    when I open the office web access, and I search the mailbox through the 'add another mailbox..' It finds it however when I press the add button I get the HTTP 500 error.
    when I tried to open a different mailbox (another shared mailbox I gave myself permissions for), it opens just fine.
    it seems (from what I can tell) it is this specific shared mailbox that I cannot open through OWA while others I can.
    when I try to open the mailbox in question through a different internet browser (Chrome) I get this Error:
    NegotiateSecurityContext failed with for host 'db3pr04mb138.eurprd04.prod.outlook.com' with status'LogonDenied'
    the error seems to be persistent on this specific mailbox only regardless to what browser I am trying to access with.
    I can only assume that the solutions you (Winnie) offered isn't relevant in my case.
    thanks in advance for any attempt to help me with this issue.

  • HTTP-500 Error Reading Data from Client!!

    I'm trying to create a page where by clients are able to contact us through the portal. So, it's a pretty basic form where I have a text box for the subject, and a text area for the message body.
    My problem is when the message body is over a certain size, I'm getting a "portlet cannot be contacted" on my screen. The Apache log comes up with the error:
    [error] mod_plsql: /pls/portal/!PORTAL.wwpob_page.show HTTP-500 Error Reading Data from Client!!
    I'm not using a windows OS, so the bug that has been talked about previously talked about shouldn't be the problem.
    Also, I am using a POST rather than a GET, so I don't think it has to do with the browser (and I have tested this on Firefox and IE 5.5 and IE 6).
    Would appreciate any advise.
    Thanks, Nicky

    Are you using SSL? Maybe, it has to do with it. I encountered a similar problem. It turned up that this read error occurred inside Apache and was caused by a nonstandard-SSL-request by Internet Explorer. te remedy was to add this to the Apache configuration:
    SetEnvIf     User-Agent     ".*MSIE.*"     \
    nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
    It tells Apache to switch to HTTP/1.0 and to never keep open socket connections with MSIE on SSL connections.
    Lycka till!

Maybe you are looking for

  • JtextArea Font Resize on Ctrl+Mouse wheel Scroll

    How can I create a JtextArea which can Resize my Font size by Ctrl+Scroll wheel move? Peace n Regards Chandrajeet

  • 2010 to 2013 migration problem with service application

    With a 3rd party migrator we are able to migrate a simple 2010 site to 2013. By simple UI level approach sites are migrated easily. But we have a large project where we have good amount of work done on various service applications.  We are facing pro

  • Custom Infotype in Portal

    Hi Experts......     We have a Custom Infotype, which contains employees career history..... and now we want that custom infotype to be filled by all the employees through portal..... how to configure this....? I think we should call the PA30 screen

  • Mixed content-type in email

    Hi, I want to send emails in html-format. However, some clents can't decode html, but includes the message as an attachment. In this case I would like to have a text that tells the reciever to open the attachment. I have tried to laborate with Conten

  • Adding new hard drive for Flash recovery area

    i am adding new hard drive for flash recovery area. How i can make single directory on that flash recovery area & how i can test that i am accessing that rightly , to that directory & flash back recovery area disk?