If your MET/TEAM website is functional and Customer Portal is giving you an Error 500 you can reference your MET/TEAM setup in IIS for configuring Customer Portal.
First, you want to use the following causes of Error 500 article to troubleshoot found here: Common Causes of Error 500 in MET/TEAM
Compare the settings mentioned in this article between MET/TEAM and Customer Portal and if there are differences, you should be changing Customer Portal to match MET/TEAM.
Next you want to ensure the Serial Number value from MET/TEAM web.config file matches exactly the Customer Portal web.config file, updating Customer Portal if there is a mismatch.
- On the computer hosting the MET/TEAM website, use a text editor such as Notepad to open the MET/TEAM web,config file, typically located here:
C:\inetpub\wwwroot\METTEAM\web.config
- Locate the line near the top that begins with:
<add key="SerialNumber" value="
- Copy the entire line
- On the computer hosting the Customer Portal website, use a text editor such as Notepad to open the MET/TEAM web,config file, typically located here:
C:\inetpub\wwwroot\CustomerPortal\web.config - Locate the same row that begins with:
<add key="SerialNumber" value="
- Paste the copied row from MET/TEAM above the existing row in the Customer Portal file
- Compare the "SerialNumber" GUID values and if they are different, delete the row originally in the Customer Portal file, leaving the one copied from the MET/TEAM web.config file and then save the Customer Portal file.
- If the two serial numbers matched, close the Customer Portal file and don't save the changes, this was not the issue, move to the next topic.
- If the SerialNumber GUID values were different and you saved the Customer Portal Web.config file, use IIS Manager to restart the Customer Portal website and also recycle the CustomerPortal application pool.
- Re-test Customer Portal and see if the error is resolved.
Check is IIS Manager since many Error 500 messages are the result of bad Connection Strings.
- Open IIS Manager on your computer
- Expand the tree on the top left and click on the MET/TEAM website and in the panel in the center click on “Connection Strings” icon shown in the screen capture below:
- Locate and double click on the "MetTrack_Dev" item and copy the "Custom" value in the text box.
- Click "Cancel" (Important not to click OK here, we don't want to cause the MET/TEAM website to restart)
- Back in the tree on the top left and click on the MET/TEAM Customer Portal website
- In the panel in the center, locate and double click on "Connection Strings" icon
- Locate and double click on the "MetTrack_Dev" item and paste the value copied from METTEAM's settings.
NOTE: Remove the ";App=MET/CAL" text from the connection string in Customer Portal - Click OK
- Manually restart the Customer Portal application pool and then the Customer Portal website
NOTE: Explained in this article How to Stop, Start or Restart the MET/TEAM website in IIS
NOTE: Don't reset MET/TEAM just the Customer Portal app pool and site. - Test Customer Portal again and see if it now works.