首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未将对象引用设置为Microsoft.Exchange.Transporter.InternetProxy.GetWebProxy(IReportProgress报告中的对象实例)

未将对象引用设置为Microsoft.Exchange.Transporter.InternetProxy.GetWebProxy(IReportProgress报告中的对象实例)
EN

Stack Overflow用户
提问于 2011-01-20 22:51:32
回答 1查看 2.7K关注 0票数 0

我正在尝试调用Set-MSOnlineUserPassword cmdlet ( Microsoft Online Services Migration Tools的一部分),以便从在Windows Server2003 SP2上的Network Service identity下运行的web应用程序重置BPOS用户密码。抛出以下异常:

代码语言:javascript
复制
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Exchange.Transporter.InternetProxy.GetWebProxy(IReportProgress report)
   at Microsoft.Exchange.Transporter.Provider.MicrosoftOnline.MicrosoftOnlineSessionContext.GetAWSProxy(IReportProgress report)
   at Microsoft.Exchange.Transporter.Provider.MicrosoftOnline.MicrosoftOnlineSessionContext..ctor(ScenarioStep step, ScenarioConfig config)
   at Microsoft.Exchange.Transporter.Provider.MicrosoftOnline.MicrosoftOnlineUserActivator.OpenTargetSession(ScenarioStep step, ScenarioConfig config)
   at Microsoft.Exchange.Transporter.ScenarioDirector.PrepareToExecute()
   at Microsoft.Exchange.Transporter.ScenarioDirector.ConfigureSession(ScenarioConfig config)
   at Microsoft.Exchange.Transporter.PSI.BaseTask.PrepScenario()
   at Microsoft.Exchange.Transporter.PSI.BaseTask.BeginProcessing()
   at Microsoft.Exchange.Transporter.PSI.SetXsMicrosoftOnlineUserPassword.BeginProcessing()
   at System.Management.Automation.Cmdlet.DoBeginProcessing()
   at System.Management.Automation.CommandProcessorBase.DoBegin()

如果我将应用程序池身份帐户更改为使用本地系统,则相同的代码可以正常运行,这样看起来就像是某种权限问题,但在事件日志中没有安全错误。有人知道Network Service帐户缺少的特定权限是什么吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-07-22 10:42:16

已通过使用域帐户而不是本地网络服务帐户来运行应用程序池来解决此问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4748546

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档