How to trace JC00 instance reboot error?

hi all,
currently my JC00 instance was reboot by itself, is there anyway i can trace the error log? where is the location for the error log? thanks.

hi Juan,
need to confirm with you, is it the bootstrap and the defaultrace is put under this location?
"/usr/sap/WS7/JC00/work"

Similar Messages

  • How to trace HTTP receiver adapter error

    Hi All,
    My scenario is to send PO details to vendor site (HTTPS URL). MY SSL configuration is complete and I have used the SSL certificates in RFC destination of type 'G'. When I test RFC destination connection, it gives me the correct response as '200'.
    This RFC destination is used in HTTP receiver adapter of XI to connect to site and post PO xml document. It is passing successfully through Integration Server, as I get success flag in 'SXMB_MONI'. But, it is not reaching our vendor's site.
    Can someone help me, with what's going wrong, or how can I trace the error.
    Thanks & Regards,
    Amit

    Hi Sadhna,
    It's a B2B scenario, where my sender is configured correctly and the receiver as well.
    In sxmb_moni, I am getting successfull status. But, it is not reaching receiver.
    Thanks & Regards,
    Amit

  • How do I trace a function sequence error?

    Hi,
    can anyone tell me how I trace a function sequence error?
    I have a piece of VB code (that has worked on many occassions, which runs to 9i.
    I deleted the contents of my tables and then tried to run the same code again but got the following error message:
    run time error '-2147467259 (80004005)':
    [Oracle][ODBC]Function sequence error.
    ODBC does not create a trace file for this error and I was wondering if there is any other way for me to find what is actually causing this problem.
    thanks in advance,
    Ed.

    You should be able to enable tracing through the ODBC Data Sources manager on the Control Panel.
    Cheers, APC

  • How to trace an error

    Dear all,
    How to trace a purticular error ?
    from metalink
    Diagnose the issue by running the following trace
    alter system set events '1775 trace name ERRORSTACK level 3';
    Redo the import and reproduce the error. The trace file should be in the
    USER_DUMP_DEST directory.
    alter system set events '1775 trace name errorstack off';
    Trace file will show something like the following:
    ksedmp: internal or fatal error
    ORA-01775: looping chain of synonyms
    Current SQL statement for this session:
    SELECT COUNT(*) FROM SYS_IMPORT_TABLE_01
    I am getting the same ora 01775 error. But when I am tracing, I am not getting any result in my udump. Is there any other setting do I have to make to get the trace file?
    Thanks

    Your question can not be answered.
    Not only you don't include a version (this seems to be too difficult for most posters here), but you also include ambiguous sentences like 'When I am tracing'.
    This results in the question 'did you issue the alter system command and was it successful?'
    As far as I am aware the syntax is
    alter system set events='<errornum> trace name errorstack level 3';
    There are no other 'settings'
    The only other solution is to set up an afterserver error trigger.
    Works like a charm, 8i onwards.
    You uncover way too many things you don't even want to know!
    Sybrand Bakker
    Senior Oracle DBA

  • How to Uninstall SQL instance on active-passive SQL server , which failed during Cluster Setup (Error-Failed at Validate Active Directory Configuration)

    How to Uninstall SQL instance on active-passive SQL server , which failed during Cluster Setup (Error-Failed at Validate Active Directory Configuration)
    active-passive SQL server cluster setup failed due to some steps missed in initial cluster setup,
    now i have unistall sql instance from nodes,
    Your help will higly appriciated.
    Regards,
    Anish
    Asandeen

    Hello,
    Please refer to the following link about remove a node of  SQL Server Failover Cluster Instance:
    http://msdn.microsoft.com/en-us/library/ms191545.aspx#Remove
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to display a stack trace in a jsp error mage

    What is the best way to display a stack trace in a JSP error page?
    I use "${pageContext.exception.message}" for the exception message. Is there a comparable JSTL expression for the stack?

    Cool! it totally works.
    Thanks for pointing me to this post.

  • Installation of Dialog Instance (DI) - Error during installation...

    Hello gurus,
    System: SAP ECC 6.0 SR3 (ABAP+JAVA) -- Central Instance (CI)
    Database: MS SQL Server 2008
    Operation System: Windows Server 2003 X64
    I´m trying to install a Dialog Instance (DI) but during the SAPInst I´m faccing with an error!
    First at all I made some things/requirements in this new server like:
    - Install J2SDK;
    - Set Swap space (20 Gb);
    - Install SQL Server 2008 x64.
    So, after that, I run SAPInst with the following option: "SAP ERP 6.0 Support Release 3 --> Software Life-Cycle Options --> Application Server --> MS SQL Server --> Dialog Instance"
    The error is on the screen "MS SQL Server --> Database Connection Information" when I put in field "Database Instance" the value  (in my case I write PTREPRDPRD which are the hostname of CI server and the sap instance PRD), after I typing the button "Next" it shown a message error which say:
    "Cannot connect to PTREPRDPRD Error(s) returned: SQL Server does not exist or access denied. SOLUTION: Check that you specified the correct name for the database server, that the server is running and you are authorized to log on to it."
    Can you help me how to resolve this problem!??
    Kind regards,
    Joao Dimas - Portugal

    Hello Javed,
    Here you have it, sapinst_dev log:
    TRACE      2010-07-26 13:21:49.582 [iaxxgenimp.cpp:360]
               CGuiEngineImp::showDialogCalledByJs()
    <dialog sid="diMssLoginWINOnly">
    <title>MS SQL Server &gt; Database Connection Information</title>
    <field enabled="true" highlight="false" sid="iHost">
    <caption>Database Instance</caption>
    <helpitem id="Databases.MS SQL Server.DatabaseInstance"/>
    <value type="string">PTRESAPPRD</value>
    </field>
    <dialog/>
    TRACE      2010-07-26 13:21:49.582 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    TRACE      2010-07-26 13:21:57.379 [iaxxdlghnd.cpp:96]
               CDialogHandler::doHandleDoc()
    CDialogHandler: ACTION_NEXT requested
    TRACE      2010-07-26 13:21:57.379 [iaxxcdialogdoc.cpp:212]
               CDialogDocument::submit()
    <dialog sid="diMssLoginWINOnly">
    <field enabled="true" highlight="false" sid="iHost">
    <caption>Database Instance</caption>
    <helpitem id="Databases.MS SQL Server.DatabaseInstance"/>
    <value type="string">PTRESAPPRD\PRD</value>
    </field>
    <dialog/>
    TRACE      2010-07-26 13:21:57.395
      Call block:MssLoginInfo_ind_ind_ind_ind
        function:MssLoginInfo_ind_ind_ind_ind_DialogPhase_dAskForConnectionValidator_default
    is validator: true
    TRACE      2010-07-26 13:21:57.395
    t_MssLogin.remove(WHERE Key='std')
    TRACE      2010-07-26 13:21:57.395
    t_MssLogin.insertRow({
      Key:std
      Host:PTRESAPPRD\PRD
      LoginType:WIN
    }), inserting
    TRACE      2010-07-26 13:21:57.395
    MSSTRC: odbc driver is installed.
    TRACE      2010-07-26 13:21:57.395
    t_MssMessages.remove(WHERE 1=1)
    TRACE      2010-07-26 13:22:13.426
    Cannot connect to PTRESAPPRD\PRD
    SQL Server does not exist or access denied.
    TRACE      2010-07-26 13:22:13.457 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> Cannot connect to PTRESAPPRD\PRD<br>Error(s) returned:<br>SQL Server does not exist or access denied.
    <br>SOLUTION: Check that you specified the correct name for the database server, that the server is running and you are authorized to log on to it. </body></html>
    TRACE      2010-07-26 13:22:13.457 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    TRACE      2010-07-26 13:22:22.973 [iaxxdlghnd.cpp:204]
               CDialogHandler::doHandleDoc()
    CDialogHandler: ACTION_ERROR received
    TRACE      2010-07-26 13:22:22.973 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    TRACE      2010-07-26 13:22:42.410 [iaxxdlghnd.cpp:82]
               CDialogHandler::doHandleDoc()
    CDialogHandler: ACTION_PREV requested
    TRACE      2010-07-26 13:22:42.410 [iaxxgenimp.cpp:368]
               CGuiEngineImp::showDialogCalledByJs()
    <dialog sid="diMssLoginWINOnly">
    <dialog/>
    TRACE      2010-07-26 13:22:42.442
    The step dAskForConnection with key |NW_DI|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|1|0|NW_getDBInfo|ind|ind|ind|ind|4|0|NW_MSS_DBINFO|ind|ind|ind|ind|3|0|MssLoginInfo|ind|ind|ind|ind|0|0 has been executed successfully.
    WARNING    2010-07-26 13:22:13.426
               lib=iamodmssql module=CIaNtMssDmo
    Cannot connect to the database server. Errors returned: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
    Call your SAP Support.
    INFO       2010-07-26 13:22:42.489 [sixxcstepexecute.cpp:781]
    Execute step dCheckGivenServer of component |NW_DI|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|1|0|NW_getDBInfo|ind|ind|ind|ind|4|0|NW_MSS_DBINFO|ind|ind|ind|ind|3|0|MssLoginInfo|ind|ind|ind|ind|0|0

  • 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. (p

    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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
    The system cannot find the file specified
    Cannot connect to COWBOYS.
    Here are the technical 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:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
    Error Number: 2
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    ===================================
    The system cannot find the file specified
    I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
    Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
    many times and cannot connect to my local DB. 
    How do I connect to my Local DB? 
    Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
    instance ID from name). Please uninstall then re-run setup to correct this problem.
    I would happily re install it, if it wasn't my 20th time.
    I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
    May be the solution is very simple, but I am too frustrated. 
    Some of the things I have tried:
    From a command prompt, enter one of the following commands:
    net start "SQL Server Agent (MSSQLSERVER)" OR 
    net start "SQL Server Agent(instancename)"(for instance)
    on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
    Details
    Product:
    SQL Server
    ID:
    2
    Source:
    MSSQLServer
    Version:
    10.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Version:
    9.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Dataloss in network... How to trace it..?

    Hi,
    Though this question is related to SAP XI and SMICM trace, I feel this question can also be answered by people in WebAs General, so i am posting this in this forum.
    In my current scenario where SAP XI system pushes data to another system(ABC system) using HTTPS connection. I have set up an RFC destination of Type G to connect to the external system.
    When i do a Test connection, i see in SMICM log file, i found that connection established, request message written into ABC system.When response is being written i could find BINDUMP of content denied in the SMICM log file. What does that exactly mean..?
    Also When i contacted the other party--ABC, they have told that they could not see any messages in their system.
    XI shows successfully processed and ABC system did not receive the message... So where did the data go?? I have no clue :-(( Need your inputs in this regard. How to trace if the message has been successfully posted by XI. Below is the SMICM log file.
    [Thr 5880] IcmConnConnect: direct connect to www2.ABC.com:443
    [Thr 5880] nihsl-getHostAddr: found hostname '.www2.ABC.com' in cache
    [Thr 5880] nihsi-getHostAddr: hostname '.www2.ABC.com' = addr 16.256.48.91
    [Thr 5880] nihsi-getServNo: servicename '443' = port 01.BB/0443
    [Thr 5880] NiCreateHandle: state hdl 23 / socket -1 NI_INITIAL
    [Thr 5880] NiIBlockMode: switch off block-mode for hdl 23 / socket -1
    [Thr 5880] NiLowLevCon: connect to: host 16.256.48.91, port 01.BB/0443, fam 2 (low adr..high adr)
    [Thr 4532] [Thr 4532] NiISelect: fds in write-mask: [Thr 5880] NiIInitSocket: set default settings for socket 65268
    [Thr 5880] NiISocket: hdl 23 got socket 65268
    [Thr 5880] NiPBlockMode: set socket 65268 to NONBLOCK mode
    [Thr 4532]
    [Thr 5880] NiPConnect: connect in progress
    [Thr 5880] SiPeekPendConn: connection of socket 65268 established
    [Thr 5880] NiLowLevCon: took local port 10.1B/4123
    [Thr 5880] nilh-localCheck: using local address list
    [Thr 5880] NiSetStat: state hdl 23 NI_CONNECTED
    [Thr 5880] ->> SapSSLSessionInit(&sssl_hdl=015BC3DC, role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT))
    [Thr 5880] <<- SapSSLSessionInit()==SAP_O_K
    [Thr 5880] in: args = "role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT)"
    [Thr 5880] out: sssl_hdl = 19193D20
    [Thr 5880] ->> SapSSLSetNiHdl(sssl_hdl=19193D20, ni_hdl=23)
    [Thr 5880] IcmPlCheckRetVal: Next status: WRITE_REQUEST(3)
    [Thr 5880] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
    [Thr 5880] MPI<12ee>0#7 GetInbuf 5 1489e0 2179 (1) -> 6
    [Thr 5880] NiPBlockMode: set socket 65268 to NONBLOCK mode
    [Thr 5880] NiPSockGetStatus: socket 65268 ok, no data pending
    [Thr 5880] NiPBlockMode: set socket 65268 to BLOCK mode
    [Thr 5880] IcmReadFromPartner(id=0/4693): fe-nihdl timeout
    [Thr 5880] PlugInHandleServData: role: 2, status: 3, content-length: 0/0
    buf_len: 2127, buf_offset: 0, buf_status: 6
    [Thr 5880] HttpParseRequestHeader: content length: 1805
    [Thr 5880] HttpParseRequestHeader: no transfer-encoding set
    [Thr 5880] HttpParseRequestHeader: Version: 1000
    [Thr 5880] HttpParseRequestHeader: Keep-Alive: 0
    [Thr 5880] IcmPlCheckRetVal: Next status: READ_RESPONSE(2)
    [Thr 5880] IcmHandleNetWrite(id=0/4693): HandleServData returned: 2
    [Thr 5880] BINDUMP of content denied
    [Thr 5880] IcmWriteToConn(id=0/4693): prepared to write data to partner (len = 2127)
    [Thr 5880] ->> SapSSLWrite(sssl_hdl=19193D20, buf=061F8A74, len=2127, timeout=2000, &writelen=123EFF24)
    [Thr 5880] <<- SapSSLWrite(sssl_hdl=19193D20)==SAP_O_K
    [Thr 5880] result = "written= 2127 of 2127 (all)"
    [Thr 5880] IcmWriteToConn(id=0/4693): wrote data to partner (len = 2127)
    [Thr 5880] MPI<12ee>0#8 FreeInbuf#1 0 1489e0 0 -> 0
    [Thr 5880] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
    [Thr 5880] IcmReadFromConn(id=0/4693): request new MPI (0/0)
    [Thr 5880] MPI<12ed>1#4 GetOutbuf -1 1489e0 65536 (0) -> 061F8A40 0
    [Thr 5880] ->> SapSSLRead(sssl_hdl=19193D20, buf=061F8A74, maxlen=65483, timeout=500, &readlen=123EFEE8)
    [Thr 5880] Fri Dec 02 08:59:10 2005
    [Thr 5880] <<- SapSSLRead(sssl_hdl=19193D20)==SAP_O_K
    [Thr 5880] result = "max=65483, received=8036"
    [Thr 5880] IcmReadFromConn(id=0/4693): read 8036 bytes(timeout 500)
    [Thr 5880] BINDUMP of content denied
    [Thr 5880] PlugInHandleNetData: role: 2, status: 1, content-length: 0/-1
    buf_len: 8036, buf_offset: 0, buf_status: 0
    [Thr 5880] PlugInHandleNetData: read response header
    [Thr 5880] HttpParseResponseHeader: no transfer-encoding set
    [Thr 5880] HttpParseResponseHeader: Version: 1000
    [Thr 5880] HttpParseResponseHeader: Keep-Alive: 0
    [Thr 5880] PlugInHandleNetData: more data to read
    [Thr 5880] PlugInHandleNetData: need more data (7936/12484)
    [Thr 5880] IcmPlCheckRetVal: Next status: READ_RESPONSE(2)
    [Thr 5880] IcmHandleNetRead(id=0/4693): read_len: 8036, HandleNetData returned: 2
    [Thr 5880] IcmHandleNetRead(id=0/4693): status 2 -> 2
    [Thr 5880] ->> SapSSLReadPending(sssl_hdl=19193D20, &pendlen=123EFF1C)
    [Thr 5880] <<- SapSSLReadPending(sssl_hdl=19193D20)==SAP_O_K
    [Thr 5880] out: pendlen = 0
    [Thr 5880] IcmHandleNetRead(id=0/4693): pending SSL data: 0, rollout=1
    [Thr 5880] nihsl-getHostAddr: found hostname 'localhost' in cache
    [Thr 5880] nihsi-getHostAddr: hostname 'localhost' = addr 127.0.0.1
    [Thr 5880] NiIDgSend: re-connect dgram to: host 127.0.0.1, port FD.E6/64998, fam 2 (low adr..high adr)
    [Thr 5880] IcmConnRollOut: connection (id=0/4693) rolled out:
    [Thr 5880] CONNECTION (id=0/4693):
    used: 1, role: 2, stateful: 0
    NI_HDL: 23, protocol: 2
    host: www2.ABC.com:443
    status: READ_RESPONSE
    connect time: 02.12.2005 08:59:08
    WP-status: ROLLED IN (Context: 0, Role: 2)
    tid: 15, mode: 0, uid: 746, roll-reason: ICM_ROLL_NONE
    MPI request: <12ee> MPI response: <12ed>
    request_buf_size: 2127 response_buf_size: 65484
    request_buf_used: 2127 response_buf_used: 8036
    request_buf_offset: 0 response_buf_offset: 0
    [Thr 4852] NiBufSelect: Postprocessing...
    [Thr 4852] NiBufSelect: returning 1 clients
    [Thr 4852] NiSelNext: returning hdl 5, r--, 00000000, rest 0 entries (0164FEF0)
    [Thr 5880] IcmWorkerThread: Thread 6: Waiting for event
    [Thr 4852] NiIPeek: peek successful for hdl -1 / socket 65588 (r)
    [Thr 4852] NiIDgReceive - WAKEUP DGRAM received from:
    host 127.0.0.1, port 07.B0/1968, fam 2 (low adr..high adr)
    [Thr 4852] NiIPeek: peek for hdl -1 / socket 65588 timed out (r; 0)
    [Thr 4852] IcmWatchDogThread: dg received
    [Thr 4852] IcmWatchDogUpdateRollQueue(id=0/4693): insert fe-nihdl 23, flags=1
    [Thr 4852] NiSelSet: hdl 23, r-, 01679D50
    [Thr 4852] IcmWatchDogThread: check ni handles (timeout=10000)
    [Thr 4852] NiBufSelect: Preprocessing...
    [Thr 4852] NiISelect: timeout 10000 ms
    [Thr 4852] NiISelect: maximum fd=65757
    [Thr 4852] NiISelect: fds in read-mask: [Thr 4852]
    [Thr 4852] NiISelect: fds in write-mask: [Thr 4852]
    [Thr 4852] NiBufSelect: Postprocessing...
    [Thr 4852] NiBufSelect: returning 1 clients
    [Thr 4852] NiSelNext: returning hdl 23, r--, 01679D50, rest 0 entries (0164FF00)
    [Thr 4852] IcmWatchDogThread(id=0/4693): nihdl 23 - data received(read)
    [Thr 4852] NiSelClear: removed hdl 23 from selectset
    [Thr 4852] IcmQueueAppend: Queuelen: 1
    [Thr 4852] IcmCreateRequest: Appended request 8369
    [Thr 4852] IcmConnRollIn: connection (id=0/4693) rolled back to status: READ_RESPONSE
    [Thr 4852] IcmWatchDogThread: check ni handles (timeout=10000)
    [Thr 4852] NiBufSelect: Preprocessing...
    [Thr 4852] NiISelect: timeout 10000 ms
    [Thr 4852] NiISelect: maximum fd=65757
    [Thr 4852] NiISelect: fds in read-mask: [Thr 4152] IcmWorkerThread: worker 3 got the semaphore
    [Thr 4152] REQUEST:
    Type: READ_RESPONSE Index = 8368
    [Thr 4152] CONNECTION (id=0/4693):
    used: 1, role: 2, stateful: 0
    NI_HDL: 23, protocol: 2
    host: www2.ABC.com:443
    status: READ_RESPONSE
    connect time: 02.12.2005 08:59:08
    WP-status: ROLLED IN (Context: 0, Role: 2)
    tid: 15, mode: 0, uid: 746, roll-reason: ICM_ROLL_NONE
    MPI request: <12ee> MPI response: <12ed>
    request_buf_size: 2127 response_buf_size: 65484
    request_buf_used: 2127 response_buf_used: 8036
    request_buf_offset: 0 response_buf_offset: 0
    [Thr 4152] ->> SapSSLRead(sssl_hdl=19193D20, buf=061FA9D8, maxlen=57447, timeout=500, &readlen=10BEFEE8)
    [Thr 4852]
    [Thr 4852] NiISelect: fds in write-mask: [Thr 4852]
    [Thr 4152] <<- SapSSLRead(sssl_hdl=19193D20)==SAP_O_K
    [Thr 4152] result = "max=57447, received=4548"
    [Thr 4152] IcmReadFromConn(id=0/4693): read 12584 bytes(timeout 500)
    [Thr 4152] BINDUMP of content denied
    [Thr 4152] PlugInHandleNetData: role: 2, status: 2, content-length: 7936/12484
    buf_len: 12584, buf_offset: 8036, buf_status: 0
    [Thr 4152] PlugInHandleNetData: read response body (len=12484/12484)
    [Thr 4152] PlugInHandleNetData: response completely read(EOS=0)
    [Thr 4152] IcmFlushBuf: Flushing 12584 Bytes, buf_status: 6
    [Thr 4152] flush buffer with mpi buffer id 1
    [Thr 4152] MPI<12ed>1#5 FlushOutbuf l1 1 1 1489e0 12636 6 -> 061F8A20 0
    [Thr 4152] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
    [Thr 4152] PlugInHandleNetData: close connection
    [Thr 4152] IcmPlCheckRetVal: Plugin retval: PLUGIN_RET_CLOSE (-702)
    [Thr 4152] IcmHandleNetRead(id=0/4693): read_len: 4548, HandleNetData returned: -702
    [Thr 4152] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
    [Thr 4152] PlugInStopConn: role: 2, error: 0, write_err: 1
    [Thr 4152] ->> SapSSLSessionDone(&sssl_hdl=015BC3DC)
    [Thr 4152] <<- SapSSLSessionDone(sssl_hdl=19193D20)==SAP_O_K
    [Thr 4152] NiICloseHandle: shutdown and close hdl 23 / socket 65268
    [Thr 4152] IcmConnClose: Connection 0/4693 closed
    [Thr 4152] IcmConnFreeContext: context 0 released
    [Thr 4152] IcmServDecrRefCount: intersrv.afdb.local:443 - serv_ref_count: 1
    [Thr 4152] IcmWorkerThread: Thread 3: Waiting for event
    Cheers,
    Siva Maranani

    SMICM with trave level3 is the only way(i know) to trace whether the message has left XI server or not.

  • Azure Webjobs with EF DB - A network-related or instance-specific error occurred while establishing a connection to SQL Server

    Hi,
    I have been trying to get a very simple WebJob developed and deployed onto Azure with little to no luck.  I have a MVC Website which has a common project which handles my Data Access Layer with Entity Framework.  I have created a WebJob project
    using Visual Studio and added the following lines of code to the Manual Trigger Function
    [NoAutomaticTrigger]
    public static void ManualTrigger(TextWriter log, int value, [Queue("queue")] out string message)
    RitualDBEntities db = new RitualDBEntities();
    log.WriteLine("Function is invoked with value={0}", value);
    List<Location> locations = db.Locations.ToList();
    string msg = string.Empty;
    foreach (Location location in locations)
    msg += location.Name;
    message = msg;
    log.WriteLine("Following message will be written on the Queue={0}", message);
    In my app.config of my WebJob i have the following connection strings:
    <add name="RitualDBEntities" connectionString="metadata=res://*/RitualDBEntities.csdl|res://*/RitualDBEntities.ssdl|res://*/RitualDBEntities.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ritual-pc\sqlexpress;initial catalog=RitualDB;integrated security=True;persist security info=False;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
    <add name="RitualContext" connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=RitualDB;Data Source=ritual-pc\sqlexpress" providerName="System.Data.SqlClient" />
    <add name="AzureWebJobsDashboard" connectionString="DefaultEndpointsProtocol=https;AccountName=ritual***;AccountKey=tQAP0gyMYKtWPJeIbsqk2iT2k69gyd1FwcyRf3+5Mc9b9EdYzpj0Dq8X2VHUmF*****"/>
    <add name="AzureWebJobsStorage" connectionString="DefaultEndpointsProtocol=https;AccountName=ritual***;AccountKey=tQAP0gyMYKtWPJeIbsqk2iT2k69gyd1FwcyRf3+5Mc9b9EdYzpj0Dq8X2VHUmF*****" />
    When i test locally (F5 Debugging) the webjob runs successfully and does the loop of the objects returned from the database.  When i deploy this Azure the WebJob fails with the following error:
    [03/29/2015 22:07:39 > 6ca05b: SYS INFO] Status changed to Initializing
    [03/29/2015 22:07:41 > 6ca05b: SYS INFO] Run script 'Ritual.WebJobs.Members.exe' with script host - 'WindowsScriptHost'
    [03/29/2015 22:07:41 > 6ca05b: SYS INFO] Status changed to Running
    [03/29/2015 22:07:44 > 6ca05b: INFO] Found the following functions:
    [03/29/2015 22:07:44 > 6ca05b: INFO] Ritual.WebJobs.Members.Functions.ManualTrigger
    [03/29/2015 22:07:44 > 6ca05b: INFO] Executing: 'Functions.ManualTrigger' because This was function was programmatically called via the host APIs.
    [03/29/2015 22:08:01 > 6ca05b: INFO] Function had errors. See Azure WebJobs SDK dashboard for details. Instance id is e99d7205-3ca0-4674-9414-f0381d5c2316
    [03/29/2015 22:08:01 > 6ca05b: ERR ]
    [03/29/2015 22:08:01 > 6ca05b: ERR ] Unhandled Exception: System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.SqlClient.SqlConnection.Open()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.<Open>b__36(DbConnection t, DbConnectionInterceptionContext c)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.EntityClient.EntityConnection.<Open>b__2()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<>c__DisplayClass1.<Execute>b__0()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Action operation)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of inner exception stack trace ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Ritual.WebJobs.Members.Functions.ManualTrigger(TextWriter log, Int32 value, String& message)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at lambda_method(Closure , Object[] )
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.VoidInvoker.InvokeAsync(Object[] arguments)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<ExecuteWithWatchersAsync>d__23.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<ExecuteWithOutputLogsAsync>d__1c.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<ExecuteWithLogMessageAsync>d__c.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<ExecuteWithLogMessageAsync>d__c.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.<TryExecuteAsync>d__1.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.Host.Executors.ExceptionDispatchInfoDelayedException.Throw()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.JobHost.<CallAsyncCore>d__7.MoveNext()
    [03/29/2015 22:08:01 > 6ca05b: ERR ] --- End of stack trace from previous location where exception was thrown ---
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Microsoft.Azure.WebJobs.JobHost.Call(MethodInfo method, Object arguments)
    [03/29/2015 22:08:01 > 6ca05b: ERR ] at Ritual.WebJobs.Members.Program.Main()
    [03/29/2015 22:08:01 > 6ca05b: SYS INFO] Status changed to Failed
    [03/29/2015 22:08:01 > 6ca05b: SYS ERR ] Job failed due to exit code -532462766
    If i remove any of my database code and use just the basic Stub code my webjob will run successfully so i know that my connection strings (outside of the DB ones) are correct.  My MVC web application also runs perfectly using the same connection strings
    in Azure so i also know that they have also been configured.  
    I am now lost and need some guidance, so if someone is able to assist me that would be much appreciated.
    Thanks
    Ritual.

    Can you try to log the connection string you are using in both cases to make sure they are the same?
    Also can you share your site name, either directly or indirectly?
    This will help us investigate.
    Thanks,
    Amit

  • "a network related or instance specific error in sql server 2008..." error in sbs 2011 standard.

    Hi All,
    When we try to open "Sql Server 2008 R2" in SBS 2011.......... we are getting the error message" “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: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) ”
    How can we resolve the issue?
    Thanks in advance.
    Ram.
    Ramakrishna

    Hi Ram, you can check the solutions in the following links and see if that helps:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server
    http://social.technet.microsoft.com/wiki/contents/articles/a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server.aspx
    A network-related or instance-specific error occurred while establishing a connection to SQL Server 
    http://social.msdn.microsoft.com/Forums/en-US/sqldataaccess/thread/3a1c4d72-300c-4f9b-a0ac-23027ce04d1c/
    Also, rather than a SBS specific issue, it seems only relate to SQL server, you can also post it to SQL server forum so that SQL server experts there can provide more accurate solutions:
    http://social.technet.microsoft.com/Forums/en-US/category/sqlserver
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.

    Server Error in '/' Application.
    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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.SqlClient.SqlException: 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [SqlException (0x80131904): 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846887
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
    System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +4860189
    System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +90
    System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342
    System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221
    System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
    System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
    System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
    System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433
    System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
    System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
    System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
    System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
    System.Data.SqlClient.SqlConnection.Open() +122
    System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +31
    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1297
    System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
    System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
    System.Web.UI.WebControls.GridView.DataBind() +4
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +44
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

    On what website/link did you received this error message ??

  • "Network-related or instance specific error", Works OK for Administrator

    I've been handed a legacy .Net Windows application that was previously used on Windows XP, and asked to debug a few problems encountered on Windows 7 clients.  The original developers are all gone.  I'm down to only a single
    error -- a seemingly common one: 
    "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: Named Pipes
    Provider, error: 40 - Could not open a connection to SQL Server)"
    Curiously, this error only occurs for ordinary users.  When the application is started using "Run as Administrator" it connects to the database immediately.  We believe we can configure the app to always start as an administrator,
    but obviously we'd like to run it without that if we can.  However, I haven't seen any good suggestions why the database connection would only fail this one way.
    Any ideas?  I've seen at least one troubleshooting guide that suggested trying with Run as Administrator, but it didn't say how to proceed if that fixes it.  Am I just supposed to stop at this point?  If I was having a UI problem I might understand
    that some old apps just aren't going to work in Windows 7, but this is just connecting to the database.  Seems like we should be able to do this.  I just don't know what to check.
    Thanks in advance.
    EDIT:
    I have looked more closely at this, and perhaps there are more clues.  I use the same user account to log on to two Win7 machines. One is a developer workstation with VS10 installed. The other is representative of a client workstation the app will
    run on. My user account is actually an administrator on both machines.
    At runtime we invoke advapi32.dll logonuser impersonation to logon to SQL server with a dedicated account.
    What we're seeing is that I can run the app freely on the developer workstation.  Even with UAC on, and even if I am not using "run as administrator".  This may point to something about how the SQL drivers/provider are installed
    on that machine.
    When I run on the regular user workstation, even though I am an administrator myself, I must "run as administrator" to launch it. And when I do, I get a UAC prompt.  When we turn UAC off, of course, the app runs fine.

    Hi,
    I think you are in the similar case with:
    http://support.microsoft.com/kb/2009672
    By default SSIS always uses the low privileged token resulting in a failure when connecting to a SQL Destination. Full administrator access token is required in your case.
    Unlike earlier versions of Windows, when an administrator logs on to a computer running Windows 7 or Windows Vista, the user’s full administrator access token is split into two access tokens:
    a full administrator access token and a standard user access token.
    During the logon process, authorization and access control components that identify an administrator are removed, resulting in a standard user access token. The standard user access token is then used to start the desktop, the Explorer.exe process. Because
    all applications inherit their access control data from the initial launch of the desktop, they all run as a standard user.
    After an administrator logs on, the full administrator access token is not invoked until the user attempts to perform an administrative task. When a standard user logs on, only a standard user access token is created. This standard user access token is then
    used to start the desktop.
    To get around this, you may configure an application to always run elevated.
    http://technet.microsoft.com/en-us/library/cc709691%28WS.10%29.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • 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.

    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: SQL Network Interfaces, error: 26- Error:Locating Server\instance Specified)
    How Can i solve this?

    1. Make sure SQL Server Service is running
    2. If a named instance, make sure SQL Server browser service is running
    3. Make sure SQL Server is configured to allow remote connections
    4. Examine the SQL Server error log for messages confirming that SQL is listening on the expected network interfaces and ports
    5. Test server connectivity with PING from the client machine
    6. Test port connectivity using TELNET or PowerShell to the server and port (from step 4) from the client machine.  For example
    a. TELNET <server-name> 1433
    b. PowerShell: 1433 | % { echo ((new-object Net.Sockets.TcpClient).Connect("YourServerName",$_)) "server listening on TCP port $_" }
    7. Check firewall settings if step 5 or 6 connectivity test fails
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How do I fix the R6034 error in iTunes?

    How do I fix the R6034 error in iTunes?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

