cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nijo
Helper I
Helper I

PCF Error: Length cannot be less than zero. Parameter name: length

Hi All,

 

 I have created a PCF control and it works fine in the test harness. When I pack the control and import to CDS the import is failing with error  "Import Solution Failed: CustomControl with name failed to import with error: Length cannot be less than zero. Parameter name: length" .

Error code : "0x80160000".

 

has anyone faced this issue, please advise.

 

Many Thanks,

Nijo

2 ACCEPTED SOLUTIONS

Accepted Solutions

How are you deploying it in CDS? Using cdsproj or pac pcf push? If cdsproj, can you try pac pcf push? And share the cdsproj file xml content


Power Maverick | Microsoft Business Application MVP

View solution in original post

Hi Danz,

 

Pac Pfc Push is working, now cdsproj is also started working after deleting and recreating the cds project.

Nijo

View solution in original post

2 REPLIES 2

How are you deploying it in CDS? Using cdsproj or pac pcf push? If cdsproj, can you try pac pcf push? And share the cdsproj file xml content


Power Maverick | Microsoft Business Application MVP

Hi Danz,

 

Pac Pfc Push is working, now cdsproj is also started working after deleting and recreating the cds project.

Nijo

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,875)