473,624 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Extended Stored Procedure DLL Problem on Win2k+3

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.
ODBC: Msg 0, Level 16, State 1
Cannot load the DLL MYESPDLL.dll, or one of the DLLs it references. Reason:
126(The specified module could not be found.).
Depends tool shows three dependancies MSCOREE.DLL, MSVCR70.DLL,
OPENDS60.DLL -
All of these are available either on system path or being copied where the
dll is along with .NET Framework 1.1 that comes with the server.
The dll uses configuration settings and sends intimation to client via
socket, but that should not be much of a problem as it worked fine on the
development PCs.

Please help me.

Thank You in Advance.
rawCoder
Nov 21 '05 #1
3 2451
Don't know if this has with your problem to do, but you should never create
a extended stored proceudure built with the CLR. It collides with the SQL
server memory and thread managment.

Have a look at:

http://support.microsoft.com/default...b;en-us;322884

--
Patrik Löwendahl [C# MVP]
www.cshrp.net - "Elegant code by witty programmers"

"rawCoder" <ra******@hotma il.com> wrote in message
news:O2******** ******@TK2MSFTN GP15.phx.gbl...
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.
ODBC: Msg 0, Level 16, State 1
Cannot load the DLL MYESPDLL.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).
Depends tool shows three dependancies MSCOREE.DLL, MSVCR70.DLL,
OPENDS60.DLL -
All of these are available either on system path or being copied where the
dll is along with .NET Framework 1.1 that comes with the server.
The dll uses configuration settings and sends intimation to client via
socket, but that should not be much of a problem as it worked fine on the
development PCs.

Please help me.

Thank You in Advance.
rawCoder

Nov 21 '05 #2
Thanx for super prompt reply.
Well I just got to know about this problem.
The thing is that I used the wizard with VS.NET - so why is it provided ?

And the problem is solved , it was the dumbest of mistake.

Thanx anyways
rawCoder

"Patrik Löwendahl [C# MVP]" <pa************ **@csharpsweden .com> wrote in
message news:%2******** **********@TK2M SFTNGP11.phx.gb l...
Don't know if this has with your problem to do, but you should never create a extended stored proceudure built with the CLR. It collides with the SQL
server memory and thread managment.

Have a look at:

http://support.microsoft.com/default...b;en-us;322884

--
Patrik Löwendahl [C# MVP]
www.cshrp.net - "Elegant code by witty programmers"

"rawCoder" <ra******@hotma il.com> wrote in message
news:O2******** ******@TK2MSFTN GP15.phx.gbl...
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.
ODBC: Msg 0, Level 16, State 1
Cannot load the DLL MYESPDLL.dll, or one of the DLLs it references.

Reason:
126(The specified module could not be found.).
Depends tool shows three dependancies MSCOREE.DLL, MSVCR70.DLL,
OPENDS60.DLL -
All of these are available either on system path or being copied where the dll is along with .NET Framework 1.1 that comes with the server.
The dll uses configuration settings and sends intimation to client via
socket, but that should not be much of a problem as it worked fine on the development PCs.

Please help me.

Thank You in Advance.
rawCoder


Nov 21 '05 #3
The Wizard is a C++ wizard, not a .NET wizard, but since you could include
MC++ code it can not prevent that. Any how Wizards are in general not smart
to begin with :)

Ge***@SQLDev.Ne t

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2004 All rights reserved.

"rawCoder" <ra******@hotma il.com> wrote in message
news:Ok******** ******@TK2MSFTN GP11.phx.gbl...
Thanx for super prompt reply.
Well I just got to know about this problem.
The thing is that I used the wizard with VS.NET - so why is it provided ?

And the problem is solved , it was the dumbest of mistake.

Thanx anyways
rawCoder

"Patrik Löwendahl [C# MVP]" <pa************ **@csharpsweden .com> wrote in
message news:%2******** **********@TK2M SFTNGP11.phx.gb l...
Don't know if this has with your problem to do, but you should never

create
a extended stored proceudure built with the CLR. It collides with the SQL
server memory and thread managment.

Have a look at:

http://support.microsoft.com/default...b;en-us;322884

--
Patrik Löwendahl [C# MVP]
www.cshrp.net - "Elegant code by witty programmers"

"rawCoder" <ra******@hotma il.com> wrote in message
news:O2******** ******@TK2MSFTN GP15.phx.gbl...
> 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.
>
>
> ODBC: Msg 0, Level 16, State 1
> Cannot load the DLL MYESPDLL.dll, or one of the DLLs it references.

Reason:
> 126(The specified module could not be found.).
>
>
> Depends tool shows three dependancies MSCOREE.DLL, MSVCR70.DLL,
> OPENDS60.DLL -
> All of these are available either on system path or being copied where the > dll is along with .NET Framework 1.1 that comes with the server.
> The dll uses configuration settings and sends intimation to client via
> socket, but that should not be much of a problem as it worked fine on the > development PCs.
>
> Please help me.
>
> Thank You in Advance.
> rawCoder
>
>



Nov 21 '05 #4

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
1132
by: scanner2001 | last post by:
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...
4
2078
by: icebrrrg | last post by:
Hi. I have some functionality in a C# DLL that I would like to be able to call from inside SQLServer. I know this was possible in C++, using an Extended Stored Procedure, but I haven't been able to find a similar process for C#. Does anyone know if such an animal exists? I believe I could call the C# routines from within a C++ extended stored procedure wrapper, but I stink as a C++ programmer (pointers? what?) and don't want to learn C++...
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.).
23
1920
by: Bonj | last post by:
Hi I'm looking to write an extended stored procedure, the job of which will basically to read data from one table, process it using a COM object, and write (insert) rows out to another table. I don't really know where to start with finding the functions necessary to read from an existing table. Can anyone be so kind as to point me in the right direction? Thanks very much
3
1840
by: ppateel | last post by:
Hi, First I would like to apologize for cross posting in three groups as I did not know which one would be the appropriate group. If some one points me to the correct one I will use that in the future. I am trying to findout the scalabilty of an user written extended store procedure. I have created a dll using a C program (modified/plagarized from some of the examples) . The main function of this extended SP is to act as a passthru to...
0
8242
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
8177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8681
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
8629
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
7170
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...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1793
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1488
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.