Maybe you are looking for

  • Podcasts won't sync to the podcast portion of the built in Music App on my iPod Touch.  How do I fix this?

    Ever since I downloaded the new Apple Podcast App my Podcasts that I subscribe to in iTunes have not worked correctly.   I have deleted the Apple Podcast App because it does not work well and I'd rather have the functionality with Podcasts that the s

  • Itunes will not read the ripped CD

    My hard drive crashed. With a new drive,I have now imported all my previously saved music into my Itunes library perfectly. Now, after having ripped a dozen full CD's, the new music has been loaded and can be played, but itunes will not read the titl

  • No interface mapping in Interface detemination

    Hi all ,           while creating interface detemination Integration Configuration i am not able to choose any thing in interface mapping though i have created one interface mapping in integration repository . regards praveen

  • ~500 MB "active or wired" RAM in 10.5 - can I reduce this?

    Hello! I have a 15" Powerbook G4, with 1 GB of RAM, running 10.5.1. Previously, I had it running 10.4.11. Leopard is very nice, but it's suffering far more instability than Tiger - simply because I keep running out of RAM. Under Tiger, a general rule

  • Flash player only works for user account installed with

    Hi all I've different user accounts on my PC for me and my son. Somehow Flash Player 10 only works for the user account I installed Flash player with. In case I install it using my account it will not work for my son's account and vice versa. How can