Home  |  Forums  |  914 Info  |  Blogs
 
914World.com - The fastest growing online 914 community!
 
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG. This site is not affiliated with Porsche in any way.
Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners.
 

Welcome Guest ( Log In | Register )

> WOT - Now i have a SQL Server Question, for the love of god help....
drewvw
post Mar 27 2007, 03:11 PM
Post #1


new england car guy
***

Group: Members
Posts: 1,631
Joined: 24-February 06
From: Boston, MA
Member No.: 5,630
Region Association: North East States



OK...in the spirit of SQL questions being answered the last couple days, i have one that i could REALLY USE SOME HELP WITH.

I am about to tear my hair out here.


In a basic explanation, we are trying to setup a test environment for an application I am building. There are some existing Stored Procedures and they reference a linked server to do some of the work.

For Example:

the stored procs reference dbname.dbo.table where "dbname" is a linked server.


For the test environment, we want to create a linked server by the same name, only it points to the test db on another server "testname" that is exactly the same as production. So do avoid having to change all the names in the stored proc


The problem is we get all kinds of DTC errors depending on what options we try, but they are basically all like "cannot find 'dbname' in syslinks" or "cannot start Distributed Transaction."

its driving me crazy...can anybody give me a link or a step by step on how to do what i am describing above. PLEASE...



drew
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
SirAndy
post Mar 27 2007, 03:41 PM
Post #2


Resident German
*************************

Group: Admin
Posts: 42,234
Joined: 21-January 03
From: Oakland, Kalifornia
Member No.: 179
Region Association: Northern California



QUOTE(drewvw @ Mar 27 2007, 01:11 PM) *

can anybody give me a link or a step by step on how to do what i am describing above.


sounds more like a DNS/network issue ...

is the target server is available on the network under the same name as used in the SP?
is your dev network connected to the live network? if so, you need to make sure that your SQL setup points to the correct linked SQL server ...

can you access the linked server directly using a ODBC DSN?
(IMG:style_emoticons/default/idea.gif) Andy
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 3rd July 2025 - 02:57 AM