Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

sp_refreshview error on linked server

Posted on 2006-07-07
2
Medium Priority
?
640 Views
Last Modified: 2007-12-19
I have 2 SQL servers: myDEV and myTRN
I have a VIEW on myDEV pointing to myTRN, like this ...

Use myDEV
CREATE VIEW dbo.myRpt AS SELECT * FROM myTRN.JJR.dbo.myRpt

The view is created and it Works fine.
However, later, I try ...

exec sp_refreshview myRpt

I get Error ....

Server: Msg 7391, Level 16, State 1, Procedure myRpt, Line 1
The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a].
0
Comment
Question by:volking
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

Accepted Solution

by:
Mr_Peerapol earned 2000 total points
ID: 17058857
Hi volking,

Look at this http://support.microsoft.com/default.aspx?scid=kb;en-us;329332

Hope it helps,
0
 
LVL 5

Author Comment

by:volking
ID: 17061836
Excellent. That fixed our problem. Thanks.
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question