Facing error in auto generated code

Posts   
 
    
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 14-Mar-2007 04:27:38   

Error 753 The item "ConstantsEnums.cs" was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter.

I am using 2.0 version. General Setting : C# .NET 2.0 SelfServiing

TemplateBinding: SQL Specific .NET2.0

Task ! to Execute: preset : SelfServing.TwoClasses.2005Changed from Add Tasks Button i selected all the check boxes...

and generated code and ended up facing above error

can you plz help me out in this? -Ammit

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 14-Mar-2007 04:59:51   

http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=8157&HighLight=1

It may be from generating selfservicing code into folder which already contained an adapter project. Let us know if this helps.

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 14-Mar-2007 06:22:53   

bclubb wrote:

http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=8157&HighLight=1

It may be from generating selfservicing code into folder which already contained an adapter project. Let us know if this helps.

i think i am doing the right thing only though sending you few details from the generate log report

following things are mentioned in the code generator log in RED color

Task SD.Tasks.Base.ConsumeTDLTemplate Could not find template 'SD_TemplateID'. It is not defined in the templatebindings or is empty. Task SD.Tasks.Base.ConsumeLptTemplate Could not find template 'SD_TemplateID'. It is not defined in any of the bindings specified. Task SD.Tasks.Base.GenerateVSNetProject Could not find template 'SD_TemplateID'. It is not defined in the templatebindings or is empty.

Task group SD.Tasks.Base Task SD.Tasks.Base.ConsumeLptTemplate Could not find template 'SD_TemplateID'. It is not defined in any of the bindings specified. Task SD.Tasks.Base.ConsumeTDLTemplate Could not find template 'SD_TemplateID'. It is not defined in the templatebindings or is empty. Task SD.Tasks.Base.CreateAFolder Directory 'C:\Projects\LLBL\src\Data\Batch.\FolderName' created/preserved successfully. Task group SD.Tasks.Base.GenericTaskGroup Task SD.Tasks.Base.GenerateVSNetProject Could not find template 'SD_TemplateID'. It is not defined in the templatebindings or is empty.

Task SD.Tasks.SelfServicing.VsNetProjectFileCreator Could not find template 'SD_VsNet2003Template'. It is not defined in the templatebindings or is empty.

FYI the settings are still the same as i mentioned in my first post..

will be looking forward to your response thanx Ammit

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 14-Mar-2007 08:11:33   

Just to execlude this possibility, would you please generate the code into a new empty folder, create a new VS solution, add the newly created projects and build.

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 14-Mar-2007 17:12:13   

Walaa wrote:

Just to execlude this possibility, would you please generate the code into a new empty folder, create a new VS solution, add the newly created projects and build.

ok i deleted everything in that folder and deleted the whole project and had it regenerated. and same issue.. what i did not delete yet is the LLBL project. i think this should be fine as i am still using the settings mentioned in the first post , to generate the code

thanx Ammit

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 14-Mar-2007 17:37:47   

Please check the following threads: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=8628 http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7047

Hope one of them contains a solution to your problem.

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 14-Mar-2007 21:11:23   

Walaa wrote:

Please check the following threads: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=8628 http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7047

Hope one of them contains a solution to your problem.

i am deleting the VS Project every single time i generate the new code.. but the LLBLProject is still the same..i will try creating new LLBLProject with 2.0 and see if the problem still persists...

will update you about the status on the same plz keep this alive

-Ammit

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 15-Mar-2007 09:10:07   

I'll close this thread for now, and when you reply it will be automatically re-opened. Good Luck

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 15-Mar-2007 22:20:08   

Walaa wrote:

I'll close this thread for now, and when you reply it will be automatically re-opened. Good Luck

i still have only one version of LLBL on my machine.. though i changed few stuffs in the settings which asks LLBLGenerator to clean up the project before generating Code.. and somehow that worked for me.. sorry to say but i think i still can't buy on that issue cry ...but somehow...it is working by enabling this option.. will ping you if i run into issues again wink

till then Happy working with LLBLGen Pro 2.0 smile

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 16-Mar-2007 22:03:17   

Walaa wrote:

I'll close this thread for now, and when you reply it will be automatically re-opened. Good Luck

HIT a road block again when i ran Generate code through LLBLPro2.0 An error window popped up with following stack trace

