Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 6 Mar 2008 14:39:00 -0800,    group: microsoft.public.platformsdk.internet.server.isapi-dev        back       


x64 ISAPI dev and deployment   
Hi...

I've got some ISAPI filters that I built on one x64 box that work just fine 
on the box where they were built, but when they are copied to another x64 
box, IIS throws a very obtuse error message "The data is the error."  Kinda 
like "The medium is the message" I guess.

Anyway, both boxes are W 2003 x64 edition SP 2.

I thought it might be a dll dependency issue so I got the x64 depends.exe 
and used it on both sides.  One problem with depends.exe, though, is that you 
get a lot of false negatives (it reports missing dlls as errors that would be 
late-loaded if they were ever used, though in practice it never is).  There's 
always some dll it shows as missing that's way down the dependency tree and 
it's one OS dll saying it depends on another that's not there.

The MSV*80D.dlls were missing from the other system without VS on it, but I 
copied them over and it didn't help.  Depends.exe on the broken box actually 
says more of the dlls are found there than the dev box where it was built 
(and working).

What's "The data is the error" supposed to mean?

How do you figure out what it doesn't like about the dll?

Thanks
Mark
date: Thu, 6 Mar 2008 14:39:00 -0800   author:   Mark am

RE: x64 ISAPI dev and deployment   
Hi Mark,

David's following blog article covers most of ISAPI deployment issues.

HOWTO: Diagnose and Fix Common ISAPI Filter Installation Failures 
http://blogs.msdn.com/david.wang/archive/2005/06/21/HOWTO_Diagnose_and_Fix_C
ommon_ISAPI_Filter_Installation_Failures.aspx

If the problem is indeed related to VC++ dll missing, you should 
redistribute the requires dlls returned by DEPENDS.exe when installing the 
ISAPI. For your reference, the detailed methods can be found in below 
artiles:

Choosing a Deployment Method  
http://msdn2.microsoft.com/en-us/library/ms235316(VS.80).aspx

Private Assemblies
http://msdn2.microsoft.com/en-us/library/aa375674(VS.85).aspx

Please update here if issue still persists.

Have a nice weekend.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to: 
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues 
where an initial response from the community or a Microsoft Support 
Engineer within 1 business day is acceptable. Please note that each follow 
up response may take approximately 2 business days as the support 
professional working with you may need further investigation to reach the 
most efficient resolution. The offering is not appropriate for situations 
that require urgent, real-time or phone-based interactions or complex 
project analysis and dump analysis issues. Issues of this nature are best 
handled working with a dedicated Microsoft Support Engineer by contacting 
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
date: Fri, 07 Mar 2008 08:47:19 GMT   author:   (WenJun Zhang[msft])

