无法更新自定义Web部件 [英] Unable to update custom Web Part

查看:53
本文介绍了无法更新自定义Web部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用自定义Web部件已有大约10年的历史了.我除尘了VS,并为我们的SP 2013迁移对其进行了更新(我们有点落后于时代).我无权访问服务器,但与管理员通电话.他们获取了新的WSP文件并安装了 它,但旧的Web部件仍在网站上使用. Web部件是对现有版本的升级. GUID是相同的,名称是相同的.

We have been using a custom web part for about 10 years. I dusted off VS and updated it for our SP 2013 migration (we are a bit behind the times). I don't have access to the servers, but was on the phone with the admins. They took the new WSP file and installed it, but the old web part was still in use on the sites. The web part is an upgrade to the existing version. The GUID is the same, the name is the same.

在我的开发服务器上,该Web部件可以毫无问题地从Visual Studio部署.在生产服务器上安装PowerShell不会出现任何错误.在PowerShell中,一切看起来都很棒.但是,网站上使用的Web部件不是 更新.我通过查看页面源验证了这一点.该站点上仍在使用已删除的变量.签入"Web部件";在设置下显示实际上已安装了新版本.

On my development server, the web part deploys from Visual studio with no issues. There aren't any errors from the PowerShell install on the production server. From PowerShell everything looks great. However, the web part in use on the sites is not updated. I verified this by viewing the source of the page. A variable that was removed is still in use on the site. Checking in "Web Parts" under settings shows that the new version was in fact installed.

唯一的其他提示是,我无法从自己的位置检测到IIS重置.我正在刷新站点,但没有得到IIS重置典型的20秒钟左右的延迟.管理员正在远程访问服务器,无法验证 如果运行了IIS重置.

The only other seaming clue is that I was unable to detect an IIS reset from my location. I was refreshing the site, and did not get the 20 or so second delay typical of a IIS reset. The administrator was accessing the server remotely and was unable to verify if an IIS Reset ran.

有什么想法吗?这让我感到困惑.我以为管理员正在使用旧的wsp文件,但他向我保证他正在使用新的wsp文件.

Any ideas? It is baffling me. I thought the admin was using the old wsp file, but he assures me he is using the new one..

Steven E Hargett

Steven E Hargett

推荐答案

Hi

您保留解决方案ID吗?

Did you keep the solution id?

据我了解,您需要更新解决方案(.wsp),管理员需要安装解决方案. (代替旧的WSP,仍然有一个WSP.)

From my understanding, you need to update the solution(.wsp) and the admin need to install the solution. (replacing the old WSP, there is still one WSP for that.)


这篇关于无法更新自定义Web部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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