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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,265)