Solved

What is this error "Permission Denied - Error code 800A0046  ?

Posted on 2010-11-16
3
1,170 Views
Last Modified: 2012-05-10
Whenever i execute this code in in the sbs server 2008 i am getting following error
Permission Denied "GetObject"  and error code 800A0046  Source Microsoft vb script run time error.

But in the xp  it is not showing any error message. i  know that it is related to permission but i do not know what permission does it need and how to set it up the permission  in sbs 2008.

VB Script -code
------------------------------
Set oFSO = CreateObject("Scripting.FileSystemObject")
 strFile = Inputbox("Enter the path of the   file to Configure", "File")
Set testW3SVC = GetObject("IIS://LocalHost/W3SVC")
 Set testRoot = GetObject(testW3SVC.AdsPath & "/1/ROOT")
 set IISVirtualDir = Nothing
Set IISVirtualDir = GetObject(testRoot.ADsPath )
0
Comment
Question by:Varshini
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
CCSDSK1 earned 500 total points
Comment Utility
The Managed By: in the Group Information tab of a Distribution Group is for informational purposes. It does not give a user / group to manage the distribution group.

You need to run the Add-ADPermission cmdlet to add this permission:

Add-ADPermission -Identity <name of distribution group> -User <name of user> -AccessRights WriteProperty -Properties “Member”

This will then allow the specified user to manage the distribution group membership.
0
 

Author Comment

by:Varshini
Comment Utility
can you please  explain me in detail.......
0
 

Author Closing Comment

by:Varshini
Comment Utility
okay
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now