Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 22nd, 2006, 03:25 PM
jimmyfishbean@yahoo.co.uk
Guest
 
Posts: n/a
Default 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.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

  #2  
Old February 22nd, 2006, 03:45 PM
Martin Honnen
Guest
 
Posts: n/a
Default Re: Error: The specified module could not be found



jimmyfishbean@yahoo.co.uk wrote:

[color=blue]
> When I debug the code, this error is thrown when the following code
> read:
>
> Dim xmlDoc As New MSXML2.DOMDocument40[/color]

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/
  #3  
Old April 20th, 2006, 06:26 AM
Newbie
 
Join Date: Apr 2006
Posts: 1
Default Try this....

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





Quote:
Originally Posted by jimmyfishbean@yahoo.co.uk
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
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles