Solved

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

Posted on 2010-11-16
3
1,185 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 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Change Exchange 2010 Namespace 6 71
Reconfigure Corporate IP Address Scheme 2 63
Backing up an SBS 2011 system setup under Hyper-V 2 84
dropdownlist in asp.net vb. 3 24
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

752 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