-----[Core exception]-------------------- at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) at System.Xml.XmlTextReaderImpl.ParseEndElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at System.Xml.XmlDocument.set_InnerXml(String value) at SD.LLBLGen.Pro.TaskPerformers.ProjectFileCreator.AlterProjectFileContents(StringBuilder outputText, IGenerator executingGenerator, Boolean removeCurrentFileNodes, String fullPath, TargetVersion versionToTarget) at SD.LLBLGen.Pro.TaskPerformers.ProjectFileCreator.Perform(IGenerator executingGenerator, ITask taskDefinition, Dictionary2 parameters) at SD.LLBLGen.Pro.ApplicationCore.Tasks.Task.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.GeneratorCore.Generator.Start(ITaskGroup tasksToExecute, Project projectDefinition, Language languageToUse, Platform platformToUse, List1 templateBindingsToUse, String templateGroupToUse, ApplicationConfiguration configurationSettings) at SD.LLBLGen.Pro.Gui.Forms.MainWindow.StartGeneratorProcess()

i have enabled cleanup project = true

the rest of the config params for generating code are still the same as they used to be...

i am stuck again... FYI i am deleting the project file as well... [having that flag = true should do the same for me as well though]

will be waiting rfor your resposne

Ammit

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 16-Mar-2007 22:07:16   

Ammit wrote:

Walaa wrote:

I'll close this thread for now, and when you reply it will be automatically re-opened. Good Luck

HIT a road block again when i ran Generate code through LLBLPro2.0 An error window popped up with following stack trace

-----[Core exception]-------------------- at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) at System.Xml.XmlTextReaderImpl.ParseEndElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at System.Xml.XmlDocument.set_InnerXml(String value) at SD.LLBLGen.Pro.TaskPerformers.ProjectFileCreator.AlterProjectFileContents(StringBuilder outputText, IGenerator executingGenerator, Boolean removeCurrentFileNodes, String fullPath, TargetVersion versionToTarget) at SD.LLBLGen.Pro.TaskPerformers.ProjectFileCreator.Perform(IGenerator executingGenerator, ITask taskDefinition, Dictionary2 parameters) at SD.LLBLGen.Pro.ApplicationCore.Tasks.Task.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.GeneratorCore.Generator.Start(ITaskGroup tasksToExecute, Project projectDefinition, Language languageToUse, Platform platformToUse, List1 templateBindingsToUse, String templateGroupToUse, ApplicationConfiguration configurationSettings) at SD.LLBLGen.Pro.Gui.Forms.MainWindow.StartGeneratorProcess()

i have enabled cleanup project = true

the rest of the config params for generating code are still the same as they used to be...

i am stuck again... FYI i am deleting the project file as well... [having that flag = true should do the same for me as well though]

will be waiting rfor your resposne

Ammit

to add more to the tally... i had follwing stuffs generated in the Project File [which are quite confusing atelast to me]

<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <ProjectType>Local</ProjectType> <ProductVersion>8.0.50727</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{52363F5C-5FEA-40CD-A210-67AFD5731068}</ProjectGuid> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ApplicationIcon> </ApplicationIcon> <AssemblyKeyContainerName> </AssemblyKeyContainerName> <AssemblyName>Avalara.AvaTax.Data.Bpo</AssemblyName> <AssemblyOriginatorKeyFile> </AssemblyOriginatorKeyFile> <DefaultClientScript>JScript</DefaultClientScript> <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> <DefaultTargetSchema>IE50</DefaultTargetSchema> <DelaySign>false</DelaySign> <OutputType>Library</OutputType> <RootNamespace>Avalara.AvaTax.Data.Bpo</RootNamespace> <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> <StartupObject> </StartupObject> <FileUpgradeFlags> </FileUpgradeFlags> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <OutputPath>\bin\Debug</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> <ConfigurationOverrideFile> </ConfigurationOverrideFile> <DefineConstants>DEBUG;TRACE</DefineConstants> <DocumentationFile> </DocumentationFile> <DebugSymbols>true</DebugSymbols> <FileAlignment>4096</FileAlignment> <NoStdLib>false</NoStdLib> <NoWarn> </NoWarn> <Optimize>false</Optimize> <RegisterForComInterop>false</RegisterForComInterop> <RemoveIntegerChecks>false</RemoveIntegerChecks> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> <WarningLevel>4</WarningLevel> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <OutputPath>\bin\Release</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> <ConfigurationOverrideFile> </ConfigurationOverrideFile> <DefineConstants>TRACE</DefineConstants> <DocumentationFile> </DocumentationFile> <DebugSymbols>false</DebugSymbols> <FileAlignment>4096</FileAlignment> <NoStdLib>false</NoStdLib> <NoWarn> </NoWarn> <Optimize>true</Optimize> <RegisterForComInterop>false</RegisterForComInterop> <RemoveIntegerChecks>false</RemoveIntegerChecks> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> <Reference Include="SD.LLBLGen.Pro.DQE.SqlServer.NET11, Version=1.0.2004.2, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27"> <SpecificVersion>False</SpecificVersion> <HintPath>......\vendor\bin\SD.LLBLGen.Pro.DQE.SqlServer.NET11.dll</HintPath> </Reference> <Reference Include="SD.LLBLGen.Pro.ORMSupportClasses.NET11, Version=1.0.2004.2, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27"> <SpecificVersion>False</SpecificVersion> <HintPath>......\vendor\bin\SD.LLBLGen.Pro.ORMSupportClasses.NET11.dll</HintPath> </Reference> <Reference Include="System"> <Name>System</Name> </Reference> <Reference Include="System.Data"> <Name>System.Data</Name> </Reference> <Reference Include="System.EnterpriseServices"> <Name>System.EnterpriseServices</Name> </Reference> <Reference Include="System.Xml"> <Name>System.XML</Name> </Reference> </ItemGroup> <ItemGroup> <Compile Include="CollectionClasses\SerCollection.cs" /> <Compile Include="CollectionClasses\SerErrorCollection.cs" /> <Compile Include="CollectionClasses\WorksheetStatusCollection.cs" /> <Compile Include="CollectionClasses\WorksheetPaymentTypeCollection.cs" /> <Compile Include="CollectionClasses\TransmissionStatusCollection.cs" /> <Compile Include="CollectionClasses\TransmissionAuditCollection.cs" /> <Compile Include="CollectionClasses\WorksheetLineCollection.cs" /> <Compile Include="CollectionClasses\WorksheetPaymentCollection.cs" /> <Compile Include="CollectionClasses\SstConfigCollection.cs" /> <Compile Include="CollectionClasses\WorksheetCollection.cs" /> <Compile Include="CollectionClasses\TransmissionCollection.cs" /> <Compile Include="CollectionClasses\TransmissionErrorCollection.cs" /> <Compile Include="CollectionClasses\WorksheetBucketCollection.cs" /> <Compile Include="CollectionClasses\WorksheetTypeCollection.cs" /> <Compile Include="DaoClasses\SerDAO.cs" /> <Compile Include="DaoClasses\SerErrorDAO.cs" /> <Compile Include="DaoClasses\WorksheetStatusDAO.cs" /> <Compile Include="DaoClasses\WorksheetPaymentTypeDAO.cs" /> <Compile Include="DaoClasses\TransmissionStatusDAO.cs" /> <Compile Include="DaoClasses\TransmissionAuditDAO.cs" /> <Compile Include="DaoClasses\WorksheetLineDAO.cs" /> <Compile Include="DaoClasses\WorksheetPaymentDAO.cs" /> <Compile Include="DaoClasses\SstConfigDAO.cs" /> <Compile Include="DaoClasses\WorksheetDAO.cs" /> <Compile Include="DaoClasses\TransmissionDAO.cs" /> <Compile Include="DaoClasses\TransmissionErrorDAO.cs" /> <Compile Include="DaoClasses\WorksheetBucketDAO.cs" /> <Compile Include="DaoClasses\WorksheetTypeDAO.cs" /> <Compile Include="DaoClasses\TypedListDAO.cs" /> <Compile Include="EntityBaseClasses\SerEntityBase.cs" /> <Compile Include="EntityBaseClasses\SerErrorEntityBase.cs" /> <Compile Include="EntityBaseClasses\WorksheetStatusEntityBase.cs" /> <Compile Include="EntityBaseClasses\WorksheetPaymentTypeEntityBase.cs" /> <Compile Include="EntityBaseClasses\TransmissionStatusEntityBase.cs" /> <Compile Include="EntityBaseClasses\TransmissionAuditEntityBase.cs" /> <Compile Include="EntityBaseClasses\WorksheetLineEntityBase.cs" /> <Compile Include="EntityBaseClasses\WorksheetPaymentEntityBase.cs" /> <Compile Include="EntityBaseClasses\SstConfigEntityBase.cs" /> <Compile Include="EntityBaseClasses\WorksheetEntityBase.cs" /> <Compile Include="EntityBaseClasses\TransmissionEntityBase.cs" /> <Compile Include="EntityBaseClasses\TransmissionErrorEntityBase.cs" /> <Compile Include="EntityBaseClasses\WorksheetBucketEntityBase.cs" /> <Compile Include="EntityBaseClasses\WorksheetTypeEntityBase.cs" /> <Compile Include="EntityClasses\SerEntity.cs" /> <Compile Include="EntityClasses\SerErrorEntity.cs" /> <Compile Include="EntityClasses\WorksheetStatusEntity.cs" /> <Compile Include="EntityClasses\WorksheetPaymentTypeEntity.cs" /> <Compile Include="EntityClasses\TransmissionStatusEntity.cs" /> <Compile Include="EntityClasses\TransmissionAuditEntity.cs" /> <Compile Include="EntityClasses\WorksheetLineEntity.cs" /> <Compile Include="EntityClasses\WorksheetPaymentEntity.cs" /> <Compile Include="EntityClasses\SstConfigEntity.cs" /> <Compile Include="EntityClasses\WorksheetEntity.cs" /> <Compile Include="EntityClasses\TransmissionEntity.cs" /> <Compile Include="EntityClasses\TransmissionErrorEntity.cs" /> <Compile Include="EntityClasses\WorksheetBucketEntity.cs" /> <Compile Include="EntityClasses\WorksheetTypeEntity.cs" /> <Compile Include="FactoryClasses\DaoFactory.cs" /> <Compile Include="FactoryClasses\EntityFactories.cs" /> <Compile Include="FactoryClasses\EntityFieldFactory.cs" /> <Compile Include="FactoryClasses\EntityFieldsFactory.cs" /> <Compile Include="FactoryClasses\PredicateFactory.cs" /> <Compile Include="FactoryClasses\PropertyDescriptorFactory.cs" /> <Compile Include="FactoryClasses\SortClauseFactory.cs" /> <Compile Include="HelperClasses\DbUtils.cs" /> <Compile Include="HelperClasses\DbUtilsComPlus.cs" /> <Compile Include="HelperClasses\ResultsetFields.cs" /> <Compile Include="HelperClasses\Transaction.cs" /> <Compile Include="HelperClasses\TransactionComPlus.cs" /> <Compile Include="HelperClasses\TypeDefaultValue.cs" /> <Compile Include="RelationClasses\SerRelations.cs" /> <Compile Include="RelationClasses\SerErrorRelations.cs" /> <Compile Include="RelationClasses\WorksheetStatusRelations.cs" /> <Compile Include="RelationClasses\WorksheetPaymentTypeRelations.cs" /> <Compile Include="RelationClasses\TransmissionStatusRelations.cs" /> <Compile Include="RelationClasses\TransmissionAuditRelations.cs" /> <Compile Include="RelationClasses\WorksheetLineRelations.cs" /> <Compile Include="RelationClasses\WorksheetPaymentRelations.cs" /> <Compile Include="RelationClasses\SstConfigRelations.cs" /> <Compile Include="RelationClasses\WorksheetRelations.cs" /> <Compile Include="RelationClasses\TransmissionRelations.cs" /> <Compile Include="RelationClasses\TransmissionErrorRelations.cs" /> <Compile Include="RelationClasses\WorksheetBucketRelations.cs" /> <Compile Include="RelationClasses\WorksheetTypeRelations.cs" /> <Compile Include="StoredProcedureCallerClasses\ActionProcedures.cs" /> <Compile Include="StoredProcedureCallerClasses\RetrievalProcedures.cs" /> <Compile Include="ValidatorClasses\SerValidator.cs" /> <Compile Include="ValidatorClasses\SerErrorValidator.cs" /> <Compile Include="ValidatorClasses\WorksheetStatusValidator.cs" /> <Compile Include="ValidatorClasses\WorksheetPaymentTypeValidator.cs" /> <Compile Include="ValidatorClasses\TransmissionStatusValidator.cs" /> <Compile Include="ValidatorClasses\TransmissionAuditValidator.cs" /> <Compile Include="ValidatorClasses\WorksheetLineValidator.cs" /> <Compile Include="ValidatorClasses\WorksheetPaymentValidator.cs" /> <Compile Include="ValidatorClasses\SstConfigValidator.cs" /> <Compile Include="ValidatorClasses\WorksheetValidator.cs" /> <Compile Include="ValidatorClasses\TransmissionValidator.cs" /> <Compile Include="ValidatorClasses\TransmissionErrorValidator.cs" /> <Compile Include="ValidatorClasses\WorksheetBucketValidator.cs" /> <Compile Include="ValidatorClasses\WorksheetTypeValidator.cs" /> <Compile Include="AssemblyInfo.cs" /> <Compile Include="ConstantsEnums.cs" /> <None Include="App.config" /> <AppDesigner Include="Properties\" /> <Compile Include="DaoClasses\SerErrorDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="FactoryClasses\EntityFieldsFactory.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\WorksheetStatusCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\TransmissionErrorValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\WorksheetPaymentTypeEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\WorksheetLineEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\WorksheetPaymentValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\TransmissionCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\SerEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\SerErrorCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\WorksheetTypeEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\WorksheetStatusRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\TransmissionStatusEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\TransmissionDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="FactoryClasses\DaoFactory.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\SerErrorValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\WorksheetTypeValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\SstConfigEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\WorksheetPaymentTypeCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\TransmissionEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="FactoryClasses\EntityFieldFactory.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\WorksheetBucketValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\TransmissionAuditCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\TransmissionStatusDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="FactoryClasses\SortClauseFactory.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\WorksheetStatusEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\WorksheetPaymentRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\TransmissionAuditRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\SerCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\TypedListDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\TransmissionEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\TypeDefaultValue.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\WorksheetBucketRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\WorksheetEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\WorksheetPaymentCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\WorksheetPaymentTypeValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\SerDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\FieldInfoProvider.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\WorksheetPaymentEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <None Include="App.config"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </None> <Compile Include="DaoClasses\WorksheetStatusDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\SstConfigEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\InheritanceInfoProvider.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\TransmissionStatusRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\WorksheetTypeRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\SerErrorRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\SerErrorEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ConstantsEnums.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\DbUtilsComPlus.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\TransmissionValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\SerErrorEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\TransmissionErrorDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\SstConfigDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\WorksheetPaymentTypeRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\WorksheetEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\WorksheetLineValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\FieldCreationClasses.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\WorksheetBucketEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\SerRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\WorksheetTypeCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="FactoryClasses\EntityFactories.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\WorksheetPaymentTypeDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\TransmissionErrorEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\WorksheetRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\WorksheetPaymentEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\TransmissionAuditEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\WorksheetBucketEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\ResultsetFields.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\WorksheetPaymentDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\WorksheetValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="FactoryClasses\PredicateFactory.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\WorksheetLineRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\TransmissionAuditEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\WorksheetBucketCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\PersistenceInfoProvider.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\SstConfigRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\WorksheetLineDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="AssemblyInfo.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\SerValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\SstConfigValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\WorksheetDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\WorksheetPaymentTypeEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\WorksheetLineEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\TransmissionAuditValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\SstConfigCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\TransmissionErrorCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\Transaction.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\WorksheetStatusEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\DbUtils.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\SerEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\WorksheetStatusValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\TransmissionErrorEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityBaseClasses\WorksheetTypeEntityBase.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="StoredProcedureCallerClasses\RetrievalProcedures.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\WorksheetBucketDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\TransmissionAuditDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\TransmissionErrorRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\TransmissionStatusCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="DaoClasses\WorksheetTypeDAO.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="ValidatorClasses\TransmissionStatusValidator.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="RelationClasses\TransmissionRelations.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="EntityClasses\TransmissionStatusEntity.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="StoredProcedureCallerClasses\ActionProcedures.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="HelperClasses\TransactionComPlus.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\WorksheetCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> <Compile Include="CollectionClasses\WorksheetLineCollection.cs"> <GeneratedBy>LLBLGen Pro</GeneratedBy> </Compile> </ItemGroup> <ItemGroup> <Folder Include="Properties\" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> <PropertyGroup> <PreBuildEvent> </PreBuildEvent> <PostBuildEvent> </PostBuildEvent> </PropertyGroup> </Project>

aaah i am LOST Nowconfused confused Ammit

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 16-Mar-2007 22:29:42   

Ammit wrote:

Walaa wrote:

I'll close this thread for now, and when you reply it will be automatically re-opened. Good Luck

i still have only one version of LLBL on my machine.. though i changed few stuffs in the settings which asks LLBLGenerator to clean up the project before generating Code.. and somehow that worked for me.. sorry to say but i think i still can't buy on that issue cry ...but somehow...it is working by enabling this option.. will ping you if i run into issues again wink

till then Happy working with LLBLGen Pro 2.0 smile

You must have read my above two posts... now another issue... i have been deleting stuffs from the file system throwing the existing LLBL project for quite a while now... i created LLBL Project from scratch.. created teh VS2005 project through LLBL from scratch as well... and guess what...

same duplicate entries issue everything unser EntityBaseClasses folder had 3 entries for the same in the project file [ so i have to sit and delete the two unnecessary entries MANUALLY] same was the case with Collection classes

i have dulicate entries for assemblyinfo.cs and constantenum.cs as well... burnt my energy / time and everything...

looks like something is wrong in here.. am i doing something really silly? if it is the case then i shoud get the similar issues every single time... but the way the project file gets generated is different every single time...

no idea what is going wrong in here...

can some one REALLY have a look at this?

