EnumItemsToOmit


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
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
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

FYI, even though I have activate the license at build server, it still the same.
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
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.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
We will set this up to see if it is reproducable.  Thanks.
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
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
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
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">

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search