Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

ASP & COM+ in IIS7

- - - - -

  • Please log in to reply
1 reply to this topic

#1
gurdziev

gurdziev
  • Member
  • 2 posts
  • Joined 04-April 11
  • OS:XP Pro x86
  • Country: Country Flag
Hello all,

I have a problem with an old VB6 COM+ component.

On server 2003 with IIS6 I have that piece of ASP code:

<%@ Language=VBScript %>
<%
dim obj
set obj = server.CreateObject("CPRCalendar.clsCalendar")
Response.Write obj.Display()
set obj = nothing
%>
And everything works fine - it is supposed to generate some HTML and to display it.

Now I'm trying to migrate it to server 2008 R2 x64.

Everything that is related to component services and file system permissions has been set identically to previous server.

But when I browse to this page, the error message I recieve is:


CPRCalendar error '800a000d'
Type mismatch
/ASPcalendar/calendar.asp, line 5

When I turn on the "Enable 32 bit applications" under the application pool advanced settings in IIS,

I recieve a blank page - nothing at all - even when I check the source (via browser "view source" option) - it's just blank!

the most problematic thing is that I don't even have a source code of this VB6 DLL...

Any ideas on what can be checked in order to resolve this situation?

Many thanks in advance.


How to remove advertisement from MSFN

#2
gurdziev

gurdziev
  • Member
  • 2 posts
  • Joined 04-April 11
  • OS:XP Pro x86
  • Country: Country Flag
What resolved the issue is this one:

• Component Services -> Computers -> My Computer -> COM+ Applications
• Open a COM+ Application object.
• Open Components.
• Right-click on a class and select Properties.
• Under "Advanced" there is a check box for "Allow IIS intrinsic properties".




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users