Data Modeler unable to connect to DB
I am using OS/X 10.8.5. I have SQL Developer and Instant Client 11.2 installed and working fine.
I have recently installed Oracle Data Modeler 3.3.0.747 and am trying to synchronize my model with the DB.
When I try and add a connection if I set the connection type to TNS (which works just fine in SQL Developer), it doesn't show any of my tnsnames.ora entries in the 'Network Alias' drop down.
So I instead tried creating a connection of type 'Basic'. That _seemed_ to work OK - in that when I clicked 'Test' on the connection it returned success. However when I tried to use that connection it returned immediately with the error 'Closed Connection'.
Any suggestions would be gratefully received.
Steve
Maybe you need to install Oracle instant client . I had something similar to what you describe - can't rememeber if it was exactly the same , but I (think) I fixed it that way
Similar Messages
-
Crystal Report with text(csv) data file, unable to connect on deployment.
Hi
I have a crystal report that connects to a text file using (Access/Excel DAO).
Now I wrote a C# .net code that loads this report and change the file name to the text file to a different file
using table.TableName and table.Location to the new file and location,
then I do applyLogonInfo.
This worked perfectly on the machine where I developed my report and code but when I put the
files to a different machine where I need to deploy the reports, I get the following error.
Unable to connect: incorrect log on parameters.
at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.SetTa
bleLocation(ISCRTable CurTable, ISCRTable NewTable)
at CrystalDecisions.CrystalReports.Engine.Table.set_Location(String value)
at ComponentCalcsReport.GenerateCrystalReport.getReportInPdf(String reportfil
e, String fileName)
I have done the following on the deployment machine.
1) I have installed the CR_runtime libraries required to be able to run crystal report applications.
2) I have put my .rpt file and the .csv database files in the correct folder.
3) I have put my exe file on the machine.
I run it from the command line.
Am I missing something like registering the DAO or creating a DSN explicitly?Hi,
After searching through the forums I found this nice document
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0225775-88c4-2c10-bd80-8298769293de?quicklink=index&overridelayout=true
Using it's steps, I found out that when I created the report file using CR, I had the data connection set as a path
on the D drive. But the client/deployment machine did not have a D drive and hence the path to which the database was
pointing to. Therefore, the error "cannot connect to database" since the database name was pointing to D:pathToData
When I created a report that was on the C drive and it's data connection was also made from C drive then the same report worked fine on the client machine. I had to make sure that on the client machine I set up the exact same folder structure as the development machine's (i.e. C:pathToMyDataandReportFolder).
I tried using the setConnection function to change this path at run-time but did not succeed. -
Data Modeler 3 (EA1): Connection issue when connecting to oracle 11R2
Hi all,
When I try to create a connection object for a oracle 11r2 database I get the following error:
ORA-00604: error occurred at recursive SQL level 1
ORA-22285: non-existent directory or file for FILEEXISTS operation
ORA-06512: at "SYS.DBMS_LOB", line 725
ORA-06512: at line 5
when I test the connection.
I have checked the oracle 11r2 instance and have 3 directory objects and all are correct;
SYS ORACLE_OCM_CONFIG_DIR /opt/oracle/app/oracle/product/11.2.0.1/ccr/state
SYS DATA_PUMP_DIR /opt/oracle/app/oracle/product/11.2.0.1/rdbms/log/
SYS XMLDIR /opt/oracle/app/oracle/product/11.2.0.1/rdbms/xml
What can cause this problem. I have the same issue with the older version of the data modeler
ThanksHey if you want me too I can create a tar/sr.
It happens even when I log in as sysdba. The three directory objects on the file system are all owned by oracle and oracle can rwx into those.
My user can see XMLDIR but does not have read/write on the directory object all other it does have read write.
Thanks.
datamodeler.log:
2010-10-19 11:54:14,947 [main] INFO DataModelerAddin - Oracle SQL Developer Data Modeler 2.1
2010-10-19 12:01:32,288 [AWT-EventQueue-0] ERROR AbstractDBMExtractionWizardImpl - java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-22285: non-existent directory or file for FILEEXISTS operation
ORA-06512: at "SYS.DBMS_LOB", line 725
ORA-06512: at line 5
Environment:
About
Oracle SQL Developer Data Modeler 3.0.0
Version 3.0.0
Build 649
Copyright © 2008,2010 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.58.38
Product ID: oracle.datamodeler
Product Version: 3.0.0.649
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_21
Oracle IDE 3.0.0
Versioning Support 3.0.0
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.bootstrap.start 3457609345725564
ide.build 649
ide.conf D:\app\oracle\datamodeler\3.0.0\datamodeler\bin\datamodeler.conf
ide.config_pathname D:\app\oracle\datamodeler\3.0.0\datamodeler\bin\datamodeler.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path datamodeler/extensions:jdev/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.launcherProcessId 4160
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir D:\Documents and Settings\StreekRG\Application Data\Oracle SQL Developer Data Modeler
ide.pref.dir.base D:\Documents and Settings\StreekRG\Application Data
ide.product oracle.datamodeler
ide.shell.enableFileTypeAssociation D:\app\oracle\datamodeler\3.0.0\datamodeler.exe
ide.splash.screen splash.png
ide.startingArg0 D:\app\oracle\datamodeler\3.0.0\datamodeler.exe
ide.startingcwd D:\app\oracle\datamodeler\3.0.0
ide.user.dir D:\Documents and Settings\StreekRG\Application Data\Oracle SQL Developer Data Modeler
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir D:\Documents and Settings\StreekRG\My Documents\Oracle SQL Developer Data Modeler
ide.work.dir.base D:\Documents and Settings\StreekRG\My Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs D:\java\jdk1.6.0_21\jre\lib\endorsed
java.ext.dirs D:\java\jdk1.6.0_21\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home D:\java\jdk1.6.0_21\jre
java.io.tmpdir D:\DOCUME~1\StreekRG\LOCALS~1\Temp\
java.library.path D:\app\oracle\datamodeler\3.0.0;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\app\oracle\product\11.1.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;%C:\WINDOWS%\system32;%C:\WINDOWS%;%C:\WINDOWS%\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearCase\bin;C:\Program Files\QuickTime\QTSystem\
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_21-b07
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_21
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 17.0-b17
jdbc.driver.home /D:/app/oracle/product/11.1.0/db_1/
jdbc.library /D:/app/oracle/product/11.1.0/db_1/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home D:\app\oracle\datamodeler\3.0.0
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.net.tns_admin D:\app\oracle\datamodeler\3.0.0\network\admin
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /D:/app/oracle/product/11.1.0/db_1/jlib/orai18n.jar
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path D:\java\jdk1.6.0_21\jre\lib\resources.jar;D:\java\jdk1.6.0_21\jre\lib\rt.jar;D:\java\jdk1.6.0_21\jre\lib\sunrsasign.jar;D:\java\jdk1.6.0_21\jre\lib\jsse.jar;D:\java\jdk1.6.0_21\jre\lib\jce.jar;D:\java\jdk1.6.0_21\jre\lib\charsets.jar;D:\java\jdk1.6.0_21\jre\classes
sun.boot.library.path D:\java\jdk1.6.0_21\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 3
svnkit.sax.useDefault true
user.country US
user.dir D:\app\oracle\datamodeler\3.0.0\datamodeler\bin
user.home D:\Documents and Settings\StreekRG
user.language en
user.name streekrg
user.timezone America/New_York
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Code Editor oracle.ide.ceditor 11.1.1.4.37.58.38 Loaded
Database UI oracle.ide.db 11.1.1.4.37.58.38 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.58.38 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.58.38 Loaded
Help System oracle.ide.help 11.1.1.4.37.58.38 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.58.38 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.58.38 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.58.38 Loaded
Log Window oracle.ide.log 11.1.1.4.37.58.38 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.58.38 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.58.38 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.58.38 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.58.38 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.0.0.649 Loaded
Peek oracle.ide.peek 11.1.1.4.37.58.38 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.58.38 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.58.38 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.58.38 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.58.38 Loaded
Runner oracle.ide.runner 11.1.1.4.37.58.38 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.58.38 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.58.38 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.58.38 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.58.38 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.58.38 Loaded
audit oracle.ide.audit 11.1.1.4.37.58.38 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.58.38 Loaded -
4.0EA1 Data modeler: unable to import to SVN
Hello,
I am trying to import a data modeler design to SVN using the Team/Data Modeler/Import design menu option. After selecting this menu option, no window appears...
In the 3.3 version of DM I get the 'Import to subversion' screen.
Is this a bug?
Best regards,
JoopMaybe you need to install Oracle instant client . I had something similar to what you describe - can't rememeber if it was exactly the same , but I (think) I fixed it that way
-
Data Model damaged, Cannot connect to Access 2013 from within Excel 2013
Hello,
Recently I am not able to use PowerPivot for Excel 2013 and I cannot connect to my Access 2013 database tables from within Excel 2013. Whenever I try to click on a slicer in my Excel worksheet, it gives me the following error: "Excel was unable to load
a necessary component. This component might have been damaged or deleted. Reinstall the client software or data source driver software for your database."
I am using Microsoft Office Pro Plus 2013 on Windows 7, 64-bit version. I have tried reinstalling Microsoft SQL Compact Edition 2005 and reinstalling Office 2013. I have run out of ideas and am a loss what to do next ?
Can anyone help point in the right direction for a possible solution to this problem ???
Would appreciate all help.
Thank you.
~Maneesh
The problem with being punctual is, there's nobody there to appreciate it !!!Hi
This is the forum to discuss questions about apps for office develop. For your question is more about Excel, I will move this thread to the TechNet forum for
Excel
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly
can either share their knowledge or learn from your interaction with us.
Thank you for your understanding.
Best Regards
Lan
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. -
Unable to create a connection in data modeler with oracle 9i
While creating a connection to my 9i db I am getting the following error
Status : Failure -Test failed: oracle.i18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;Hi,
This problem when importing from Data Dictionary can occur intermittently if you have the Oracle 9i or 10g database software installed on your computer.
Ivan provided a workaround in a previous message in this forum Re: Error when testing database connection :
Try to create a batch file (datamodeler.bat) under Data Modeler installation folder and put the following two lines in it:
set ORACLE_HOME=%CD%
start datamodeler.exe
Then double click on this file to start Data Modeler.
Ivan -
Hello:
Our configurations is as follow : SharePoint 2013 is on Server A; SQL Server Analysis server (SQL 2014) is on DB Server B;
SharePoint databases (sp_ ...) and our Data Mart (SQL 2014) are on server B. All servers runs Windows 2012 OS.
On my desktop I built a simple Excel 2013 workbook with PowerPivot Data Model that imported several tables from our Data Mart (server B above). Then created a Power View report. Locally everything works fine.
But when I uploaded this workbook to our SharePoint PowerPivot gallery and was trying to refresh data, I got the connection error: It’s very long but the ErrorCode is “rsCannotRetriveModel”. The end of the error message is:
'TemporaryDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.SPClient</Source>
<Message>Call to Excel Services returned an error.</Message>
<MoreInformation><Source></Source><Message>We were unable to refresh one or more data connections in this workbook.
The following connections failed to refresh:ThisWorkbookDataModel</Message>
<MoreInformation><Source>Microsoft.Office.Excel.Server.WebServices</Source><Message>
We were unable to refresh one or more data connections in this workbook. The following connections failed to refresh:ThisWorkbookDataModel</Message></MoreInformation>
</MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
Our Excel Services on the SharePoint work fine and refresh data on different excel workbooks (with no Data Model) just fine. We are using an unattended account for Excel Services to connect from SharePoint server to our databases. Found a few references
on the topic, tried them but with no luck.
Please advise!
Regards
-Jeff
Jeff GorvitsHi Jeff,
Firstly, I need to confirm whether you are refreshing Data connection in browser, since Data Refresh is not supported in Office Web Apps. Please refer more information in this article:
http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/01/31/powerpivot-for-sharepoint-browser-refresh-fails-data-refresh-not-supported-in-office-web-apps.aspx
From the error "Call to Excel Services returned an error", please verify the location of the
data source, for example an Excel workbook, is registered as a trusted location with Excel Services:
https://technet.microsoft.com/en-us/library/jj219699(v=office.15).aspx
Since you are using unattended account for Excel Services to connect from SP to databases, I wonder if the issue occurs to unattended referesh, if so, please refer to:
http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshoot-powerpivot-data-refresh.aspx#Problems_using_the_Unattended_data_refresh_account
Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community Support -
Unable to connect to SharePoint list data from PowerPivot in Excel
Hi,
I have the PowerPivot excel add-in installed and I can connect successfully to SQL data. I have two SharePoint farms - Farm 1 and Farm 2.
I am able to connect PowerPivot to SharePoint lists in multiple web applications in Farm 1 by using the ListData.svc.
e.g. https://farm1/_vti_bin/ListData.svc/Tasks
In Farm 2 I am unable to connect to SharePoint data. I have tried multiple web applications on Farm 2 and can't connect. I receive the following error. I am able to browse to the address in Internet Explorer and see a feed.
Has anyone else had this error?
Thanks in advance,
Mark
Error Message:
============================
Cannot connect to the specified feed. Verify the connection and try again. Reason: The underlying connection was closed: An unexpected error occurred on a receive..
============================
Call Stack:
============================
at Microsoft.AnalysisServices.Modeler.DataImportWizard.DataSourceBasic.UpdateDataFeedParameters(ConnectionStringBuilder connBuilder, IDataSource dataSource, Boolean checkFeedValid)
at Microsoft.AnalysisServices.Modeler.DataImportWizard.DataSourceBasic.GetCurrentConnectionString(Boolean checkFeedValid)
at Microsoft.AnalysisServices.Modeler.DataImportWizard.DataSourceBasic.ClickTestConnection(Object progressControl)
============================Hi Millard1,
From your descripton, it seems you want to use SharePoint list as a data souce. If so, you should export the SharePoint as data feed in your SharePoint site, and then create a new PowerPivot table that contains the list. Here are some articles for your reference,
please see:
Use Data Feeds (PowerPivot for SharePoint):
http://technet.microsoft.com/en-us/library/ee210625.aspx#sharepointlist
Using a SharePoint list as a data source:
http://powerpivotgeek.com/2010/10/28/using-a-sharepoint-list-as-a-data-source/
Regards,
Bin Long
TechNet Community Support -
Model: Curve 8900
Provider: At&t
Platform: 4.2.0.108
I'm ready to throw this phone in the blender.... if I could only back up my data first. A couple of months ago the What's App application required an update. I updated it and ever since my phone has steadily had more and more issues. First, I kept getting this uncaught error message, shortly thereafter the 2 email accounts (both gmail) that I have linked to the account disappeared. The message icon shows that I have messages, but icons not there (I have tried the show all option). At one point the message icon started exponentially adding the number of messages until it got up to over 86,000. When I reboot the phone it goes back down and then steadily increases again... usually though it's more to 400 - 500 rather then tens of thousands. I have been trying to install updates and do a wipe of the BB so that I can start from scratch, unfortunately the application loader is unable to back up data. The desktop manager is unable to connect to the blackberry and indicates that an upgrade is required. I have tried doing the upgrade both directly from the phone and connected to the desktop manager, but nothing seems to work. If I try to upgrade the software directly from the BB, I get to the start download button and when I click, nothing happens. I have removed all applications except bberry app world and one game that I play, Pixelated Plus. Still nothing. Any ideas?Do you want to save the messages?
If not (and I think they are the problem) open the Desktop Software > Device > Delete Data and click the "select Data" option. Select the Messages to remove. Complete the prompts and finish.
Then, return to backup the entire device, and see if that is possible to complete this time with no messages.
Now, once the back up is done and you have your data, you can disconnect the device.
Now, use BBSAK to wipe the device and subsequently load the new operating system.
**If you cannot complete the backup again above, you might have to do without it, OR you can use the Desktop Software to sync your Address book, calendar, memos and tasks to Outlook. OR, you can easily install and use BlackBerry Protect to backup your device over the air to RIM servers, then once wiped and the new OS reloaded, you can use Protect to restore the data back to the 8900. << This you should do regardless.
Good luck, post back here as you have questions.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Can't create connection with Data Modeler 2.0.0 570
I have installed SQL Developer Data Modeler on my Windows Vista Home Premium system and am unable to create a connection to import a Data Dictionary. When I select TNS from the connection type dropdown list , I get a message below that states: 'Warning ORACLE_HOME environment variable is not set'.
This is odd, since I use SQL Developer daily on this same system with no issues. I have checked with regedit and the ORACLE_HOME environment variable is indeed set.
Any ideas?I ran into a similar where Data Modeler was finding the TNSNAMES.ORA file for the older Oracle 8i client (which I have to keep installed because some older legacy software depends on it) rather than the 10g client. My solution was to make use of a suggestion for a simialr problem with SQL Developer and create a DOS "cmd" file in the "+<data modeler install dir>+\datamodeler" directory that sets the ORACLE_HOME environment variable to my 10g client directory and then runs "datamodeler.exe". My file is named "datamodeler.cmd" and contains the following two lines:
SET ORACLE_HOME=C:\oracle\product\10.2.0\client_1
start datamodeler.exe
HTH.
Ed. H. -
Hello,
I'm self-study integrating Siebel with SOA
I just set up windown 2003 Siebel 8.1.1.11 (32-bit)
I start Siebel Server error log file:
>>>>> InfraEAIOutbound_0021_22020098.log <<<<<
2021 2014-04-15 11:27:34 0000-00-00 00:00:00 +0700 00000000 001 003f 0001 09 InfraEAIOutbound 22020098 724 4056 C:\Siebel\8.1.1.11.0\ses\siebsrvr\log\InfraEAIOutbound_0021_22020098.log 8.1.1.11 [23030] ENU
ServerLog LstnObjInherit 3 000064e0534c0428:0 2014-04-15 110 2014-04-15 11:27:34 Inherited listening object for port 49157
ServerLog LstnObjPrivCreate 3 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:27:34 Created port 49170 for EAI Outbound Server
GenericLog GenericError 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:27:53 [AUDIT_LOG]: Global audit cache load successful.
ObjMgrLog Error 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 (model.cpp (4051)) SBL-DAT-00227: Unable to create the Business Service 'EAI Outbound Service'
GenericLog GenericError 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 Object manager error: ([0] Unable to create the Business Service 'EAI Outbound Service'(SBL-DAT-00227) (0x7500e3))
GenericLog GenericError 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 Object manager error: ([1] Could not find 'Class' named 'EAI Outbound Service'. This object is inactive or nonexistent.(SBL-DAT-00144) (0x750090))
GenericLog GenericError 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 ( (0) err=2818155 sys=7667856) SBL-OMS-00107: Object manager error: ([1] Could not find 'Class' named 'EAI Outbound Service'. This object is inactive or nonexistent.(SBL-DAT-00144) (0x750090))
GenericLog GenericError 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 ( (0) err=2818155 sys=7667939) SBL-OMS-00107: Object manager error: ([0] Unable to create the Business Service 'EAI Outbound Service'(SBL-DAT-00227) (0x7500e3))
GenericLog GenericError 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 (bsvcmgr.cpp (941) err=2818250 sys=0) SBL-OMS-00202: Error 7667939 loading Business Service "EAI Outbound Service"
GenericLog GenericError 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 (bsvcmgr.cpp (1044) err=2818250 sys=0) SBL-OMS-00202: Error 7667939 loading Business Service "EAI Outbound Service"
GenericLog GenericError 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 (smimtsrv.cpp (1203) err=2818250 sys=0) SBL-OMS-00202: Error 7667939 loading Business Service "EAI Outbound Service"
SmiLayerLog Error 1 000064e2534c0428:0 2014-04-15 110 2014-04-15 11:28:11 Terminate process due to unrecoverable error: 2818250. (Main Thread)
LOG FILE:
>>>> SIEBELEVAL.Eval_1.log <<<<<
2021 2014-04-15 11:27:05 0000-00-00 00:00:00 +0700 00000000 001 003f 0001 09 SiebSrvr 0 2404 2876 C:\Siebel\8.1.1.11.0\ses\siebsrvr\log\SIEBELEVAL.Eval_1.log 8.1.1.11 [23030] ENU
ServerLog ServerStartup 1 00006142534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Siebel Enterprise Applications Server is starting up
ServerLog LstnObjCreate 1 00006231534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49156 for Business Integration Batch Manager
ServerLog LstnObjCreate 1 00006231534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49157 for EAI Outbound Server
ServerLog LstnObjCreate 1 00006232534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49158 for JMS Receiver
ServerLog LstnObjCreate 1 00006232534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49159 for Business Integration Manager
ServerLog LstnObjCreate 1 00006232534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49160 for File System Manager
ServerLog LstnObjCreate 1 00006232534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49161 for Server Request Processor
ServerLog LstnObjCreate 1 00006232534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49162 for Siebel Administrator Notification Component
ServerLog LstnObjCreate 1 00006232534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49163 for Server Request Broker
ServerLog LstnObjCreate 1 00006232534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49164 for Server Manager
ServerLog LstnObjCreate 1 00006232534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 2321 for Siebel Connection Broker
ServerLog LstnObjCreate 1 00006233534c0428:0 2014-04-15 110 2014-04-15 11:27:05 Created port 49165 for Forecast Service Manager
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 SRBroker STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 ServerMgr STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 ServerMgr INITIALIZED Component has initialized (no spawned procs).
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 SiebSrvr STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 SiebSrvr INITIALIZED Component has initialized (no spawned procs).
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 SCBroker STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 SrvrSched STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 SrvrSched INITIALIZED Component has initialized (no spawned procs).
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 Created multithreaded server process (OS pid = 2800 ) for SRBroker
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 Created server process (OS pid = 2408 ) for SCBroker
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:05 SCBroker INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 SRBroker INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 FSMSrvr STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 SRProc STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 SvrTblCleanup STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 SvrTaskPersist STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 AdminNotify STARTING Component is starting up.
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 Created multithreaded server process (OS pid = 3404 ) for FSMSrvr
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 Created multithreaded server process (OS pid = 3796 ) for SRProc
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 Created server process (OS pid = 3852 ) for SvrTblCleanup
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 Created server process (OS pid = 3104 ) for SvrTaskPersist
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 Created multithreaded server process (OS pid = 3876 ) for AdminNotify
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:10 FSMSrvr INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:15 SRProc INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 SvrTblCleanup INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 SvrTaskPersist INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 AdminNotify INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FINSObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FINSeSalesObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FINSeBrokerageObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FINSConsoleObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 INSeServiceObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FINSeChannelObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FINSeBankingObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FINSeEnrollmentObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 SSEObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FINSeCustomerObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 MqSeriesAMIRcvr STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 MqSeriesAMIRcvr INITIALIZED Component has initialized (no spawned procs).
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 BusIntBatchMgr STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 SMCObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 MSMQRcvr STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 MSMQRcvr INITIALIZED Component has initialized (no spawned procs).
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 InfraEAIOutbound STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 MqSeriesSrvRcvr STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 MqSeriesSrvRcvr INITIALIZED Component has initialized (no spawned procs).
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 JMSReceiver STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 BusIntMgr STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 EIM STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 EIM INITIALIZED Component has initialized (no spawned procs).
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 EAIObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 CustomAppObjMgr_enu STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 SMQReceiver STARTING Component is starting up.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 SMQReceiver INITIALIZED Component has initialized (no spawned procs).
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 FcstSvcMgr STARTING Component is starting up.
ServerLog ServerStarted 1 00006499534c0428:0 2014-04-15 110 2014-04-15 11:27:16 Siebel Application Server is ready and awaiting requests
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 Created server process (OS pid = 2488 ) for FINSObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:16 Created server process (OS pid = 2540 ) for FINSeSalesObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 3568 ) for FINSeBrokerageObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 2640 ) for FINSConsoleObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 4092 ) for INSeServiceObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 2812 ) for FINSeChannelObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 316 ) for FINSeBankingObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 3068 ) for FINSeEnrollmentObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 2572 ) for SSEObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 2940 ) for FINSeCustomerObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created multithreaded server process (OS pid = 1804 ) for BusIntBatchMgr
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:17 Created server process (OS pid = 3288 ) for SMCObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:18 Created multithreaded server process (OS pid = 724 ) for InfraEAIOutbound
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:18 Created multithreaded server process (OS pid = 2296 ) for JMSReceiver
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:18 Created multithreaded server process (OS pid = 2976 ) for BusIntMgr
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:18 Created server process (OS pid = 3168 ) for EAIObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:18 Created server process (OS pid = 2448 ) for CustomAppObjMgr_enu
ServerLog ProcessCreate 1 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:18 Created multithreaded server process (OS pid = 3080 ) for FcstSvcMgr
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:28 FINSObjMgr_enu INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:28 FINSeBrokerageObjMgr_enu INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:28 FINSConsoleObjMgr_enu INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:33 FINSeSalesObjMgr_enu INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:33 SSEObjMgr_enu INITIALIZED Component has initialized.
ServerLog ComponentUpdate 2 00001cbf534c0964:0 2014-04-15 110 2014-04-15 11:27:33 SMCObjMgr_enu INITIALIZEDHi Experts,
How to configure and launch the Siebel EAI?
I'm having problems with url: http://ws811/eai_enu/start.swe?SWECmd=Start&SWEHo=ws811
HTTP 500 - Internal server error
Internet Explorer
And the other url is OK:
http://ws811/sales_ENU/start.swe?SWECmd=Start&SWEHo=ws811
Please provide solution the asap. -
BO 4.0 - Database error: Unable to connect to SAP BW Incomplete logon data
Hello Experts,
I have enabled a 'SSO to database' between SAP BW and Business objects by referencing to the documents related to below link.
[http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers]
I have created a universe connection with option 'use single sign on when refreshing reports at view time' and have created a universe on top of my BEx query by log-in to the universe designer tools using my LDAP account.
Now when I run the report with either SAP account or LDAP - I am able to run a adhoc webi report on this universe and get data either through the webi rich client or via BO 4.0 Info-view/Launch Pad.
But the issue is that when other users are trying to run webi queries on this universe either through Info-view/launch pad or rich client by log-in via LDAP Authentication - they get the below error: I have given SAP_ALL to this user for time being and also have done the necessary configuration for 'simple user format' in CMC so these user has 1 account with 3 alias definitions: Enterprise, SAP, R/3.
Database error: Unable to connect to SAP BW server Incomplete logon data -
If the user logs on into the BO 4.0 Info-view/launch pad or webi rich client using his SAP authentication than he is able to run and retrieve data.
I also get a dump in the SAP BW system - I analyzed the dump in SAP BW using st22 tcode and it gives the error short text as - Incomplete logon data and run-time error - CALL_FUNCTION_SIGNON_INCOMPL
Desired outcome:
I want the users to log-in to webi rich client or BO 4.0 Launch pad/Info-view using their 'LDAP' authentication and run reports against the universe on SAP BW/BEx query without any errors or additional username/password requirements.
Can someone please tell me if I am missing any steps/configuration and guide me to achieve the above mentioned desired result ?
Any help in this matter would be greatly appreciated.
Thanks & regards,
CD.Hi Simone,
Thank you for the reply.
Here are the things done by me.
1. Generated the keystore file and imported it in BI 4.0 CMC on SAP Authentication Option tab
([http://wiki.sdn.sap.com/wiki/display/BOBJ/GeneratekeystoreandcertificateforSAPBO+BI4.0])
([http://wiki.sdn.sap.com/wiki/display/BOBJ/SetupofSAPSSOServiceinSAPBOBI4.0+CMC])
2. Generate the certificate file cert.der and this cert is imported in SAP BW with STRUSTSSO2 transaction.
([http://wiki.sdn.sap.com/wiki/display/BOBJ/ImportSAPBOBI4.0certificateintoSAP+BW])
3. BW Roles/Users have been imported into CMC.
4. SAP Users and LDAP users are mapped/aliased with each other using the registry key method
([http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtomapSAPusersandLDAPusersinSBOBI4.0+CMC])
I haven't explicitly configured STS (Security token service) as STS is a part of Adaptive processing server (APS) and I have verified that by going to servers in CMC and then to analysis services.
I have searched for SAP OSS notes related to my issue but couldn't find any note related to SAP BW SSO with Business objects 4.0. Most of the notes are relevant for BO XI 3.1 environments.
Thanks & regards,
CD. -
Hi Everybody,
i'm playing a little bit with Windows Azure and I'm blocked with a really simple issue (or maybe not).
I've created a Cloud Service containing one simple Worker Role. I've configured an EndPoint in the WorkerRole configuration, which allows Input connections via tcp on port 10100.
Here the ServiceDefinition.csdef file content:
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="EmacCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-01.2.3">
<WorkerRole name="TcpListenerWorkerRole" vmsize="Small">
<Imports>
<Import moduleName="Diagnostics" />
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
</Imports>
<Endpoints>
<InputEndpoint name="Endpoint1" protocol="tcp" port="10100" />
</Endpoints>
</WorkerRole>
</ServiceDefinition>
This WorkerRole is just creating a TcpListener object listening to the configured port (using the RoleEnvironment instance) and waits for an incoming connection. It receives a message and returns a hardcoded message (see code snippet below).
namespace TcpListenerWorkerRole
using System;
using System.Net;
using Microsoft.WindowsAzure.ServiceRuntime;
using System.Net.Sockets;
using System.Text;
using Roche.Emac.Infrastructure;
using System.IO;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Diagnostics;
using System.Linq;
public class WorkerRole : RoleEntryPoint
public override void Run()
// This is a sample worker implementation. Replace with your logic.
LoggingProvider.Logger.Info("TcpListenerWorkerRole entry point called");
TcpListener listener = null;
try
listener = new TcpListener(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint);
listener.ExclusiveAddressUse = false;
listener.Start();
LoggingProvider.Logger.Info(string.Format("TcpListener started at '{0}:{1}'", RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Address, RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Port));
catch (SocketException ex)
LoggingProvider.Logger.Exception("Unexpected exception while creating the TcpListener", ex);
return;
while (true)
Task.Run(async () =>
TcpClient client = await listener.AcceptTcpClientAsync();
LoggingProvider.Logger.Info(string.Format("Client connected. Address='{0}'", client.Client.RemoteEndPoint.ToString()));
NetworkStream networkStream = client.GetStream();
StreamReader reader = new StreamReader(networkStream);
StreamWriter writer = new StreamWriter(networkStream);
writer.AutoFlush = true;
string input = string.Empty;
while (true)
try
char[] receivedChars = new char[client.ReceiveBufferSize];
LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
char[] validChars = new char[readedChars];
Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
input = new string(validChars);
LoggingProvider.Logger.Info("This is what the host sent to you: " + input+". Readed chars=" + readedChars);
try
string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
writer.Write(orderResultFormat);
catch (Exception e)
LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
client.Close();
break;
catch (Exception ex)
LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
client.Close();
break;
}).Wait();
public override bool OnStart()
// Set the maximum number of concurrent connections
ServicePointManager.DefaultConnectionLimit = 12;
DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");
RoleEnvironment.Changing += RoleEnvironment_Changing;
return base.OnStart();
private void RoleEnvironment_Changing(object sender, RoleEnvironmentChangingEventArgs e)
// If a configuration setting is changing
LoggingProvider.Logger.Info("RoleEnvironment is changing....");
if (e.Changes.Any(change => change is RoleEnvironmentConfigurationSettingChange))
// Set e.Cancel to true to restart this role instance
e.Cancel = true;
As you can see, nothing special is being done. I've used the RoleEnvironment.CurrentRoleInstance.InstanceEndpoints to retrieve the current IPEndpoint.
Running the Cloud Service in the Windows Azure Compute Emulator everything works fine, but when I deploy it in Azure, then I receive the following Exception:
2014-08-06 14:55:23,816 [Role Start Thread] INFO EMAC Log - TcpListenerWorkerRole entry point called
2014-08-06 14:55:24,145 [Role Start Thread] INFO EMAC Log - TcpListener started at '100.74.10.55:10100'
2014-08-06 15:06:19,375 [9] INFO EMAC Log - Client connected. Address='196.3.50.254:51934'
2014-08-06 15:06:19,375 [9] INFO EMAC Log - Buffer size: 65536
2014-08-06 15:06:45,491 [9] FATAL EMAC Log - Unexpected exception while Reading the request
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
at TcpListenerWorkerRole.WorkerRole.<>c__DisplayClass0.<<Run>b__2>d__0.MoveNext() in C:\Work\Own projects\EMAC\AzureCloudEmac\TcpListenerWorkerRole\WorkerRole.cs:line 60
I've already tried to configure an internal port in the ServiceDefinition.csdef file, but I get the same exception there.
As you can see, the client can connect to the service (the log shows the message: Client connected with the address) but when it tries to read the bytes from the stream, it throws the exception.
For me it seems like Azure is preventing the retrieval of the message. I've tried to disable the Firewall in the VM in Azure and the same continues happening.
I'm using Windows Azure SDK 2.3
Any help will be very very welcome!
Thanks in advance!
Javier
En caso de que la respuesta te sirva, porfavor, márcala como válida
Muchas gracias y suerte!
Javier Jiménez Roda
Blog: http://jimenezroda.wordpress.comhi Javier,
I changed your code like this:
private AutoResetEvent connectionWaitHandle = new AutoResetEvent(false);
public override void Run()
TcpListener listener = null;
try
listener = new TcpListener(
RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint"].IPEndpoint);
listener.ExclusiveAddressUse = false;
listener.Start();
catch (SocketException se)
return;
while (true)
IAsyncResult result = listener.BeginAcceptTcpClient(HandleAsyncConnection, listener);
connectionWaitHandle.WaitOne();
The HandleAsync method is your "While (true)" code:
private void HandleAsyncConnection(IAsyncResult result)
TcpListener listener = (TcpListener)result.AsyncState;
TcpClient client = listener.EndAcceptTcpClient(result);
connectionWaitHandle.Set();
NetworkStream netStream = client.GetStream();
StreamReader reader = new StreamReader(netStream);
StreamWriter writer = new StreamWriter(netStream);
writer.AutoFlush = true;
string input = string.Empty;
try
char[] receivedChars = new char[client.ReceiveBufferSize];
// LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
char[] validChars = new char[readedChars];
Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
input = new string(validChars);
// LoggingProvider.Logger.Info("This is what the host sent to you: " + input + ". Readed chars=" + readedChars);
try
string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
writer.Write(orderResultFormat);
catch (Exception e)
// LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
client.Close();
catch (Exception ex)
//LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
client.Close();
Please try it. For this error message, I suggest you could refer to this thread (http://stackoverflow.com/questions/6173763/using-windows-azure-to-use-as-a-tcp-server
) and this post (http://stackoverflow.com/a/5420788).
Regards,
Will
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. -
Excel 2013 PowerPivot Error - "PowerPivot is unable to load the Data Model"
I'm attempting to use the PowerPivot add-on in Excel. When clicking 'Manage Data Model' or attempting to 'Load to data model,' I receive the error 'We couldn't load the Data Model. This may be because the Data Model in this workbook is damaged.',
followed by 'PowerPivot is unable to load the Data Model.' This happens irrespective of data source type. I have Excel 2013 32-bit, PowerPivot 32-bit, running on Windows 7 OS 64-bit. I am not running an SSAS instance on my machine.
Any suggestions?Hi
Have you ever tried to repair your office?
Also we may refer to the following blog :
http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/11/12/powerpivot-for-excel-2013-errors-after-october-update-kb-2825655.aspx
This issue seems to be caused by the October 2013 update (KB 2825655) for Excel 2013. Try to remove it or restore the system to an earlier point and check the result.
Regards
Tylor Wang
TechNet Community Support -
The Game Center is "unable to load data due to network connectivity issues or errors".
The Game Center is "unable to load data due to network connectivity issues or errors".
My internet is fine: all other apps that do not rely on the Game Center work, as does my browser and other online functions; additionally, a friend's iPhone connects to his Game Center perfectly while he is sitting next to me.
Closing the Game Center app and then reopening it is ineffective. Opening the options for the Game Center in the settings, logging out of my Apple ID, then logging back in, and then reopening the Game Center is ineffective. Opening the options for the Game Center in the settings, logging out of my Apple ID, then reopening the Game Center app and logging back in from there is ineffective.
This issue has gone on for more than a month, and so the phone has gone through all variations of "turn it off then back on again, refresh the system, etc etc" that are the basic first suggestions for trouble shooting.
One game app, which required a Game Center profile to launch, stopped working entirely, and would return a message saying something like "connect to the Game Center". I eventually deleted it to free up space. Other games which can be linked to the Game Center to connect with friends simply fail to link, returning "Game Center unavailable". This is the aspect that is currently bothering me the most: I cannot play games with friends unless the app can also link to Facebook and connect to friends from there.
When I open the Game Center, I see the following screen. The bubbles float gently, and it seems as if I had the ability to update my "status". However doing so results in a message that has vanished once the app is reopened.
Upon tapping Games, either the bubble from the main screen or the option on the ribbon at the bottom, the following screen appears. Clicking on Challenges shows a message that achievements must be viewed to issue a challenge. Clicking achievements results in a message that games must be connected (and from my friend's phone I know I have several apps that should appear).
Upon tapping friends, it does show me a list of suggested friends pulled from Facebook, but attempting to send a friend request results in the following screen. After accepting the error box, the "send" button for the request is grayed out and unavailable regardless of adding or deleting friends and/or an accompanying message.
In short, the Game Center is completely unresponsive for no discernible reason, and this problem began with no warning and is now long term. Though my iPhone is older (a 4s), my friend's is even older (a regular 4) and works fine.I am having the very same problem on my iPad running ios 7. All is fine on my iPhone it opens no problem - this is running on ios 8. I wish they would fix it.
Maybe you are looking for
-
Where can I find-download an HP LaserJet 4 printer driver for my Window 7 64 bit PC ??
-
Rolling up item values in Sales Order
Hi Folks We have a project where we have a bundle with components with prices. Question 1)Looking for a solution where we would like to roll up all price components as statistically to the top of the bundle where it would sum up the prices and total
-
ColdFusion Builder plugin console
I just don't understand what I am doing wrong here. I updated ColdFusion builder as a plugin installed in 3.5.1. I also have Flex 3 /subclipse and a few other plugins installed. When I restart my localhost or want to view orm sql logged to the consol
-
My machine was hit with the XP Antispyware virus today. I cleaned it up and everything is working well except Firefox.
-
Aperture is up-sampling my RAW images on import?!
Hi, It would appear that on import aperture makes the pixel size of my images 3884 x 2600. The max. pixel size of my camera is 3872 x 2592 (Nikon D200), and this is exactly the size that adobe bridge gives me. Seems a bit silly, but it's a problem fo