-Ammit

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 17-Mar-2007 02:14:49   

Do you have any of the code in source control or set to read-only at any time?

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 17-Mar-2007 02:19:11   

bclubb wrote:

Do you have any of the code in source control or set to read-only at any time?

Noway.. to get rid of all these annoying stuffs i have created an isolated solution and separate project even i threw the old LLBL project and creating it from scratch...

deleting everything from the file syste, before generating the new code... i sat infront of Project XML file for half an hour and traced down each and every duplicate entries and finally got that compiled... but i have half a dozen projects to be done...and cant afford to do that EVER

i will send you more funny project xml file generated by LLBL as and when i come across... untill we find the real solution for this problem disappointed

-Ammit

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 17-Mar-2007 03:13:00   

bclubb wrote:

Do you have any of the code in source control or set to read-only at any time?

FYI I just added a project file as an attachment to this thread.. and still struggling with the same issue... eagerly waiting for your response disappointed disappointed disappointed disappointed disappointed -Ammit

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 17-Mar-2007 13:06:52   

Ammit wrote:

Error 753 The item "ConstantsEnums.cs" was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter.

I am using 2.0 version. General Setting : C# .NET 2.0 SelfServiing

TemplateBinding: SQL Specific .NET2.0

Task ! to Execute: preset : SelfServing.TwoClasses.2005Changed from Add Tasks Button i selected all the check boxes...

