Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Internal server error on lists and forms

(0) ShareShare
ReportReport
Posted on by 35

Hi

 

I am building a Power Pages site and I am using Business Central Virtual Tables (Dataverse) as the data source and everything looks good when I use my developer account to login to view data but when I switch to External User I get the error Internal Server Error.

 

The external user has all the same relevant data, Account, Customer and customerid (custom column used for viewing related data to a customer).

This is what I get when I am logged in as external user:

antonhh_0-1714723559435.png


This external user has both anonymous and authenticated user web roles and the table has these permission setting:

antonhh_1-1714723671748.png

Has anybody had this problem before when using Virtual Tables, I am at a loss here.

Thank you in advance.

Categories:
  • antonhh Profile Picture
    35 on at
    Re: Internal server error on lists and forms

    Brilliant!!

    What happens when you add more contacts to the same BCCustomer2 value to them?
    Any issues with that?

  • Neil Phelan Profile Picture
    6 on at
    Re: Internal server error on lists and forms

    Hi @antonhh 

    Miracellously the internal server error disappeared in the last hour. 

    I then started getting this error.

    Failed to find synthetic relationship attribute in referenced entity: contact, attributeName:crc36_bccustomer2, record id: 2dc415bd-391c-ef11-840a-6045bd8b4f87

     

    My issue was i hadn't added the customer into the new field bccustomer2 in the dataverse. 

    So just edit this record and start typing to link the relevant customer record.

     

    nphelan73_0-1716892718504.png

     

    After that it worked perfectly.

     

  • antonhh Profile Picture
    35 on at
    Re: Internal server error on lists and forms

    I managed to find the reason why it was happening, I am waiting on a fellow coworker to help me with BC side of things to resolve the issue.

    The reason why I got the Internal server error was because the external user I was using did not have a required value in a Custom Lookup Column I had 'BC Customer'
    Screenshot 2024-05-28 091145.png
    The Realtionship in this column was many to one
    Screenshot 2024-05-28 091214.pngWhen I tried to add a customer value "Trey Research" on more than one contact I got a error. By my estimation it must be the relationship that is the reason to my problem.

    It did work fine when I removed the customer from 1 user and added it to the one getting the Internal server error.

    If any expert sees this it would be appreciated to get any feedback on this.

  • Neil Phelan Profile Picture
    6 on at
    Re: Internal server error on lists and forms

    Hi @antonhh 

     

    I am getting the same issue, did you manage to resolve it?

     

    Thanks Neil.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43