Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using Application Verifier With an IIS Web Applicaition

43 views
Skip to first unread message

Guy Hewitt

unread,
Nov 13, 2003, 8:19:05 AM11/13/03
to
I am trying to use Application Verifier to test an ASP based web application
running on IIS 6.0 on Windows Server 2003. I am applying the High Version
Lie test but when I check the version from my application it is normal (i.e.
5.2). My application does not have an exe of its own so I am using
inetinfo.exe and dllhost.exe with Application Verifier instead.

I am using IIS 6.0 on Windows Server 2003. My application makes use of a
very simple COM component called from an ASP page to return the version
info. The COM component uses GetVersionEx to get the version. The web
application is running in high isolation mode.

Can anyone help me setup Application Verifier so I can perform this test on
my application? What am I doing wrong? What exe should I be testing on?

Thanks,

Guy Hewitt.


Ivan Brugiolo [MSFT]

unread,
Nov 13, 2003, 12:34:37 PM11/13/03
to
Can you run `tlist -m YourComComponent.dll' to see exactly where your
component lives ?


--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Guy Hewitt" <gch@remove_this_biticubedtechnologies.com> wrote in message
news:bp00c8$63$1...@hercules.btinternet.com...

Guy Hewitt

unread,
Nov 13, 2003, 1:27:18 PM11/13/03
to
tlist tells me that it is dllhost.exe. I have Application Verifier
performing High Version Lie on this file. Looking in the log files for
Appclication Verifier I can see accesses to the GetVersionEx made by
dllhost.exe and according to the log, the "high" version is returned.
However, my application is showing the real version.

I have run my application on previous versions of windows and the version
check works fine. It's just using App Verifier to give me a false version
that does not seem to work.

Is there perhaps a better way to get the system version from ASP without
calling GetVersionEx through a COM component??

Is there another way to spoof the version?

Guy.


"Ivan Brugiolo [MSFT]" <ivan...@online.microsoft.com> wrote in message
news:ukQ$TxgqDH...@TK2MSFTNGP10.phx.gbl...

Ivan Brugiolo [MSFT]

unread,
Nov 13, 2003, 2:59:17 PM11/13/03
to
If you are familiar with debugging DllHost.exe,
can you set a breakpoint in
appvcore!NS_HiVersionLie::APIHOOK_GetVersionExW
appvcore!NS_HiVersionLie::APIHOOK_GetVersionExA
and see if they get hit, and watch what's returned ?
There is a convoluted way to prevent
certain system components from being tergeted by the 'lie'.
The version numbers are stored in global variables g_[the name of the
members in the struct]
like g_dwMajorVersion.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Guy Hewitt" <gch@remove_this_biticubedtechnologies.com> wrote in message

news:bp0ie6$dg3$1...@sparta.btinternet.com...

Guy Hewitt

unread,
Nov 14, 2003, 4:14:53 AM11/14/03
to
I'll give that a try, thanks for your help.

Guy.


"Ivan Brugiolo [MSFT]" <ivan...@online.microsoft.com> wrote in message

news:Ocj5JCiq...@TK2MSFTNGP11.phx.gbl...

0 new messages