We have an application that use IIS 6.0 with com objects, it's VB 6.0
desktop app. How to configure IIS 7 to work like previous version?

Thanks

Re: How to use IIS 7 with Com Objects by Ken

Ken
Tue Apr 29 00:14:40 CDT 2008

Can you explain a bit more about how your app works?

Is it just a web application (ASP/ASP.NET/CGI or similar) that then
instantiates COM objects? If so, then this should probably just work under
IIS 7.0 as well

Cheers
Ken

--
My IIS blog: http://adopenstatic.com/blog

"MichaelT" <MichaelTechnet@newsgroup.nospam> wrote in message
news:O33yISaqIHA.2068@TK2MSFTNGP05.phx.gbl...
> We have an application that use IIS 6.0 with com objects, it's VB 6.0
> desktop app. How to configure IIS 7 to work like previous version?
>
> Thanks
>
>


Re: How to use IIS 7 with Com Objects by wjzhang

wjzhang
Tue Apr 29 05:46:37 CDT 2008

Hi Michael,

I did see some people met security issue when running ASP with VB COM
components on IIS7. A known work around is you can create a new COM+
application in Component services(under COM+ applications) to wrap the VB
dll and specify the security setting for it to be executed.

Component services -> Computers -> This computer -> COM+ applications.
Create a new empty application there and follow the guide, at the end of
the wizard you will be asked to select your DLL file. Disable "Force access
check for this application". After this, you shouldn't run regsvr32 to
register the dll again.

If it still encounters problem, please disable 'Show friendly HTTP error
message' in IE Internet Options->Advanced and ensure 'Detailed errors for
local requests...' are enabled on the web site's Error Pages setting. Then
please browse to the problematic web page locally and reproduce the error,
IIS should return detailed error info in the browser. Please post all the
details here for us to have a check.

I look forward to your update.

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.


Re: How to use IIS 7 with Com Objects by MichaelT

MichaelT
Wed Apr 30 00:20:49 CDT 2008

Sorry. It seems I didn't say it clearly. What I mean is .com file. Is there
any change in .com to CGI mapping? Thanks.


""WenJun Zhang[msft]"" <wjzhang@online.microsoft.com> wrote in message
news:2bH$TZeqIHA.5720@TK2MSFTNGHUB02.phx.gbl...
> Hi Michael,
>
> I did see some people met security issue when running ASP with VB COM
> components on IIS7. A known work around is you can create a new COM+
> application in Component services(under COM+ applications) to wrap the VB
> dll and specify the security setting for it to be executed.
>
> Component services -> Computers -> This computer -> COM+ applications.
> Create a new empty application there and follow the guide, at the end of
> the wizard you will be asked to select your DLL file. Disable "Force
> access
> check for this application". After this, you shouldn't run regsvr32 to
> register the dll again.
>
> If it still encounters problem, please disable 'Show friendly HTTP error
> message' in IE Internet Options->Advanced and ensure 'Detailed errors for
> local requests...' are enabled on the web site's Error Pages setting. Then
> please browse to the problematic web page locally and reproduce the error,
> IIS should return detailed error info in the browser. Please post all the
> details here for us to have a check.
>
> I look forward to your update.
>
> 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.
>


Re: How to use IIS 7 with Com Objects by wjzhang

wjzhang
Wed Apr 30 04:06:27 CDT 2008

Hi Michael,

If what interests you is the new feature on CGI support in IIS7.0, we do
provide the new FastCGI feature for running popular web programs
framework(e.g PHP) on IIS 7.0 in high-performance and reliable way. All CGI
programs written following the FastCGI strandard can be handled by the new
FastCGI module for execution. For detailed information, you can refer to
the following links:

FastCGI for IIS7
http://www.iis.net/downloads/default.aspx?tabid=34&i=1299&g=6

Using FastCGI to Host PHP Applications on IIS 7.0
http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on
-iis7/

Please let me know if you have further question on this.

Thanks.

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.


Re: How to use IIS 7 with Com Objects by MichaelT

MichaelT
Sun May 04 21:32:31 CDT 2008

Thanks very much. That is helpful.

""WenJun Zhang[msft]"" <wjzhang@online.microsoft.com> wrote in message
news:m$$6AGqqIHA.6028@TK2MSFTNGHUB02.phx.gbl...
> Hi Michael,
>
> If what interests you is the new feature on CGI support in IIS7.0, we do
> provide the new FastCGI feature for running popular web programs
> framework(e.g PHP) on IIS 7.0 in high-performance and reliable way. All
> CGI
> programs written following the FastCGI strandard can be handled by the new
> FastCGI module for execution. For detailed information, you can refer to
> the following links:
>
> FastCGI for IIS7
> http://www.iis.net/downloads/default.aspx?tabid=34&i=1299&g=6
>
> Using FastCGI to Host PHP Applications on IIS 7.0
> http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on
> -iis7/
>
> Please let me know if you have further question on this.
>
> Thanks.
>
> 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.
>


Re: How to use IIS 7 with Com Objects by wjzhang

wjzhang
Mon May 05 00:00:39 CDT 2008

You are welcome.

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.