a weird phenomenon in RapidWebDev ProductManagement 0.2

Topics: Extension Model
Aug 19, 2010 at 10:14 AM

It is my pleasure to discover RapidWebDev which is a innovative architecture for devoloping web forms and starting study it.
However, when I deploy ProductManagement v0.2 in RapidWebDev v1.52 or v1.51, there is usually a weird phenomenon.
That is shown as following screenshot.
Although you will very busy, I still want you give a solution.
I am looking forward to your answer.


“/”应用程序中的服务器错误。  

 

未能找到任何适合于指定的区域性或非特定区域性的资源。请确保在编译时已将“Resources.ExtensionModel.resources”正确嵌入或链接到程序集“App_GlobalResources”,或者确保所有需要的附属程序集都可加载并已进行了完全签名。  

说明执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 

异常详细信息System.Resources.MissingManifestResourceException: 未能找到任何适合于指定的区域性或非特定区域性的资源。请确保在编译时已将“Resources.ExtensionModel.resources”正确嵌入或链接到程序集“App_GlobalResources”,或者确保所有需要的附属程序集都可加载并已进行了完全签名。

源错误:  

 

行 318:        internal static string Preview { 

行 319:            get {

行 320:                return ResourceManager.GetString("Preview", resourceCulture);

行 321:            }

行 322:        }


源文件D:\ss\RapidWebDev Release 1.51BUG\RapidWebDev.Web\App_GlobalResources\ExtensionModel1.designer.cs    320 

堆栈跟踪: 

 

[MissingManifestResourceException: 未能找到任何适合于指定的区域性或非特定区域性的资源。请确保在编译时已将“Resources.ExtensionModel.resources”正确嵌入或链接到程序集“App_GlobalResources”,或者确保所有需要的附属程序集都可加载并已进行了完全签名。]

   System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) +7679118

   System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) +583

   System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) +583

   System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) +583

   System.Resources.ResourceManager.GetString(String name, CultureInfo culture) +74

   Resources.ExtensionModel.get_Preview() in D:\ss\RapidWebDev Release 1.51BUG\RapidWebDev.Web\App_GlobalResources\ExtensionModel1.designer.cs:320

 

[TargetInvocationException: 调用的目标发生了异常。]

   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0

   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71

   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350

   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29

   System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) +53

   System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) +20

   RapidWebDev.Common.Globalization.GlobalizationKit.FormatResources(String input, MatchCollection matchCollection) +1281

   RapidWebDev.Common.Globalization.GlobalizationKit.ReplaceGlobalizationVariables(String input) +114

   RapidWebDev.UI.WebUtility.ReplaceVariables(String input) +65

   RapidWebDev.UI.DynamicPages.Configurations.BasePanelConfiguration.get_HeaderText() +33

   RapidWebDev.UI.Services.VerticalDynamicPageLayout.ResolveAggregatePanelConfiguration(DynamicPageConfiguration dynamicPageConfiguration) +362

   RapidWebDev.UI.Services.VerticalDynamicPageLayout.CreateGridViewPanel(BasePanelConfiguration panelConfiguration, DynamicPageConfiguration dynamicPageConfiguration) +405

   RapidWebDev.UI.Services.VerticalDynamicPageLayout.Create(DynamicPageConfiguration dynamicPageConfiguration) +253

   RapidWebDev.UI.Services.DynamicPageHandler.CreateHtmlBody(Control htmlContainer) +442

   RapidWebDev.UI.Services.DynamicPageHandler.OnInit(EventArgs e) +209

   System.Web.UI.Control.InitRecursive(Control namingContainer) +333

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

 

 

版本信息: Microsoft .NET Framework 版本:2.0.50727.3615; ASP.NET 版本:2.0.50727.3053

 

Aug 20, 2010 at 2:26 AM

dear all, i need your answer and advise.

Aug 22, 2010 at 5:14 PM

Dear,

It seems that you do'nt have an entry Resource file for key "Preview". There might be two solutions.

1. you add entry against your language for key "Preview" in resource file which is locaed under folder App_GlobalResources. The file name may be "ExtensionModel.zh-CN"

2. you change this line of code directly if you do'nt want to add resource key as follow:-

return ResourceManager.GetString("Preview", resourceCulture);

to

return "something";

 


Aug 23, 2010 at 3:55 AM

It looks the issue having been resolved. Thanks, iamhaider.

Aug 24, 2010 at 3:05 AM

now , i use vs2010 to develop application , and example ProductManage v0.2 have been converted to vs2010 project.

the problem mentioned above have disappeared.

thanks for your reply.