Is your SQL working fine? Its a DNN error and the portal is not able to connect SQL Server. Try resetting password for SQL user DotnetPanelPortal and update the connection string under Portal's web.config and see if it helps.
Thanks
Rubal Jain // Email - Rubal @ Rubal [dot] Net
Windows Server Setup, Configuration, Troubleshooting, Basic Security & Hardening
DotNetPanel - Helm Control Panel Setup, Installation, Configuration, Troubleshooting
Server setup includes installation of PHP, Perl, Python, ASP.Net Frameworks, SQL Express, MySQL etc and complete integration with control panel.
Authorised DNP Reseller. Get 20% Discount on all DNP Licenses
Authorised SmarterTools, Declude, SimpleDNS (JHSoft), Gene6 FTP, Helicon, Kayako, Icewarp Merak, MailEnable, Deerfield Reseller.