更改资源文件中未更改的值 [英] Changing value in resource file not being reflected

查看:71
本文介绍了更改资源文件中未更改的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的.resx文件位于每个Web应用程序虚拟目录中。我有一个按钮事件,它从此.resx文件中读取值并显示一条消息。如果我在
FARM中的所有现有服务器上的给定Web应用程序IIS文件夹中手动更改数字,则在我有按钮事件的SharePoint站点中,该值不会提升。 

I have .resx file located in each web application virtual directory. I have a button event which reads a value from this .resx file and displays a message. If I change the number manually in a given web application IIS folder on all existing servers in the FARM, the value is not picking up in SharePoint site where I have button event. 

我想,一旦配置了网站,价值就存储在数据库中并创建了一个新的网站集并激活了该功能,新网站也存在同样的问题。 

I thought, once the site is provisioned the value is stored in database and created a new site collection and activated the feature, still the same issue with new site as well. 

如果我修改了解决方案并重新部署了包,那么.resx文件中的值会被修改,我是否会陷入同样的​​问题?如何在不重新部署解决方案的情况下修改.resx值。谢谢!

If I modify the solution and redeploy the package then the value in .resx file gets modified and Am I fall into same issue? How can I modify the .resx value with out redeploying the solution. Thanks!

推荐答案

尝试仅回收IIS应用程序池。
Try to only recycle the IIS application pool.


这篇关于更改资源文件中未更改的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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