The underlying provider failed on open

Hi all,
I use the following Save method for the context so that I first insert the entities so that I have their identity column, then save the audit log for them.
public int Save()
int recordsUpdated = 0;
List<History> historyList = new List<History>();
this.DetectChanges();
IEnumerable<ObjectStateEntry> list = this.ObjectStateManager.GetObjectStateEntries(EntityState.Added | EntityState.Deleted | EntityState.Modified);
foreach (var ent in list)
if (!ent.IsRelationship && ent.Entity != null && !(ent.Entity is History))
historyList.Add(new History(ent));
DbConnection conn = ((EntityConnection)this.Connection).StoreConnection;
ConnectionState initialState = conn.State;
try
//Open connection if not already open
if (initialState != ConnectionState.Open)
conn.Open();
using (var scope = new TransactionScope())
recordsUpdated = this.SaveChanges();
if (historyList.Count > 0)
foreach (var history in historyList)
history.SetDetails();
this.Histories.AddObject(history);
this.SaveChanges();
catch (Exception ex)
System.Diagnostics.Debug.WriteLine(ex);
finally
//Only close connection if not initially open
if (initialState != ConnectionState.Open)
conn.Close();
return recordsUpdated;
The first thing to notice is that the connection is closed that's why I'm opening it.
First problem:
When updating an existing record and I reach the second call to SaveChanges, I get the above exception.
Second problem:
When inserting an new record I get the following exception:
"An error occurred while updating the entries. See the inner exception for details."}
    [System.Data.UpdateException]: {"An error occurred while updating the entries. See the inner exception for details."}
    Data: {System.Collections.ListDictionaryInternal}
    HelpLink: null
    HResult: -2146233087
    InnerException: {"The member with identity '' does not exist in the metadata collection.\r\nParameter name: identity"}
    Message: "An error occurred while updating the entries. See the inner exception for details."
    Source: "System.Data.Entity"
    StackTrace: "   at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)\r\n   at System.Data.EntityClient.EntityAdapter.Update(IEntityStateManager entityCache)\r\n  
at System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options)\r\n   at System.Data.Objects.ObjectContext.SaveChanges()\r\n   at AboServer.AboSystem5DB.Save() in C:\\Development\\dotNET\\ABOSystem5\\Server\\Common\\AboSystem5DB.cs:line
136"
    TargetSite: {Int32 Update(System.Data.IEntityStateManager, System.Data.IEntityAdapter)}
Need help!!

Couple of things:
1) When using Entity Framework, you do not need to explicitly open the connection.  This statement should do it for you.  Not only does it open the connection it also closes it when going out of scope of the USING verb.
using (var scope = new TransactionScope())
2) This part of the stack trace---> System.Data.Mapping.Update.Internal.UpdateTranslator.Update
    Tells me that something is wrong with Mapping.  I personally do not manually attempt to map anything when using EF because it appeared to be complex and required a lot of study of which I didn't have the time.  So...I always
allow EF to create the tables and mappings and it works everytime.
I'd suggest removing the explicit open code and fall back to the Using statement only.  I'd also suggest recreating your table model using EF's wizard which forces you to do the connection string and then to pick the proper tables.  It knows how
to map everything and does a great job of it.
JP Cowboy Coders Unite!

