未设置对象引用,添加新的webpart时出现ERROR

时间:2022-09-25 19:05:46

I wanted to try tag cloud in a SharePoint server I maintain, I grabbed Nuage from www.codeplex.com and when I try to install , I get the below error

我想在我维护的SharePoint服务器中尝试标记云,我从www.codeplex.com抓取Nuage,当我尝试安装时,我得到以下错误

C:>stsadm -o addsolution -filename TagCloud.Sharepoint.Solution.wsp

C:> stsadm -o addsolution -filename TagCloud.Sharepoint.Solution.wsp

Object reference not set to an instance of an object. TagCloud.Sharepoint.Solution.wsp: The Solution installation failed

你调用的对象是空的。 TagCloud.Sharepoint.Solution.wsp:解决方案安装失败

3 个解决方案

#1


To determine if this is a permission issues, try this stsadm command to enumerate your sites:

要确定这是否是权限问题,请尝试使用此stsadm命令枚举您的站点:

stsadm -o enumsites -url http://<YOUR URL>

If you get a login failed message, then you will need to run your stsadm command with a user account that has necessary permissions. The farm account is a good bet.

如果您收到登录失败消息,则需要使用具有必要权限的用户帐户运行stsadm命令。农场帐户是一个不错的选择。

#2


Did you tried Installing it as Farm Admin sometime you get this error when you are running it as non farm Admin. Also make sure the Timer Job is running

您是否尝试将其作为场管理员安装,当您将其作为非场管理员运行时出现此错误。还要确保定时器作业正在运行

#3


Also be sure you have access to the sharepoint content database, because addsolution does work there too.

还要确保您可以访问sharepoint内容数据库,因为addsolution也可以在那里工作。

#1


To determine if this is a permission issues, try this stsadm command to enumerate your sites:

要确定这是否是权限问题,请尝试使用此stsadm命令枚举您的站点:

stsadm -o enumsites -url http://<YOUR URL>

If you get a login failed message, then you will need to run your stsadm command with a user account that has necessary permissions. The farm account is a good bet.

如果您收到登录失败消息,则需要使用具有必要权限的用户帐户运行stsadm命令。农场帐户是一个不错的选择。

#2


Did you tried Installing it as Farm Admin sometime you get this error when you are running it as non farm Admin. Also make sure the Timer Job is running

您是否尝试将其作为场管理员安装,当您将其作为非场管理员运行时出现此错误。还要确保定时器作业正在运行

#3


Also be sure you have access to the sharepoint content database, because addsolution does work there too.

还要确保您可以访问sharepoint内容数据库,因为addsolution也可以在那里工作。