Hello,
I have trouble getting the parser to work, parse function always raises "System.Resources.MissingManifestResourceException".
The used assemblies are signed 14.1.2014.1.1000 - all used assemblies in our project are from the same ./Bin - Signed/20141_WinForms_CLR4x_Signed.zip
We have been using Infragistics in a huge app for many years including the Infragistics4.Shared.v14.1 .Win.v14.1 and a handfull of .Win.Ultra...v14.1 assamblies
Now I addedInfragistics4.Documents.TextDocument.v14.1Infragistics4.Documents.TextDocument.TSql.v14.1
and tried to get the parser to work, without success. I made the following testcode to see if it was a problem with our app, but the same error can be reproduced with it:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Infragistics.Documents.Parsing;
namespace ParserDemo{
class Program{
static void Main(string[] args){
System.Globalization.CultureInfo.DefaultThreadCurrentUICulture = System.Globalization.CultureInfo.GetCultureInfo("en-US");TSqlLanguage language = new TSqlLanguage();Infragistics.Documents.TextDocument document = new Infragistics.Documents.TextDocument();document.Language = language;document.InitializeText("Select * from table");document.Parse();
}
Exception:
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Infragistics.Documents.TSql.strings.resources" was correctly embedded or linked into assembly "Infragistics4.Documents.TextDocument.TSql.v14.1" at compile time, or that all the satellite assemblies required are loadable and fully signed.
StackTrace:
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)at Infragistics.Shared.SR.GetString(String name, CultureInfo culture)at Infragistics.Shared.SR.GetStringHelper(Boolean allowCustomizedStrings, CultureInfo culture, String name, Object[] args)at Infragistics.Shared.SR.GetString(CultureInfo culture, String name, Object[] args)at Infragistics.Shared.SR.GetString(String name, Object[] args)at Infragistics.Documents.Parsing.TSqlLanguage.GetString(String name, Object[] args)at Infragistics.Documents.Parsing.TSqlLanguage.GetString(String name)at Infragistics.Documents.Parsing.TSqlLanguage.GetErrorAlias(Symbol symbol)at Infragistics.Documents.Parsing.GLRParser.AttachErrorsForExpectedSymbol(SyntaxNodeInternal& node, Symbol expected, Int32 offsetBeforeLeadingIgnoredContent, Int32 relativeOffsetInNode)at Infragistics.Documents.Parsing.GLRParser.CreateExpectedNodeEdgeData(Symbol expected, Int32 expectedSymbolOffset, Int32 relativeOffsetInNodeForErrors)at Infragistics.Documents.Parsing.ErrorHandling.ErrorStrategyBase.InsertExpectedSymbol(GLRParser parser, Stack& stack, Symbol expected, Int32 offsetBeforeLeadingIgnoredContent, Int32 relativeOffsetInNodeForErrors)at Infragistics.Documents.Parsing.ErrorHandling.ErrorStrategyBase.CompleteAndReduceProduction(GLRParser parser, Stack& stack, Production production, Int16 position, Int32 offsetBeforeLeadingIgnoredContent, Int32 relativeOffsetInNodeForErrors)at Infragistics.Documents.Parsing.ErrorHandling.ErrorStrategyBase.ReductionPath.PerformReductions(GLRParser parser, Stack& stack, Int32 offsetBeforeLeadingIgnoredContent, Int32 relativeOffsetInNodeForErrors)at Infragistics.Documents.Parsing.ErrorHandling.SynchronizerSetErrorStrategy.TryRepairStackWithSynchronizerToken(GLRParser parser, Stack& stack, Dictionary`2 synchronizerSetsByStateId)at Infragistics.Documents.Parsing.ErrorHandling.SynchronizerSetErrorStrategy.RepairParser(GLRParser parser)at Infragistics.Documents.Parsing.ErrorHandling.ListErrorStrategy.RepairParser(GLRParser parser)at Infragistics.Documents.Parsing.GLRParser.RepairParseGraph()at Infragistics.Documents.Parsing.GLRParser.ShiftCurrentTerminalOnAllStacks(Boolean tryErrorReductionsOnFailure)at Infragistics.Documents.Parsing.GLRParser.GLRParseCurrentToken()at Infragistics.Documents.Parsing.GLRParser.ParseCurrentToken()at Infragistics.Documents.Parsing.GLRParser.ParseTokens()at Infragistics.Documents.Parsing.GLRParser.Parse(TextDocumentSnapshot snapshot, SyntaxTree existingParseTree)at Infragistics.Documents.TextDocument.ProcessParse()at Infragistics.Documents.TextDocument.Parse()
Hi,
Thank you for posting in our forums.
I was also able to reproduce this exception, so I have logged this in our internal issue tracking system with ID of 187803. I have also opened a private case (CAS-150135-Z6L9T8) for you in order to make sure that you will be notified as soon as this issue is fixed. You can view your active cases from the following link:
https://ko.infragistics.com/my-account/support-activity
As a workaround for now you can use the WPF version of the assemblies, which don’t have this issue.
Is there any progress with this issue? I am having a similar problem with the "Infragistics4.Win.CodedUITest.UIA.VS12.v16.1":
Test Name: CodedUITestMethod1Test FullName: CodedUITestProject2.CodedUITest1.CodedUITestMethod1Test Source: c:\MES\TFS\GeneralProjects\TFS services\CodedUITestProject2\CodedUITestProject2\CodedUITest1.cs : line 27Test Outcome: FailedTest Duration: 0:00:00.4580323
Result Message: Test method CodedUITestProject2.CodedUITest1.CodedUITestMethod1 threw exception: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Infragistics.Win.CodedUITest.UIA.v16.1.strings.resources" was correctly embedded or linked into assembly "Infragistics4.Win.CodedUITest.UIA.VS12.v16.1" at compile time, or that all the satellite assemblies required are loadable and fully signed.
Result StackTrace: at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName) at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) at Infragistics.Shared.SR.GetString(String name, CultureInfo culture) at Infragistics.Shared.SR.GetStringHelper(Boolean allowCustomizedStrings, CultureInfo culture, String name, Object[] args) at Infragistics.Shared.SR.GetString(CultureInfo culture, String name, Object[] args) at Infragistics.Shared.SR.GetString(CultureInfo culture, String name) at Infragistics.Shared.SR.GetString(String name) at Infragistics.Shared.UltraProductInfo.DisplayPrompt() at Infragistics.Shared.UltraLicenseProvider.GetDesignTimeLicense(Type type, Object instance, Boolean allowExceptions, UltraLicenseBaseAttribute licenseAttribute) at Infragistics.Shared.UltraLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) at Infragistics.Win.CodedUITest.UIA.v16_1.ActionFilterManager.UltraDesignTimeLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) at System.ComponentModel.LicenseManager.Validate(Type type, Object instance) at Infragistics.Win.CodedUITest.UIA.v16_1.TestControls.UltraUiaComboBox..ctor(UITestControl container, UITestControl originalTestControl) at Infragistics.Win.CodedUITest.UIA.v16_1.TestControls.UltraUiaComboBox..ctor(UITestControl container) at CodedUITestProject2.UIMap.tryT() in c:\MES\TFS\GeneralProjects\TFS services\CodedUITestProject2\CodedUITestProject2\UIMap.cs:line 34 at CodedUITestProject2.CodedUITest1.CodedUITestMethod1() in c:\MES\TFS\GeneralProjects\TFS services\CodedUITestProject2\CodedUITestProject2\CodedUITest1.cs:line 29