Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-09-2009
Member
 
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.
Reply With Quote
  #2  
Old 12-09-2009
Member
 
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
Reply With Quote
  #3  
Old 12-09-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
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.
Reply With Quote
  #4  
Old 12-09-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Running VB6 Com Objects with ASP on IIS7"
Thread Thread Starter Forum Replies Last Post
Slow performance with IIS7 and URL Rewrite 2.0 strongArm Software Development 5 24-06-2011 02:21 PM
Help with setting up IIS7 for PHP Khagendr Technology & Internet 7 20-06-2011 10:59 PM
PHP on IIS7 gave me an Error 503 Gajadhar Technology & Internet 5 19-06-2011 10:19 PM
IIS7 for Windows XP spectre330 Windows Software 3 30-06-2009 11:24 PM
Upgrading IIS6 to IIS7? m3pilot Small Business Server 2 23-06-2009 09:04 PM


All times are GMT +5.5. The time now is 01:41 PM.