web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Internal server error ...
Power Pages
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:
I have the same question (0)
  • Neil Phelan Profile Picture
    6 on at

    Hi @antonhh 

     

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

     

    Thanks Neil.

  • antonhh Profile Picture
    35 on at

    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

    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

    Brilliant!!

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 70 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard