Q

Getting an error after moving VB6 app from IIS 4.0 to IIS 5.0

I have an IIS application (WebClass) developed in VB 6.0 than runs under IIS 4.0 on Windows NT. I moved the application...

to a Win2000 server running IIS 5.0. When I compile and run the application I get the following error: Server object, ASP 0178 (0x80070005)

The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

Any insight on this would be appreciated. Thanks.
IIS 5.0 changed quite a bit from IIS 4.0, so that's why you're running into issues. (Wait until you see the changes between IIS6 with .NET Server!) The issue you're running into relates to how DCOM authentication tries to run the application. You shouldn't see this problem running your WebClass object by itself, but only when running the object under the IDE debugger.

There are several Microsoft Knowledge Base articles and MSDN Columns I found that will show you exactly how to get your debugger set up in order to debug:

  1. Debugging ASP Applications, part 2
  2. PRB: Server Object Error "ASP 0178" Occurs When You Run a WebClass in Windows 2000 (KB: Q255502)
  3. PRB: Error Occurs When You Debug a COM+ Component Under the Visual Basic IDE with an ASP Client (KB: Q259725)

This was last published in September 2002

Dig Deeper on Windows Operating System Management

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close