473,626 Members | 3,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

extended stored procedure error

I am writing an extended stored procedure in c++ 7. As I have been
testing, I am able to run this on my local box, my local sql server. When I
register the extended stored procedure on a different test sql server, and
try to run it, I get the following error:
ODBC: Msg 0, Level 16, State 1
Cannot load the DLL xp_test.DLL, or one of the DLLs it references. Reason:
126(The specified module could not be found.).

Both systems are very close to being identical, both Win2000 servers,
SP4. SQL 2000 sp3a. The main difference is that the box that I am developing
on has visual studio .net, the second server, the test server, has the .net
framework 1.1 downloaded and installed. The other thing that is odd is that
I can delete the dll from the test server.
I know that I have the dll installed in the correct directory, and to
verify, I took another dll (built in a previous version of VC++), copied it
to the same \binn directory, ran sp_addextendedp roc, and it works fine. I am
also referencing <mscorelib.dl l> in this new extended stored procedure.
What do I need to do to get the new proc to work??

Thanks,
Jeff
Nov 16 '05 #1
0 1132

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3932
by: Matik | last post by:
Hi, I alredy tried to search this problem in last posts, but I couldn't find the answer. I try to access via Extended SP the method in a dll. I registered the dll as a ExSP, with a name of method. But after calling it in T-SQL, I became such a error message:
3
2378
by: Bruce | last post by:
Since DBlib is no longer the suggested method for connecting back to sql server from an Extended Stored Procedure, has anyone built any extended stored procedures that use other connection methods like OLEDB? Has anyone seen links to any sample extended stored procedures that use something other than db-lib? In particular I am interested in something that connects back to the database as the user who invoked the extended stored...
1
1749
by: smauldin | last post by:
What is the overhead of using extended stored procedures? I created a table with 500,000 rows. 1) I ran a select on two columns and it runs in about 5 seconds. 2) I ran a select on one column and called an UDF (it returns a constant string) and it takes 10 seconds. 3) I ran a select on one column and called a UDF that calls an extended stored procedure that returns a string and it takes 65 seconds. I also tried running test 3 with 4...
1
5608
by: scanner2001 | last post by:
Here is what I would like to be able to do, Have an SQL extended stored procedure to do file copy, delete, and rename(move) procedures. I have written the code in C# to do this, in the form of a simple app, and it contains all of the functionality, error handling, etc. that I need. I would like to use the extended stored procedure framework from visual studio, but I am unsure how to merge these two together. I do "not" want to make a dll,...
3
1236
by: rawCoder | last post by:
Hi All, Sorry for cross posting , but my neck on the line forced me to do this disgusting act. I have an Extended Stored Procedure DLL made in VC 7.0 It was working fine on my development PC (Windows 2000 Professional ) and worked just fine on couple of other development PCS. When the DLL was deployed on the Win2003 server its normal invokation raises following error.
0
1670
by: SSW | last post by:
Hi: I'm trying to run Extended stored procedure, which is written in VC++ in window 2000 Professional. It works fine. But when I run it in windows 2003 I get following error ODBC: Msg 0, Level 16, State 1 Cannot load the DLL GenerateIdentity.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).
9
1563
by: Bonj | last post by:
Hello I am having an issue that I've been having for months, whereby I can't get *ANY* extended stored procedure to run on the PC other than the one I developed it on. The ones I have tested have all got exactly the same SQL server configuration (default installation of MSDE). "sp_addextendedproc" appears to run without error, but on invoking the xp, I get the error: Cannot load the DLL testproc.dll, or one of the DLLs it references....
0
779
by: mthomas | last post by:
Hi there, I am using VS.net c++. I created a test dialog box application. I added an addressing we reference. There is button on the dialog that executes the followin code: ' m_lAddressID is the civic ID (text box) ' m_strAddress is where the address string will go (text box)
2
1739
by: Chris | last post by:
hi, I have created my own dll file that I would like to use in sql 2000 as an extended stored procedure. I have checked the dll is written correctly (I can use it in other application). The dll file is created in C# (Visual Studio 2005). Unfortunatelly I cannot use it in sql as the extended procedure. I am getting error: Cannot find the function <<f_name>in the library <<path\library.dll>>. Reason: 127(error not found).
0
8265
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8705
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5574
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4197
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2625
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.