Solved

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

Posted on 2010-11-16
3
1,181 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
ID: 34150042
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
ID: 34151133
can you please  explain me in detail.......
0
 

Author Closing Comment

by:Varshini
ID: 34205635
okay
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

680 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