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

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,652)