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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (76,017)