Re: x64 ISAPI dev and deployment   
The Win32 Error number that is held in the data field of the Event Log
Entry (that's what is being referenced by the error message) is
precisely the only information necessary to debug this issue. While
terse, the error message is exactly correct.

My blog entry referenced by WenJun should cover most common cases. If
you would provide the error number, I can probably tell you what to do
about it.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


On Mar 6, 2:39 pm, Mark <mmodr...@nospam.nospam> wrote:
> Hi...
>
> I've got some ISAPI filters that I built on one x64 box that work just fine
> on the box where they were built, but when they are copied to another x64
> box, IIS throws a very obtuse error message "The data is the error."  Kinda
> like "The medium is the message" I guess.
>
> Anyway, both boxes are W 2003 x64 edition SP 2.
>
> I thought it might be a dll dependency issue so I got the x64 depends.exe
> and used it on both sides.  One problem with depends.exe, though, is that you
> get a lot of false negatives (it reports missing dlls as errors that would be
> late-loaded if they were ever used, though in practice it never is).  There's
> always some dll it shows as missing that's way down the dependency tree and
> it's one OS dll saying it depends on another that's not there.
>
> The MSV*80D.dlls were missing from the other system without VS on it, but I
> copied them over and it didn't help.  Depends.exe on the broken box actually
> says more of the dlls are found there than the dev box where it was built
> (and working).
>
> What's "The data is the error" supposed to mean?
>
> How do you figure out what it doesn't like about the dll?
>
> Thanks
> Mark
date: Fri, 7 Mar 2008 02:38:41 -0800 (PST)   author:   David Wang

Re: x64 ISAPI dev and deployment   
Hi David...

The error number in the event log was

b1 36 00 00

Thanks
Mark


"David Wang" wrote:

> The Win32 Error number that is held in the data field of the Event Log
> Entry (that's what is being referenced by the error message) is
> precisely the only information necessary to debug this issue. While
> terse, the error message is exactly correct.
> 
> My blog entry referenced by WenJun should cover most common cases. If
> you would provide the error number, I can probably tell you what to do
> about it.
> 
> 
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
> 
> 
> On Mar 6, 2:39 pm, Mark <mmodr...@nospam.nospam> wrote:
> > Hi...
> >
> > I've got some ISAPI filters that I built on one x64 box that work just fine
> > on the box where they were built, but when they are copied to another x64
> > box, IIS throws a very obtuse error message "The data is the error."  Kinda
> > like "The medium is the message" I guess.
> >
> > Anyway, both boxes are W 2003 x64 edition SP 2.
> >
> > I thought it might be a dll dependency issue so I got the x64 depends.exe
> > and used it on both sides.  One problem with depends.exe, though, is that you
> > get a lot of false negatives (it reports missing dlls as errors that would be
> > late-loaded if they were ever used, though in practice it never is).  There's
> > always some dll it shows as missing that's way down the dependency tree and
> > it's one OS dll saying it depends on another that's not there.
> >
> > The MSV*80D.dlls were missing from the other system without VS on it, but I
> > copied them over and it didn't help.  Depends.exe on the broken box actually
> > says more of the dlls are found there than the dev box where it was built
> > (and working).
> >
> > What's "The data is the error" supposed to mean?
> >
> > How do you figure out what it doesn't like about the dll?
> >
> > Thanks
> > Mark
> 
>
date: Fri, 7 Mar 2008 07:27:01 -0800   author:   Mark am

Re: x64 ISAPI dev and deployment   
That is error 0x000036b1 = 14001 = The application has failed to start
because its side-by-side configuration is incorrect. Please see the
application event log for more detail.


This is pretty much standard DLL-dependency stuff unrelated to IIS.
You would encounter the same problem if you built your own EXE which
used the same DLLs and then tried to copy it around.

You will need to install the MSVCRT Runtime distributables (it's a MSI
file). You are not supposed to just copy DLLs. It's one of the things
that has changed (for the better) in Visual Studio.

Even though it seems to be a hassle -- installing an MSI just to
support your ISAPI DLL -- it is the proper and better way because
copying DLLs create/propagate DLL hell. MSI and WinSxS are designed
against DLL hell by making the rules easy to implement.

If you declaratively tell Windows "hey, I'm about to install MSVCRT
DLLs version 8.0" [because my ISAPI DLL depends on it], Windows can
properly prepare for it. Suppose some other application already
installed MSVCRT DLLs version 8.0 of the specific build, Windows will
silently make your installation finish and succeed with WinSxS and
there will only be ONE copy of MSVCRT DLLs version 8.0 on the machine.
Whereas if you just copied it yourself, there would be two copies, one
with each application. And if both applications insisted that their
copy has to be in %systemroot%\System32, they would clearly stomp on
each other, which would be bad if one version is incompatible with the
other.

There are so many problems with applications copying and distributing
DLLs which they depend on but does not compile... I am glad it is
finally being organized, even after the horses have left the barn...
so it'll be painful but necessary.

FYI: I really haven't seen the problems you describe with x64
depends.exe. I do see those problems when I use the 32bit version on
x64, or if I was using the 64bit version on a 32bit DLL.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//





On Mar 7, 7:27 am, Mark <mmodr...@nospam.nospam> wrote:
> Hi David...
>
> The error number in the event log was
>
> b1 36 00 00
>
> Thanks
> Mark
>
>
>
> "David Wang" wrote:
> > The Win32 Error number that is held in the data field of the Event Log
> > Entry (that's what is being referenced by the error message) is
> > precisely the only information necessary to debug this issue. While
> > terse, the error message is exactly correct.
>
> > My blog entry referenced by WenJun should cover most common cases. If
> > you would provide the error number, I can probably tell you what to do
> > about it.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Mar 6, 2:39 pm, Mark <mmodr...@nospam.nospam> wrote:
> > > Hi...
>
> > > I've got some ISAPI filters that I built on one x64 box that work just fine
> > > on the box where they were built, but when they are copied to another x64
> > > box, IIS throws a very obtuse error message "The data is the error."  Kinda
> > > like "The medium is the message" I guess.
>
> > > Anyway, both boxes are W 2003 x64 edition SP 2.
>
> > > I thought it might be a dll dependency issue so I got the x64 depends.exe
> > > and used it on both sides.  One problem with depends.exe, though, is that you
> > > get a lot of false negatives (it reports missing dlls as errors that would be
> > > late-loaded if they were ever used, though in practice it never is).  There's
> > > always some dll it shows as missing that's way down the dependency tree and
> > > it's one OS dll saying it depends on another that's not there.
>
> > > The MSV*80D.dlls were missing from the other system without VS on it, but I
> > > copied them over and it didn't help.  Depends.exe on the broken box actually
> > > says more of the dlls are found there than the dev box where it was built
> > > (and working).
>
> > > What's "The data is the error" supposed to mean?
>
> > > How do you figure out what it doesn't like about the dll?
>
> > > Thanks
> > > Mark- Hide quoted text -
>
> - Show quoted text -
date: Sat, 8 Mar 2008 01:05:03 -0800 (PST)   author:   David Wang

Re: x64 ISAPI dev and deployment   
Hi Mark,

Just want to check if you have any update on this issue?

If problem is still not resolved, please follow up here. We will continute 
to assist you on the troubleshooting.

Have a nice day.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to 
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues 
where an initial response from the community or a Microsoft Support 
Engineer within 1 business day is acceptable. Please note that each follow 
up response may take approximately 2 business days as the support 
professional working with you may need further investigation to reach the 
most efficient resolution. The offering is not appropriate for situations 
that require urgent, real-time or phone-based interactions or complex 
project analysis and dump analysis issues. Issues of this nature are best 
handled working with a dedicated Microsoft Support Engineer by contacting 
Microsoft Customer Support Services (CSS) at 
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
date: Thu, 13 Mar 2008 12:00:06 GMT   author:   (WenJun Zhang[msft])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us