Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-11-16
3
Medium Priority
?
1,209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
CCSDSK1 earned 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
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 show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

704 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