Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linked Server ERROR

Status
Not open for further replies.

Jesus4u

Programmer
Feb 15, 2001
110
0
0
US
This is a stressfull problem.

Scenario:
Win2K Server with SQL2000 server on same box.

I get an error that says:
ls_err.jpg


The code below is using linked server to SELECT from an Access 2003 database.

Code:
		SELECT null as StoryID, TITLE as Headline, AIRDATE AS pubDate, [DESC] AS [Intro], '[URL unfurl="true"]http://www.coralridgehour.org'[/URL] as NewsLink FROM [COLOR=red yellow]CRM_MDB...BROADCASTS[/color]
		WHERE PROG ='CRH' AND
			(CONVERT(CHAR(10),AIRDATE,101) = CONVERT(CHAR(10),@SBEGINSUNDAY,101)
			OR
			CONVERT(CHAR(10),AIRDATE,101) = CONVERT(CHAR(10),@SBEGINSUNDAY-7,101)
			OR
			CONVERT(CHAR(10),AIRDATE,101) = CONVERT(CHAR(10),@SBEGINSUNDAY-14,101))
		ORDER BY AIRDATE DESC

Can anyone please help me out?

Exams Passed: 70-152, 70-175, 70-176, 70-100
 
I do not beleive you have the appropriate right on the Access DB you are hitting.

Thanks

J. Kusch
 
yes I realize that. :) I have to abandon this idea now due to work time constraints. Thanks anyway....

Exams Passed: 70-152, 70-175, 70-176, 70-100
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top