By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,948 Members | 1,553 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,948 IT Pros & Developers. It's quick & easy.

Error: The specified module could not be found

P: n/a
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.DOMDocument40

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.Services
Imports System.Web.Services.Protocols
Imports System.IO
Imports System.Xml
Imports System.Xml.XPath
Imports System.Data.Odbc
Imports System.Reflection
Imports System.Xml.Serialization
Imports System.Xml.XmlDocument
Imports System.Text
Imports System.Runtime.Serialization.Formatters.SoapMessag e
Imports System.Web.Services.Description

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
Share this Question
Share on Google+
2 Replies


P: n/a


ji***********@yahoo.co.uk wrote:

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

Dim xmlDoc As New MSXML2.DOMDocument40


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

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

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Feb 22 '06 #2

P: 1
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.DOMDocument40

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.Services
Imports System.Web.Services.Protocols
Imports System.IO
Imports System.Xml
Imports System.Xml.XPath
Imports System.Data.Odbc
Imports System.Reflection
Imports System.Xml.Serialization
Imports System.Xml.XmlDocument
Imports System.Text
Imports System.Runtime.Serialization.Formatters.SoapMessag e
Imports System.Web.Services.Description

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 discussion thread is closed

Replies have been disabled for this discussion.