WHY did you check all the checkboxes? This adds all tasks again, so also for files which are already in your tasklist.

Select the original preset, selfservicing 2 classes and generate your code in a new folder. Then, ONLY add the tasks you want to add, not 'just all tasks'.

Frans Bouma | Lead developer LLBLGen Pro
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 17-Mar-2007 17:47:53   

Otis wrote:

Ammit wrote:

Error 753 The item "ConstantsEnums.cs" was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter.

I am using 2.0 version. General Setting : C# .NET 2.0 SelfServiing

TemplateBinding: SQL Specific .NET2.0

Task ! to Execute: preset : SelfServing.TwoClasses.2005Changed from Add Tasks Button i selected all the check boxes...

WHY did you check all the checkboxes? This adds all tasks again, so also for files which are already in your tasklist.

Select the original preset, selfservicing 2 classes and generate your code in a new folder. Then, ONLY add the tasks you want to add, not 'just all tasks'.

ok i will try that now.. i wasnt getting the factory classes that way so i just went ahead and selected everything and decided to figure out what do i not need .... whatever... i will try that in a couple of hours and will update here..

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 22-Mar-2007 23:01:51   

Ammit wrote:

Otis wrote:

Ammit wrote:

Error 753 The item "ConstantsEnums.cs" was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter.

I am using 2.0 version. General Setting : C# .NET 2.0 SelfServiing

TemplateBinding: SQL Specific .NET2.0

Task ! to Execute: preset : SelfServing.TwoClasses.2005Changed from Add Tasks Button i selected all the check boxes...

WHY did you check all the checkboxes? This adds all tasks again, so also for files which are already in your tasklist.

Select the original preset, selfservicing 2 classes and generate your code in a new folder. Then, ONLY add the tasks you want to add, not 'just all tasks'.

ok i will try that now.. i wasnt getting the factory classes that way so i just went ahead and selected everything and decided to figure out what do i not need .... whatever... i will try that in a couple of hours and will update here..

ok that fixes the issue but i dont understand that why would there be multiple entiries in the project file...

by default it does not generate the predicatefactory class [if i select selfservicing 2 class] so i just went ahead and added everything..and ran in to these issues.. wahtever i have a template now which i can use for creating the project ... and that solves my problem as well thanx