Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows Media Server / January 2008

Tip: Looking for answers? Try searching our database.

Microsoft VBScript runtime error '800a0046' - WMSSERVER

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tole@privat.dk - 07 Nov 2007 14:35 GMT
Hi

I am trying to get this very simple script to work:

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

But I keep running into this error:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'CreateObject'
/test.asp, line 2

To get around this problem I have enabled

Basic Authentication
Made the a user that is a member of the local administrators group -
That makes the script work. I do not know why it does not work under
Windows Integrated Authentication.

Since I am not interested in having users running under local
administrators group I have tried to change the users rights for the
following instances:
Registry -> WMSServer.Server
DCOMCNF -> Windows Media Services
C:\Windows\System32\Windows Media
C\Windows\Microsoft.NET\Framework\1.1.4322\Temp...

This still gives me permission denied.

My question is - Where do I need to change user rights to be able to:
Set objServer = CreateObject("wmsserver.server")
Using ASP?
Neil Smith [MVP Digital Media] - 07 Nov 2007 20:27 GMT
>Hi
>
[quoted text clipped - 32 lines]
>Set objServer = CreateObject("wmsserver.server")
>Using ASP?

Make sure you've registered the COM object, which I assume is on the
machine you're running IIS on. To do that, go to

Start -> Run and type in

regsvr32 WMSServerTypeLib.dll

You can read about the complications of using DCom if you're trying to
connect to a remote WMS, on this MSDN page  :
http://msdn2.microsoft.com/en-us/library/ms741994.aspx

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
TRSDOS - 31 Jan 2008 21:36 GMT
Something else to look at is the permissions for the path used for "TEMP";
had similar issue with TEMP=%SystemRoot%\TEMP and the account used for
creating the object; also check your own value for TEMP if running using your
credentials.

Best Regards,

> >Hi
> >
[quoted text clipped - 49 lines]
> Digital Media MVP : 2004-2007
> http://mvp.support.microsoft.com/mvpfaqs
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.