Error in Configuring EP to MS SQL 2000

Hi nw ep consultants
          I have a requirment .. i have give employee number has a input nad i have press submit button.. it has to retrive the data from MS SQL 2000, so my backend is MS SQL 2000.. now i have to connect EP to backend system (MS sql) for
         <b>step 1</b>: i have created a folder MSSQL2000
         <b>step 2</b>: i have created a JDBC system also..
         <b>step 3</b>: then i gave the connection URL for SQL driver
          jdbc:sap:sqlserver://192.168.1.71:1433;databaseName=Northwind;
          com.sap.portals.jdbc.sqlserver.SQLServerDriver
     <b>step 4</b>: property category  > connection parameter> connection timeout 60
     <b>step 5</b>: property category  > user mapping> admin, user
        <b>step 6</b>: and then created system aliases also..
        <b>step 7</b>: AND Then content admini> went to my folder> created iview (JDBC Stored Procedure iView) and then iview name
          chosen the system aliases name (...)  next
                 <i> it shows error message here..</i>
Step 4:  Error Occurred
<u><b> Could not connect to back-end application. Check your system. The server may be down or there may be an error in a system parameter. </b></u>
i have a doubt here.. why i am getting the error message..
MS SQL 2000 is running in this ip address 192.168.1.71 and the user name : sa and the password : sa
i don't know why this error is coming..
<b>My doubt is is there any JDBC driver to be loaded EP ..</b>
<b>Please help me to solve this problem.. friends..</b><u></u><b></b><i></i><u></u>

Hi,
Check these Notes:
Note 675939 - SAP Web AS 6.40 Installation on Windows: MS SQL Server
Note 795991 - J2EE deployment fails, memory error on db-side
Note 659468 - JDBC: Unspecified database error

