Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQLServerCentral.com
»
Tag Issues with Content
»
can not access master stored proc
can not access master stored proc
Rate Topic
Display Mode
Topic Options
Author
Message
shobha.aradhya
shobha.aradhya
Posted Monday, December 24, 2012 2:00 AM
Grasshopper
Group: General Forum Members
Last Login: Today @ 2:18 AM
Points: 11,
Visits: 33
Hi,
I have the below code
declare @ret int
DECLARE @XMLFile varchar(255)
SET @XMLFile = 'C:\myfile.xml'
exec @ret = master..xp_FileExists @XMLFile
When I execute this its throwing error
Could not find stored procedure 'master..xp_FileExists'.
When I checked master database the stored proc xp_FileExists is existing.
Any Idea where am I going wrong?
Thanks in advance,
Aradhya
Post #1399842
SQL Dev-938873
SQL Dev-938873
Posted Monday, February 04, 2013 3:52 AM
SSC Journeyman
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 7:03 AM
Points: 90,
Visits: 417
shobha.aradhya (12/24/2012)
Hi,
I have the below code
declare @ret int
DECLARE @XMLFile varchar(255)
SET @XMLFile = 'C:\myfile.xml'
exec @ret = master..xp_FileExists @XMLFile
When I execute this its throwing error
Could not find stored procedure 'master..xp_FileExists'.
When I checked master database the stored proc xp_FileExists is existing.
Any Idea where am I going wrong?
Thanks in advance,
Aradhya
Hi,
That extended store proc is not exists..
Use the below code...
declare @ret int
DECLARE @XMLFile varchar(255)
SET @XMLFile = 'C:\myfile.xml'
exec @ret = master.sys.xp_FileExist @XMLFile
GaNeSH
Post #1415212
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.