部署步骤“回收IIS应用程序池”中出错:对象引用未设置为对象的实例。 [英] Error occurred in deployment step 'Recycle IIS Application Pool': Object reference is not set to an instance of a object.

查看:136
本文介绍了部署步骤“回收IIS应用程序池”中出错:对象引用未设置为对象的实例。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好, 

当我从VS2012进行部署时,我收到上述错误。 

When I do a deploy from VS2012 I get the error above. 

规格:  ;

Specifications: 

- 用户是Farm Admin

- 用户是网站集管理员

- 添加用户完全控制Web应用程序用户策略

- 用户是内容db的db_owner,配置db,admin内容db

- 禁用用户访问控制

- 用户是本地管理员

- 用户是WSS_ADMIN_WPG的成员

- 主机名已添加到主机文件中。

- User is Farm Admin
- User is Site Collection Admin
- User is added with full control to the Web application user policy
- User is db_owner of the content db, config db, admin content db
- User Access Control is disabled
- User is Local administrator
- User is a member of WSS_ADMIN_WPG
- host name is added to the host file.

有人有解决方案?

推荐答案

嗨丹尼斯,你能查看提到的网址是否正确。还要检查你是否在没有错误的情况下进行成功构建..

Hi Dennis, Can you check the web url mentioned is correct or not. also check whether you are getting a sucessfull build without errors..

还要检查当前用户是解决方案部署到的站点上的网站集管理员吗?

also check the current user is a site collection administrator on the site which the solution is deploying to ?

问候  Roy Joyson

请记住将您的问题标记为"已回答"/"投票有帮助"如果这可以解决/帮助您解决问题。

Regards  Roy Joyson
Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.


这篇关于部署步骤“回收IIS应用程序池”中出错:对象引用未设置为对象的实例。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