Results 1 to 3 of 3

Thread: Microsoft VBScript runtime error '800a0046' - WMSSERVER

  1. #1
    Join Date
    Aug 2005
    Posts
    293

    Microsoft VBScript runtime error '800a0046' - WMSSERVER

    I have created a script which is written below and am trying to get it to work:

    <%
    Option Explicit
    Set objServer = CreateObject("wmsserver.server")
    Set PubPoints = objServer.PublishingPoints
    Set PlayerCount = objServer.Players
    %>

    But I am getting an error that says:

    Microsoft VBScript runtime error '800a0046'
    Permission denied: 'CreateObject'
    /test.asp, line 2

    I have already enabled Basic Authentication and made a user that is a member of the local admin group to make the script to work. But it does not work under Windows Integrated Authentication. Any ideas?

  2. #2
    Join Date
    Sep 2005
    Posts
    226

    Re: Microsoft VBScript runtime error '800a0046' - WMSSERVER

    You need to ensure that you have registered the COM object which I think that is on the machine that you are running IIS on. So to do that you need to go to Start and then type in the Run box the below:

    regsvr32 WMSServerTypeLib.dll

    You should also read about the complications of using DCom incase you are trying to connect to a remote WMS, on this page -
    http://msdn2.microsoft.com/en-us/library/ms741994.aspx

  3. #3
    Join Date
    Oct 2004
    Posts
    1,342

    Re: Microsoft VBScript runtime error '800a0046' - WMSSERVER

    You should also try to look at the permissions of the path used for "TEMP"; because I was facing a similar problem with TEMP=%SystemRoot%\TEMP and then account used for creating the object. Also check your own Value for TEMP if you are running it, by using your credentials.

Similar Threads

  1. Microsoft VBscript Runtime Error Message in windows XP
    By HALLBJORN in forum Portable Devices
    Replies: 4
    Last Post: 07-12-2010, 10:29 AM
  2. Replies: 3
    Last Post: 22-04-2009, 11:02 PM
  3. Microsoft VBScript runtime error: Permission denied: 'GetObject'
    By Swati_here_2008 in forum Software Development
    Replies: 3
    Last Post: 05-05-2008, 01:57 PM
  4. VBScript runtime error installing MS Win Installer Cleanup Utility
    By Han's Son in forum Vista Setup and Install
    Replies: 1
    Last Post: 05-11-2007, 02:12 PM
  5. Replies: 3
    Last Post: 08-03-2006, 02:41 AM

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,927,781.09085 seconds with 18 queries