Server.CreateObject works on IIS 5.x / WinXP Fails on IIS 6.x / Win2K3

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Server.CreateObject works on IIS 5.x / WinXP Fails on IIS 6.x / Win2K3

    I have a VB Script that I call from my ASP page. One of the first
    things it does is:
    'Launch Access
    Server.CreateObject("Access.Application")
    'Open DB
    'Preview Report

    This works fine on IIS 5.x, on Windows XP. But when I try this on
    Windows 2003 (with the latest IIS that ships with it), it does not
    work. I can see in the IIS Log that the Server.CreateObject failed.

    What I'm trying to achieve has been well explained in:
    [url]http://www.4guysfromrolla.com/webtech/042600-1.shtml[/url]

    I tried playing around with the user/permissions (for IIS Out-Of-Proc,
    DCom Config - Access DB/App), etc in Component Services and IIS (Pool,
    Website properties). But to no avail.

    I'm trying this on the local machine, where IIS and Access 2002 are
    installed. Other ASP and ASP.Net pages work fine on this box. So there
    are no generic configuration / network / firewall issues, per se.

    Your ideas/suggestions will be deeply appreciated.

    Thanks.
    Simple Guest

  2. Similar Questions and Discussions

    1. CreateObject of VB DLL fails in ASP page
      Hello My problem is as following: I have a VB6 DLL, which is called by an asp page with simple createobject method. It worked fine, but we've...
    2. Server.CreateObject("MSWC.Tools") fails in Windows 2003 server?
      hello all, I hope you all are fine and doing well. I'm finding this error when i do Server.CreateObject("MSWC.Tools") in ASP using interdev. I...
    3. WSC CreateObject fails in ASP with 0177 error Ran Out of Memory
      Greetings, This seems to be the right group to ask this question however if anyone can suggest a more appropriate group then please do so. I...
    4. CreateObject Fails Every Other Call
      Whenever I call a particular commercial component (Crystal RDC) from my own VB6 component (called from ASP) concurrently with 2 ASP clients (no...
    5. HELP: Linux telnet smtp server fails, Works from MS Windows
      I'm stumped. And I'm not a guru. I think I have a network setup problem on my Linux box, but I'm not sure what to look for. Problem: Trying...
  3. #2

    Default Re: Server.CreateObject works on IIS 5.x / WinXP Fails on IIS 6.x / Win2K3

    "Simple" <workset@excite.com> wrote in message
    news:2c48820c.0407130849.11ccaf40@posting.google.c om...
    > I have a VB Script that I call from my ASP page. One of the first
    > things it does is:
    > 'Launch Access
    > Server.CreateObject("Access.Application")
    > 'Open DB
    > 'Preview Report
    >
    > This works fine on IIS 5.x, on Windows XP. But when I try this on
    > Windows 2003 (with the latest IIS that ships with it), it does not
    > work. I can see in the IIS Log that the Server.CreateObject failed.
    >
    > What I'm trying to achieve has been well explained in:
    > [url]http://www.4guysfromrolla.com/webtech/042600-1.shtml[/url]
    >
    > I tried playing around with the user/permissions (for IIS Out-Of-Proc,
    > DCom Config - Access DB/App), etc in Component Services and IIS (Pool,
    > Website properties). But to no avail.
    >
    > I'm trying this on the local machine, where IIS and Access 2002 are
    > installed. Other ASP and ASP.Net pages work fine on this box. So there
    > are no generic configuration / network / firewall issues, per se.
    >
    > Your ideas/suggestions will be deeply appreciated.
    >
    > Thanks.
    Is MS-Office XP installed?

    Try for XP:

    Set oAppXP = Server.CreateObject("Access.Application.10")


    McKirahan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139