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
»
SQL Server 2005
»
Administering
»
Extended Procedure
12 posts, Page 1 of 2
1
2
»»
Extended Procedure
Rate Topic
Display Mode
Topic Options
Author
Message
susheereddy
susheereddy
Posted Friday, February 08, 2008 10:16 AM
Grasshopper
Group: General Forum Members
Last Login: Thursday, September 27, 2012 5:29 PM
Points: 19,
Visits: 171
I created an extended procedure in the following format
sp_addextendedproc xp_add , 'C:\Program Files\Microsoft SQL Server\MSSQL\Binn\add.dll'
When i was try to execute it, getting the following error
Cannot find the function xp_add in the library C:\Program Files\Microsoft SQL Server\MSSQL\Binn\add.dll. Reason: 127(The specified procedure could not be found.).
please help me out
Post #453351
Jeff Moden
Jeff Moden
Posted Friday, February 08, 2008 6:13 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 1:04 PM
Points: 32,905,
Visits: 26,788
Is that file path on the server... or on your desktop box?
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #453545
susheereddy
susheereddy
Posted Friday, February 08, 2008 8:33 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, September 27, 2012 5:29 PM
Points: 19,
Visits: 171
its in my specified folder
Post #453554
Jeff Moden
Jeff Moden
Posted Sunday, February 10, 2008 8:01 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 1:04 PM
Points: 32,905,
Visits: 26,788
susheereddy (2/8/2008)
its in my specified folder
The server needs to be able to "see" and "read" your "specified folder". That's why I was asking what its physical location was.
Good luck.
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #453649
susheereddy
susheereddy
Posted Sunday, February 10, 2008 12:04 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, September 27, 2012 5:29 PM
Points: 19,
Visits: 171
this is where is stored my dll file
C:\Program Files\Microsoft SQL Server\MSSQL\Binn\add.dll
thanks for ur reply
Post #453681
Jeff Moden
Jeff Moden
Posted Sunday, February 10, 2008 12:57 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 1:04 PM
Points: 32,905,
Visits: 26,788
I know... you said that before...
WHICH MACHINE is that on! Is it on the SQL Server or on your DESKTOP computer?
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #453690
susheereddy
susheereddy
Posted Sunday, February 10, 2008 1:29 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, September 27, 2012 5:29 PM
Points: 19,
Visits: 171
I mean i have installed a developer edition in my computer and thats path is in C folder
i am learning sql i don't have any real time experience
Post #453692
Jeff Moden
Jeff Moden
Posted Sunday, February 10, 2008 3:45 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 1:04 PM
Points: 32,905,
Visits: 26,788
Ok... understood...
Run the following query from SSMS and let's make sure that the "server" (your Developer's Edition) can see the file...
EXEC master..xp_fileexist 'C:\Program Files\Microsoft SQL Server\MSSQL\Binn\add.dll'
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #453702
susheereddy
susheereddy
Posted Monday, February 11, 2008 10:40 AM
Grasshopper
Group: General Forum Members
Last Login: Thursday, September 27, 2012 5:29 PM
Points: 19,
Visits: 171
Thank u man
i have executed the command which u said and it shows that the file is existed.
I have no problem in creating an extended procedure and only problem i am getting is while executing it.
I don't why i am getting this error.
Cannot find the function xp_add1 in the library C:\Program Files\Microsoft SQL Server\MSSQL\Binn\add.dll. Reason: 127(The specified procedure could not be found.).
Post #453966
Jeff Moden
Jeff Moden
Posted Monday, February 11, 2008 4:08 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 1:04 PM
Points: 32,905,
Visits: 26,788
Could it be that simple? Your original post said you added an extended sp called "xp_add" yet in your latest post you say you are using "xp_add1". Do notice the extra character there...
I'm running out of ideas here...
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #454126
« Prev Topic
|
Next Topic »
12 posts, Page 1 of 2
1
2
»»
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.