473,778 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error: The specified module could not be found

Hi,

I have created a VB.Net windows service. Everything was working fine
until I attempted to add a setup project. Now, for some strange, when
I try and run the application (using INSTALLUTIL to install/uninstall
it) I get the error:

(53) The specified module could not be found

When I debug the code, this error is thrown when the following code
read:

Dim xmlDoc As New MSXML2.DOMDocum ent40

Of course, the namespace needs to be imported at the top of my module.
The namespaces that are imported in the module are:

Imports System.Web
Imports System.Web.Serv ices
Imports System.Web.Serv ices.Protocols
Imports System.IO
Imports System.Xml
Imports System.Xml.XPat h
Imports System.Data.Odb c
Imports System.Reflecti on
Imports System.Xml.Seri alization
Imports System.Xml.XmlD ocument
Imports System.Text
Imports System.Runtime. Serialization.F ormatters.SoapM essage
Imports System.Web.Serv ices.Descriptio n

As I said, I have not deleted/removed any 'imports' from the version
that was working. When I compile the application, no errors are
reported.

Please advise. Thanks.

Jimmy

Feb 22 '06 #1
2 2756


ji***********@y ahoo.co.uk wrote:

When I debug the code, this error is thrown when the following code
read:

Dim xmlDoc As New MSXML2.DOMDocum ent40


Do you really want to use MSXML 4 in your managed .NET code? Microsoft
does not support that:
<http://support.microso ft.com/kb/815112/en-us>

If you need an XML DOM document then .NET has its own implementation in
System.Xml.XmlD ocument e.g.
Dim xmlDoc as New System.Xml.XmlD ocument()
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Feb 22 '06 #2
Senthil.P
1 New Member
Hi ,
Try the following Links ...
http://consumer.installshield.com/kb.asp?id=Q108433
http://consumer.installshield.com/kb.asp?id=Q108328
http://weblogs.asp.net/rchartier/arc...28/381863.aspx
http://windowsxp.mvps.org/useraccerror.htm
http://www.microsoft.com/downloads/d...displaylang=en

Regards,
Senthil





Hi,

I have created a VB.Net windows service. Everything was working fine
until I attempted to add a setup project. Now, for some strange, when
I try and run the application (using INSTALLUTIL to install/uninstall
it) I get the error:

(53) The specified module could not be found

When I debug the code, this error is thrown when the following code
read:

Dim xmlDoc As New MSXML2.DOMDocum ent40

Of course, the namespace needs to be imported at the top of my module.
The namespaces that are imported in the module are:

Imports System.Web
Imports System.Web.Serv ices
Imports System.Web.Serv ices.Protocols
Imports System.IO
Imports System.Xml
Imports System.Xml.XPat h
Imports System.Data.Odb c
Imports System.Reflecti on
Imports System.Xml.Seri alization
Imports System.Xml.XmlD ocument
Imports System.Text
Imports System.Runtime. Serialization.F ormatters.SoapM essage
Imports System.Web.Serv ices.Descriptio n

As I said, I have not deleted/removed any 'imports' from the version
that was working. When I compile the application, no errors are
reported.

Please advise. Thanks.

Jimmy
Apr 20 '06 #3

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

Similar topics

2
14045
by: Paul Gronka | last post by:
I've got a VB.NET windows application (written in VS .NET 2003) that makes a call to WMI for retrieving the MAC Address from the client's PC. It works on 4 out of the 5 PC's tested so far. All the workstations are DELLs running XP SP1a with the 1.1 .NET Framework. The following line of code generates an exception on the one PC: Dim oMac As New System.Management.ManagementClass("Win32_NetworkAdapterConfiguration") The error it...
6
4753
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much appreciated. Thanks in advance
3
1547
by: Nick Brown | last post by:
Has any1 else had this error message. If so how do u solve it? The specified module could not be found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: The specified module could not be found. Source Error:
3
4559
by: Gerard | last post by:
Hello I have created a windows service to monitor a database, it starts some checks when a timer elapses. The checks send emails depending on their findings. My issue is that when I created a windows application it worked fine, however I need to use a service as I don't want to rely on a user being logged in. The errors I get are: Index #:System.Web.HttpException: Could not access 'CDO.Message' object. --->...
0
3114
by: psilu | last post by:
Hi , I have created a virtual directory and copied my web services file to corresponding physical directory. But when i am trying to discover the webservice from virtual directory i am getting the following errors disco http://machine/T3ASP/rtconfig.asmx Microsoft (R) Web Services Discovery Utility
7
1920
by: Martin Pritchard | last post by:
Hi, Sorry for my ignorance, but I'm a bit new to C++. I've been handed over a C++ app written in VS2002 which I have to convert to VS2005. Apparently it's been written in a C style, but cannot comment myself! Following the conversion I have numerous errors, which following some digging around turns out to be because _export is obsolete, and
0
1226
by: Mark Carrington | last post by:
I'm trying to use the aspnet_compiler to publish a web site from the command line. I can publish the same website successfully from within VS, but when I try to do the same from the command line I get the error: error ASPCONFIG: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Using the -errorstack option gives: error ASPCONFIG: The specified module could not be found. (Exception from
6
30927
by: Mudcat | last post by:
Hi, I can't figure out why ctypes won't load the DLL I need to use. I've tried everything I can find (and the ctypes website is down at the moment). Here's what I've seen so far. I've added the file arapi51.dll to the system32 directory. However when I tried to access it I see this: Traceback (most recent call last):
0
1955
by: RCM | last post by:
I am really eager to quit the Microsoft world and get into LAMP. For the immediate future I can't do the Apache part, so I am at least trying to get PHP up and running under IIS to learn it. I used the windows installer .msi to install PHP on a WinXP pro machine with IIS 5.1. My current problem is that when I access a test page as in http://localhost/simple.php I get the message "The specified module could not be found."
0
10127
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...
1
10068
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9923
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
8954
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
5370
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...
0
5497
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4031
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
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2863
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.