Issue with linked server

We have created a linked server.We are getting below error when a trigger is executed from the source server.
1)OLE DB provider "SQLNCLI" for linked server "Destination server" returned message "The partner transaction manager has disabled its support for remote/network transactions."
2)Msg 7391, Level 16, State 2, Procedure trgScandetails, Line 21
The operation could not be performed because OLE DB provider "SQLNCLI" for linked server "Destination server" was unable to begin a distributed transaction.
3)OLE DB provider "SQLNCLI" for linked server "Destination server" returned message "No transaction is active."
Please help me on this.
Thanks in advance.

Using triggers are bad, things like this make it more worse. 
I would say that using triggers in general is not bad, but it is a good way to implement validation of business rules which cannot be encoded in constraints, as well various forms of cascading updates. In short, any thing which is needed to uphold database
integrity.
But from this follows that as soon you stray outside the database you are doing something more. Maybe you have distributed your data over more than one database for some reason, and it is still a matter of referential integrity. If the databases are different
applications, it is probably not the correct solution.
And maybe you distributed your databases over several servers for load balancing or whatever. But then at the same time you also increase the complexity of your solution considerably. For instance, what happens if you have a disaster and must restore one
of the databases?
As for the actual question, getting MSDTC to work can be a breeze - and it can be a nightmare. My experience is that if you have a domain and there are no trust or double-hop issues, it works. But if you don't have a domain, but only a workgroup it can
be very difficult. It may work if the service accounts on the machines have the same name and password.
But you should also ask yourself: if the other server is down, what do you want to happen?
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • Memory leak issue with link server between SQL Server 2012 and Oracle

    Hi,
    We are trying to use the linked server feature with SQL Server 2012 to connect SQL server and Oracle database. We are concerned about the existing memory leak issue.  For more context please refer to the link.
    http://blogs.msdn.com/b/psssql/archive/2009/09/22/if-you-use-linked-server-queries-you-need-to-read-this.aspx
    The above link talks about the issues with SQL Server versions 2005 and 2008, not sure if this is still the case in 2012.  I could not find any article that talks about if this issue was fixed by Microsoft in later version.
    We know that SQL Server process crashes because of the third-party linked server provider which is loaded inside SQL Server process. If the third-party linked server provider is enabled together with the
    Allow inprocess option, the SQL Server process crashes when this third-party linked server experiences internal problems.
    We wanted to know if this fixed in SQL Server 2012 ?

    So your question is more of a information type or are you really facing OOM issue.
    There can be two things for OOM
    1. There is bug in SQL Server which is causing the issue which might be fixed in 2012
    2. The Linked server provider used to connect to Oracle is not upto date and some patch is missing or more recent version is to be used.  Did you made sure that you are using latest version.
    What is Oracle version you are trying to connect(9i,10g, R2...)
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Issue with Dreamweaver - Server Busy error message

    Hi,
    Whenever i open Dreamweaver, i see "Server Busy" error message. I am unable to use the application due to this. Can you please help resolve this right away?
    Regards,
    Raghu

    I am using Dreamweaver CC. This problem started after a recent update I think.
    Operating system - Windows 8.1 Professional
    Basic system config in case you need it - 8 GB RAM, 2 TB HDD, Intel i7
    Regards,
    Raghu
    Date: Fri, 20 Dec 2013 11:18:44 -0800
    From: [email protected]
    To: [email protected]
    Subject: Issue with Dreamweaver - Server Busy error message
        Re: Issue with Dreamweaver - Server Busy error message
        created by Nancy O. in Dreamweaver support forum - View the full discussion
    Which ver and build # of DW?
    Which operating System?
    Do you use a testing server?
    If so, which one and is it running?
       Nancy O.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5948026#5948026
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5948026#5948026
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5948026#5948026. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Tablediff with linked server

    Hi,
    i have created a linked server that point to a firebird database,
    everything is fine , i can query the database with something like
    Select * from MYLINKEDSERVER...MYTABLE
    now , can i use tablediff utility with this linked server .
    if yes can you please give me an example  .
    i would say also that performance is not very important to me,
    this would be used at the end of the day to make some sort of replication by generating a sql script with datadiff, and run it on a local sql server database and a web based SQL database
    ps : the replication is not an option since i am using a shared web hosting and replication is disabled on it .
    thanks and good day

    First thing to note is that
    The tablediff utility cannot be used with non-SQL Server servers.
    Are you trying to directly do tablediff with linked server table?
    Cant you bring data to a local table and then do tablediff?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!

    I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!
    I have created a navigation system on the master pages and set the presentation to links only mode. I also have other links scattered throughout the program, like a linkable table of contents, etc. Some of them work, some of them don't. Not sure why. Anyone out there having similar issues? Or have any idea on how I can solve this issue? Any help would be appreciated!
    Thanks!

    Links should not create any problems in Keynote.  If they are set up correctly on text, the text will be underlined. Objects that have links will have a curved arrow bottom right, if you click the arrow a popup will display the link information.
    Try this repair for Keynote,  ensure you complete all the tasks and in the order shown:

    delete all the iWork applications if you have them, not just Keynote, using Appcleaner from Mac Update, its a freeware application

    empty the trash:  Finder > Empty Trash

    Shut down your Mac, wait 30 seconds, then power on the Mac, immediately after the start chime, hold down the Shift key
    When you see the grey Apple symbol and progress indicator (a spinning gear), release the Shift key.
    If you are prompted to log in, type your password, then hold down the Shift key again as you click Log in.
    4  
    Let the Mac fully boot up, it will take longer as the OS is repairing the drive

    when fully booted, go to Applications > Utilities > Disc Utility; click on the boot drive then First Aid tab and click  repair disc permissions

    when complete, restart the Mac normally, Apple menu > Restart

    install Keynote from the Mac App Store
    let us know if this helped

  • Issues with JMS Server migration

    Hi All,
    I have issue with JMS server migration.
    I have configured clustred environment with 2 Managed server (MS1 & MS2) and with one JMS Server which is running on MS1 and configured for auto migration, when I start both my managed server once and access the application very functionality works fine and when I stop the MS1 the JMS server successfully geting migrated to MS2 and in this scenarion also my application works as expected and when I restart the MS1 and access the application all the functionalities related to MDBs are executed twice.
    However once we restart the MS1 we observe that in the monitor tab of MDB the connection status for both managed servers it show as connected.
    As a result there is a redundancy when the MDB is executed
    I am using Weblogic Server 10.3.0 & normal topics in the MDBs.
    Please let me know is this a bug or am I missing any configuration.

    Hi Suresh,
    There is a "Bug-10007947" in WLS 10.3.0 version which dose not displays the values properly on admin-console once the migration has taken place, however I am assuming that bug may fix your issue so try that out in your test environment. If that dose not work try out the below suggestions.
    Suggestion:
    - Try the same test on different versions of WLS lower as well as on higher versions compared to WLS 10.3.0 (i.e WLS 9.2.X and WLS 10.3.x) and check what are the result.
    - If in any other version your test runes properly, then you can create a simple test case and open a service request with Oracle asking for creating a BUG and let them do their job.
    Hope above information helped you.
    Regards,
    Ravish Mody

  • Run "USE" with linked server alternatives

    I am using SQL server linked servers and find some difficulties while running queries.
    Below is the actual query.
    USe testdb
    SELECT COLUMNPROPERTY( OBJECT_ID('Table_1'),'column1','IsIdentity')
    It returns 1 as column1 is identity column 
    To run it to a linked server I used
    Use mylinkedserver.testdb
    SELECT COLUMNPROPERTY(OBJECT_ID('Table_1'),'column1','IsIdentity') 
    But when I run this I get error as shown below Database 'mylinkedserver' does not exist. Make sure that the name is entered correctly.
    Where as I can query the table by using select * from pc91sql.testdb.dbo.Table_1 successfully.
    Then i used OPENQUERY option
    SELECT * FROM OPENQUERY(pc91sql,'SELECT COLUMNPROPERTY( OBJECT_ID(''testdb.dbo.Table_1''),''column1'',''IsIdentity'')');
    It returned NULL. But it should have returned 1 as column1 is a identity column.
    Then I checked again running my original query directly in the linked server without use command and NULL is returned . If I run same query after I mention use testdb or in SSMS after choosing database from list then it returns 1 .So it means OBJECT_ID is not
    able to use database name along with table name(i.e like ''testdb.dbo.Table_1'').
    So how to run the above query?(I think i cannot make use of "USE" with linked server.So what is the alternative 

    One way to accomplish what you want to do is by using dynamic SQL.  For example:
    execute [mylinkedserver].master.dbo.sp_executesql N'USe testdb SELECT COLUMNPROPERTY( OBJECT_ID(''Table_1''),''column1'',''IsIdentity'')'

  • Compatibility issue with outgoing server; they suggest downloading Thunderbird.  Any suggestions?

    My internet provider says there is a compatibility issue with outgoing server and suggest downloading Thunderbird.   Any comments?

    Not without some details from you.
    What version of OSX
    Who is the mail provider
    If not iCloud mail what type is it (POP or Imap)
    That's a start.

  • VPP Distribution issues with OSX Server Profile Manager

    Hi, I have a new issue with my OSX 10.9.5 Server. I use VPP to distribute apps to users devices, when I would add a new user I would send them an invitation message through /profilemanager . All was working well until recenetly , the message still arrives in the users mailbox however when you click the "sign in" link on the "receive apps and books from xxxxx" email instead of opening through the Mac App store app it now opens Safari and connects to the profile manager server , any ideas ? it never has done this before and although I thought it was a new feature or method I can not seem to resolve the issue.

    Hi if when you are redirected back to your Mac Server you enter the user name and password of the user you are trying to receive VPP apps for i.e the Open Directory credentials it will then open the App Store providing the credentials are correctly entered so it looks like an additional layer of security. The process is click on the link in the VPP invite email, this takes you to your Mac Server profile manager, log on with your OD account, App store then opens on your Mac like it used to.

  • Issue with MSSQL server connectivity from ODI 10.1.3

    Hi,
    In one of the interface we are populating data to target table in MSSQL server version 2005.
    The physical topology connection results successful.
    Since so long there is no problem and it is running successful. But suddenly I'm facing issues with this.
    I cannot see teh datastores under the model created for this table. When expanding the model, when trying to reverse the model or when I am trying to save any changes in the package I am getting the below error.
    java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java)
         at com.sunopsis.dwg.reverse.Reverse.a(Reverse.java)
         at com.sunopsis.graphical.component.b.a.g.a(g.java)
         at com.sunopsis.graphical.component.b.a.g.a(g.java)
         at com.sunopsis.graphical.component.b.a.d.a(d.java)
         at com.sunopsis.graphical.component.b.h.e(h.java)
         at com.sunopsis.graphical.component.b.h.b(h.java)
         at com.sunopsis.graphical.component.b.h.b(h.java)
         at com.sunopsis.graphical.component.b.h.b(h.java)
         at com.sunopsis.graphical.component.b.h.a(h.java)
         at com.sunopsis.graphical.frame.module.SnpsSplitFrame.refreshSplitFrame(SnpsSplitFrame.java)
         at com.sunopsis.graphical.frame.module.SnpsSplitFrame.refreshNode(SnpsSplitFrame.java)
         at com.sunopsis.graphical.frame.bp.bN(bp.java)
         at com.sunopsis.graphical.frame.bp.bL(bp.java)
         at com.sunopsis.graphical.frame.a.is.bH(is.java)
         at com.sunopsis.graphical.frame.bo.r(bo.java)
         at com.sunopsis.graphical.frame.bo.bv(bo.java)
         at com.sunopsis.graphical.frame.bo.z(bo.java)
         at com.sunopsis.graphical.frame.bo.b(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I have verified below:
    The SQL server version is: MSSQL server 2005
    the "sqljdbc.jar" file is there in place "<ORACLE_HOME>/oracledi/drivers"
    Java version: jdk1.5.0
    There is no change in source or target db. Please help me to fix this issue

    Hi,
    Thanks for the reply. The link is helpful and its the same what is there in the environment.
    "The JDK version is 1.5 and JRE version is 1.4.2."
    But, this was working fine till last week. I am worried, if the issue is due to version compatability why we were not facing this issue before. There is no changes in the environment since go live of this interface.
    Thanks,

  • Mavericks permission issues with Windows Server deduplicated shares.

    We have a number of 10.9-10.9.3 - Mavericks - machines installed throughout our facility. Much of the user content is pulled from shares stored on our Windows Server 2012 fileservers with deduplication enabled. I have found that files newly written or unoptimized are able to be accessed without issue - read, written, modified, etc. Once the file gets optomized/deduplicated and Windows adds the P & L attributes - sparse and symlink - the Macs running Mavericks begin to have access issues.
    Once the files get deduplicated, users begin receiving read access errors when copying files (see error1 below). This happens when copying to folders within the current folder tree or copying somewhere to the local system. If you 'stop' the copy operation and retry a few more times, it may eventually work for the specific instance but fail again later. I am however, able to copy these files without issue via the terminal.
    Other systems running 10.7 do not experience the same issues and are able to access file server resources without issue. Many of the systems having issues are newer and thus not able to be downgraded to 10.8 or 10.7.
    I have tried finder replacements such as Pathfinder but the results are the same. I know this is at least similar to the issues many Mac users are already experiencing and posting about but I haven't seen it directly linked to deduplication and the attributes written by Windows server. Has anyone seen this issue? Have any solutions been found? 
    Error 1:
    When copying files after the PL attributes have been set by deduplication.
    "One or more items can't be copied to "Foler" because you don't have permissions to read them.
    Via the system.log, I am also seeing the following error when accessing these deduplicated file shares. The reparse point tag listed below is "IO_REPARSE_TAG_DEDUP"
    Reported error:
    "smbfs_nget: filename.ext - unknown reparse point tag 0x80000013"

    This is a 'known problem' as discussed on the MacWindows site, see http://www.macwindows.com/More-on-OS-X-conflicts-with-Windows-Server-Deduplicati on.html
    It appears to still affect Mavericks 10.9.5 at least from the lack of any positive reports to the contrary. It is perhaps a bit late but it would have been worth signing up for the public beta of Yosemite and testing that and if needed reporting it as an issue for Yosemite as this will be getting more bug fix attention than Mavericks now.
    I would agree turning off de-duplication is not a desirable solution, however other possibilities to consider are installing the standard Samba software on a Mac and using that instead of Apple's SMBx software. This is done by using the SMBup installer See http://eduo.info/2013/07/13/smbup-faq it does not officially list Mavericks but I did see at least one report that it still worked. A second possibility is to install ExtremeZ-IP which installs an AFP server on to your Windows Server and also gives the bonus of supporting Spotlight searches.
    Note: You should only try SMBup on a test setup first.

  • Ant extractESBDeploymentPlan Issue with linked ESB Artifacts

    Hi
    I seem to have found a problem with the ExtractESBDeploymentPlan script.
    I've created a number of ESB artifacts that are common to a number of other ESB processes. I link them together by calling an existing ESB Routing Service from an ESB, which then adds the .esbsvc descriptors to my process (I assume just to enable them to be seen in the diagram). Doing this does not import the wsdl's etc which is good.
    However, if I then try to extract these ESB projects, I get the following error:
    internal.ExtractESBDeploymentPlan:
    [echo] -- EXTRACTING ESBCRMCitizen --
    [delete] Deleting: M:\code\solihull\jdev\ESBCRMCitizen\deployment\devDeploymentPlan.xml
    [extractESBDeploymentPlan] java.lang.Exception: Programming Error : Adapter Service <PostCitizen> does not have an assoc
    iated WSDL artifact
    [extractESBDeploymentPlan] at oracle.tip.esb.jdev.artifacts.model.ESBAdapterServiceArtifactContent.getDeploymentPro
    perties(ESBAdapterServiceArtifactContent.java:154)
    [extractESBDeploymentPlan] at oracle.tip.esb.client.anttasks.ExtractESBDeploymentPlanTask.hydrateServiceDeploymentP
    lans(ExtractESBDeploymentPlanTask.java:372)
    [extractESBDeploymentPlan] at oracle.tip.esb.client.anttasks.ExtractESBDeploymentPlanTask.constructDeploymentPlan(E
    xtractESBDeploymentPlanTask.java:477)
    [extractESBDeploymentPlan] at oracle.tip.esb.client.anttasks.ExtractESBDeploymentPlanTask.execute(ExtractESBDeploym
    entPlanTask.java:543)
    [extractESBDeploymentPlan] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [extractESBDeploymentPlan] at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
    [extractESBDeploymentPlan] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [extractESBDeploymentPlan] at java.lang.reflect.Method.invoke(Method.java:585)
    [extractESBDeploymentPlan] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Task.perform(Task.java:348)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Target.execute(Target.java:357)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [extractESBDeploymentPlan] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.ja
    va:38)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [extractESBDeploymentPlan] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    [extractESBDeploymentPlan] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [extractESBDeploymentPlan] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [extractESBDeploymentPlan] at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
    [extractESBDeploymentPlan] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [extractESBDeploymentPlan] at java.lang.reflect.Method.invoke(Method.java:585)
    [extractESBDeploymentPlan] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Task.perform(Task.java:348)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Target.execute(Target.java:357)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [extractESBDeploymentPlan] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Main.runBuild(Main.java:698)
    [extractESBDeploymentPlan] at org.apache.tools.ant.Main.startAnt(Main.java:199)
    [extractESBDeploymentPlan] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [extractESBDeploymentPlan] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    BUILD FAILED
    M:\code\solihull\jdev\Resources\deploy\build.xml:185: The following error occurred while executing this line:
    M:\code\solihull\jdev\Resources\deploy\lib\cb-ant-oracle.xml:159: java.lang.Exception: Programming Error : Adapter Servi
    ce <PostCitizen> does not have an associated WSDL artifact
    This is valid, as the .esbsvc does not have a .wsdl.
    Now, is this my fault for doing something not in best practice, or an issue with JDeveloper, or the extract script?
    Any thoughts?
    Chris

    Hi Chris
    I have the exact same problem as you. I have a .esbsvc file in my project that does not have a corresponding local .wsdl file. (In the .esbsvc file I link to the WSDL with a HTTP-address).
    Did you come up with a solution?
    Thanks
    //Kalle Viklund

  • Problem with linked server...error 7302

    I have a very perplexing problem with a linked server.
    We are running SQL Server 2008 on Windows Server 2003. We have two instances, PROD and TEST. Both instances have a linked server to a DB2 environment using the IBMDADB2 driver. Both linked servers are identical. Up until a few days ago, both linked servers worked fine. Suddenly, I started to receive the following error when trying to access the linked server on TEST:
    Msg 7302, Level 16, State 1, Procedure sp_testlinkedserver, Line 1
    Cannot create an instance of OLE DB provider "IBMDADB2.DB2COPY1" for linked server "cm_nw".
    I have tried *everything* save restart the server (which is going to come tonight), reregistering the .dll and querying through openrowset (openquery and testing the connection in SSMS both fail). This includes:
    1) Recreating the linked server
    2) Going into DCOM and modifying the msdainitialize and checking the permissions.
    I am logging into the server using Windows Authentication, but this has worked and nothing has changed on that instance at all. I'm in the Administrators group anyway, as is the SQL Server service account, and that group has permissions on MSDAINITIALIZE. There is nothing in the SQL Server or Windows logs to indicate why the linked server cannot be called.
    Note the linked server is set up to use a security context (user name and password) and both linked servers are identical in this aspect. If I recreate the linked server without a password and uncheck "Allow Inprocess" in the provider I get:
    The OLE DB provider "IBMDADB2.DB2COPY1" for linked server "CM_NW" reported an error. Authentication failed.
    Cannot initialize the data source object of OLE DB provider "IBMDADB2.DB2COPY1" for linked server "CM_NW".
    OLE DB provider "IBMDADB2.DB2COPY1" for linked server "CM_NW" returned message " SQL30082N  Security processing failed with reason "3" ("PASSWORD MISSING").  SQLSTATE=08001
    ". (Microsoft SQL Server, Error: 7399)
    I don't know if that is coming from the SQL Server end or the DB2 end.

    I was able to resolve this issue by editing the registry. I imported a registry file called "IBM DB2 ODBC Driver - DB2 X64" from one of my known working servers that has a linked DB2 server installed. So what I'm thinking is happening is that SQL
    Server is somehow editing the registry causing it to break. 
    If you can go through the ODBC administrator and test your connection successfully, than you will know that the problem is not DB2 Connect but it's actually SQL Server. 
    For anyone that is still having this issue I would look in the registry for any DB2 X64 drivers to see if you have any. If not you can always create the following registry file and call it "IBM DB2 ODBC Driver - DB2 X64.reg" .
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBCINST.INI\ODBC Drivers]
    "SQL Server"="Installed"
    "Microsoft ODBC for Oracle"="Installed"
    "Microsoft Access Driver (*.mdb)"="Installed"
    "Microsoft Access-Treiber (*.mdb)"="Installed"
    "Driver do Microsoft Access (*.mdb)"="Installed"
    "Microsoft dBase Driver (*.dbf)"="Installed"
    "Microsoft dBase-Treiber (*.dbf)"="Installed"
    "Driver do Microsoft dBase (*.dbf)"="Installed"
    "Microsoft Excel Driver (*.xls)"="Installed"
    "Microsoft Excel-Treiber (*.xls)"="Installed"
    "Driver do Microsoft Excel(*.xls)"="Installed"
    "Microsoft Paradox Driver (*.db )"="Installed"
    "Microsoft Paradox-Treiber (*.db )"="Installed"
    "Driver do Microsoft Paradox (*.db )"="Installed"
    "Microsoft Text Driver (*.txt; *.csv)"="Installed"
    "Microsoft Text-Treiber (*.txt; *.csv)"="Installed"
    "Driver da Microsoft para arquivos texto (*.txt; *.csv)"="Installed"
    "Microsoft Visual FoxPro Driver"="Installed"
    "Microsoft FoxPro VFP Driver (*.dbf)"="Installed"
    "Microsoft dBase VFP Driver (*.dbf)"="Installed"
    "Microsoft Visual FoxPro-Treiber"="Installed"
    "Driver para o Microsoft Visual FoxPro"="Installed"
    "SQL Server Native Client 10.0"="Installed"
    "IBM DB2 ODBC DRIVER - DB2x64"="Installed"
    "Microsoft Access Driver (*.mdb, *.accdb)"="Installed"
    "Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)"="Installed"
    "Microsoft Access dBASE Driver (*.dbf, *.ndx, *.mdx)"="Installed"
    "Microsoft Access Paradox Driver (*.db)"="Installed"
    "Microsoft Access Text Driver (*.txt, *.csv)"="Installed"
    "IBM INFORMIX ODBC DRIVER"="Installed"
    "ServiceNow ODBC Driver 32-bit"="Installed"
    "IBM DB2 ODBC DRIVER - DB2COPY1"="Installed"
    "IBM DB2 ODBC DRIVER"="Installed"
    Once you've created this file go ahead and create a backup(if desired) of the registry and execute the reg file and restart SQL Server to see if this resolves your issue. If this does resolve your issue I would recommend taking a backup of your registry
    in case it breaks again. Keep in mind, other applications may experience issues that have been changed if you revert back to the backup.
    Hope this helps!

  • Issue with link in a row in advanced table -urgent

    Hi,
    I have created search/results screen and results region is an Advanced table based on a query VO.
    One of the columns, Responsibility Name is a link. On clicking this link it should show all the functions in the responsibility in a new screen.
    The issue is once I click th elink in any record and come back to the advanced table and click 'Next 10' or 'previous 10' I get Browser back button error.
    I item type of the adv table column is 'link' with destination URi = path of the new OA page and target = _blank.
    If I change the colun type to Message Style Text from Link then the 'Previous10' or 'Next 10' works fine.
    Whats the issue with this and how can I solve it?
    Thanks,
    Kamath.

    Hi,
    Did you manage to find any soloution for previous and next link.
    i am getting the same error.
    Please let me know the solution if you got it.
    Thanks
    knick

  • Having issues with report server in OEM

    I'm having some issues with viewing the UNIX metrics for our reports server in OEM. The metrics are coming up as 0, no error messages. The cpu/memory metrics come up for the HTTP server, and on the instance page.
    I'm also not able to stop/start the reports server via OEM. It's greyed out on the oem instance page.
    This is occurring only on one machine...I have another midtier box and have no issues viewing metrics/start/stopping report server.
    Anyone have any ideas?
    Thanks,
    Melissa Wilcox

    Hi Thomas,
    Thanks for your post.
    I 'd like to suggest you can try to sing out and re-sign in the Azure server explore.
    1.right click the Azure node on server explore.
    2.Select "Connect to with Microsoft Azure " and then login using your account.
    3.Make sure your select the right subscription.
    4.If storage list didn't include your  account, you could right-click the storage node, and select Attach External Storage.
    Another approach is that you can re-install the
    Azure tool.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Project File Size Nearly Doubled?

    Hi, I've been exporting video for a good year and a half in Premiere Elements 11 using the following method. Publish & Share -> Computer -> MPEG -> Presets HD 720p 30 My file size has normally been quite reasonable every time I exported a video. Howe

  • Ipod dead (for no apparant reason)

    This is very strange. I was sitting in a bus today listening to music when I was interupted and, so, turned off my Ipod. When I reached to turn it back on again (this was about a 5 minute interval) the Ipod wouldn't turn on. It was as if it were dead

  • Create materialized view, ORA-00942

    I would like to create a materialized view on user scott@orcl for user colinsuper. User scott@orcl have "CREATE ANY MATERIALIZED VIEW" permissions. Why does I get an ORA-00942 error? Remote-Database: remote_orcl.world Remote-Database-User: lindasuper

  • Trying to play movies on Netflix and opening PDF files crash safari every time, what's causing this? I have enough memory.

    for the last two weeks every time I try to play something on Netflix and/or open a PDF file it crashes my computer. I have enough memory. I know my MAC is older, Version 10.5.8 but I do all the regular updates. Why would this be happening?

  • Can't see printer connected to Airport

    I and an Airport Express (AE) unit as my main router and set up a second AE with the intention of being able to send documents to my printer wirelessly.  The Airport Utility says the connection is good, and the printer is connected by USB cable to th