Similar Messages

  • Intermittent connection issues: The underlying provider failed on Open

    We are experiencing this error from Azure Compute to SQL Azure intermittently over the last couple of days (SE Asia).
    We have several applications in the same configurations and many of them exhibit this error for a period of time (some around 15 minutes).
    I checked the Azure status board and there is one warning about Networking but it is informational only. The Azure portal shows 0 failed connections on the database monitor and the connection numbers aren't massive (highest is 240).
    Is there another issue going on that's not on the status board (or is that networking issue worse than specified)?
    The application hasn't experienced this issue until the last couple of days so we don't believe it's a bug.
    Details:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

    Hello,
    SQL Database connection can fail for various reasons – a malformed query, network issues, and so on. Some errors are transient or intermittent. The general best practices to prevent connection-losses is to re-establish the connection and then re-execute
    the failed commands or the query. For example,  You can try to apply retry logic for SQL Server  in your application.
    Reference:
    Retry Logic for Transient Failures in Windows Azure SQL Database
    Windows Azure SQL Database Connection Management
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Getting Error: The underlying provider failed on Open

    Hi there,
    I am getting above error while executing below code, though it is working fine on another machine. please help me out
    log.ActionId = (from x in context.ActionLookUps
    where x.ActionDescription == actionMessage
    select x).First().ActionId;
    context.UserLogs.Add(log);

    Hi,
    This exception gets thrown when something goes wrong connecting to the database. The inner exception should have details about why the connection failed if you check that then it should tell you what is happening.
    Since this is working on other machines it is likely something to do with the permissions of the user executing the code or something to do with that specific machine communicating with the database.
    If you let us know what the inner exception is then we can probably provide more info.
    We are seeing a lot of great Entity Framework questions (and answers) from the community on Stack Overflow. As a result, our team is going to spend more time reading and answering questions posted on Stack Overflow. We would encourage you to post questions
    on Stack Overflow using the entity-framework tag. We will also continue to monitor the Entity Framework forum.

  • Underlying provider failed to open

    Hi all,
    I published my web site to windows azure cloud service and successfully opened.
    But my problem after about 8 hours without any request to my site I got an exception (The Underlying provider failed to open)
    Thanks,
    Khalil 

    Hi,
    From my experience, this error may be caused by incorrect connection string, I suggest you check it, then try to redeploy to cloud service again.
    In addition, Azure service dashboard report a service interrupt on SQL Azure, please try later when this service run as normal. see at:
    http://azure.microsoft.com/en-us/support/service-dashboard/
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The underlying provider failed on Commit.

    Hello,
    I am having a problem with commit.
    Here is the code where program stuck.
    using (var transaction = DataEngine.Context.Database.BeginTransaction(IsolationLevel.ReadCommitted))
    try
    var createResult = DataEngine.Context.Customer_Modify(BusinessID, cutomerName,usermodified);
    Logger.LogTrace(createResult.ToString());
    await DataEngine.Context.SaveChangesAsync();
    transaction.Commit();
    catch (Exception ex)
    Logger.LogTrace(ex.Message);
    // Attempt a rollback
    try
    transaction.Rollback();
    catch (Exception nex)
    Logger.LogTrace(nex.Message);
    throw;
    throw;
    After running the above code, I check the variable query and found an exception
    The underlying provider failed on Open.
    I've checked:
    Connection between server and computer is normal
    I can login to the database with username and password 
    I have checked the security settings in database (SQL Server) that permission has been granted .
    I can able to 'Insert' records but not 'Update'
    Why does this exception happen? I'm using .net 4.5
    Thanks

    Hi SamKri,
    You could try to enabling "Allow Remote Clients" in DTC config.
    You could open the DTC config by running dcomcnfg, Component Services -> Computers -> My Computer -> Distributed Transaction Coordinator -> Right click to  Local DTC -> Security.
    If this is still not working, the issue may be caused by the connectionString, you could share the connectionString with us, we could help you better.
    Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • CR2008 - Failed to open the connection. Failed to open the connection. ...

    Getting the following error when running CR2008 reports from web server:
    "Failed to open the connection. Failed to open the connection. <report_name>{2585477E-FB02-4594-9DB5-FFBFF2ABE124}.rpt"
    The web server is a Windows Server 2008 x64.  The IIS7 application pool is configured for 32bit, which solved our initial problem.  We are getting the above error if we use either CR2008 or CR2008 SP1.  Same issue with CRRuntime_12_1_mlb.exe.
    If we load CR2008 onto the web server, we can open and run the reports.  Thus, there appears to be no problem with the reports or the data source (an Access database).  Web application runs on development machine (windows xp).
    Why is there a GUID in the report file name?  How can we resolve this issue or what else should we check?
    TIA, Gary.

    Figured it out.  Turns out the ODBC data source name had been setup incorrectly.  Became obvious when stepping through the code.

  • CR2008:Failed to open the connection. Failed to open the connection. Report

    Hi,
    I've just upgraded from Crystal XI R2 to Crystal 2008. All my reports open happily in Crystal 2008. I have also deployed the Crystal 2008 runtime to a Windows 2003 SP2 R2 server running ASP.NET 1 and ASP.NET 2. Before the Crystal 2008 runtime was installed on top of the already present Crystal XI R2 Runtime I could view RPT files via the .NET report viewer (version XI). Now that Crystal 2008 runtime is installed I receive an error message when I try to view the reports, again, via the .NET report viewer (version 12), although no code has changed apart from all references changed from XI to 2008.
    Code is:
    CrystalDecisions.CrystalReports.Engine.ReportDocument oReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
                oReportDocument.Load(sReportFilename);
    Tables oTables = oReportDocument.Database.Tables;
                   foreach (CrystalDecisions.CrystalReports.Engine.Table oTable in oTables)
                        TableLogOnInfo crTableLogOnInfo = oTable.LogOnInfo;
                        crTableLogOnInfo.ConnectionInfo.IntegratedSecurity = true;
                        crTableLogOnInfo.ConnectionInfo.DatabaseName = "DB" ;
                        crTableLogOnInfo.ConnectionInfo.ServerName = "server" ;
                        oTable.ApplyLogOnInfo(crTableLogOnInfo);
    CrystalReportViewer1.ReportSource = oReportDocument;
                this.DataBind();
    Error message is: 'Failed to open the connection. Failed to open the connection'.
    Any help would be great.
    Regards
    Tony

    You are correct in that there are no database connectivity changes in CR 2008.
    If you do not have SP0 for CR 2008, download it from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
    If that does not help, I'd like to check if the correct dlls are loading when using CR 2008. To do that, download the modules utility from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
    Then do the following:
    1) unzip the download
    2) Run the app with the CR 2008 references
    3) get the error. leave the error on the screen
    4) Start modules
    5) Go to the File menu, select New List -> Memory Modules
    6) Expand "By process"
    7) Find the app exe (or the .NET dev env)
    8) Click on that
    9) Go to the View menu and select Details
    10) Look to see if there are any dlls loading form the CR XI r2 directory (c:\Program files\Business Objects\Common\3.5\bin)
    Ludek

  • I have a mac book pro.  Yesterday the mail app failed to open.  I have tried to open it fomr the dock and the application folder but nothing happens.  Does anyone have any suggestions to get it to work?

    I have a mac book pro.  Yesterday the mail app failed to open.  I have tried to open it from the dock and the application folder but nothing happens.  Does anyone have any suggestions to get it to work?

    You don't need iDVD unless you are going to make DVDs. If you are just trying to share files, iDVD won't help you at all.
    What you want to do is in iMovie, choose File/Share/File, and export that way. It creates an .mp4 file that should be readable on Macs or Windows.
    You could also File/Share/YouTube if you don't mind posting them to YouTube, because of course YouTube videos are watchable by any Mac or Windows computer made in the last 10 years.

  • I have an issue with the latest project i am working on. When i open the file, the arrange window fails to open

    Really strange issue. Only on one project.
    If i open the file, i can see logic running through the list of instruments, but the only window that opens is the fixed note length Midi transform window. I cant see the arrange window anywhere!
    If i khit play on my midi controller keyboard, i can play the project and hear everything as it should be, but just cant see the arrangement.
    If i attempt to close the Midi transform window, it wants to close the who project.
    Any ideas on what i do!?
    Thanks

    Thanks, but i'd already tried that and it didnt work.
    I have managed to fix it though, and for anyone else with the same issue, here is what i did:
    Find your Logic project file
    Right Click on the project, and choose 'Show Contents'
    Open the displayed folder 'LgDoc'
    Remove the file 'displayState'
    open the project, and all should be good!

  • Error"Failed to open the connection"  - Named Instance of SQL Server 2005

    "Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
    The report is throwing error, when changing the logon information dynamically through C#.
    Code
         string reportPath = @"D:\NET\TestReport\TestReport.rpt";
         ReportDocument reportDocument = new ReportDocument();
         reportDocument.Load(reportPath);
         foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
              TableLogOnInfo tableLogonInfo = table.LogOnInfo;                         
              tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1";  //Connnecting to Named instance of SQL Server 2005
              tableLogonInfo.ConnectionInfo.UserID = "sa";
              tableLogonInfo.ConnectionInfo.Password = "password";
              tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
              table.ApplyLogOnInfo(tableLogonInfo);     
         crystalReportViewer1.ReportSource = reportDocument;
    Error Message
         Failed to open the connection.
         Failed to open the connection.
         C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
    The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
    Thanks in Advance
    Edited by: pugalendran p on Feb 2, 2009 10:32 AM
    Edited by: pugalendran p on Feb 2, 2009 10:43 AM

    Hi,
    Following solution might help you to resolve the issue.
    Solution1:
    Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
    Resolution
    Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
    Import the universe from the designer.
    Go to File->Parameters.
    Edit Connection.
    On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
    Change the DSN to new DSN connection
    Test the connection.
    Save the Universe and Export it to the repository.
    Solution2:
    I am taking Oracle as an example over here.
    This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
    Resolution
    To resolve,
    check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
    look for any paths that contain a mapped drive partition
    Change the mapped drive letter to a UNC path (
    server\folder)
    Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
    If the path is not updated to the new path
    Reboot the server
    Regards,
    Sarbhjeet Kaur

  • Failed to open the target schema error

    Hi,
    I am using JDeveloper 10.1.3.1.
    I created a soap service in ESB to consume one of Jive forum web service and a routing service to supply information to the soap service to call a method in the web service. When I tried to create the mapping, I got the following error:
    Failed to open the target schema: Invalid reference: 'http://webservices.forum.jivesoftware.com:User'
    And the design view of the mapping file (.xsl) file shows nothing on Target area.
    Anybody has any idea where the problem lies? Below is the WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://jivesoftware.com/webservices" xmlns:tns="http://jivesoftware.com/webservices" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://webservices.forum.jivesoftware.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:ns2="http://base.jivesoftware.com" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://jivesoftware.com/webservices"><xsd:element name="getUsers"><xsd:complexType/></xsd:element><xsd:element name="getUsersResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ArrayOfUser"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="setUserProperty"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="name" nillable="true" type="xsd:string"/><xsd:element maxOccurs="1" minOccurs="1" name="value" nillable="true" type="xsd:string"/><xsd:element maxOccurs="1" minOccurs="1" name="userID" type="xsd:long"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="setUserPropertyResponse"><xsd:complexType/></xsd:element><xsd:element name="UserNotFoundException" type="ns2:UserNotFoundException"/><xsd:element name="deleteUserProperty"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="name" nillable="true" type="xsd:string"/><xsd:element maxOccurs="1" minOccurs="1" name="userID" type="xsd:long"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="deleteUserPropertyResponse"><xsd:complexType/></xsd:element><xsd:element name="getUser"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="id" type="xsd:long"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUserResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:User"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="deleteUser"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="userID" type="xsd:long"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="deleteUserResponse"><xsd:complexType/></xsd:element><xsd:element name="getUsersByEmailAddress"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="emailAddress" nillable="true" type="xsd:string"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUsersByEmailAddressResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ArrayOfUser"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUserByEmailAddress"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="emailAddress" nillable="true" type="xsd:string"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUserByEmailAddressResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:User"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUserProperties"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="userID" type="xsd:long"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUserPropertiesResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ArrayOfProperty"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUserByUsername"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="username" nillable="true" type="xsd:string"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUserByUsernameResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:User"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUsersBounded"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="startIndex" type="xsd:int"/><xsd:element maxOccurs="1" minOccurs="1" name="numResults" type="xsd:int"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUsersBoundedResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ArrayOfUser"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="getUserCount"><xsd:complexType/></xsd:element><xsd:element name="getUserCountResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" type="xsd:int"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="createUser"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="username" nillable="true" type="xsd:string"/><xsd:element maxOccurs="1" minOccurs="1" name="password" nillable="true" type="xsd:string"/><xsd:element maxOccurs="1" minOccurs="1" name="email" nillable="true" type="xsd:string"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="createUserResponse"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:User"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="UserAlreadyExistsException" type="ns2:UserAlreadyExistsException"/><xsd:element name="updateUser"><xsd:complexType><xsd:sequence><xsd:element maxOccurs="1" minOccurs="1" name="user" nillable="true" type="ns1:User"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="updateUserResponse"><xsd:complexType/></xsd:element></xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://webservices.forum.jivesoftware.com"><xsd:complexType name="ArrayOfUser"><xsd:sequence><xsd:element maxOccurs="unbounded" minOccurs="0" name="User" nillable="true" type="ns1:User"/></xsd:sequence></xsd:complexType><xsd:complexType name="User"><xsd:sequence><xsd:element minOccurs="0" name="ID" type="xsd:long"/><xsd:element minOccurs="0" name="creationDate" type="xsd:dateTime"/><xsd:element minOccurs="0" name="email" nillable="true" type="xsd:string"/><xsd:element minOccurs="0" name="emailVisible" type="xsd:boolean"/><xsd:element minOccurs="0" name="modificationDate" type="xsd:dateTime"/><xsd:element minOccurs="0" name="name" nillable="true" type="xsd:string"/><xsd:element minOccurs="0" name="nameVisible" type="xsd:boolean"/><xsd:element minOccurs="0" name="password" nillable="true" type="xsd:string"/><xsd:element minOccurs="0" name="passwordHash" nillable="true" type="xsd:string"/><xsd:element minOccurs="0" name="username" nillable="true" type="xsd:string"/></xsd:sequence></xsd:complexType><xsd:complexType name="ArrayOfProperty"><xsd:sequence><xsd:element maxOccurs="unbounded" minOccurs="0" name="Property" nillable="true" type="ns1:Property"/></xsd:sequence></xsd:complexType><xsd:complexType name="Property"><xsd:sequence><xsd:element minOccurs="0" name="name" nillable="true" type="xsd:string"/><xsd:element minOccurs="0" name="value" nillable="true" type="xsd:string"/></xsd:sequence></xsd:complexType></xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://base.jivesoftware.com"><xsd:complexType name="UserNotFoundException"><xsd:sequence><xsd:element minOccurs="0" name="userID" type="xsd:long"/><xsd:element minOccurs="0" name="username" nillable="true" type="xsd:string"/></xsd:sequence></xsd:complexType><xsd:complexType name="UserAlreadyExistsException"/></xsd:schema>
    </wsdl:types>
    <wsdl:message name="getUsersBoundedResponse">
    <wsdl:part name="parameters" element="tns:getUsersBoundedResponse"/>
    </wsdl:message>
    <wsdl:message name="updateUserResponse">
    <wsdl:part name="parameters" element="tns:updateUserResponse"/>
    </wsdl:message>
    <wsdl:message name="UserAlreadyExistsException">
    <wsdl:part name="UserAlreadyExistsException" element="tns:UserAlreadyExistsException"/>
    </wsdl:message>
    <wsdl:message name="getUsersBoundedRequest">
    <wsdl:part name="parameters" element="tns:getUsersBounded"/>
    </wsdl:message>
    <wsdl:message name="updateUserRequest">
    <wsdl:part name="parameters" element="tns:updateUser"/>
    </wsdl:message>
    <wsdl:message name="deleteUserPropertyResponse">
    <wsdl:part name="parameters" element="tns:deleteUserPropertyResponse"/>
    </wsdl:message>
    <wsdl:message name="createUserRequest">
    <wsdl:part name="parameters" element="tns:createUser"/>
    </wsdl:message>
    <wsdl:message name="getUserRequest">
    <wsdl:part name="parameters" element="tns:getUser"/>
    </wsdl:message>
    <wsdl:message name="setUserPropertyRequest">
    <wsdl:part name="parameters" element="tns:setUserProperty"/>
    </wsdl:message>
    <wsdl:message name="deleteUserResponse">
    <wsdl:part name="parameters" element="tns:deleteUserResponse"/>
    </wsdl:message>
    <wsdl:message name="setUserPropertyResponse">
    <wsdl:part name="parameters" element="tns:setUserPropertyResponse"/>
    </wsdl:message>
    <wsdl:message name="getUserCountResponse">
    <wsdl:part name="parameters" element="tns:getUserCountResponse"/>
    </wsdl:message>
    <wsdl:message name="getUserByEmailAddressResponse">
    <wsdl:part name="parameters" element="tns:getUserByEmailAddressResponse"/>
    </wsdl:message>
    <wsdl:message name="getUserResponse">
    <wsdl:part name="parameters" element="tns:getUserResponse"/>
    </wsdl:message>
    <wsdl:message name="deleteUserPropertyRequest">
    <wsdl:part name="parameters" element="tns:deleteUserProperty"/>
    </wsdl:message>
    <wsdl:message name="getUserByUsernameResponse">
    <wsdl:part name="parameters" element="tns:getUserByUsernameResponse"/>
    </wsdl:message>
    <wsdl:message name="getUserByUsernameRequest">
    <wsdl:part name="parameters" element="tns:getUserByUsername"/>
    </wsdl:message>
    <wsdl:message name="getUserByEmailAddressRequest">
    <wsdl:part name="parameters" element="tns:getUserByEmailAddress"/>
    </wsdl:message>
    <wsdl:message name="createUserResponse">
    <wsdl:part name="parameters" element="tns:createUserResponse"/>
    </wsdl:message>
    <wsdl:message name="getUsersRequest">
    <wsdl:part name="parameters" element="tns:getUsers"/>
    </wsdl:message>
    <wsdl:message name="getUsersResponse">
    <wsdl:part name="parameters" element="tns:getUsersResponse"/>
    </wsdl:message>
    <wsdl:message name="getUsersByEmailAddressRequest">
    <wsdl:part name="parameters" element="tns:getUsersByEmailAddress"/>
    </wsdl:message>
    <wsdl:message name="deleteUserRequest">
    <wsdl:part name="parameters" element="tns:deleteUser"/>
    </wsdl:message>
    <wsdl:message name="getUserCountRequest">
    <wsdl:part name="parameters" element="tns:getUserCount"/>
    </wsdl:message>
    <wsdl:message name="getUserPropertiesResponse">
    <wsdl:part name="parameters" element="tns:getUserPropertiesResponse"/>
    </wsdl:message>
    <wsdl:message name="getUsersByEmailAddressResponse">
    <wsdl:part name="parameters" element="tns:getUsersByEmailAddressResponse"/>
    </wsdl:message>
    <wsdl:message name="getUserPropertiesRequest">
    <wsdl:part name="parameters" element="tns:getUserProperties"/>
    </wsdl:message>
    <wsdl:message name="UserNotFoundException">
    <wsdl:part name="UserNotFoundException" element="tns:UserNotFoundException"/>
    </wsdl:message>
    <wsdl:portType name="ProfileServicePortType">
    <wsdl:operation name="getUsers">
    <wsdl:input name="getUsersRequest" message="tns:getUsersRequest"/>
    <wsdl:output name="getUsersResponse" message="tns:getUsersResponse"/>
    </wsdl:operation>
    <wsdl:operation name="setUserProperty">
    <wsdl:input name="setUserPropertyRequest" message="tns:setUserPropertyRequest"/>
    <wsdl:output name="setUserPropertyResponse" message="tns:setUserPropertyResponse"/>
    <wsdl:fault name="UserNotFoundException" message="tns:UserNotFoundException"/>
    </wsdl:operation>
    <wsdl:operation name="deleteUserProperty">
    <wsdl:input name="deleteUserPropertyRequest" message="tns:deleteUserPropertyRequest"/>
    <wsdl:output name="deleteUserPropertyResponse" message="tns:deleteUserPropertyResponse"/>
    <wsdl:fault name="UserNotFoundException" message="tns:UserNotFoundException"/>
    </wsdl:operation>
    <wsdl:operation name="getUser">
    <wsdl:input name="getUserRequest" message="tns:getUserRequest"/>
    <wsdl:output name="getUserResponse" message="tns:getUserResponse"/>
    <wsdl:fault name="UserNotFoundException" message="tns:UserNotFoundException"/>
    </wsdl:operation>
    <wsdl:operation name="deleteUser">
    <wsdl:input name="deleteUserRequest" message="tns:deleteUserRequest"/>
    <wsdl:output name="deleteUserResponse" message="tns:deleteUserResponse"/>
    <wsdl:fault name="UserNotFoundException" message="tns:UserNotFoundException"/>
    </wsdl:operation>
    <wsdl:operation name="getUsersByEmailAddress">
    <wsdl:input name="getUsersByEmailAddressRequest" message="tns:getUsersByEmailAddressRequest"/>
    <wsdl:output name="getUsersByEmailAddressResponse" message="tns:getUsersByEmailAddressResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getUserByEmailAddress">
    <wsdl:input name="getUserByEmailAddressRequest" message="tns:getUserByEmailAddressRequest"/>
    <wsdl:output name="getUserByEmailAddressResponse" message="tns:getUserByEmailAddressResponse"/>
    <wsdl:fault name="UserNotFoundException" message="tns:UserNotFoundException"/>
    </wsdl:operation>
    <wsdl:operation name="getUserProperties">
    <wsdl:input name="getUserPropertiesRequest" message="tns:getUserPropertiesRequest"/>
    <wsdl:output name="getUserPropertiesResponse" message="tns:getUserPropertiesResponse"/>
    <wsdl:fault name="UserNotFoundException" message="tns:UserNotFoundException"/>
    </wsdl:operation>
    <wsdl:operation name="getUserByUsername">
    <wsdl:input name="getUserByUsernameRequest" message="tns:getUserByUsernameRequest"/>
    <wsdl:output name="getUserByUsernameResponse" message="tns:getUserByUsernameResponse"/>
    <wsdl:fault name="UserNotFoundException" message="tns:UserNotFoundException"/>
    </wsdl:operation>
    <wsdl:operation name="getUsersBounded">
    <wsdl:input name="getUsersBoundedRequest" message="tns:getUsersBoundedRequest"/>
    <wsdl:output name="getUsersBoundedResponse" message="tns:getUsersBoundedResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getUserCount">
    <wsdl:input name="getUserCountRequest" message="tns:getUserCountRequest"/>
    <wsdl:output name="getUserCountResponse" message="tns:getUserCountResponse"/>
    </wsdl:operation>
    <wsdl:operation name="createUser">
    <wsdl:input name="createUserRequest" message="tns:createUserRequest"/>
    <wsdl:output name="createUserResponse" message="tns:createUserResponse"/>
    <wsdl:fault name="UserAlreadyExistsException" message="tns:UserAlreadyExistsException"/>
    </wsdl:operation>
    <wsdl:operation name="updateUser">
    <wsdl:input name="updateUserRequest" message="tns:updateUserRequest"/>
    <wsdl:output name="updateUserResponse" message="tns:updateUserResponse"/>
    <wsdl:fault name="UserNotFoundException" message="tns:UserNotFoundException"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ProfileServiceHttpBinding" type="tns:ProfileServicePortType">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getUsers">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getUsersRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getUsersResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="setUserProperty">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="setUserPropertyRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="setUserPropertyResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserNotFoundException">
    <wsdlsoap:fault name="UserNotFoundException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="deleteUserProperty">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="deleteUserPropertyRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="deleteUserPropertyResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserNotFoundException">
    <wsdlsoap:fault name="UserNotFoundException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getUser">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getUserRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getUserResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserNotFoundException">
    <wsdlsoap:fault name="UserNotFoundException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="deleteUser">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="deleteUserRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="deleteUserResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserNotFoundException">
    <wsdlsoap:fault name="UserNotFoundException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getUsersByEmailAddress">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getUsersByEmailAddressRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getUsersByEmailAddressResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getUserByEmailAddress">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getUserByEmailAddressRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getUserByEmailAddressResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserNotFoundException">
    <wsdlsoap:fault name="UserNotFoundException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getUserProperties">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getUserPropertiesRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getUserPropertiesResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserNotFoundException">
    <wsdlsoap:fault name="UserNotFoundException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getUserByUsername">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getUserByUsernameRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getUserByUsernameResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserNotFoundException">
    <wsdlsoap:fault name="UserNotFoundException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getUsersBounded">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getUsersBoundedRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getUsersBoundedResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getUserCount">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getUserCountRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getUserCountResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="createUser">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="createUserRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="createUserResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserAlreadyExistsException">
    <wsdlsoap:fault name="UserAlreadyExistsException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="updateUser">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="updateUserRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="updateUserResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="UserNotFoundException">
    <wsdlsoap:fault name="UserNotFoundException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="ProfileService">
    <wsdl:port name="ProfileServiceHttpPort" binding="tns:ProfileServiceHttpBinding">
    <wsdlsoap:address location="http://aarc1.us.oracle.com:7777/owc_discussions_nosso/rpc/soap/ProfileService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Thank you.
    Message was edited by:
    user579972

    Let me add more information. The web service is provided online from the application and I didn't make a local copy or modify it.
    I tested the web service using SOAP UI and worked like a charm.
    I made another test just now by only creating Soap service to use the WSDL and allow the external invocation. Then I call the ESB wsdl (soap service WSDL) from SOAP UI and got the following error. It seems to me, ESB incorrectly format the soap request to Jive or the ESB has problem handling the request from SoapUI.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:ESBMessageProcessingFailed</faultcode>
    <detail>
    <EventName>JiveESB.ProfileService.createUser</EventName>
    <Cause>An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: application/xop+xml; type="text/xml"; charset=UTF-8
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1717)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1463)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1185)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:314)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:187)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:436)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:539)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:314)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:187)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:436)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: application/xop+xml; type="text/xml"; charset=UTF-8
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1717)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1463)
         at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1185)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507)
         ... 28 more
    ".</Cause>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Thanks.

  • How to resolve "Failed to open the panel socket"?

    I am trying to run some of our Flexunit tests on Unix OS.  To setup my environment I followed all of the steps on http://docs.flexunit.org/index.php?title=Ant_Task document.  My environment is now:
    OS: RedHat 5 64bit
    SDK 4.1.0
    Flexunit version 4.1.0-8-as3_4.1.0.16076
    Flash Player 10.3.181.34
    Apache Ant 1.8.2
    I am trying to compile and run the provided sample application “FlexUnit4SampleCIProject” with the included ant build script.  The application gets compiled fine but flash player fails to run the tests. The only error message that I see in the console is “Failed to open the panel socket”  Below is the complete log from the console.  Does anyone know what I am doing wrong?
    Any help is greatly appreciated!
    ===================================================================================
    [demomictay@rdcesx09113 FlexUnit4SampleCIProject]$ ant -v clean package
    Apache Ant(TM) version 1.8.2 compiled on December 20 2010
    Trying the default build file: build.xml
    Buildfile: /home/demomictay/proj/FlexUnit4SampleCIProject/build.xml
    Detected Java version: 1.6 in: /usr/java/jdk1.6.0_26/jre
    Detected OS: Linux
    parsing buildfile /home/demomictay/proj/FlexUnit4SampleCIProject/build.xml with URI = file:/home/demomictay/proj/FlexUnit4SampleCIProject/build.xml
    Project base dir set to: /home/demomictay/proj/FlexUnit4SampleCIProject
    parsing buildfile jar:file:/home/demomictay/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/home/demomictay/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
    [property] Loading Environment env.
    Build sequence for target(s) `clean' is [clean]
    Complete build sequence is [clean, init, compile, test, package, ]
    clean:
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target
       [delete] Deleting /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner.mxml
       [delete] Deleting /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner.swf
       [delete] Deleting /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/Main.swf
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target/report
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target/dist
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target
    Build sequence for target(s) `package' is [init, compile, test, package]
    Complete build sequence is [init, compile, test, package, clean, ]
    init:
        [mkdir] Created dir: /home/demomictay/proj/FlexUnit4SampleCIProject/target
        [mkdir] Created dir: /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin
        [mkdir] Created dir: /home/demomictay/proj/FlexUnit4SampleCIProject/target/report
        [mkdir] Created dir: /home/demomictay/proj/FlexUnit4SampleCIProject/target/dist
    compile:
        [mxmlc] Loading configuration file /home/demomictay/sdk/frameworks/flex-config.xml
        [mxmlc] /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/Main.swf (58111 bytes)
    test:
    [flexunit] Validating task attributes ...
    [flexunit] OS: [Linux]
    [flexunit] Generating default values ...
    [flexunit] Using the following settings for compilation:
    [flexunit]     FLEX_HOME: [/home/demomictay/sdk]
    [flexunit]     player: [flash]
    [flexunit]     sourceDirectories: ["/home/demomictay/proj/FlexUnit4SampleCIProject/src/main/flex"]
    [flexunit]     testSourceDirectories: ["/home/demomictay/proj/FlexUnit4SampleCIProject/src/test/flex"]
    [flexunit]     libraries: ["/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-4.1.0-8-as3_4.1.0.16076.sw c","/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-4.1.0-8-flex_4.1.0.16076. swc","/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-aircilistener-4.1.0-8-4 .1.0.16076.swc","/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-cilistener-4 .1.0-8-4.1.0.16076.swc","/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-flex coverlistener-4.1.0-8-4.1.0.16076.swc","/home/demomictay/proj/FlexUnit4SampleCIProject/lib s/flexunit-uilistener-4.1.0-8-4.1.0.16076.swc","/home/demomictay/proj/FlexUnit4SampleCIPro ject/libs/fluint-extensions-4.1.0-8-4.1.0.16076.swc"]
         [null] Executing '/usr/java/jdk1.6.0_26/jre/bin/java' with arguments:
         [null] '-jar'
         [null] '/home/demomictay/sdk/lib/mxmlc.jar'
         [null] '--version'
         [null]
         [null] The ' characters around the executable and arguments are
         [null] not part of the command.
         [null] Output redirected to property: SDK_VERSION
    [flexunit] Found SDK version: 4
    [flexunit] Created test runner at [/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner.mxml]
    [flexunit] Compiling test classes: [org.flexunit.demo.EchoPanelTest, org.flexunit.demo.SampleTest]
    [flexunit] Executing '/usr/java/jdk1.6.0_26/jre/bin/java' with arguments:
    [flexunit] '-Xmx256M'
    [flexunit] '-jar'
    [flexunit] '/home/demomictay/sdk/lib/mxmlc.jar'
    [flexunit] '+flexlib'
    [flexunit] '/home/demomictay/sdk/frameworks'
    [flexunit] '-output'
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner.swf'
    [flexunit] '-source-path'
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/src/main/flex'
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/src/test/flex'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-4.1.0-8-as3_ 4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-4.1.0-8-flex _4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-aircilistene r-4.1.0-8-4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-cilistener-4 .1.0-8-4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-flexcoverlis tener-4.1.0-8-4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-uilistener-4 .1.0-8-4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/fluint-extensions-4.1 .0-8-4.1.0.16076.swc'
    [flexunit] '-debug=false'
    [flexunit] '-headless-server=true'
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner.mxml'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
         [null] Error redirected to property: MXMLC_ERROR
         [null] Loading configuration file /home/demomictay/sdk/frameworks/flex-config.xml
         [null] /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner.swf (104083 bytes)
    [flexunit] Using the following settings for the test run:
    [flexunit]     FLEX_HOME: [/home/demomictay/sdk]
    [flexunit]     haltonfailure: [true]
    [flexunit]     headless: [true]
    [flexunit]     display: [7000]
    [flexunit]     localTrusted: [true]
    [flexunit]     player: [flash]
    [flexunit]     port: [1024]
    [flexunit]     swf: [/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner.swf]
    [flexunit]     timeout: [60000ms]
    [flexunit]     toDir: [/home/demomictay/proj/FlexUnit4SampleCIProject/target/report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Starting xvnc
    [flexunit] Attempting start on :7000 ...
    [flexunit] Executing 'vncserver' with arguments:
    [flexunit] ':7000'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit]
    [flexunit] New 'rdcesx09113:7000 (demomictay)' desktop is rdcesx09113:7000
    [flexunit]
    [flexunit] Starting applications specified in /home/demomictay/.vnc/xstartup
    [flexunit] Log file is /home/demomictay/.vnc/rdcesx09113:7000.log
    [flexunit]
    [flexunit] Setting DISPLAY=:7000
    [flexunit] Entry [/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin] already available in local trust file at [/home/demomictay/.macromedia/Flash_Player/#Security/FlashPlayerTrust/flexUnit.cfg].
    [flexunit] Executing 'gflashplayer' with arguments:
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner.swf'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to allocate the agent. Exitting...
    [flexunit] Failed to invoking the agent: No such file or directory
    [flexunit] Cannot launch the agent
    [flexunit] The messenger is now down
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    ===================================================================================

    Hi bastini-
    Could you please tell me, specifically, which version of RedHat 5 64-bit you're using? For instance, is it RHEL or RHEV; server or desktop? Just want to replicate your environment as closely as possible.
    Cheers,
    Thomas Fowler
    bastani wrote:
    I am trying to run some of our Flexunit tests on Unix OS.  To setup my environment I followed all of the steps on http://docs.flexunit.org/index.php?title=Ant_Task document.  My environment is now:
    OS: RedHat 5 64bit
    SDK 4.1.0
    Flexunit version 4.1.0-8-as3_4.1.0.16076
    Flash Player 10.3.181.34
    Apache Ant 1.8.2
    I am trying to compile and run the provided sample application “FlexUnit4SampleCIProject” with the included ant build script.  The application gets compiled fine but flash player fails to run the tests. The only error message that I see in the console is “Failed to open the panel socket”  Below is the complete log from the console.  Does anyone know what I am doing wrong?
    Any help is greatly appreciated!
    ====================================================================== =============
    [demomictay@rdcesx09113 FlexUnit4SampleCIProject]$ ant -v clean package
    Apache Ant(TM) version 1.8.2 compiled on December 20 2010
    Trying the default build file: build.xml
    Buildfile: /home/demomictay/proj/FlexUnit4SampleCIProject/build.xml
    Detected Java version: 1.6 in: /usr/java/jdk1.6.0_26/jre
    Detected OS: Linux
    parsing buildfile /home/demomictay/proj/FlexUnit4SampleCIProject/build.xml with URI = file:/home/demomictay/proj/FlexUnit4SampleCIProject/build.xml
    Project base dir set to: /home/demomictay/proj/FlexUnit4SampleCIProject
    parsing buildfile jar:file:/home/demomictay/apache-ant-1.8.2/lib/ant.jar!/org/apache/to ols/ant/antlib.xml with URI = jar:file:/home/demomictay/apache-ant-1.8.2/lib/ant.jar!/org/apache/to ols/ant/antlib.xml from a zip file
    [property] Loading Environment env.
    Build sequence for target(s) `clean' is [clean]
    Complete build sequence is [clean, init, compile, test, package, ]
    clean:
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target
       [delete] Deleting /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner. mxml
       [delete] Deleting /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner. swf
       [delete] Deleting /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/Main.swf
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target/report
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target/dist
       [delete] Deleting directory /home/demomictay/proj/FlexUnit4SampleCIProject/target
    Build sequence for target(s) `package' is [init, compile, test, package]
    Complete build sequence is [init, compile, test, package, clean, ]
    init:
        [mkdir] Created dir: /home/demomictay/proj/FlexUnit4SampleCIProject/target
        [mkdir] Created dir: /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin
        [mkdir] Created dir: /home/demomictay/proj/FlexUnit4SampleCIProject/target/report
        [mkdir] Created dir: /home/demomictay/proj/FlexUnit4SampleCIProject/target/dist
    compile:
        [mxmlc] Loading configuration file /home/demomictay/sdk/frameworks/flex-config.xml
        [mxmlc] /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/Main.swf (58111 bytes)
    test:
    [flexunit] Validating task attributes ...
    [flexunit] OS: [Linux]
    [flexunit] Generating default values ...
    [flexunit] Using the following settings for compilation:
    [flexunit]     FLEX_HOME: [/home/demomictay/sdk]
    [flexunit]     player: [flash]
    [flexunit]     sourceDirectories: ["/home/demomictay/proj/FlexUnit4SampleCIProject/src/main/flex"]
    [flexunit]     testSourceDirectories: ["/home/demomictay/proj/FlexUnit4SampleCIProject/src/test/flex"]
    [flexunit]     libraries: ["/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-4.1.0- 8-as3_4.1.0.16076.swc","/home/demomictay/proj/FlexUnit4SampleCIProject /libs/flexunit-4.1.0-8-flex_4.1.0.16076.swc","/home/demomictay/proj/Fl exUnit4SampleCIProject/libs/flexunit-aircilistener-4.1.0-8-4.1.0.16076 .swc","/home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-ci listener-4.1.0-8-4.1.0.16076.swc","/home/demomictay/proj/FlexUnit4Samp leCIProject/libs/flexunit-flexcoverlistener-4.1.0-8-4.1.0.16076.swc"," /home/demomictay/proj/FlexUnit4SampleCIProject/libs/flexunit-uilistene r-4.1.0-8-4.1.0.16076.swc","/home/demomictay/proj/FlexUnit4SampleCIPro ject/libs/fluint-extensions-4.1.0-8-4.1.0.16076.swc"]
         [null] Executing '/usr/java/jdk1.6.0_26/jre/bin/java' with arguments:
         [null] '-jar'
         [null] '/home/demomictay/sdk/lib/mxmlc.jar'
         [null] '--version'
         [null]
         [null] The ' characters around the executable and arguments are
         [null] not part of the command.
         [null] Output redirected to property: SDK_VERSION
    [flexunit] Found SDK version: 4
    [flexunit] Created test runner at [/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner .mxml]
    [flexunit] Compiling test classes: [org.flexunit.demo.EchoPanelTest, org.flexunit.demo.SampleTest]
    [flexunit] Executing '/usr/java/jdk1.6.0_26/jre/bin/java' with arguments:
    [flexunit] '-Xmx256M'
    [flexunit] '-jar'
    [flexunit] '/home/demomictay/sdk/lib/mxmlc.jar'
    [flexunit] '+flexlib'
    [flexunit] '/home/demomictay/sdk/frameworks'
    [flexunit] '-output'
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner .swf'
    [flexunit] '-source-path'
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/src/main/flex'
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/src/test/flex'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/f lexunit-4.1.0-8-as3_4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/f lexunit-4.1.0-8-flex_4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/f lexunit-aircilistener-4.1.0-8-4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/f lexunit-cilistener-4.1.0-8-4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/f lexunit-flexcoverlistener-4.1.0-8-4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/f lexunit-uilistener-4.1.0-8-4.1.0.16076.swc'
    [flexunit] '-library-path+=/home/demomictay/proj/FlexUnit4SampleCIProject/libs/f luint-extensions-4.1.0-8-4.1.0.16076.swc'
    [flexunit] '-debug=false'
    [flexunit] '-headless-server=true'
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner .mxml'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
         [null] Error redirected to property: MXMLC_ERROR
         [null] Loading configuration file /home/demomictay/sdk/frameworks/flex-config.xml
         [null] /home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner. swf (104083 bytes)
    [flexunit] Using the following settings for the test run:
    [flexunit]     FLEX_HOME: [/home/demomictay/sdk]
    [flexunit]     haltonfailure: [true]
    [flexunit]     headless: [true]
    [flexunit]     display: [7000]
    [flexunit]     localTrusted: [true]
    [flexunit]     player: [flash]
    [flexunit]     port: [1024]
    [flexunit]     swf: [/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner .swf]
    [flexunit]     timeout: [60000ms]
    [flexunit]     toDir: [/home/demomictay/proj/FlexUnit4SampleCIProject/target/report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Starting xvnc
    [flexunit] Attempting start on :7000 ...
    [flexunit] Executing 'vncserver' with arguments:
    [flexunit] ':7000'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit]
    [flexunit] New 'rdcesx09113:7000 (demomictay)' desktop is rdcesx09113:7000
    [flexunit]
    [flexunit] Starting applications specified in /home/demomictay/.vnc/xstartup
    [flexunit] Log file is /home/demomictay/.vnc/rdcesx09113:7000.log
    [flexunit]
    [flexunit] Setting DISPLAY=:7000
    [flexunit] Entry [/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin] already available in local trust file at [/home/demomictay/.macromedia/Flash_Player/#Security/FlashPlayerTrust /flexUnit.cfg].
    [flexunit] Executing 'gflashplayer' with arguments:
    [flexunit] '/home/demomictay/proj/FlexUnit4SampleCIProject/target/bin/TestRunner .swf'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to open the panel socket
    [flexunit] Failed to allocate the agent. Exitting...
    [flexunit] Failed to invoking the agent: No such file or directory
    [flexunit] Cannot launch the agent
    [flexunit] The messenger is now down
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    ====================================================================== =============

  • Crystal report Error "Failed to open the connection."

    I have an ASP.NET application that access a database through ODBC. There is a problem  when I run Crystal Report " Failed to open the connection. Failed to open the connection". Can someone tell me how can i overcome ths problem.

    Moved to .NET SDK forum.
    Search here, lots of posts on how to debug database access through a WEB app.
    Don

  • Failed to open the connection. Details: [Database Vendor Code: 53 ]

    I'm upgrading one of our applications from Visual Studio 2005 to 2010. In the process I'm also switching our reports to run using Stored Procedures instead of Tables/Views.  Everything runs fine on development machines after all the migration work.  On the server however, it does not work. And I am getting the error message ""
    Server is Windows 2003 Server 32 bit.  And yes, I have installed the latest runtimes version 13.0.2000.0 on the server.  There have been no other changes on the server other than to switch the target framework on the website in question from .net 2 to .net 4, and then to modify the web.config file to remove references to the older Crystal Reports and replace with references to the newer version.
    I've seen many other threads on this "failed to open the connection" errors but none of them are my problem except there is one post that remains unanswered where someone had the same Database Vendor Code 53.  I don't know what that error means, spent a considerable amount of time researching that before asking this question.
    Lastly, it appears that this error only happens when the report is pulling data from a Stored Procedure rather than Tables/Views.  If I re-copy the previous reports, they still work.
    The ODBC drivers haven't changed, nor should they. They are fully up to date on that server machine.
    I can't think of anything else that would be indicative of anything other than this is a bug.  Here is the error text as it shows up in the event log:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 12/7/2011 3:49:50 PM
    Event time (UTC): 12/7/2011 11:49:50 PM
    Event ID: 38ce5b5487984e8aa8d2b84493d859a8
    Event sequence: 17
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/739252194/Root-1-129677751941252500
        Trust level: Full
        Application Virtual Path: /
        Application Path: D:\Websites\ACE5\Clients\TST\
        Machine name: ACE1
    Process information:
        Process ID: 5436
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: InternalException
        Exception message: Failed to open the connection.
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    PackSlipTST0 {638463B4-2196-492A-BD6E-9D82CB1862D5}.rpt
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName)
       at Distribution_PackingSlips_default.ExportPackingSlips(String CrystalReportPath, Boolean UseStoredProcedure)
       at Distribution_PackingSlips_default.Page_Load(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Failed to open the connection.
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    PackSlipTST0 {638463B4-2196-492A-BD6E-9D82CB1862D5}.rpt
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

    Lots of great info here, except for the database; MS SQL? Oracle? Etc?
    Database Vendor Code 53 is an error code that the CR engine simply passes straight from the database it's self. E.g.; look at your database error code and you should be able to find a verbose description of the error.
    As a test, what happens if you add the report to your project and run it in the CR design part of the .NET IDE?
    - A quick google search of Error 53 (for MS SQL - an assumption) comes up with a number of good hits. E.g.;
    http://social.msdn.microsoft.com/Forums/en-AU/sqlgetstarted/thread/27684811-1a59-4273-b7ed-3cc990b4f20a
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
    Edited by: Ludek Uher on Dec 8, 2011 6:31 AM

  • Failed to open the connection. Details: [Database Vendor Code: 12154].

    I have installed Crystal reports server 2008 VI on a Windows 2008 64bit OS. I have added SQL server and Oracle reports through CMC. I then installed Oracle 10g client 32bit on the server and created and tested the required DSNs using ODBC 32bit. All the testings are successfull.
    Now when I try to run my Oracle report through CMC it prompts for the parameters and when I enter them and click ok, gives me the following error:
    Failed to open the connection. Details: [Database Vendor Code: 12154].
    I have the same exact setup on a different server which has a 32 bit windows 2008 server OS and could run the same reports through CMC.
    Is there away to fix this in the 64 bit OS?
    I did a yahoo search and someone had a similar problem with Crystal RAS and Oracle.
    And there is mentions that this is an issue with 32 bit ODBC drivers on 64bit wondows OS.The parentheses in the default file location, C:\Program Files (x86), causes problems with the ODBC driver and the workarouns in re-installing Crystal RAS on a different folder.
    Full description is at (http://www.tririga.info/)
    Is this the case with Crystal report server 2008 VI? I already got users using the InfoView to run SQL reports and doing this will have to put the application offline atlease for a say.
    Any help is greatly appreciated.

    Vasana,
    Resolution: Failed to Open the Connection.
    First:
    If the Crystal Report is using 32-bit version of Microsoft ODBC then the Window 2008 server must also have 32-bit version of Microsoft ODBC. The 32- bit version of Odbcad32.exe is located in the %systemdrive%\Windows\SysWoW64 folder.
    On the Windows 2008 server, execute Odbcad32.exe by clicking start and run and entering the following: C:\Window\SysWow64\ODBC32.exe.
    Then:
    The Windows 2008 server ODBC Data Source Administrator must have the same System Data Source Server and Database Names that is used to run the Crystal Report.
    e.g. Crystal Report points to server ABC and database EFG (ABC_efg); then the ODBC connections on the Windows 2008 Server must also point to the same server ABC and database EFG (abc_efg) listed.

Maybe you are looking for

  • Error in Control Framework with GUI_DOWNLOAD FM

    Dear All, I am using GUI_DOWNLOAD FM to download a file in PDF format to presentation server. The code has been written in an enhancement spot in a class "/SCA/CL_SVORDER", method "Print" on an SNC server. On execution I get the error "Error in Contr

  • AS10.1.2.0.2 on Windows Vista --- helpful error message (not!)

    Guessing Oracle still hasn't certified AS10.1.2.0.2 on Windows Vista. Tried to run installer using "setup -ignoreSysPrereqs" starts the installer but the first thing I see is Abnormal program termination. An internal error has occurred. Please provid

  • Flash player crashes in IE7 Beta 3

    I have a couple of computers with XP Pro (all fully patched) with Beta 3 of IE7. The Flash Player ocx is crashing frequently but most often when looking at Flex 2 sites. All seems pretty fine in Firefox but that is not the answer as I am looking at d

  • Extreme with existing router

    in looking for a step by step guide to setting my extreme with my exsisting router via an ethernet cable to extend my wireless coverage.im just a liitle confused as which combination of settings to use when i think i beleive im using the extreme as a

  • Incorrect *.pdf printing

    Hi. a coworker have some printing problems. When he wants to print a doc,  sometimes alls characters are the next one. (sorry for my english, i am french) i mean, when the text is "hello my name is john" or "hello my name is jake" the result is "ifmm