I'm trying to get the Microsoft Enterprise Learning Library working on a
webserver. I have successfully installed it in the past when using a
connection to a MSSQL database, but this time I didn't connect to a database
and I'm having more trouble. I give that as preface since I don't know if it
is related. At the end of installing one of the modules, I get the following
error message.

Unable to open IIS W3SVC Root objet - please ensure that IIS is running -
Error Details: [Number:80070003]

The install seems to go okay except for that. The machine has been rebooted
since installation.

The following chunk of ASP jscript code is throwing an exception whose
message is "Type mismatch".


sFile = "E:\MELL\ENG\Desktop\ADOFF03\mpimanifest.xml"

function LoadXMLFile(sFile)
{
var oXML = new ActiveXObject(Application("xmlParserProgID"));

That path to the XML file is correct and the contents of the file appear to
be correct. I think it is having trouble creating the XML parser object. I
tried to install the MS XML parser included with the installer, but it
doesn't seem to make any difference. I expect that the whole system will work
properly if I can get it to read the XML files and put up the menu that is
derived from them.

Re: Type mismatch error from creation of ActiveX object for XML parser by Chris

Chris
Sat Aug 13 01:23:49 CDT 2005

If you add the following code to your source file it will display the
application variable that is the progid for the object it is trying to
create.

Is session state enabled on the server?

Response.Write("ProgID: " + Application("xmlParserProgID"));

--

cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz


"Bradley" <Bradley@discussions.microsoft.com> wrote in message
news:3D81F714-A773-4B19-8CEE-4856D8A00480@microsoft.com...
> I'm trying to get the Microsoft Enterprise Learning Library working on a
> webserver. I have successfully installed it in the past when using a
> connection to a MSSQL database, but this time I didn't connect to a
> database
> and I'm having more trouble. I give that as preface since I don't know if
> it
> is related. At the end of installing one of the modules, I get the
> following
> error message.
>
> Unable to open IIS W3SVC Root objet - please ensure that IIS is running -
> Error Details: [Number:80070003]
>
> The install seems to go okay except for that. The machine has been
> rebooted
> since installation.
>
> The following chunk of ASP jscript code is throwing an exception whose
> message is "Type mismatch".
>
>
> sFile = "E:\MELL\ENG\Desktop\ADOFF03\mpimanifest.xml"
>
> function LoadXMLFile(sFile)
> {
> var oXML = new ActiveXObject(Application("xmlParserProgID"));
>
> That path to the XML file is correct and the contents of the file appear
> to
> be correct. I think it is having trouble creating the XML parser object. I
> tried to install the MS XML parser included with the installer, but it
> doesn't seem to make any difference. I expect that the whole system will
> work
> properly if I can get it to read the XML files and put up the menu that is
> derived from them.
>



Re: Type mismatch error from creation of ActiveX object for XML pa by Bradley

Bradley
Mon Aug 15 14:23:46 CDT 2005

Thanks for your reply, Chris. About the same time you were penning your reply
I got a response from Microsoft on this issue as well.

The result of your suggested query was:
ProgID: Msxml2.DOMDocument.4.0ProgID: Msxml2.DOMDocument.4.0ProgID:
Msxml2.DOMDocument.4.0

I don't know what that tells me and I still have no idea why the following
solution worked, but here was the answer for me. Perhaps with the above
information or the following you can provide greater insight. The top level
folder of the web application was a virtual folder and was thus a "web
application" to IIS. The folder with the piece of code that was crashing was
a couple of levels down. The solution was to make that subfolder a web
application also.

For the sake of anyone else reading this, what I mean by "make it a web
application" is to open the properties for the folder in IIS and click the
button that says "Create" near the "Application Name" field on the "General"
tab.

This seems so odd that this was the solution because SOME of the code WAS
running. But some of it wasn't working right apparently. I can't explain it.
I'm just glad it works now!

Brad

"Chris Crowe [IIS MVP]" wrote:

> If you add the following code to your source file it will display the
> application variable that is the progid for the object it is trying to
> create.
>
> Is session state enabled on the server?
>
> Response.Write("ProgID: " + Application("xmlParserProgID"));
>
> --
>
> cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "Bradley" <Bradley@discussions.microsoft.com> wrote in message
> news:3D81F714-A773-4B19-8CEE-4856D8A00480@microsoft.com...
> > I'm trying to get the Microsoft Enterprise Learning Library working on a
> > webserver. I have successfully installed it in the past when using a
> > connection to a MSSQL database, but this time I didn't connect to a
> > database
> > and I'm having more trouble. I give that as preface since I don't know if
> > it
> > is related. At the end of installing one of the modules, I get the
> > following
> > error message.
> >
> > Unable to open IIS W3SVC Root objet - please ensure that IIS is running -
> > Error Details: [Number:80070003]
> >
> > The install seems to go okay except for that. The machine has been
> > rebooted
> > since installation.
> >
> > The following chunk of ASP jscript code is throwing an exception whose
> > message is "Type mismatch".
> >
> >
> > sFile = "E:\MELL\ENG\Desktop\ADOFF03\mpimanifest.xml"
> >
> > function LoadXMLFile(sFile)
> > {
> > var oXML = new ActiveXObject(Application("xmlParserProgID"));
> >
> > That path to the XML file is correct and the contents of the file appear
> > to
> > be correct. I think it is having trouble creating the XML parser object. I
> > tried to install the MS XML parser included with the installer, but it
> > doesn't seem to make any difference. I expect that the whole system will
> > work
> > properly if I can get it to read the XML files and put up the menu that is
> > derived from them.
> >
>
>
>