LMS4.2 sending out 2 set of report link & server name

2 set of link report( different module) was sent from LMS , but only 1 set of them is opening.
The server name had not changed since LMS 4.2 was setup for about 1 month.
the working set#1 link:
http://LMS:1741/rme/changeAuditJobDetails.do?button=details&jobid=1050&instanceid=22
below the set#2 link that is not working:
http://LMS.na.abc.com:1741/cmapps/utReportJob.do?crosslaunch=dashboard&reportID=1000.2
http://LMS.na.abc.com:1741/cmapps/utReportJob.do?crosslaunch=dashborad&reportID=1010.14
It seem that the server name appear as" LMS.na.abc.com"  in the Campus module report.
and in the DCR Device Polling job (DCRDevPollReport) DCR unreachable Device report.
but Server Name " LMS41" from RME link report.
We notice any link with set#1 type works, even if we edit the set2 link manually , it works.
ie both " LMS " and  " LMS.abc.com " will work, but not " LMS.na.abc.com"
Is there anywhere we could edit the link that is being send out by the report.?
Does hostname change script command works ( no actual hostname changes so far)?

Hi,
DBNetLib (Database Network Library) errors occur when the BizTalk Server runtime is unable to communicate with either the MessageBox or Management databases. When this occurs, the BizTalk Server runtime instance that catches the exception shuts down and
then cycles every minute to check to see if the database is available.
Check if there is any server restart activity happening every night?
Alternatively, you might need to
Set the SynAttackProtect registry setting as described in
http://support.microsoft.com/kb/899599. Additionally,
look at the Group policy for that SQL server to be sure that the Group Policy does not periodically UNDO the setting change that you did above.
Refer:
[DBNETLIB][ConnectionWrite (send()).]General network error. Check your network documentation.
Other possible causes could be
1) Low hardware specs (Could be hard disk memory issue, check the free space on the server)
2) Sharing one server or disk for more than one group of BizTalk databases
It could also be a network card issue that could we worked around by turning off TCP Chimney using the following command:
Netsh int ip set chimney DISABLED
For more information, see
Microsoft support article 942861.
Refer for details:
Avoiding DBNETLIB Exceptions
Similar issue reported here ->
BizTalk service stopping automatically.
Also refer this link and look into the description of Error 6,10 and 11.
BizTalk - Errors and Warnings, Causes and Solutions 
Rachit
Please mark as answer or vote as helpful if my reply does

Similar Messages

  • How to use batch file in window to send out Oracle AWR report automatically

    Dear All
    Please help me to write batch script as scheduler in windows to send out Oracle AWR report every 2 hours automatically
    I have database 10.2.0.3 , its on windows platform .
    Thanks in advance

    846671 wrote:
    Dear All
    Please help me to write batch script as scheduler in windows to send out Oracle AWR report every 2 hours automatically
    I have database 10.2.0.3 , its on windows platform .
    Thanks in advancewhat utility do you use to "send out" Oracle AWR report ?

  • Best way to Restore Database to create a new Database having different dependent objects like linked server names in the procedures

    Hi All,
    Am creating a new test server by cloning the production server. Creating Dbs by restoring the production backup but wondering is there any best way to update the linked server names in open query of few SPs other than manual checking and updating.
    Thanks,
    Swapna

    It will not update the stored procedure rather it generates the scripts. You can validate and execute the script later.
    Try this link
    http://www.ideosity.com/ourblog/post/ideosphere-blog/2013/06/14/how-to-find-and-replace-text-in-all-stored-procedures
    --Prashanth

  • Unable to send out mails from Solaris 10 Server

    We are in the process of migrating all our Solaris 8 servers to Solaris 10 servers. I have installed core distribution of Solaris 10 with only ssh running and few additional packages such as SUNWntp etc. which do not come with Core. I do not want to run sendmail daemon, but be able to send out emails from this host. I tried adding smart host DS entry in /etc/mail/sendmail.cf - I tried both hand editing of this file and compiling a new one to hardcode smarthost entry -. But mailing works only when sendmail daemon is running otherwise, I am unable to sendout mails. Can you please share your knowledge to resolve this issue.
    Thanks,
    Karthik

    I use /etc/mail/aliases file and I do not run sendmail on any of my servers.
    I have an entry for root aliased to <my.email.address>,<my.coworker.email.address> so any system messages are sent to us at our corp email addresses. Our servers are setup to use corporate DNS which includes entries for corp. mail servers.
    HTH
    John
    Edited by: SolarisSAinPA on Apr 2, 2008 2:02 PM
    This method worked for Solaris8. I'm having somedifficulty making it work for Solaris10. We have no mailhost definition in DNS, so I'm not sure if that is why this does not work or is there something specific to Solaris10 that prevents me from using the method I describe earlier.
    If I caused you extra work/confusion because of my earlier post, my apologies.
    John

  • UCCX 10.1 - Linked Server - Copying HR data to external SQL Server for reporting

    I have a customer that is migrating from UCCX 7 to UCCX 10.  They currently have a 2008 SQL Server R2 that they use for custom reports.  They have a package that runs nightly to copy relevant data from UCCX 7 to the their server and then run reports daily against that database.   Pretty easy when everything is in MS SQL.  My plan was to set up a linked server in SQL 2008 to the UCCX server.  This would allow me to easily run a query against Informix and move the data over as before.  However, I am having problems adding the linked server.
    I have installed the Informix drivers (both 32 and 64 bit) during the troubleshooting.
    The DSN is created and connects to UCCX just fine.
    When I attempt to add the linked server using 64 bit driver DSN I get the following:
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "UCCX101".
    OLE DB provider "MSDASQL" for linked server "UCCX101" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".
    OLE DB provider "MSDASQL" for linked server "UCCX101" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".
    OLE DB provider "MSDASQL" for linked server "UCCX101" returned message "[Informix][Informix ODBC Driver][-11302] Insufficient Connection information was supplied". (.Net SqlClient Data Provider)
    When I attempt to add the linked server using the 32 bit driver DSN I get the following:
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "32UCCX101".
    OLE DB provider "MSDASQL" for linked server "32UCCX101" returned message "[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application". (Microsoft SQL Server, Error: 7303)
    It appears to me there is a 32/64 bit conflict no matter route I go.
    Can anyone tell me what I am missing?
    Is there a better approach to take to achieve the ultimate goal?
    Any suggestions are greatly appreciated.
    TIA
    John

    I have created linked servers on an SQL2K box that points back to CCX. First off, you have to set the password for the UCCX HR user to some known value.
    exec sp_dropserver 'fonccx9_01', 'droplogins'
    EXEC sp_addlinkedserver
    @server='fonccx9_01', -- Name of the Linked Server, when it is created.
    @srvproduct='Microsoft OLE DB Provider for ODBC', -- OLE DB Provider.
    @provider='MSDASQL', -- Provider_name.
    @datasrc ='fonccx9-01', -- DSN Name of the ODBC Data Source.
    @provstr= -- ODBC Connection String.
    'Driver={IBM Informix ODBC};Server=fonccx9_01_uccx;Database=db_cra; Uid=uccxhruser; Pwd=Some-Password;'
    EXEC sp_addlinkedsrvlogin
        @rmtsrvname = 'fonccx9_01',
        @useself = 'FALSE',
        @rmtuser = 'uccxhruser',
        @rmtpassword = 'Some-Password'
    Note that the server name is "fonccx9-01", but the dash is an illegal character in the server name, so you have to change that to an underscore. You still have to manually build the ODBC data source on the box where you are trying to create the linked server.

  • How to send BIP report link by mail not the attachment.

    Hi,
    I have a requiment to send the BI Publisher report link by mail.But not to send the report as an attachment.
    can any one have solution for this requirement.

    hi,
    Alternatively, u can do this Send a report with all the report names on one side and another side link to that particular report.If any one click on that link means it will open the report(pdf/html/excel) format by referring to the url.we will get this by using RTF Template.
    Thanks,
    Saichand

  • IR reports scheduled in workspace doesnt send out emails.

    Hello Everyone,
    Please input your experinces or valuble suggestions for our issue.
    We have several Interactive reports scheduled through the Hyperion Workspace and the scheduler sends out the generated reports to the users via emails in excel, PDF, web archive and MHTML.
    Recently some users are complaining that they are not receving the reports though there emails are in the distribution list. My email is also attached to the distribution list and I receive the reports without any issue. I have checked the log and its shows that job went successfully without any errors and also displays that particluar user's emails too.
    I also get a notification to my email everytime the job runs and it is successfull all the time.
    We are unable to figure out why this is happening to only particluar users.
    Any ideas? Anybody experienced the same issue? We are on version 11.1.2.1.
    Jay.

    Hi,
    I have changed the order of the distribution list and waiting for a confirmation from the users but we are having a new issue.
    One of the scheduled job is not sending out the emails to anyone. I tried to run the report manually and it runs perfectly. Right now we are exporting the file in the format 'Microsoft Office Web Archive.'
    The scheduler was running perfectly untill 5/18 but didnt sendout after 5/18. I have ran report manually and exported as Web Archive and observed that the file size is 17MB. I have checked the previous outputs and all were under 11MB from the time since it was scheduled.
    I suspect this is because of the file size. I have also did a trail run by changing the export option from Web Archive to Excel and it did send out the report and excel file size was 3MB.
    Any ideas on this limitation? We are on version 11.1.2.1.
    .

  • How to find out SSRS report server name

    I'm trying to follow the steps for using SSRS web services (http://ssrstutorials.blogspot.com/2012/10/lesson-12-using-ssrs-web-services.html).
    In Step 3:
    Click advanced--> add web reference -- url - http://localhost/reportserver/reportservice2005.asmx
    (replace localhost with your report server name).
    How do I know what's my report server name?
    Thanks, 

    Hi sherri71,
    Sorry for that mark an incorrect reply as an answer.
    The reply suggested by Akbar is about Instance Name, not report server name. Based on my further research, I find that the Reporting Services server name is the computer name which install
    the report server. So we can try to click Start button, right-clicking Computer, and then clicking Properties. Under Computer name, domain, and workgroup settings, you can find your computer name.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine xiong
    Katherine Xiong
    TechNet Community Support

  • Why can I send email from my iPad, but my iMac which is connected to the same modem keeps telling me that it can't send the message using the same server?

    I have an iPad 2, connecting via Wifi to an Actiontec Q1000 modem.  The iMac (3.06 GHz Intel Core 2 Duo, 4 GB 1067 MHz RAM, running OS 10.8.2) is also hard wired to the same modem.  Internet access is via CenturyLink.  Main email is from Shaw cable in Calgary (Phoenix is a vacation property), not through CenturyLink.
    Can receive email on the iMac, but every time I try to send, I get a pop up saying "Cannot send message using the server .......".  Further prompts me to verify the address in the email, and SMTP settings in Mail preferences, or to select a different outgoing mail server.  I've tried using a number of servers, always the same result.
    Using same settings in both devices.

    Mail is not my forte, but what I noticed was that you have Centurylink and presumably have your Mail set up with their settings? But then you mention Shaw/vacation property/etc - you can send out email only through the server that you have set up as an account using the ISP you are using. If you switch places, do you have separate accounts set up with both Centurylink and Shaw so you can switch and use whichever one you're at? A Phoenix ISP won't work with a Mail POP account unless you're in your home - Phoenix - area.
    Do you have a data plan with your iPad? That would explain why that works - it'll function sort of like a cellphone - works anywhere where there are signals.

  • Report server name issue

    Dear All,
    I am stucking with the following problem,
    I have deployed my ERP apllication (developed in oracle forms & reports 10g) on oracle apllication server 10g forms & report services. my apllication server has two LAN card. out of two one has been configured with statis IP for web access. but while running report from parameter form i am taking report url from table. table contain report server name as my local server name.
    My problem is,
    If i am accessing erp from web using static ip and running report then server name is not recognized
    because it is my local server name coming from table. so for that every time i need to change report url & replace server name with statis ip in browser addr for web users.
    Please guide me what should i do to resolve this issue.
    Your reply would be greatly apprecited.
    Thanks

    If "Credentials supplied by the user running the report" is selected, when the report is run, the user will be prompted to provide credentials.  They would need to provide credentials that have the appropriate permissions (e.g., read, execute) to the
    database.  This prevents the double hop.
    If "Credentials stored securely in the report server" is selected, you have to enter the username and password of a user (or service account) that has the appropriate permissions (e.g., read, execute) to the database. When the report is run, SSRS will use
    these stored credentials each time to authenticate to the database engine and query the data.  Users running the report are not prompted to provide credentials.  With this option you can use an Active Directory or SQL Server account.
    In order to access/run the report, a user will need to authenticate to SSRS.  There are options here as well. You can provide them the link to the report manager and they can authenticate, navigate to, and run the report.  You can also provide
    direct links to reports that users click in a document or application.  At this point the user is typically still prompted to authenticate to SSRS.  You can also programmatically call the report using API's and essentially build a proxy that authenticates
    to SSRS and open the report.
    Not sure if that answers your question.

  • How to create a view on SQLServer 2008 as an OPENQuery select to a MYSQL linked server

    I am trying to create a view on SQLServer through Management Studio based on data on a MYSql server.
    I have created the Linked server and I am able to query all data.
    Using the syntax select * from OPENQUERY (linkedServer, 'select * from MYSQL-table') - This works fine
    What I am trying to do now is issue the following statement
    create view ViewnameToBeCreatedOnSQLServer
       as select * from OPENQUERY (linkedServer, 'select * from MYSQL-table')
    When I run this from SSMS I get the following error
    OLE DB provider "MSDASQL" for linked server "TESTTSC2" returned message "[MySQL][ODBC 5.1 Driver][mysqld-5.0.95-log]Table 'FP.M3' doesn't exist".
    Msg 7350, Level 16, State 2, Procedure FPMaster3, Line 2
    Cannot get the column information from OLE DB provider "MSDASQL" for linked server "TESTTSC2".
    The account I am using has create view privs and alter schema privs on the SQlServer side. I am assuming there are not isues on the MYSQL server side since I am able to successfully run the select statement using OPENQUERY.  There must be one small
    piece I am missing. has anyone experienced the same problem and were you able to find a solution?

    All the configurations seem to be in place correctly since I can SELECT any data with no issues. The statement   
    select * from OPENQUERY (linkedServer, 'select * from MYSQL-table')
    works fine and I can change the table I am selecting from which all return data. Therefore, the objects all exists in MYSQL.
    The DSN is set up, the linked Server is good, the provider is set up, the DB account has all privs.
    It only fails when I try to create the view on SQLServer as a select from a remote table accessed via the linked MYSQL server. I connect to SQLServer with DB account PS which has full privs including CREATE VIEW and ALTER SCHEMA. The MYSQL pass-through account
    has read access to all objects in the MYSQL schema. I am trying to figure out if I might be missing some little part of this puzzle when trying to create a new object (CRESTE VIEW) vs. just reading the data (SELECT).
    The kicker in all this is that I did create a view on SQLServer in this manner about a year ago and I am able to see the view definition and that view still works! So, this is quite interesting that I am not able to create a new object.
    If there any specific information I could provide which might help, I am happy to do that. Just did not want to provide the details on all of the puzzle pieces if it can be avoided but if it comes to that then that's OK also.
    Thanks very much! I appreciate your help.

  • SQL Server 2K "Linked Server" to Oracle 9i Release 2 via "Oracle Provider

    Hi,
    I'm trying to set up a SQL Server 2000 "Linked Server" to Oracle 9i Release 2 via "Oracle Provider for OLE DB". I have downloaded and installed "Oracle Provider for OLE DB Release 9.2.0.2.0"
    My SQL*Net alias/datasource in tnsnames.ora works (It passes the test in "Net 9i Configuration Assistant", I can connect from SQL*Plus, and I can get a Linked server going with the "Microsoft OLE DB Provider for Oracle").
    When I set up my Linked Server with Oracle Provider for OLE DB, I need to supply the following three fields (with description from the read-only field at the bottom of the "Linked Server Properties)
    Product name: (The product name is the OLE DB data source to add as a linked server.)
    Data source: (The data source is usually the name of the server or filename.)
    Provider string: (This is the entire provider string.)
    Here is my tnsnames.ora entry that works as described above (names may have been changed to protect the innocent)...
    PROD9I.XYZ.LOCAL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nn.nn.nn.nn)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PROD.ora2.xyz.mno.com)
    With every combination of values I have tried for these fields, when I try to use the Linked Server I get this error message...
    Could not create an instance of OLE DB provider 'OraOLEDB.Oracle'.
    OLE DB error trace [Non-interface error:  CoCreate of DSO for OraOLEDB.Oracle returned 0x80040154].
    Any help would be greatly appreciated
    Thank you,
    Daniel Jameson

    Thanks Norman.
    Well, I've made it a step closer. I uninstalled everything Oracle from my machine and reinstalled the 9i stuff, including the Oracle OLE DB Provider. Now, after I set up the linked server, and I try to view the Tables or Views under the Linked Servers, I get this error message...
    Error 7399: OLE DB provider 'OraOLEDB.Oracle' reported an error.
    OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' IDBINitialize::Initialize returned 0x80004005:   ].
    Does anyone have any idea what this is about? My other Linked Server using the same Oracle SQL*Net alias, but using the Microsoft OLE DB Provider, works fine.

  • Query via linked server to DB2/NT gives different results

    I have a DB2 9.7 database I need to query. I'm testing from four separate SQL Servers.
    ServerA - SQL 2012 SP2
    ServerB - SQL 2012 SP1
    ServerC - SQL 2012 SP1 CU1
    ServerD - SQL 2012 SP1
    I set up a linked server from ServerA. I run QueryA, and am happy with the results.
    I create a linked server from ServerB. I run QueryA and get the message, "Error converting data type DBTYPE_DBDATE to datetime."
    I did the same test on ServerC. It works fine.
    If, inside OPENQUERY, I convert the datetime to a varchar, call it QueryB, it mostly works, but will be missing a small percentage of datetime values from that converted column when run on ServerB. If I run QueryB on the on ServerA, those missing
    values are there. Same for ServerC.
    At this point, I can think only that the main difference is the service pack and CU level. I can't find any documentation on updates that are relevant, but doesn't mean much.
    Then, I did the same test on ServerD. ServerD is at the same SP/CU level as ServerB. ServerD worked just fine. Apparently it's not the service pack or cumulative update level making the difference.
    My setup: On each server I loaded MS OLE DB Provider for DB2 Version 4.0. I used the same sp_addlinkedserver script with the same connection string on each server. QueryA and QueryB both used OPENQUERY. They were identical except for the CAST to varchar
    for a datetime field. This CAST became a call to a function VARCHAR on the DB2 server in later tests with the same result. 
    Of course, the only place I actually need this working is ServerB.
    tia,
    Steve

    Sure, with some obfuscation and shortening.
    On each server, (except the first where I had to figure it out), I went through the same process.
    Load MS OLE DB Provider for DB2 Version 4.0 version 9.0.1390.0
    Run the Create Linked Server query
    Run QueryA.
    Only on ServerB has this been a problem. 
    --Create Linked Server
    EXEC sp_addlinkedserver
    @server='LinkedServer',
    @srvproduct='Microsoft OLE DB Provider for DB2',
    @catalog='DBName',
    @provider='DB2OLEDB',
    @provstr='Provider=DB2OLEDB;User ID=Username;Password=Password;Initial Catalog=DBName;Network Transport Library=TCPIP;Host CCSID=1252;PC Code Page=1252;Network Address=127.0.0.1;Network Port=50000;Package Collection=MSDB2COL;Process Binary as Character=False;Units of Work=RUW;DBMS Platform=DB2/NT;Use Early Metadata=False;Defer Prepare=False;DateTime As Char=False;Rowset Cache Size=0;Datetime As Date=False;AutoCommit=True;Authentication=Server;Decimal As Numeric=False;Derive Parameters=True;LoadBalancing=False;Persist Security Info=True;Cache Authentication=False;Mode=Read;Connection Pooling=False;'
    --QueryA
    SELECT * FROM OPENQUERY(LinkedServer,'
    SELECT [ARRIVAL]
          ,[ACCT_CODE]
          ,[ACC_EVENT_ID]
          ,[TRANS_DATET]
          ,[AVAIL_DATE]
          ,[AVAIL_STATUS]
      FROM [DBName].[UserName].[TableName]
    ') AS TableNameLink
    --QueryB
    SELECT * FROM OPENQUERY(LinkedServer,'
    SELECT [ARRIVAL]
    ,[ACCT_CODE]
    ,[ACC_EVENT_ID]
    , CAST([TRANS_DATET] AS VARCHAR(26)) TRANS_DATET
    ,[AVAIL_DATE]
    ,[AVAIL_STATUS]
    FROM [DBName].[UserName].[TableName]
    ') AS TableNameLink
    --QueryC
    SELECT * FROM OPENQUERY(LinkedServer,'
    SELECT [ARRIVAL]
    ,[ACCT_CODE]
    ,[ACC_EVENT_ID]
    , VARCHAR([TRANS_DATET]) TRANS_DATET
    ,[AVAIL_DATE]
    ,[AVAIL_STATUS]
    FROM [DBName].[UserName].[TableName]
    ') AS TableNameLink

  • Current Security Context Not Trusted When Using Linked Server From ABAP

    Hello,
    I am experiencing a head-scratcher of a problem when trying to use a Linked Server connection to query a remote SQL Server database from our R/3 system.  We have had this working just fine for some time, but after migrating to new hardware and upgrading OS, DBMS, and R/3, now we are running into problems.
    The target database is a named instance on SQL Server 2000 SP3, Windows 2000 Server.  The original source R/3 system was 4.7x2.00, also on SQL Server 2000 (SP4), Windows 2000 Server.  I had been using a Linked Server defined via SQL Enterprise Manager (actually defined when the source was on SQL Server 7), which called an alias defined with the Client Network Utility that pointed to the remote named instance.  This alias and Linked Server worked great for several years.
    Now we have migrated our R/3 system onto new hardware, running Windows Server 2003 SP1 and SQL Server 2005 SP1.  The application itself has been upgraded to ECC 6.0.  I performed the migration with a homogeneous system copy, and everything has worked just fine.  I redefined the Linked Server on the new SQL 2005 installation, this time avoiding the alias and referencing the remote named instance directly, and it tests out just fine using queries from SQL Management Studio.  It also tests fine with OSQL called from the R/3 server console, both when logged on as SAPServiceSID with a trusted connection, and with a SQL login as the schema owner (i.e., 'sid' in lowercase).  From outside of R/3, I cannot make it fail.  It works perfectly.
    That all changes when I try to use the Linked Server within an ABAP application, however.  The basic code in use is
    EXEC SQL.
       SET XACT_ABORT ON
       DELETE FROM [SERVER\INSTANCE].DATABASE.dbo.TABLE
    ENDEXEC.
    The only thing different about this code from that before the upgrade/migration is the reference to [SERVER\INSTANCE] which previously used the alias of just SERVER.
    The program short dumps with runtime error DBIF_DSQL2_SQL_ERROR, exception CX_SY_NATIVE_SQL_ERROR.  The database error code is 15274, and the error text is "Access to the remote server is denied because the current security context is not trusted."
    I have set the "trustworthy" property on the R/3 database, I have ensured SAPServiceSID is a member of the sysadmin SQL role, I've even made it a member of the local Administrators group on both source and target servers, and I've done the same with the SQL Server service account (it uses a domain account).  I have configured the Distributed Transaction Coordinator on the source (Win2003) system per Microsoft KB 839279 (this fixed problems with remote queries coming the other way from the SQL2000 system), and I've upgraded the system stored procedures on the target (SQL2000) system according to MS KB 906954.  I also tried making the schema user a member of the sysadmin role, but naturally that was disastrous, resulting in an instant R/3 crash (don't try this in production!), so I set it back the way it was (default).
    What's really strange is no matter how I try this from outside the R/3 system, it works perfectly, but from within R/3 it does not.  A search of SAP Notes, SDN forums, SAPFANS, Microsoft's KnowledgeBase, and MSDN Forums has not yielded quite the same problem (although that did lead me to learning about the "trustworthy" database property).
    Any insight someone could offer on this thorny problem would be most appreciated.
    Best regards,
    Matt

    Good news! We have got it to work. However, we did it in something of
    a backwards way, and I'm sure you'll laugh when you see how it was done. Also, the solution depends upon the fact that the remote server is still using SQL Server 2000, and so doesn't have quite so many restrictions placed upon it for distributed transactions and Linked Servers as SQL Server 2005 now does.
    At the heart of the solution is the fact that the Linked Server coming FROM the remote server TO our SAP system works fine. Finally, coupled with the knowledge that using DBCON on the SAP side to the remote server also does actually provide a connection (see Notes 323151 and 738371), we set up a roundabout way of achieving our goal. In essence, from ABAP, we set up the DBCON connection to the remote server, at which point all the Native SQL commands execute in the context of the remote server. From within that connection, we
    reference the tables in SAP via the Linked Server defined on the remote
    server, as if SAP were the remote server, selecting data from SAP and inserting it into the remote (but apparently local to this connection) tables.
    So, to spell it out, we define a Linked Server on the remote server pointing back to the SAP server as SAPSERV, with a SQL login mapping defined on the remote system pointing back to a SQL login in the SAP database. We also define a connection to the remote server from SAP using DBCON, using that remote SQL login for authentication.
    Then, in our ABAP code, we simply do something along the lines of
    exec sql.
       set connection 'REMOTE'
    endexec.
    exec sql.
       connect to 'REMOTE'
    endexec.
    exec sql.
       insert into REMOTE_TABLE
          select * from SAPSERV.SID.sid.SAP_TABLE
    endexec.
    exec sql.
       commit
    endexec.
    exec sql.
       disconnect 'REMOTE'
    endexec.
    This is, of course, a test program, but it demonstrated that it worked,
    and we were able to see that entries were appropriately deleted and inserted in the remote server's table. The actual program for use is a little more complex, in that there are about four different operations at different times, and we had to resolve the fact that the temp table SAP_TABLE was being held in a lock by our program, resulting in a deadly embrace, but our developer was able to work that out, and all is now well.
    I don't know if this solution will have applicability to any other customers, but it works for us, for now.
    SAPSERV, REMOTE, REMOTE_TABLE, and SAP_TABLE are, of course, placeholder names, not the actual server or table names, so as not to confuse anyone.
    Best regards,
    Matt

  • Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON when creating linked server

    I am setting up a linked server connection in SQL Server 2012 that is "be made using the Login's current security context."  When I test connect from SSMS from my PC it fails with the above error.  If I RDP to the server and test connect
    it succeeds.  The service is running under a domain account.  Any help would greatly be appreciated.

    You need to enable Kerberos for this.  Check out the new
    Microsoft® Kerberos Configuration Manager for SQL Server®
    David
    David http://blogs.msdn.com/b/dbrowne/

Maybe you are looking for

  • How can i uncheck a checkbox in table component on clicking a button

    In my application I have a table component that display data from the database and a submit button outside the table component, the first column in the table component is a checkbox, How can i uncheck the checkbox in the table component when the subm

  • Ipod won't display song info under "Now Playing"

    I searched for this, but couldn't find an answer. My 60GB IPOD works fine, plays fine and displays info (and movies, photos, etc.) correctly in all areas except the "Now Playing" screen, at which point it won't display any info (song title, artist, a

  • Is it possible to get the breakup of subtotals got by using subtot of sort.

    I have developed a alv report by using the 'REUSE_ALV_GRID_DISPLAY' function module, in this I have got the grand total by using the sum field from the fieldcatalog table i.e.(slis_t_fieldcat_alv) And I have got the subtotals by using the subtot fiel

  • Strange looking file keeps appearing in Trash -

    Over the past two days I keep finding a file called "␀␀␀õ␀␀.␀␀" in the Trash and if I do a Get Info on it it usually disappears. The next time I open the Trash it re-appears however. If I empty the Trash without listing the contents first, it will ag

  • Script for Pages to Email

    can someone help me out here: is it possible (if yes, how?) to do an applescript that converts a Pages document into the text body of an email (apple mail).