找回密码
 立即注册

QQ登录

只需一步,快速开始

wahaha

社区贡献组

44

主题

101

帖子

2723

积分

社区贡献组

积分
2723

活字格认证

wahaha
社区贡献组   /  发表于:2013-1-29 09:01  /   查看:6383  /  回复:3
I had downloaded Active Analysis Trial version. When I run the web demo, I saw the error message: 未能找到任何适合于指定的区域性或非特定区域性的资源。请确保在编译时已将“#l5o.#Av?.resources”正确嵌入或链接到程序集“GrapeCity.ActiveAnalysis”,或者确保所有需要的附属程序集都可加载并已进行了完全签名。 行 20: pivotView.DataSource = DataSourceManager.ReadDataSource(docElement); 行 21: if (!pivotView.DataSource.IsConnected) 行 22: pivotView.DataSource.Connect(); 行 23: 行 24: using (XmlNodeReader reader = new XmlNodeReader(docElement)) 源文件: c:\Users\Public\Documents\GrapeCity\ActiveAnalysis\2.1.863.0\WebGallery\App_Code\SamplesImpl.cs 行: 22 堆栈跟踪: [MissingManifestResourceException: 未能找到任何适合于指定的区域性或非特定区域性的资源。请确保在编译时已将“#l5o.#Av?.resources”正确嵌入或链接到程序集“GrapeCity.ActiveAnalysis”,或者确保所有需要的附属程序集都可加载并已进行了完全签名。] System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) +7683310 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 #l5o.#Ave.#E8h() +47 GrapeCity.ActiveAnalysis.Core.Data.PivotDataProvider.EnsureConnected() +185 GrapeCity.ActiveAnalysis.Core.Data.PivotDataProvider.ConnectImpl() +29 GrapeCity.ActiveAnalysis.Core.Data.PivotDataProvider.ConnectRelational(String customCode, String[] codeModules, String[] classNames, String[] instanceNames, String connectionString, String queryString, String connectionType, String schemaFile, Int32 commandTimeOut) +248 GrapeCity.ActiveAnalysis.Core.Data.PivotDataProvider.ConnectRelational(String customCode, String[] codeModules, String[] classNames, String[] instanceNames, String connectionString, String queryString, String connectionType, String schemaFile) +60 GrapeCity.ActiveAnalysis.DataSources.XmlDataSource.ConnectImpl() +1003 GrapeCity.ActiveAnalysis.DataSources.DataSourceBase.Connect() +111 GrapeCity.ActiveAnalysis.Samples.SamplesImpl.LoadLayout(XmlNode docElement, PivotView pivotView) in c:\Users\Public\Documents\GrapeCity\ActiveAnalysis\2.1.863.0\WebGallery\App_Code\SamplesImpl.cs:22 Samples.SimpleForm.LoadLayout(String layout) in c:\Users\Public\Documents\GrapeCity\ActiveAnalysis\2.1.863.0\WebGallery\Samples\SingleControlForm.ascx.cs:50 WebSampler._Default.TreeView1_SelectedNodeChanged(Object sender, EventArgs e) in c:\Users\Public\Documents\GrapeCity\ActiveAnalysis\2.1.863.0\WebGallery\Default.aspx.cs:135 System.Web.UI.WebControls.TreeView.OnSelectedNodeChanged(EventArgs e) +111 System.Web.UI.WebControls.TreeView.RaisePostBackEvent(String eventArgument) +570 System.Web.UI.WebControls.TreeView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

代发贴

3 个回复

倒序浏览
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-1-29 16:09:00
沙发
请问,你创建一个新的工程,然后添加ActiveAnalysis可以正常运行吗,我想确认一下是产品安装的问题,还是环境的问题。
回复 使用道具 举报
linqqq2001
新手上路   /  发表于:2013-1-29 16:45:00
板凳
安装应该没什么问题,添加ActiveAnalysis可以正常运行,之前的错误是WebGallery Demo报出来的,而且前两个例子没有问题,第三个和后面的Demo都报这个错误,开发环境 Win7 64bit vs2012
初步感觉是不是和被混淆了资源有关系?
回复 使用道具 举报
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-1-29 19:29:00
地板
回复 3楼linqqq2001的帖子

你是在运行红框中的示例出错还是运行蓝框中的示例出错,我这边运行两个程序都没有出现这样的错误哦。


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部