Home All Groups Group Topic Archive Search About

Re: Server.CreateObject fails on W2K3 IIS6

Author
29 Apr 2005 6:23 PM
Parvez
Hi Thomas,

Try this.

Delete the COM from DCOM application.

Try to manually  registering your dll and test your apps.

regsrv32 "e:\test.dll"

See if it works. 









Show quoteHide quote
"Thomas Stensitzki" wrote:

> Ken:
>
> > Two suggestions:
> >
> > a) ensure that your MDAC is OK. You can use the ComCheck tool to do this:
> > http://www.microsoft.com/downloads/details.aspx?FamilyId=8F0A8DF6-4A21-4B43-BF53-14332EF092C9&displaylang=en
>
> I 've checked the MDAC installation using the ComCheck Tool. The tool found
> MDAC 2.8 RTM. This version comes with Windows Server 2003.
> The ComCheck tool found 3 files which mismatch the regular installation. I
> think that those files were replaced during a Security Patch installation.
>
> <group name="MISMATCH" count="3"><file
> xmlns="http://tempuri.org/CCFilestream_template.xsd" name="ODBCBCP.DLL"
> dir="%SYSTEMDIR%\">
> <release name="MDAC 2.8 RTM" version="2000.85.1022.0"/>
> <found xmlns="" Description="Microsoft BCP for ODBC" date="12/12/2003"
> fileVersion="2000.085.1025.00 built by: (_sqlbld)" size="24576"
> version="2000.85.1025.0"/><result xmlns=""
> mismatch_fields="version"/></file>
> <file xmlns="http://tempuri.org/CCFilestream_template.xsd"
> name="SQLSRV32.DLL" dir="%SYSTEMDIR%\" CoreFile="Yes">
> <release name="MDAC 2.8 RTM" version="2000.85.1022.0"/>
> <found xmlns="" Description="Microsoft SQL Server ODBC Driver"
> date="11/18/2003" fileVersion="2000.085.1025.00 built by: (_sqlbld)"
> size="401408" version="2000.85.1025.0"/><result xmlns=""
> mismatch_fields="version"/></file>
> <file xmlns="http://tempuri.org/CCFilestream_template.xsd" name="msxml3.dll"
> dir="%SYSTEMDIR%">
> <release name="MDAC 2.8 RTM" version="8.40.9419.0"/>
> <found xmlns="" Description="MSXML 3.0 SP 5" date="09/22/2004"
> fileVersion="8.50.2162.0" size="1380352" version="8.50.2162.0"/><result
> xmlns="" mismatch_fields="version"/></file>
> </group>
>
> >
> > b) Check that there isn't a permissions problem on one of the MDAC dlls.
> > You
> > can use filemon for this:
> > www.sysinternals.com
>
> I did a check using FileMon. But I do not see any permission probelms.
> Therefore I am somewhat lost in space :-(
>
> 15:20:50 w3wp.exe:5396 IRP_MJ_CREATE  D:\InetPub\SF-Tools\forum\Default.asp
> SUCCESS Options: Open  Access: All
> 15:20:50 w3wp.exe:5396 IRP_MJ_QUERY_VOLUME_INFORMATION
> D:\InetPub\SF-Tools\forum\Default.asp BUFFER OVERFLOW
> FileFsVolumeInformation
> 15:20:50 w3wp.exe:5396 IRP_MJ_QUERY_INFORMATION
> D:\InetPub\SF-Tools\forum\Default.asp BUFFER OVERFLOW FileAllInformation
> 15:20:50 w3wp.exe:5396 IRP_MJ_CLEANUP D:\InetPub\SF-Tools\forum\Default.asp
> SUCCESS
> 15:20:50 w3wp.exe:5396 IRP_MJ_CLOSE  D:\InetPub\SF-Tools\forum\Default.asp
> SUCCESS
>
> Do you have any other ideas how to drill that down?
>
> Regards,
> Thomas
>
>
>

Author
6 May 2005 3:40 PM
technus
Hi There. I am having the same problem with a small variation: I had a W2k Server with some web-published folders on it, by using an asp page to list the files.
We migrated the site to a w2k3 server, and now the site cannot list the files, and it shows a "800a0046 permission denied error", referring to line 58 in /inc/workspace.inc.

The line is:

OfficeWebFolder.Init Server, Request

I have checked permissions on both servers and ther is no any difference, even reinstalled Office Server Extensions on the new server (the troubled one).

I guess there is some permission missing, but cannot figure where it is. Your help would be greatly appreciated.



Parvez wrote:
Show quoteHide quote
> *Hi Thomas,
>
> Try this.
>
> Delete the COM from DCOM application.
>
> Try to manually  registering your dll and test your apps.
>
> regsrv32 "e:\test.dll"
>
> See if it works.
>
>
>
>
>
>
>
>
>
> "Thomas Stensitzki" wrote:
>
> > Ken:
> >
> >
> > I 've checked the MDAC installation using the ComCheck Tool. The > tool found
> > MDAC 2.8 RTM. This version comes with Windows Server 2003.
> > The ComCheck tool found 3 files which mismatch the regular > installation. I
> > think that those files were replaced during a Security Patch > installation.
> >
> > <group name="MISMATCH" count="3"><file
> > xmlns="http://tempuri.org/CCFilestream_template.xsd" > name="ODBCBCP.DLL"
> > dir="%SYSTEMDIR%\">
> > <release name="MDAC 2.8 RTM" version="2000.85.1022.0"/>
> > <found xmlns="" Description="Microsoft BCP for ODBC" > date="12/12/2003"
> > fileVersion="2000.085.1025.00 built by: (_sqlbld)" size="24576"
> > version="2000.85.1025.0"/><result xmlns=""
> > mismatch_fields="version"/></file>
> > <file xmlns="http://tempuri.org/CCFilestream_template.xsd"
> > name="SQLSRV32.DLL" dir="%SYSTEMDIR%\" CoreFile="Yes">
> > <release name="MDAC 2.8 RTM" version="2000.85.1022.0"/>
> > <found xmlns="" Description="Microsoft SQL Server ODBC Driver"
> > date="11/18/2003" fileVersion="2000.085.1025.00 built by: > (_sqlbld)"
> > size="401408" version="2000.85.1025.0"/><result xmlns=""
> > mismatch_fields="version"/></file>
> > <file xmlns="http://tempuri.org/CCFilestream_template.xsd" > name="msxml3.dll"
> > dir="%SYSTEMDIR%">
> > <release name="MDAC 2.8 RTM" version="8.40.9419.0"/>
> > <found xmlns="" Description="MSXML 3.0 SP 5" date="09/22/2004"
> > fileVersion="8.50.2162.0" size="1380352" > version="8.50.2162.0"/><result
> > xmlns="" mismatch_fields="version"/></file>
> > </group>
> >
> >
> > I did a check using FileMon. But I do not see any permission > probelms.
> > Therefore I am somewhat lost in space :-(
> >
> > 15:20:50 w3wp.exe:5396 IRP_MJ_CREATE > D:\InetPub\SF-Tools\forum\Default.asp
> > SUCCESS Options: Open  Access: All
> > 15:20:50 w3wp.exe:5396 IRP_MJ_QUERY_VOLUME_INFORMATION
> > D:\InetPub\SF-Tools\forum\Default.asp BUFFER OVERFLOW
> > FileFsVolumeInformation
> > 15:20:50 w3wp.exe:5396 IRP_MJ_QUERY_INFORMATION
> > D:\InetPub\SF-Tools\forum\Default.asp BUFFER OVERFLOW > FileAllInformation
> > 15:20:50 w3wp.exe:5396 IRP_MJ_CLEANUP > D:\InetPub\SF-Tools\forum\Default.asp
> > SUCCESS
> > 15:20:50 w3wp.exe:5396 IRP_MJ_CLOSE > D:\InetPub\SF-Tools\forum\Default.asp
> > SUCCESS
> >
> > Do you have any other ideas how to drill that down?
> >
> > Regards,
> > Thomas
> >
> >
> > * -- technus ------------------------------------------------------------------------ Posted via http://www.webservertalk.com ------------------------------------------------------------------------ View this thread: http://www.webservertalk.com/message936943.html