By Chan - 2/1/2009
Hi,
I hit error as below. Any ideas? Thank you
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Cannot create an object of type 'System.String[]' from its string representation 'None, Planning, Approved, Rejected, Cancelled, PendingForResubmission, DismissedResubmission, DismissedPlanned, , ' for the 'EnumItemsToOmit' property. Source Error: Line 33: <VfsWeb:BaseComboBox ID="cboStatus" runat="server" ClientInstanceName="cboStatus" EnableClientSideAPI="true" PopulationEnumName="Vfs.Generic.Enums.DocStatusType" PopulationType="Enumeration"
Line 34: EnumItemsToOmit="None, Planning, Approved, Rejected, Cancelled, PendingForResubmission, DismissedResubmission, DismissedPlanned, , "
Line 35: EnumSeparateOccurences="0" Sorted="True" SortDirection="Ascending" TopMostItem-TopMostDescription="Select All" TopMostItem-TopMostValue="All" TopMostItem-TopMostDropDown="0">
|
By Trent L. Taylor - 2/2/2009
It looks like you are trying to populate a web combo using the SF Enum population logic. Obviously this is a highly used interface, so I would be curious if other properties are set (which I saw something in the stack trace mentioning the EnumItemsToOmit) and if you just allow the combo to populate the enum without any additional settings does it fail, etc. The first thing I would verifiy is that the enum will properly load without any omissions, etc. If so, start working backwards until you know where the point of failure is coming from and then we can go from there.
|
By Chan - 2/3/2009
Hi,
I hit the error only if I have specify value for EnumItemsToOmit properties. I will hit the error even though I just have ONE value, e.g. EnumItemsToOmit="None, ," or EnumItemsToOmit="None"
Please advice. Thank you
|
By Trent L. Taylor - 2/3/2009
We will set this up to see if it is reproducable. Thanks.
|
By Chan - 2/3/2009
Hi,
I have found out that, if I use the SF dll from my development machine (compiled using SF source code, copy manually to deployment folder) it will works. However, it doesn't if I use the dll from my build machine (installed using Strataframe Setup. I also recompile SF source code at build machine but still the same.
Any ideas? FYI, I didn't activate license for my build machine as it is used for deployment only but not development.
|
By Chan - 2/3/2009
Hi,
FYI, even though I have activate the license at build server, it still the same.
|
By Chan - 2/5/2009
Hi,
I found that once I ship Microfour.Strataframe.Extensibility assembly then the problem go away. I know that this dll should not required.
Any ideas this happen? I have Constants.CD_WebLocalizationDesigner used for Attribute.
Please advice. Thank you
|
By Trent L. Taylor - 2/6/2009
Hmmm....I will have to check this out. Go ahead and distribute that assembly so that you can move forward. It is obfuscated and will not cause a problem, but I will try to determine why this is causing an issue. I have a developer scheduled to work on this and get this setup. Thanks for the information.
|
|