Hi, I'm using vs2005, .net2.0 for a windows application. I call a C++
compile dll and it works fine in Win2K server but I get the follow error
message when I run the same application on a win2k3 server. I use the
Depends tool and found 3 ms lib used by this dll and I have those copied to
my application folder when I install the application on the server but I'm
still getting the error. Does anyone know how I can address this problem?
Thanks.
--
Thanks. 7 1882
"Pucca" <Pu***@discussi ons.microsoft.c omwrote in message
news:26******** *************** ***********@mic rosoft.com...
Hi, I'm using vs2005, .net2.0 for a windows application. I call a C++
compile dll and it works fine in Win2K server but I get the follow error
message when I run the same application on a win2k3 server. I use the
Depends tool and found 3 ms lib used by this dll and I have those copied
to
my application folder when I install the application on the server but I'm
still getting the error. Does anyone know how I can address this problem?
Thanks.
--
Thanks.
Make sure you distribute the VC run-time libraries.
Willy.
My installation copies 3 dll to my applciation folders:
MSVCR80.DLL, MSVCP80.DLL, MSVCRT.DLL
From running "DEPENDS", these are the 3 dlls used. Aren't these the VC
run-time libraries? Thank you.
--
Thanks.
"Willy Denoyette [MVP]" wrote:
"Pucca" <Pu***@discussi ons.microsoft.c omwrote in message
news:26******** *************** ***********@mic rosoft.com...
Hi, I'm using vs2005, .net2.0 for a windows application. I call a C++
compile dll and it works fine in Win2K server but I get the follow error
message when I run the same application on a win2k3 server. I use the
Depends tool and found 3 ms lib used by this dll and I have those copied
to
my application folder when I install the application on the server but I'm
still getting the error. Does anyone know how I can address this problem?
Thanks.
--
Thanks.
Make sure you distribute the VC run-time libraries.
Willy.
"Pucca" <Pu***@discussi ons.microsoft.c omwrote in message
news:F6******** *************** ***********@mic rosoft.com...
My installation copies 3 dll to my applciation folders:
MSVCR80.DLL, MSVCP80.DLL, MSVCRT.DLL
From running "DEPENDS", these are the 3 dlls used. Aren't these the VC
run-time libraries? Thank you.
--
Thanks.
Yes, partly..., however you don't have to copy these, they need to be
installed using VCRedist*.exe. from the bootstrapper folder or from the
download site at:
<http://www.microsoft.c om/downloads/details.aspx?fa milyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&di splaylang=en>
<http://www.microsoft.c om/downloads/details.aspx?Fa milyID=200B2FD9-AE1A-4A14-984D-389C36F85647&di splaylang=en>
For more details read the blog at :
<http://blogs.msdn.com/nikolad/>
and:
<http://blogs.msdn.com/astebner/archive/2007/02/07/update-regarding-silent-install-of-the-vc-8-0-runtime-vcredist-packages.aspx>
Willy.
Thank you Willy. I think that solve the lib problem. Now I'm getting error"
"This application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix the problem."
I checked the FileMon and it shows the C application was looking for its
config file (xxx.exe.config ). I earched the output directory and there is so
such file. Why is that so? Thank you.
--
Thanks.
"Willy Denoyette [MVP]" wrote:
"Pucca" <Pu***@discussi ons.microsoft.c omwrote in message
news:F6******** *************** ***********@mic rosoft.com...
My installation copies 3 dll to my applciation folders:
MSVCR80.DLL, MSVCP80.DLL, MSVCRT.DLL
From running "DEPENDS", these are the 3 dlls used. Aren't these the VC
run-time libraries? Thank you.
--
Thanks.
Yes, partly..., however you don't have to copy these, they need to be
installed using VCRedist*.exe. from the bootstrapper folder or from the
download site at:
<http://www.microsoft.c om/downloads/details.aspx?fa milyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&di splaylang=en>
<http://www.microsoft.c om/downloads/details.aspx?Fa milyID=200B2FD9-AE1A-4A14-984D-389C36F85647&di splaylang=en>
For more details read the blog at :
<http://blogs.msdn.com/nikolad/>
and:
<http://blogs.msdn.com/astebner/archive/2007/02/07/update-regarding-silent-install-of-the-vc-8-0-runtime-vcredist-packages.aspx>
Willy.
"Pucca" <Pu***@discussi ons.microsoft.c omwrote in message
news:40******** *************** ***********@mic rosoft.com...
Thank you Willy. I think that solve the lib problem. Now I'm getting
error"
"This application has failed to start because the application
configuration
is incorrect. Reinstalling the application may fix the problem."
I checked the FileMon and it shows the C application was looking for its
config file (xxx.exe.config ). I earched the output directory and there is
so
such file. Why is that so? Thank you.
--
Thanks.
This is not a config issue as you may think, it's definitely a VC deployment
issue, you also need to make sure you are running the same CRT as the one
used for the build.
You can easily solve the issue by statically linking the CRT, or by using a
manifest file.
Read more here: http://msdn2.microsoft.com/en-us/lib...k9(VS.80).aspx
and here: http://forums.microsoft.com/MSDN/Sho...72965&SiteID=1
Willy.
Hi Willy, When I run the vcredist_x86.ex e on servers it didn't ask for any
input and ran just fine. I added this exe to my installation project's
CustomAction at "Commit". I run the setup.exe and I got the following
message form VC++ 2005 Redistributable : "Command line option syntax error.".
Do you know what command is it refeering to and do I put this in the
CustomActionDat a? Thank you.
--
Thanks.
"Willy Denoyette [MVP]" wrote:
"Pucca" <Pu***@discussi ons.microsoft.c omwrote in message
news:40******** *************** ***********@mic rosoft.com...
Thank you Willy. I think that solve the lib problem. Now I'm getting
error"
"This application has failed to start because the application
configuration
is incorrect. Reinstalling the application may fix the problem."
I checked the FileMon and it shows the C application was looking for its
config file (xxx.exe.config ). I earched the output directory and there is
so
such file. Why is that so? Thank you.
--
Thanks.
This is not a config issue as you may think, it's definitely a VC deployment
issue, you also need to make sure you are running the same CRT as the one
used for the build.
You can easily solve the issue by statically linking the CRT, or by using a
manifest file.
Read more here: http://msdn2.microsoft.com/en-us/lib...k9(VS.80).aspx
and here: http://forums.microsoft.com/MSDN/Sho...72965&SiteID=1
Willy.
Ok, I think I got it. I need to build a InstallClass for runing the .exe in
CustomActions.
--
Thanks.
"Willy Denoyette [MVP]" wrote:
"Pucca" <Pu***@discussi ons.microsoft.c omwrote in message
news:40******** *************** ***********@mic rosoft.com...
Thank you Willy. I think that solve the lib problem. Now I'm getting
error"
"This application has failed to start because the application
configuration
is incorrect. Reinstalling the application may fix the problem."
I checked the FileMon and it shows the C application was looking for its
config file (xxx.exe.config ). I earched the output directory and there is
so
such file. Why is that so? Thank you.
--
Thanks.
This is not a config issue as you may think, it's definitely a VC deployment
issue, you also need to make sure you are running the same CRT as the one
used for the build.
You can easily solve the issue by statically linking the CRT, or by using a
manifest file.
Read more here: http://msdn2.microsoft.com/en-us/lib...k9(VS.80).aspx
and here: http://forums.microsoft.com/MSDN/Sho...72965&SiteID=1
Willy.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Anna |
last post by:
When I run a c#DotNet web service, I have the following error:
System.DllNotFoundException: Unable to load DLL
The dll that cannot be loaded is a C dll. That's why it cannot be put in
the GAC.
This dll is located in c:\Program Files\MyApplication\bin
The environment variable "PATH" contains "c:\Program
Files\MyApplication\bin"
Where shall I put this C dll ?
|
by: batista |
last post by:
Hi,
I have an unmanaged dll that uses callback to call a function
of managed code.Now the problem is that it's given error
"System.DllNotFoundException"
I read it's due to appdomian.
http://weblogs.asp.net/mdavey/archive/2004/02/25/79868.aspx
|
by: Jorge_Beteta |
last post by:
Hello Experts,
I'm using Visual Studio NET 2003 Architect on a Windows 2003 Server.
DataBase: Oracle 9i. All of them on the same PC.
Problem is that I can't connect my ASP NET web program to Oracle. I
get this error: "System.DllNotFoundException: ?" after trying to do:
Dim myConn As OracleConnection = New OracleConnection("data
source=afspe;persist security info=false;user
|
by: AG |
last post by:
Hi,
I have implemented the ASP.Net Ihttphandler interface. Handler references
the mixed dll (both managed/unmanaged code) that contains core C++ classes
wrapped under managed c++ wrappers. ASP.NET worker process, sometimes while
loading the handler and mixed dll associated with it, throws
System::DLLNotFoundException. I have verified that all required Dlls are in
the system path.
I have the handler version up and running perfectly but...
|
by: ALI-R |
last post by:
I'd like to debug my asp.net application ,,but I can't find
W3wp.exe in the list of system process to attach it to the debugger???
Is there someboddy who can help me.
Thanks
Ali
| |
by: EP |
last post by:
When running my asp.net hosting service (asp.net without IIS), on server
2003 with IIS not installed, I get the following when trying to process a
request.
"System.DllNotFoundException: Unable to load DLL (aspnet_isapi.dll)."
Of course the dll is able to be found, it's still in the framework directory
and for grins I even put it in my service's local directory. This is apparantly
server 2003 not allowing asp.net to be run if IIS was not...
|
by: Zhihong Yu |
last post by:
Hi,
I declare an API as following:
Public Declare Function IsFirstInstance Lib "WPLink.dll" () As Integer
When I call this function in Main(), I got System.DllNotFoundException
even though WPLink.dll is copied alongside .Net program or under
<system32>.
Your help is appreciated.
*** Sent via Developersdex http://www.developersdex.com ***
|
by: Xycoth |
last post by:
I have an older program written in vb6. This program calls a dll
written in fortran. I have taken the time to re-write the program in
vb.net (1.1 framework), though i'm still calling the fortran dll.
Everything works fine when ran on a pc with XP. However, whenever I
try to run it on Vista I get an errormessage
"system.dllnotfoundexception" when it tries to call the dll.
I'm using
Public Declare Sub Lib "myDLL.dll" ()
|
by: mmark751969 |
last post by:
I have a win2k3 server that i am going to need to upgrade to service
pack 2. It is running sql server 2000(sem reports version 8.0 - i
think that is sql server 2000). It has profiler and query analyzer
running as well. Are there any caveats i need to be concerned about
before installing win2k3 sp2 on a server with sql server 2000. Thanks
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |