Results 1 to 4 of 4

Thread: Running VB6 Com Objects with ASP on IIS7

  1. #1
    Join Date
    Sep 2009
    Posts
    2

    Running VB6 Com Objects with ASP on IIS7

    Hello friends,

    I recently purchased a notebook which runs Vista with IIS7.I am trying to copy over my ASP web apps from my old laptop to my new one.I am stuck with a minor problem of getting the ASP web apps to work under IIS7, even though they work on IIS6. The ASP apps I am attempting to run use COM objects which were written in VB6; for debugging purposes I on a Windows XP & IIS6 platform I can run the VB6 project from Visual Studio 6 then run the ASP app and follow Visual Studio's debug. I doing the same with Vista & IIS7 laptop and get an error; I simply cannot get the ASP app to interact with the VB6 component


    Any help is gratefully appreciated.

  2. #2
    Join Date
    Nov 2005
    Posts
    1,323

    Re: Running VB6 Com Objects with ASP on IIS7

    I initially bewildered whether the session was being handled other way. Most likely a server issue the OS. Home edition is fair complicated to get to act as a server.Double check your connection string, are you using the same one as when you read

  3. #3
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Running VB6 Com Objects with ASP on IIS7

    I have been looking deeply in to the issue.I think its a permissions issue (with Vista's security policies), but I still haven't got a proper fix as yet. Looking at the event logs, it says reports an problems with DCOM and changing the Launch and Applications rights for the particular application, the issue is though the Application GUID seems to alter each time.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Running VB6 Com Objects with ASP on IIS7

    I guess the attributes your searching for are the ClassInterface and InterfaceType. These are used to produce COM type libraries that provide early binding. The ClassInterface has3 options, the None option is used along with the InterfaceType attribute and is used to create type information based on the interface explicitly implemented by the .NET class.If I remember correctly then this should provide better Type information to COM to allow early binding.

Similar Threads

  1. Slow performance with IIS7 and URL Rewrite 2.0
    By strongArm in forum Software Development
    Replies: 5
    Last Post: 24-06-2011, 02:21 PM
  2. Help with setting up IIS7 for PHP
    By Khagendr in forum Technology & Internet
    Replies: 7
    Last Post: 20-06-2011, 10:59 PM
  3. PHP on IIS7 gave me an Error 503
    By Gajadhar in forum Technology & Internet
    Replies: 5
    Last Post: 19-06-2011, 10:19 PM
  4. IIS7 for Windows XP
    By spectre330 in forum Windows Software
    Replies: 3
    Last Post: 30-06-2009, 11:24 PM
  5. Upgrading IIS6 to IIS7?
    By m3pilot in forum Small Business Server
    Replies: 2
    Last Post: 23-06-2009, 09:04 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,280,576.09872 seconds with 17 queries