Similar Messages

  • Sql 2000 Connection Problems

    I am trying to install Sql Server 2000 at the moment but when i try to connect to local Windows NT server i get this messege http://img293.imageshack.us/img293/3263/connection8rq.jpg and if i go to properties of the server i get http://img369.imageshack.us/img369/1335/properties9dd.jpg. I believe it is trying to log in using my Windows Authications.
    Thanks for any help.
    James

    As per the error message it seems like the SQL 2000 Services has been stopped running due to login issue. You need to start up the service using a valide login.http://technet.microsoft.com/en-us/library/aa176564(v=sql.80).aspx
    Here we have the various ways to start up the services
    http://technet.microsoft.com/en-us/library/aa213795(v=sql.80).aspx
    Also please make sure that MSDE is installed properly.
    http://technet.microsoft.com/en-us/library/aa175272(v=sql.80).aspx
    Regards, RSingh

  • Error happened during the migration from sql server 2000 to oracle 8.1.7

    /*[SPCONV-ERR(18)]:CREATE TABLE TT_CHANP1 statement passed to ddl file*/
    DELETE FROM TT_CHANP1;
    error as above.
    note:
    chanp1 is a temporary table under sql 2000
    syntax:
    create table #chanp1 (chanpid varchar(50))
    we try the codes:
    CREATE TEMP TABLE chanp1
    Error: PLS-00103: "CREATE"
    begin declare end exception
    exit for goto if loop mod null pragma raise return select update while
    <an identifier><a double-quoted delimited-identifier>
    <a bind variable><<close current delete fetch lock insert open
    roll back save point set sql execute commit for all
    <a single-quoted SQL string>
    Line: 63
    we try " CREATE GLOBAL TEMPORARY TABLE chanp1" again.
    but error .

    it seems like you are trying to perform a DDL from within the PL/SQL code, which is not allowed directly.
    You could use EXECUTE IMMEDIATE within your pl/sql code to perform a DDL statement.

  • Error while configuring SQL 2012 DB as a Subscriber to a Oracle Publisher.

    When Configuring the Subscription for Oracle as a publisher, we receive the following error message.
    Msg 18757, Level 16, State 4, Procedure sp_replpostcmd, Line 1
    Unable to execute procedure. The database is not published. Execute the procedure in a database that is published for replication.
    The Subscriber was dropped.
    Same message is received if add the subscription through script or through SQL Management studio.
    However Oracle as a publisher has been configured successfully on a SQL 2012 DB server, Which is also the  Distribution server
    using the following links. 
    https://msdn.microsoft.com/en-us/library/ms151243(v=sql.110).aspx
    https://msdn.microsoft.com/en-us/library/ms152481(v=sql.110).aspx
    Note: Same Steps successfully work from a SQL 2008 Machine. i.e If i use SQL 2008 machine to configure Oracle as a Publisher and then subscribe to SQL 2012 machine as Subscriber.
    Is there a known issue? or some extra steps for 2012 that are not documented. Any help will be much appreciated.
    Client Oracle Version:9i
    Subscriber DB Version: SQL Server 2012 SP2
    Thanks and Regards, Ibrahim Mehdi. MCSE-DataPlatform

    Yes . The SQL Server 2012 is EE.
    As Informed before, The Oracle Publisher configuration is working successfully without any error. It is giving the error provided while trying to create a subscriber to this Oracle Publisher.
    Thanks and Regards, Ibrahim Mehdi. MCSE-DataPlatform

  • SQL 2000 LINKED SERVER ERROR 7303 WITH SQL 2012 ON WINDOWS SERVER 2012 R2

    Hi all,
    I have a problem with SQL Server 2012 and a linked server for SQL 2000 database.
    System specification:
    Windows server 2012 64 bit
    SQL SERVER 2012 64 bit
    REMOTE SERVER SQL 2000 32 bit
    I've installed sql native client 32bit,create a SYSTEM DSN odbc connection with "SQL Server" driver named "MYSERVER".
    Create a linked server with the query below in SQL 2012:
    EXEC master.dbo.sp_addlinkedserver @server =N'MYSERVER', @srvproduct=N'MYSERVER', @provider=N'MSDASQL', @datasrc =N'MYSERVER', @location=N'System';
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'MySERVER',@useself=N'True',@locallogin=NULL,@rmtuser=NULL,@rmtpassword=NULL
    GO
    but when i browse the linked server i receved error 7303.

    You need 64-bit MSDASQL. It is the bitness of the server you are connecting from that matters. 64-bit executables cannot hook into 32-bit DLL.
    However, I suspect that you will not get things to work anyway. At least I have not seen anyone this far who has been able to set up a linked server from SQL 2012 to SQL 2000. I know that when I tried this, the following providers had this result:
    SQLNCLI11 - does not support connections to SQL 2000.
    SQLNCLI10 - failed with some obscure message that I don't recall.
    SQLNCLI - Don't recall that the problem was here.
    SQLOLEDB - SQLOLEDB is always replaced with the most recent version of SQLNCLI, so this fails because of lack of support.
    I don't think I got through all version of the ODBC drivers, though.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Error in configuration sql server replication

    I am configuring replication for a sql server 2005 on win server 2003. I get this error:
    TITLE: New Publication Wizard
    SQL Server could not configure 'aaa' as a Distributor.
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Invalid destination path C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.
    Changed database context to 'master'. (Microsoft SQL Server, Error: 14430)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=14430&LinkId=20476
    I am administrator on that server.
    I restart server and do this both in wizard and code. but I get same error.
    Please Help.

    Hi,
    Have you tried rebooting the SQL Server machine?
    Have you created a publication from this database before? If so, remove the publication and related jobs and check the result.
    Use
    sp_removedbreplication to remove all replication objects from the database and then recreate the replication and see how it works.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Configure Synchronization Connections An error has occurred while accessing the SQL Server database

    Hi,
    i am getting following error message
    Central Administration --> Synchronization Connections
    An error has occurred while accessing the SQL Server database or the SharePoint Server Search service.
    If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.
    Central Administration -->  Manage Profile Service: User Profile Service Application --> Manage User Properties
    Error
    An unexpected error has occurred.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 3bce5a11-f2dc-4788
    Please tell how to fix it.
    iffi

    Event ID 5555 -> i have change the Timer jobs recycling time AM to PM
    for  User profile page not display  number of count in the page first check services , connection , 
    IISRESET /NOFORCE   /  timer services restart 
    Deepesh Yevle MCTS

  • SQL 2000 SMTP works from outlook, fails from SQL

    We have an older SQL2000 server running on Windows 2003 that we can't get rid of yet or upgrade to a newer version of SQL due to legacy software.  It will hopefully be gone in the next 12 months or so but it needs to keep running for now.  It has
    been running nightly jobs that send out reports via email for years using an exchange MAPI profile via Outlook 2003.  The problem is we have moved our users to Office365 and want to shut down the exchange server.
    I have setup an SMTP relay on one of my other servers and the relay is working fine for forwarding alert emails from UPSes, Scanners, etc. It is only on the SQL server that I am running into problems.
    I logged in as the sql domain account on the SQL server and created a new mail profile that uses SMTP to the relay and it sends fine from Outlook2003.  I configured both SQLMail and SQL Agent to use the new profile.  I rebooted the server,
    logged in as the sql user again, started outlook, and then ran one of the jobs that sends an email as the last step.  Job History says that all steps completed successfully.  But the SMTP Relay doesn't even show an attempt to connect in the logs. 
    When i send a test message from the same MAPI profile using outlook the email goes through and shows in the logs.  If i switch back to the exchange profile the emails get sent correctly and the jobs look the same in the history.
    In my test system copy of these servers (backups restored to a isolated Hyper-V system) I uninstalled antivirus, made sure the firewall is turned off, and even tried uninstalling office 2003 and installing outlook 2000 (and that was hard to find a disk for...),
    creating a new profile, etc.  But I just get the same behavior.
    The fact i can send from the profile using Outlook means the profile and smtp relay are working fine.  And SQL isn't giving any error messages...
    Any suggestions besides keeping exchange up for anther 12 months?  I've looked for xp_smtp_sendmail but sqldev.net website has gone away. 
    Thomas Price
    IT Dept.  TEAM

    Hi Thomas,
    SQL Server 2000 was out of support since April,2013. I suggest you can try to install SQL Server 2005 or later version.
    SQL Server 2000 provides a built-in method of sending emails, it requires you to have Outlook and a profile installed on the server, Before you configure SQL Mail, you should test the mail profile used by the mail client to verify that you can use it to
    send and receive e-mail to and from the mail server. There is another method, that involves installing a stored procedure on your server that will allow you to send email via SMTP. For more information, see:http://www.howtogeek.com/howto/database/sending-automated-job-email-notifications-in-sql-server-with-smtp/
    From SQL Server 2005, database mail is a component for sending e-mail message from the database engine using SMTP. It require to create a profile name, description, and then assign an SMTP account to the profile. For more information, you can refer to the
    following steps.
    http://www.mssqltips.com/sqlservertip/1438/sql-server-2005-database-mail-setup-and-configuration-scripts/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Steps to install SAP 4.7 EE with MS SQL 2000: URGENT

    Hi all Basis Guru's
    We are planning to install SAP 4.7 EE with DB: MS SQL 2000 on our new IBM server, we are already running a SAP server on our OLD SERVER and we just want to install the same in the NEW IBM SERVER for which i am seeking some expert help.
    I wanted a document which can show me the steps to install SAP 4.7 and also MS SQL 2000,
    I have pdfs released by SAP which i got from service market place under instguides section, but they are not soo helpful as i am a jr consultant the termninology used by them is not in my understanding..
    So i request all, to send in a document which can easily assist me in installing SAP 4.7 and Ms SQL 2000 in step by step process
    Also is it neessary for me to install the SP3 for Ms SQL 2000.
    Reward points for sure...
    Plz do help me in this as,  this task has to be completed by 03-08-07 EOD.
    Million Thanks in Advance
    Regards
    Hari Haran.V

    Hi Juan,
    I have done all the pre-installation steps accoring to the SAP released doc from the service market place...
    but i get an error during the installation of the CI...(this is happening at the time of  <i><b>EXTRA SAP SYSTEM KERNAL ARCHIVES</b></i>)
    Here is the detailed LOG of the error.....
    INFO 2007-08-02 18:50:39
    Processing of host operation t_HostInfo_SHARED succeeded.
    INFO 2007-08-02 18:50:47
    The 'saploc' share exists at directory 'C:\usr\sap'. Choosing drive C: as SAP System drive.
    INFO 2007-08-02 18:51:13
    Successfully connected to PDPLMAIN\PDPLMAIN
    INFO 2007-08-02 18:51:13
    Executing check Product Version ...
    INFO 2007-08-02 18:51:13
    Script "Product Version" successfully executed
    INFO 2007-08-02 18:51:13
    Executing check Product Patch ...
    INFO 2007-08-02 18:51:13
    Script "Product Patch" successfully executed
    INFO 2007-08-02 18:51:13
    Executing check Product Edition ...
    INFO 2007-08-02 18:51:13
    Script "Product Edition" successfully executed
    INFO 2007-08-02 18:51:13
    Executing check Collation ...
    INFO 2007-08-02 18:51:13
    Script "Collation" successfully executed
    INFO 2007-08-02 18:51:13
    Executing check SysAdmin Rights ...
    INFO 2007-08-02 18:51:13
    Script "SysAdmin Rights" successfully executed
    INFO 2007-08-02 18:51:13
    Successfully connected to PDPLMAIN\PDPLMAIN
    INFO 2007-08-02 18:51:13
    Executing check Database existance ...
    INFO 2007-08-02 18:51:13
    Script "Database existance" successfully executed
    INFO[E] 2007-08-02 18:51:36
    Account group="pdplmain\SAP_LDAP" does not exist. <#1>
    INFO[E] 2007-08-02 18:51:37
    Account group="ORA_PD0_DBA" does not exist. <#1>
    INFO[E] 2007-08-02 18:51:37
    Account group="ORA_PD0_OPER" does not exist. <#1>
    INFO[E] 2007-08-02 18:51:49
    Account group="pdplmain\dbpd0ctl" does not exist. <#1>
    PHASE 2007-08-02 18:57:16
    SAP Web Application Server
    PHASE 2007-08-02 18:57:16
    Request common parameters of SAP System
    PHASE 2007-08-02 18:57:17
    Collecting information on database configuration
    PHASE 2007-08-02 18:57:17
    Create operating system accounts
    INFO 2007-08-02 18:57:17
    Copying file C:/SAPinst MSSQL SAPINST/keydb.xml to: C:/SAPinst MSSQL SAPINST/keydb.1.xml.
    INFO 2007-08-02 18:57:17
    Creating file C:\SAPinst MSSQL SAPINST\keydb.1.xml.
    INFO 2007-08-02 18:57:18
    Copying file C:/SAPinst MSSQL SAPINST/product.xml to: C:/SAPinst MSSQL SAPINST/product.1.xml.
    INFO 2007-08-02 18:57:18
    Creating file C:\SAPinst MSSQL SAPINST\product.1.xml.
    PHASE 2007-08-02 18:57:33
    Preparing OS account for MCOD installation
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:33
    Request operating system user information
    PHASE 2007-08-02 18:57:34
    Request operating system user information
    PHASE 2007-08-02 18:57:34
    Request operating system user information
    PHASE 2007-08-02 18:57:34
    Request operating system user information
    PHASE 2007-08-02 18:57:34
    Request operating system user information
    INFO 2007-08-02 18:57:35
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1801674531-606747145-839522115-500' on host 'pdplmain'!
    INFO 2007-08-02 18:57:35
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1801674531-606747145-839522115-500' on host 'pdplmain'!
    INFO 2007-08-02 18:57:35
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1801674531-606747145-839522115-500' on host 'pdplmain'!
    INFO 2007-08-02 18:57:36
    Evaluating all 'tNT_RegistryEntries' table rows succeeded.
    PHASE 2007-08-02 18:57:38
    Preparing DBMS-specific environment variables
    WARNING 2007-08-02 18:57:38
    Error 1332 (No mapping between account names and security IDs was done.
    ) in execution of a 'SetEntriesInAcl' function, line (661), with parameter ().
    INFO 2007-08-02 18:57:38
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:39
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:41
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:42
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:44
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:45
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:46
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:47
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:48
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:49
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:50
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:51
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:51
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:52
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:53
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:53
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:54
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-08-02 18:57:55
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    PHASE 2007-08-02 18:57:55
    Adapt filesystem
    PHASE 2007-08-02 18:57:55
    Prepare check/adapt SAP instance filesystem
    INFO 2007-08-02 18:57:55
    Processing of all file system node operations of table t_SAPComponent_Filesystem_Action_SHARED succeeded.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/prfclog exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0 exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/DVEBMGS00 exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/DVEBMGS00/data exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/DVEBMGS00/data/cache exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/DVEBMGS00/exe exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/DVEBMGS00/log exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/DVEBMGS00/sec exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/DVEBMGS00/work exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/exe exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/exe/opt exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/exe/dbg exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/exe/run exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/gen exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/gen/dbg exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/gen/opt exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/global exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/profile exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/PD0/SYS/src exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap/tmp exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/tmp exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/EPS exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/EPS/in exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/EPS/out exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/EPS/log exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/bin exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/buffer exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/cofiles exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/data exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/etc exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/log exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    File system node C:\usr\sap\trans/sapnames exists already. Nothing to do.
    INFO 2007-08-02 18:57:56
    Copying file H:/sapinst_mssql/NT/I386/UNINSAP.EXE to: C:\usr\sap\PD0\SYS\exe\run\..\UNINSTSAP.EXE.
    INFO 2007-08-02 18:57:56
    Copying file system node H:/sapinst_mssql\NT\I386\UNINSAP.EXE with type NODE to C:\usr\sap\PD0\SYS\exe\run\..\UNINSTSAP.EXE succeeded.
    INFO 2007-08-02 18:57:56
    Processing of all file system node operations of table t_SAPComponent_Filesystem_Action_SHARED succeeded.
    INFO 2007-08-02 18:57:57
    Processing of all file system node operations of table t_SAPComponent_Filesystem_Action_SHARED succeeded.
    INFO 2007-08-02 18:57:58
    Creating of all NT shares while processing the table 'tNT_SHARE' succeeded.
    INFO 2007-08-02 18:57:58
    Creating of all NT shares while processing the table 'tNT_SHARE' succeeded.
    WARNING 2007-08-02 18:57:59
    The specified service does not exist as an installed service.
    ! Error in execution of a 'OpenService' function, line (286), with parameter(s) (SAPPD0_00).
    WARNING 2007-08-02 18:57:59
    The specified service does not exist as an installed service.
    ! Error in execution of a 'OpenService' function, line (286), with parameter(s) (SAPOsCol).
    PHASE 2007-08-02 18:57:59
    Extract archives
    INFO 2007-08-02 18:58:00
    Processing of all file system node operations of table t_SAPComponent_Archives_FORMS_SHARED succeeded.
    PHASE 2007-08-02 18:58:01
    Extract SAP System kernel archives
    INFO 2007-08-02 18:58:01
    Creating file C:\SAPinst MSSQL SAPINST\SAPEXE.SAR.log.
    ERROR 2007-08-02 18:58:01
    MOS-01021  PROBLEM: .\sapcar.exe -xvgf H:\SAP_KERNEL_MSSQL_IA64/NT/I386/SAPEXE.SAR, -R C:\usr\sap\PD0\SYS\exe\run returned with '29'. CAUSE: See output './SAPEXE.SAR.log'. SOLUTION: Solve the CAUSE and retry.
    ERROR 2007-08-02 18:58:01
    FJS-00012  Error when executing script.
    Waiting to hear from at the earliest
    Regards
    Hari haran.v

  • Don't Start the dispatcher after Error in Upgrade of SQL2000 to SQL 2005

    HI,
    We have a problem after try to upgrade the SQL 2000 to SQL2005.We have
    two SID in one server, the upgrade of the first that perfect, but when
    we try to do the same to the other in SAPINST of SAPTOOLS stopped in theproccess when create the storad procedures and aappeared to remain closed the setup, when i try to start the SID, don't start the dispatcher. the error was: Caugth ESAPinstException in Modulecall: executing JS script failed. and in the syslog of the SID in SAPMMC apperd this error: SAP Basis System: Initialization TSKH-IPC Failed, Return Code -000001. i
    attached the log. this is my QAS System.
    Please i need some help.
    this is the log:
    INFO 2008-06-19 17:28:26.330
    Creating file C:\Program Files\sapinst_instdir\MSS\YU\x.
    INFO 2008-06-19 17:28:26.330
    Removed file C:\Program Files\sapinst_instdir\MSS\YU\x.
    INFO 2008-06-19 17:29:42.797
    Creating directory C:\Program Files\sapinst_instdir\MSS\YU\log_19_Jun_2008_17_29_42.
    INFO 2008-06-19 17:29:43.484
    Copied file 'J:/saptools/STM/I386/STM/control.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.500
    Copied file 'J:/saptools/STM/I386/STM/dialog.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.515
    Copied file 'J:/saptools/STM/I386/STM/keydb.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.531
    Copied file 'J:/saptools/STM/I386/STM/messages.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.546
    Copied file 'J:/saptools/STM/I386/STM/resourcepool.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.546
    Copied file 'J:/saptools/STM/I386/STM/stm.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.562
    Copied file 'J:/saptools/STM/I386/STM/toplevel.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.593
    Copied file 'J:/saptools/STM/I386/STM/control.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.593
    Copied file 'J:/saptools/STM/I386/STM/doc.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.609
    Copied file 'J:/saptools/STM/I386/STM/keydb.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.625
    Copied file 'J:/saptools/STM/I386/STM/messages.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.625
    Copied file 'J:/saptools/STM/I386/STM/resources.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.640
    Copied file 'J:/saptools/STM/I386/STM/sapinstgui.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.640
    Copied file 'J:/saptools/STM/I386/STM/unittest.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.781
    Copied file 'J:/saptools/STM/I386/catalog.dtd' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.828
    Copied file 'C:/WINDOWS/Temp/2/sapinst_exe.4984.1213908438/instana.xsl' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 17:29:43.828
    Creating file C:\Program Files\sapinst_instdir\MSS\YU\start_dir.cd.
    INFO 2008-06-19 17:29:43.843
    Creating file C:\Program Files\sapinst_instdir\x.
    INFO 2008-06-19 17:29:43.843
    Removed file C:\Program Files\sapinst_instdir\x.
    INFO 2008-06-19 17:29:44.781
    Creating file C:\Program Files\sapinst_instdir\MSS\YU\statistic.xml.
    INFO 2008-06-19 17:29:44.796
    Copied file 'C:/Program Files/sapinst_instdir/MSS/YU/statistic.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU/statistic.1.xml'.
    WARNING 2008-06-19 17:29:44.875
    Unable to get information about path
    LABEL.ASC\ using GetVolumeInformation. Operating system error message: The filename, directory name, or volume label syntax is incorrect.
    INFO 2008-06-19 17:29:44.906
    Creating file C:\Program Files\sapinst_instdir\MSS\YU\syslib_priv.log.
    INFO 2008-06-19 17:29:45.250
    Creating directory C:\Program Files\sapinst_instdir\MSS\YU\SUPPORT_CONTAINER.
    INFO 2008-06-19 17:29:45.281
    Copied file 'C:/Program Files/sapinst_instdir/MSS/YU/keydb.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU/keydb.1.xml'.
    INFO 2008-06-19 17:29:45.296
    Creating file C:\Program Files\sapinst_instdir\MSS\YU\inifile.xml.
    INFO 2008-06-19 17:29:45.328
    Copied file 'C:/Program Files/sapinst_instdir/MSS/YU/inifile.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU/inifile.1.xml'.
    INFO 2008-06-19 17:29:45.437
    Copied file 'C:/Program Files/sapinst_instdir/MSS/YU/statistic.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU/statistic.2.xml'.
    INFO 2008-06-19 17:29:45.437
    Execute step dPrepare of component |SAPMSSTOOLS|ind|ind|ind|ind|0|0
    INFO 2008-06-19 18:00:54.24
    Creating directory C:\Program Files\sapinst_instdir\MSS\YU\msssql_9.
    INFO 2008-06-19 18:00:54.55
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/mssversions.xml' to 'C:/Program Files/sapinst_instdir/MSS/YU'.
    INFO 2008-06-19 18:00:54.102
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/db_preload.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.117
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/login_sql_cre.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.133
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/schema_move.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.148
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/server_config.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.180
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL9/usrabap.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.211
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/db_abap_postload.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.227
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/login_drop.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.258
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/login_info.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.273
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/login_os_cre.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.305
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_get_defpath.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.320
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_init_jc.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.336
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_schema_cnv.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.352
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_sps_dropsap_.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.367
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/mss_sps_droptmp.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.398
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/schema_drop.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.414
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/schema_info.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    INFO 2008-06-19 18:00:54.445
    Copied file 'J:/saptools/STM/COMMON/INSTALL/MSS/SQL/usrjava.sql' to 'C:/Program Files/sapinst_instdir/MSS/YU/msssql_9'.
    ERROR 2008-06-19 18:00:56.477
    FJS-00003  TypeError: rel has no properties (in script SAPMSSTOOLS|ind|ind|ind|ind, line 12919: ???)
    ERROR 2008-06-19 18:00:56.523
    MUT-03025  Caught ESAPinstException in Modulecall: executing JS script failed.
    ERROR 2008-06-19 18:00:56.680
    FCO-00011  The step dPrepare with step key |SAPMSSTOOLS|ind|ind|ind|ind|0|0|dPrepare was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: executing JS script failed.).
    INFO 2008-06-19 18:16:24.161
    An error occured and the user decide to stop.\n Current step "|SAPMSSTOOLS|ind|ind|ind|ind|0|0|dPrepare".
    INFO 2008-06-19 18:16:26.677
    Working directory changed to C:/Program Files/sapinst_instdir/MSS/YU.
    INFO 2008-06-19 18:16:26.692
    Creating file C:\Program Files\sapinst_instdir\.lastInstallationLocation.
    INFO 2008-06-19 18:16:26.708
    Creating file C:\Program Files\sapinst_instdir\MSS\YU\__instana_tmp.xml.
    Thankz,

    Thankz for your answer Markus,
    This is the log of DEV_DISP:
    trc file: "dev_disp", trc level: 1, release: "640"
    Thu Jun 19 16:44:48 2008
    kernel runs with dp version 137(ext=102) (@(#) DPLIB-INT-VERSION-137)
    length of sys_adm_ext is 312 bytes
    sysno      01
    sid        GMQ
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    237
    intno      20020600
    make:      multithreaded, ASCII
    pid        5140
    Thu Jun 19 16:44:49 2008
    ***LOG Q00=> DpSapEnvInit, DPStart (01 5140) [dpxxdisp.c   1107]
         shared lib "dw_xml.dll" version 237 successfully loaded
         shared lib "dw_xtc.dll" version 237 successfully loaded
         shared lib "dw_stl.dll" version 237 successfully loaded
         shared lib "dw_gui.dll" version 237 successfully loaded
         shared lib "dw_mdm.dll" version 237 successfully loaded
    Thu Jun 19 16:44:54 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3881]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpIPCInit2: start server >gmddev_GMQ_01                           <
    DpShMCreate: sizeof(wp_adm)          9600     (960)
    DpShMCreate: sizeof(tm_adm)          2379840     (11840)
    DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)          192000     (384)
    DpShMCreate: sizeof(vmc_adm)          0     (364)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 05AA0040, size: 2668432)
    DpShMCreate: allocated sys_adm at 05AA0040
    DpShMCreate: allocated wp_adm at 05AA17D8
    DpShMCreate: allocated tm_adm_list at 05AA3D58
    DpShMCreate: allocated tm_adm at 05AA3D80
    DpShMCreate: allocated wp_ca_adm at 05CE8DC0
    DpShMCreate: allocated appc_ca_adm at 05CED410
    DpShMCreate: allocated comm_adm_list at 05CEEB80
    DpShMCreate: allocated comm_adm at 05CEEB98
    DpShMCreate: allocated vmc_adm_list at 05D1D998
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 05D1D9C0
    DpShMCreate: allocated wall_adm at 05D1D9C8
    MBUF state OFF
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( GMDDEV) [dpxxdisp.c   10163]
    DpStartStopMsg: send start message (myname is >gmddev_GMQ_01                           <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    Thu Jun 19 16:44:55 2008
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 237
    Release check o.K.
    Thu Jun 19 16:45:34 2008
    ERROR => W0 (pid 5704) died [dpxxdisp.c   12734]
    ERROR => W1 (pid 5712) died [dpxxdisp.c   12734]
    ERROR => W2 (pid 5720) died [dpxxdisp.c   12734]
    ERROR => W3 (pid 5728) died [dpxxdisp.c   12734]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W4 (pid 5736) died [dpxxdisp.c   12734]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W5 (pid 5744) died [dpxxdisp.c   12734]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W6 (pid 5752) died [dpxxdisp.c   12734]
    ERROR => W7 (pid 5760) died [dpxxdisp.c   12734]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W8 (pid 5776) died [dpxxdisp.c   12734]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W9 (pid 5784) died [dpxxdisp.c   12734]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-5704 (SIGUSR2)
    ERROR => DpWpKill(5704, SIGUSR2) failed [dpxxtool.c   2508]
    killing W1-5712 (SIGUSR2)
    ERROR => DpWpKill(5712, SIGUSR2) failed [dpxxtool.c   2508]
    killing W2-5720 (SIGUSR2)
    ERROR => DpWpKill(5720, SIGUSR2) failed [dpxxtool.c   2508]
    killing W3-5728 (SIGUSR2)
    ERROR => DpWpKill(5728, SIGUSR2) failed [dpxxtool.c   2508]
    killing W4-5736 (SIGUSR2)
    ERROR => DpWpKill(5736, SIGUSR2) failed [dpxxtool.c   2508]
    killing W5-5744 (SIGUSR2)
    ERROR => DpWpKill(5744, SIGUSR2) failed [dpxxtool.c   2508]
    killing W6-5752 (SIGUSR2)
    ERROR => DpWpKill(5752, SIGUSR2) failed [dpxxtool.c   2508]
    killing W7-5760 (SIGUSR2)
    ERROR => DpWpKill(5760, SIGUSR2) failed [dpxxtool.c   2508]
    killing W8-5776 (SIGUSR2)
    ERROR => DpWpKill(5776, SIGUSR2) failed [dpxxtool.c   2508]
    killing W9-5784 (SIGUSR2)
    ERROR => DpWpKill(5784, SIGUSR2) failed [dpxxtool.c   2508]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:44 2008
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Thu Jun 19 20:45:44 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     5704 Ended         no      1   0             0                                                             
    1 DIA     5712 Ended         no      1   0             0                                                             
    2 DIA     5720 Ended         no      1   0             0                                                             
    3 DIA     5728 Ended         no      1   0             0                                                             
    4 UPD     5736 Ended         no      1   0             0                                                             
    5 ENQ     5744 Ended         no      1   0             0                                                             
    6 BTC     5752 Ended         no      1   0             0                                                             
    7 BTC     5760 Ended         no      1   0             0                                                             
    8 SPO     5776 Ended         no      1   0             0                                                             
    9 UP2     5784 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Thu Jun 19 20:45:44 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     8 ( 88%),  shm     1 ( 11%)
    since last update     total     9,  udp     8 ( 88%),  shm     1 ( 11%)
    Dump of tm_adm structure:               Thu Jun 19 20:45:44 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Thu Jun 19 20:45:44 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:49 2008
    NiISelect: TIMEOUT occured (5000 ms)
    DpHalt: shutdown server >gmddev_GMQ_01                           < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing process (5688) (SOFT_KILL)
    Stop icman
    killing process (5696) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:5688  HANDLE:1592)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:50 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:5688  HANDLE:1592)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:51 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:52 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:53 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:54 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:55 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:56 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:57 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:58 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:45:59 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:5696  HANDLE:1600)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1621
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Jun 19 16:46:00 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:5696  HANDLE:1600)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    DpStartStopMsg: send stop message (myname is >gmddev_GMQ_01                           <)
    NiIMyHostName: hostname = 'gmddev'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiPRead: WSAEWOULDBLOCK 1.time 4
    NiIPeek: peek for hdl 3 / socket 1596 timed out (r; 0)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: write 114, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiPRead: WSAEWOULDBLOCK 1.time 4
    NiIPeek: peek successful for hdl 3 / socket 1596 (r)
    NiIRead: read 114, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=114
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER, typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiPRead: WSAEWOULDBLOCK 1.time 4
    Thu Jun 19 16:46:01 2008
    NiIPeek: peek for hdl 3 / socket 1596 timed out (r; 1000)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   10453]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/10
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1596
    MsIDetach: detach MS-system
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 5140) [dpxxdisp.c   8793]
    Good Bye .....

  • Error while parsing or executing XML-SQL document

    friends,
    my scenario is based on file to jdbc.i am facing  an error in receiver CC in RWB.
    The error states that '
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MATMAS' (structure 'STATEMENT'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]String or binary data would be truncated.'
    My SOAP xml message is
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    - <SOAP:Header>
    - <sap:Main xmlns:sap="http://sap.com/xi/XI/Message/30" versionMajor="3" versionMinor="0" SOAP:mustUnderstand="1" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <sap:MessageClass>ApplicationMessage</sap:MessageClass>
      <sap:ProcessingMode>asynchronous</sap:ProcessingMode>
      <sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
      <sap:TimeSent>2008-02-06T22:30:21Z</sap:TimeSent>
    - <sap:Sender>
      <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty" />
      <sap:Service>ECC</sap:Service>
      </sap:Sender>
    - <sap:Receiver>
      <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty" />
      <sap:Service>BS_JDBC</sap:Service>
      </sap:Receiver>
      <sap:Interface namespace="http://file_to_jdbc">MI_JDBC_RECEIVER</sap:Interface>
      </sap:Main>
    - <sap:ReliableMessaging xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:QualityOfService>ExactlyOnce</sap:QualityOfService>
      </sap:ReliableMessaging>
    - <sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">
    sapecc50\sapmnt\trans</sap:Record>
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileEncoding">UTF-8</sap:Record>
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">txt</sap:Record>
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">matmas1.txt</sap:Record>
      </sap:DynamicConfiguration>
    - <sap:HopList xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
    - <sap:Hop timeStamp="2008-02-06T22:30:21Z" wasRead="false">
      <sap:Engine type="AE">af.e6e.sapecc6eval</sap:Engine>
      <sap:Adapter namespace="http://sap.com/xi/XI/System">XIRA</sap:Adapter>
      <sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
      <sap:Info />
      </sap:Hop>
    - <sap:Hop timeStamp="2008-02-06T22:30:21Z" wasRead="false">
      <sap:Engine type="IS">is.01.sapecc6eval</sap:Engine>
      <sap:Adapter namespace="http://sap.com/xi/XI/System">XI</sap:Adapter>
      <sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
      <sap:Info>3.0</sap:Info>
      </sap:Hop>
    - <sap:Hop timeStamp="2008-02-06T22:30:22Z" wasRead="false">
      <sap:Engine type="AE">af.e6e.sapecc6eval</sap:Engine>
      <sap:Adapter namespace="http://sap.com/xi/XI/System">XIRA</sap:Adapter>
      <sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
      </sap:Hop>
      </sap:HopList>
    - <sap:Diagnostic xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:TraceLevel>Information</sap:TraceLevel>
      <sap:Logging>Off</sap:Logging>
      </sap:Diagnostic>
      </SOAP:Header>
    - <SOAP:Body>
    - <sap:Manifest xmlns:sap="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <sap:Payload xlink:type="simple" xlink:href="cid:[email protected]">
      <sap:Name>MainDocument</sap:Name>
      <sap:Description />
      <sap:Type>Application</sap:Type>
      </sap:Payload>
      </sap:Manifest>
      </SOAP:Body>
      </SOAP:Envelope>
    and payload message is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_JDBC_RECEIVER xmlns:ns0="http://file_to_jdbc">
    - <STATEMENT>
    - <ROW action="INSERT">
      <TABLE>MATMAS</TABLE>
    - <access>
      <MATNR>38</MATNR>
      <MTART>HALB</MTART>
      <MATKL>00107</MATKL>
      <MEINS>pc</MEINS>
      <ERSDA>2008.04.05</ERSDA>
      <BRGEW>10</BRGEW>
      <NTGEW>12</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>88</MATNR>
      <MTART>FERT</MTART>
      <MATKL>02004</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2008.04.05</ERSDA>
      <BRGEW>12</BRGEW>
      <NTGEW>13</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>89</MATNR>
      <MTART>FERT</MTART>
      <MATKL>02004</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2008.03.02</ERSDA>
      <BRGEW>12</BRGEW>
      <NTGEW>14</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>98</MATNR>
      <MTART>HALB</MTART>
      <MATKL>2</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2006.09.01</ERSDA>
      <BRGEW>12</BRGEW>
      <NTGEW>12</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>170</MATNR>
      <MTART>NLAG</MTART>
      <MATKL>4</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2005.03.02</ERSDA>
      <BRGEW>2</BRGEW>
      <NTGEW>3</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>178</MATNR>
      <MTART>NLAG</MTART>
      <MATKL>4</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2007.03.06</ERSDA>
      <BRGEW>3</BRGEW>
      <NTGEW>4</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>188</MATNR>
      <MTART>NLAG</MTART>
      <MATKL>5</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2007.05.02</ERSDA>
      <BRGEW>2</BRGEW>
      <NTGEW>3</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>288</MATNR>
      <MTART>HALB</MTART>
      <MATKL>101</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2006.02.11</ERSDA>
      <BRGEW>5</BRGEW>
      <NTGEW>4</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>358</MATNR>
      <MTART>HAWA</MTART>
      <MATKL>2</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2007.09.09</ERSDA>
      <BRGEW>500</BRGEW>
      <NTGEW>500</NTGEW>
      <GEWEI>G</GEWEI>
      </access>
    - <access>
      <MATNR>359</MATNR>
      <MTART>HAWA</MTART>
      <MATKL>2</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2007.08.01</ERSDA>
      <BRGEW>20</BRGEW>
      <NTGEW>10</NTGEW>
      <GEWEI>G</GEWEI>
      </access>
      </ROW>
      </STATEMENT>
      </ns0:MT_JDBC_RECEIVER>
    Could anybody help me in sorting out this issue.My advance thanks

    hi,
    ypur structure is bad defined.
    if you want to do an insert, the DT should be
    <ns0:MT_JDBC_RECEIVER xmlns:ns0="http://file_to_jdbc">
    ___<StatementName>
    ______<dbTableName action=”INSERT”>
    _____<table>MATMAS</table>
    _______ <access>
    ___________<MATNR>38</MATNR>
    ___________<MTART>HALB</MTART>
    ___________<MATKL>00107</MATKL>
    ___________<MEINS>pc</MEINS>
    ___________<ERSDA>2008.04.05</ERSDA>
    ___________<BRGEW>10</BRGEW>
    ___________<NTGEW>12</NTGEW>
    ___________<GEWEI>KG</GEWEI>
    ______</access>
    _____</dbTableName>
    __ </StatementName>
    </ns0:MT_JDBC_RECEIVER>
    the ROW field is used when you wait receive data from DB for example you execute and SQL Query from Sender communication channel "SELECT name FROM TABLE Names"
    so, the result of this query would be, for example:
    <row>
    ____<name>joge</name>
    </row>
    <row>
    ____<name>pepe</name>
    </row>
    <row>
    ____<name>nicola</name>
    </row>
    See this link
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Feb 8, 2008 8:40 AM
    Edited by: Rodrigo Pertierra on Feb 8, 2008 8:42 AM

  • How to Configure Remote Connections To SQL Server 2008 R2 Express

    Post written June 10, 2010 and pertains to:
    SQL Server 2008 R2 Express on both my server and local machines: SQLX_SRV,
    SQLX_LOC
    SQL Server 2008 R2 Management Studio on both my server and local machines:
    MS_SRV, MS_LOC
    Windows Server 2008 R2 Enterprise installed on a Hyper-V VPS: WS
    SQL Server Configuration Manager on both my server and local machines:
    CMGR_SRV, CMGR_LOC
    Server Manager: SMGR
    I am connecting to my hosting server via Remote Desktop Connection: RDC
    I installed SQLX_SRV and MS_SRV on my hosting server and SQLX_LOC and MS_LOC on my local development machine.  I am able to use MS_LOC to connect to SQLX_LOC and to use MS_SRV to connect to SQLX_SRV.  However I am not able to use MS_LOC to connect
    with SQLX_SRV.  Here's what I have done so far:
    SMGR -> Configuration -> Windows Firewall to turn off the Windows Firewall for Domain, Private and Public profiles.  Obviously I'll change this later, but until I can connect I want to remove as many variables as possible.
    CMGR_SRV -> SQL Server Services to confirm that both SQL Server (SQLEXPRESS) and SQL Server Browser services were running.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS to ENABLE the Shared Memory, Named Pipes, and TCP/IP protocols and DISABLE the deprecated VIA protocol.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS -> double click TCP/IP to open the TCP/IP properties dialogue.  On the Protocol tab Enabled: Yes, Keep Alive: 30000, changed Listen All to No.  I've tried it both
    ways, but I've got six IP addresses on my server and I wanted to configure SQLEXPRESS to listen to only the first and primary IP.  On the IP Addresses tab went to IPALL and cleared the TCP Dynamic Ports field and entered 1433 in the TCP Port field. 
    For my first and primary IP Address I made sure that Enabled was Yes, I cleared the TCP Dynamic Ports field, and entered 1433 in the TCP Port field.  For all other IP Addresses Enabled was set to No and I cleared both the TCP Dynamic Ports and TCP Port
    fields.
    CMGR_SRV -> SQL Server Services -> SQL Server (SQLEXPRESS) right click and Restart.  This of course stopped and restarted my instance of SQLX_SRV enabling the TCP/IP configuration in the previous step to take effect.
    On my server, SQLX_SRV is the only instance of SQL Server running and so it's easy to hard wire it to the default port 1433.
    The instance name for both SQLX_SRV and SQLX_LOC is the default "SQLEXPRESS".  My server machine name is "SERVER1" on the EnglishBrains.com domain.  So the proper local name (local within the context of my remote server as connected via RDC) for
    my instance of SQLX_SRV would be:
    SERVER1\SQLEXPRESS 
    Note the use of a backslash NOT a forward slash. 
    Of course to connect remotely from my development machine, which is not on the same domain as my hosting server, I would need to specify the domain as well, so the SQL Server name becomes:
    SERVER1.EnglishBrains.com\SQLEXPRESS
    I must also use SQL Server Authentication.  Before I can use such a remote connection, however, there are still several configuration steps required.  So on my server (connected via RDC) I used MS_SRV to connect to SQLX_SRV using SERVER1\SQLEXPRESS
    for the server name and Windows Authentication.  Once connected I performed the following steps:
    MS_SRV -> right click the connected parent SERVER1\SQLEXPRESS instance node at the top -> Properties -> Security -> Server authentication: select "SQL Server and Windows Authentication mode".  This will enable connections using either type
    of authentication.
    Next, leaving the Server Properties dialogue open, Connections -> check "Allow remote connections to this server" box.
    Click OK to save these changes and close the Server Properties dialogue.
    MS_SRV -> Security -> right click Logins and select "New Login...", the Login - New dialogue opens.
    On the General page Enter a name for your new login
    Select SQL Server Authorization
    Enter and confirm a password
    Uncheck Enforce password expiration
    Select the default Database and Language
    On the ServerRoles page Public will be checked, also check SysAdmin.  This is probably not a good idea and I'll uncheck this as soon as I can connect to the SQLX_SRV.
    On the User Mapping page select the databases you want your new Login to access and enter the Default Schema of "dbo".
    At the bottom of the User Mapping page you'll see the Database Roles table.  Public will be selected by default.  Also select db_Owner.  Again this is probably not a good idea, and I'll refine this once I can connect.
    On the Status page confirm that "Grant" is checked under "Permission to connect to database engine" and "Enable" is checked under "Login".
    Click OK to save all changes and close the Login - New dialogue.
    With these steps completed you should now be able to use MS_SRV to connect to SQLX_SRV using SQL Server Authentication by supplying the name and password for your new Login.  I tried this and it worked fine.  Next I tried to use this same login
    remotely, that is I went to my local development machine and used MS_LOC to try and connect to SQLX_SRV by using
    SERVER1.EnglishBrains.com\SQLEXPRESS
    and opting for SQL Server Authentication and supplying the name and password of my new login.
    THIS DID NOT WORK??  Instead I get the following error message:
    Cannot connect to SERVER1.EnglishBrains.com\SQLEXPRESS.
    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) (Microsoft SQL Server, Error: -1)
    For help, click:
    http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1
    If you follow the suggested help link, you are told:
    The SQL Server client cannot connect to the server.  This error could be caused by one of the following reasons:
    A specified SQL Server instance name is not valid.
    The TCP, or named pipes protocols are not enabled.
    The firewall on the server has refused the connection.
    The SQL Server Browser service (sqlbrowser) is not started.
    WRONG on all 4 counts!  The instance name IS valid.  Both TCP/IP and Named Pipes protocols are enabled.  The firewall has been shut down, so it is not relevant.  Finally the SQL Server Browser IS started.
    The next thing I tried was to circumvent discovery by the SQL Browser service by using the following syntax to specify the IP address and port directly when specifying the SQL Server name.
    tcp:68.71.134.186,1433
    Using this in the Server Name field I was able to use MS_SRV to successfully connect to SQLX_SRV (using SQL Server Authentication of course) with or without the SQL Browser service running. 
    However when I tried to connect from MS_LOC to SQLX_SRV using this same login (WITH SQL Browser service running just for good measure) it does not work??  I get the following error message:
    Cannot connect to tcp:68.71.134.186,1433.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476
    If you follow the help link you are told:
    "The SQL Server client cannot connect to the server. This error could occur because either the firewall on the server has refused the connection or the server is not configured to accept remote connections."
    However, the firewall has been shut down and the server HAS been configured to accept remote connections! 
    I confirmed that i could indeed Ping to 68.71.134.186  and running NetStat -a |find /i "listening" on the server shows that the server is indeed listening at 68.71.134.186 Port 1433 -- which is why I was able to connect to SQLX_SRV using MS_SRV with
    tcp:68.71.134.186,1433 .
    IN SUMMARY: Even though I can connect to my SQLEXPRESS instance multiple ways from the server itself, I cannot connect remotely from my development machine! 
    If anyone can help me figure out why I would be very, very grateful!

    My two cents to help you out on c# code example to configure the remote sql server express.
    Hope it helps. It works, but you have to be extra carefull to read it all and setup the server configuration and netsh commands; also the port fowarding on the router.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data.SqlClient;
    namespace sqlremoteconnection
    class Program
    static void Main(string[] args)
    // this is the local sql server connection
    // 192.168.1.101\SQLEXPRESS
    // now, the configuration for remote access:
    // activate SQL SERVER BROWSER - set it to start "automatic"; then START UP
    // SQL Server Configuration Manager
    // --> SQL SERVER BROWSER -> properties -> Service -> Start Mode -> automatic -> apply
    // --> Log On -> Start -> Ok
                // netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh firewall set portopening protocol = UDP port = 1434 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = any profile = PUBLIC
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = udp action = allow localport = 1434 remoteip = any profile = PUBLIC
    // VERY IMPORTANT FOR REMOTE ACCESS: you have to add the rules on port fowarding
    // on the router!!!
    // TCP: 1433
    // UDP: 1434
    // or just a personal port like TCP 31433/UDP 31434
    // read carefully the netsh commands above
    // server name: 123.132.24.177\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,1433 <<-- regular port
    // server name: anyurl.myftp.org\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,31433 <<-- WOW different PORT here!!!
    SqlConnection myConnection = new SqlConnection(
    "user id=sa;" +
    "password=password_goes_here!;" +
    "server=anyurl.myftp.org\\SQLEXPRESS,31433;" +
    //"Trusted_Connection=no;" +
    "database=database_name_here; " +
    "connection timeout=30");
    try
    myConnection.Open();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    SqlDataReader myReader = null;
    SqlCommand myCommand = new SqlCommand("select * from mytable", myConnection);
    myReader = myCommand.ExecuteReader();
    while (myReader.Read())
    Console.WriteLine(myReader["tab01_name"].ToString());
    Console.WriteLine(myReader["tab01_age"].ToString());
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    myConnection.Close();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    Adelino Araujo

  • Error While Installing IDES ECC6 with SQL Server 2005

    Dear Experts,
    I found an error while installing IDES ECC6 with SQL Server 2005. The error is raising at the stage of 17 of 24 processing the procedure of 195 of 197 (sap_z_set_permissions).
    I have tried several times by configuring different type of activites but still i am facing the same problem at the same stage. Please help me in thig regard.
    I herewith pasted hereunder log files information
    Regards,
    B.Sudharsan
    ERROR 2008-01-17 18:38:47
    FCO-00011  The step ExeProcs with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs was executed with status ERROR .
    INFO 2008-01-17 18:40:05
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs".
    ERROR 2008-01-17 18:38:47
    MDB-05053  Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.

    Sudarshan,
    Occasionally, mid-way through the upgrade, DB permissions to users might change. Check to see, if the users SAP<SID>, OPS$ users have the DBA privilege. Re-assign the role and try continuing with the upgrade.

  • Sql 2000 database role

    Hi ,
    I want to grant execute permission to all SP's in SQL 2000  database, when I tried to create a db_execprocs role it is throwing an error near ROLE, and when I googled  I have found a script as 
    CREATE PROCEDURE dbo.spGrantExectoAllStoredProcs @user ABC\venkat
    AS
    -- Object Name: spGrantExectoAllStoredProcs
    -- Author: Edgewood Solutions
    -- Development Date: 03.19.2007
    -- Called By: TBD
    -- Description: Issue GRANT EXEC statement for all stored procedures 
    -- based on the user name that is passed in to this stored procedure
    -- Project: SQL Server Security
    -- Database: User defined databases 
    -- Business Process: SQL Server Security
    -- Num | CRF ID | Date Modified | Developer | Description
    -- 001  | N\A     | 03.15.2007    | Edgewood | Original code for the GRANT 
    -- EXEC process
    SET NOCOUNT ON
    -- 1 - Variable declarations
    DECLARE @CMD1 varchar(8000)
    DECLARE @MAXOID int
    DECLARE @OwnerName varchar(128)
    DECLARE @ObjectName varchar(128)
    -- 2 - Create temporary table
    CREATE TABLE #StoredProcedures
    (OID int IDENTITY (1,1),
    StoredProcOwner varchar(128) NOT NULL,
    StoredProcName varchar(128) NOT NULL)
    -- 3 - Populate temporary table
    INSERT INTO #StoredProcedures (StoredProcOwner, StoredProcName)
    SELECT u.[Name], o.[Name]
    FROM dbo.sysobjects o
    INNER JOIN dbo.sysusers u
    ON o.uid = u.uid
    WHERE o.Type = 'P'
    AND o.[Name] NOT LIKE 'dt_%'
    -- 4 - Capture the @MAXOID value
    SELECT @MAXOID = MAX(OID) FROM #StoredProcedures
    -- 5 - WHILE loop
    WHILE @MAXOID > 0
    BEGIN 
     -- 6 - Initialize the variables
     SELECT @OwnerName = StoredProcOwner,
     @ObjectName = StoredProcName
     FROM #StoredProcedures
     WHERE OID = @MAXOID
     -- 7 - Build the string
     SELECT @CMD1 = 'GRANT EXEC ON ' + '[' + @OwnerName + ']' + '.' 
     + '[' + @ObjectName + ']' + ' TO ' + '[' + ABC\venkat + ']'
     -- 8 - Execute the string
     -- SELECT @CMD1
     EXEC(@CMD1)
    -- 9 - Decrement @MAXOID
    SET @MAXOID = @MAXOID - 1
    END
    -- 10 - Drop the temporary table
    DROP TABLE #StoredProcedures
    SET NOCOUNT OFF
    GO
    this too is throwin an error as:
    Msg 170, Level 15, State 1, Procedure spGrantExectoAllStoredProcs, Line 1
    Line 1: Incorrect syntax near '\'.
    Msg 170, Level 15, State 1, Procedure spGrantExectoAllStoredProcs, Line 52
    Line 52: Incorrect syntax near '\'.
    Can someone help me with this.
    I just need to grant execute permission on all SP's  to 1 database only.
    Thanks.

    First create the procedure and then call the procedure with parameter.
    Try this 
    CREATE PROCEDURE dbo.spGrantExectoAllStoredProcs @user varchar(20)
    AS
    -- Object Name: spGrantExectoAllStoredProcs
    -- Author: Edgewood Solutions
    -- Development Date: 03.19.2007
    -- Called By: TBD
    -- Description: Issue GRANT EXEC statement for all stored procedures
    -- based on the user name that is passed in to this stored procedure
    -- Project: SQL Server Security
    -- Database: User defined databases
    -- Business Process: SQL Server Security
    -- Num | CRF ID | Date Modified | Developer | Description
    -- 001 | N\A | 03.15.2007 | Edgewood | Original code for the GRANT
    -- EXEC process
    SET NOCOUNT ON
    -- 1 - Variable declarations
    DECLARE @CMD1 varchar(8000)
    DECLARE @MAXOID int
    DECLARE @OwnerName varchar(128)
    DECLARE @ObjectName varchar(128)
    -- 2 - Create temporary table
    CREATE TABLE #StoredProcedures
    (OID int IDENTITY (1,1),
    StoredProcOwner varchar(128) NOT NULL,
    StoredProcName varchar(128) NOT NULL)
    -- 3 - Populate temporary table
    INSERT INTO #StoredProcedures (StoredProcOwner, StoredProcName)
    SELECT u.[Name], o.[Name]
    FROM dbo.sysobjects o
    INNER JOIN dbo.sysusers u
    ON o.uid = u.uid
    WHERE o.Type = 'P'
    AND o.[Name] NOT LIKE 'dt_%'
    -- 4 - Capture the @MAXOID value
    SELECT @MAXOID = MAX(OID) FROM #StoredProcedures
    -- 5 - WHILE loop
    WHILE @MAXOID > 0
    BEGIN
    -- 6 - Initialize the variables
    SELECT @OwnerName = StoredProcOwner,
    @ObjectName = StoredProcName
    FROM #StoredProcedures
    WHERE OID = @MAXOID
    -- 7 - Build the string
    SELECT @CMD1 = 'GRANT EXEC ON ' + '[' + @OwnerName + ']' + '.'
    + '[' + @ObjectName + ']' + ' TO ' + '[' + @user + ']'
    -- 8 - Execute the string
    -- SELECT @CMD1
    EXEC(@CMD1)
    -- 9 - Decrement @MAXOID
    SET @MAXOID = @MAXOID - 1
    END
    -- 10 - Drop the temporary table
    DROP TABLE #StoredProcedures
    SET NOCOUNT OFF
    GO
    dbo.spGrantExectoAllStoredProcs 'abc\venkat'
    OR
    directly execute the below script
    Change the @user parameter with valid account
    DECLARE @User Varchar(20)
    DECLARE @CMD1 varchar(8000)
    DECLARE @MAXOID int
    DECLARE @OwnerName varchar(128)
    DECLARE @ObjectName varchar(128)
    SET @user='abc\venkat'
    -- 2 - Create temporary table
    CREATE TABLE #StoredProcedures
    (OID int IDENTITY (1,1),
    StoredProcOwner varchar(128) NOT NULL,
    StoredProcName varchar(128) NOT NULL)
    -- 3 - Populate temporary table
    INSERT INTO #StoredProcedures (StoredProcOwner, StoredProcName)
    SELECT u.[Name], o.[Name]
    FROM dbo.sysobjects o
    INNER JOIN dbo.sysusers u
    ON o.uid = u.uid
    WHERE o.Type = 'P'
    AND o.[Name] NOT LIKE 'dt_%'
    -- 4 - Capture the @MAXOID value
    SELECT @MAXOID = MAX(OID) FROM #StoredProcedures
    -- 5 - WHILE loop
    WHILE @MAXOID > 0
    BEGIN
    -- 6 - Initialize the variables
    SELECT @OwnerName = StoredProcOwner,
    @ObjectName = StoredProcName
    FROM #StoredProcedures
    WHERE OID = @MAXOID
    -- 7 - Build the string
    SELECT @CMD1 = 'GRANT EXEC ON ' + '[' + @OwnerName + ']' + '.'
    + '[' + @ObjectName + ']' + ' TO ' + '[' + @user + ']'
    -- 8 - Execute the string
    -- SELECT @CMD1
    EXEC(@CMD1)
    -- 9 - Decrement @MAXOID
    SET @MAXOID = @MAXOID - 1
    END
    -- 10 - Drop the temporary table
    DROP TABLE #StoredProcedures
    --Prashanth

  • Unable to configure Oracle Publisher in SQL SERVER 2008 R2

    Hi, All,
    I am trying to talk to my Oracle database from SQL server. I already had Oracle Client 11g installed in my SQL server. 
    Following the guidance in the technet on configuring the Distributer successfully. I now trying to configure the Publisher, by choosing "Adding Oracle Publisher" option. Then it prompt for the user id & password, I have enter the login (which
    is replication user id created in Oracle). I encounter following error msg:
    TITLE: Distributor Properties
    Oracle server instance 'ssluat' cannot be enabled as a Publisher because of the following error:
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1&EvtSrc=Microsoft.SqlServer.Management.UI.ConfigureWizardErrorSR&EvtID=OraclePublisherValidateFailed&LinkId=20476
    Quote:
    ADDITIONAL INFORMATION:
    Unable to run SQL*PLUS. Make certain that a current version of the Oracle client code is installed at the distributor. For addition information, see SQL Server Error 21617 in Troubleshooting Oracle Publishers in SQL Server Books Online. (Microsoft SQL Server,
    Error: 21617)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=21617&LinkId=20476
    Unquote
    In fact  I can run SQL*PLus from my c:\drive command prompt and the Path in Envinronment variable has set to "c:\app\product\11.2.0\client_1\bin". So I don't know why thing msg prompt?
    I have search the guideline on this error in Technet and do what I can to troubleshoot but still got error.
    Kindly pls help me.
    Thank you.
    Avelyn

    1.Make certain that a current version of the oracle client code is installed at the distributor”, please install corresponding version of Oracle
    Client tools on Distributor Box
    2.Are you able to connect to your Oracle server from the Distributor Box?if so,Distributor
    box needs to have Oracle client tools installed on it before you can setup replication , I hope you have installed the Oracle client tools on Distributor Box. If yes, check if using SQLPlus you can connect manually to Oracle server or not from your Distributor
    Box.
    Moreover,Please refer the below
    Before attempting to configure the Oracle Publisher, SQL Server verifies that SQL*PLUS is accessible through the system path on the Distributor. If SQL*PLUS cannot be loaded, the following error message is shown:
    "Unable to run SQL*PLUS. Make certain that a current version of the Oracle client code is installed at the distributor."
    Try to locate SQL*PLUS on the Distributor. For an Oracle 10g client install, the name of this executable is sqlplus.exe. It is typically installed in %ORACLE_HOME%/bin. To verify that the path of SQL*PLUS appears in the system path, examine the value of the
    system variable Path:
    Right-click My Computer, and then click Properties.
    Click the Advanced tab, and then click Environment variables.
    In the Environment Variables dialog box, in the System variables list, select the Path variable,
    and then click Edit.
    In the Edit System Variable dialog box: if the path to the folder that contains sqlplus.exe is not present in the Variable
    value text box, edit the string to include it.
    Click OK on each open dialog box to exit and save changes.

Maybe you are looking for