Welcome to our forum!
Is the error message you getting like this?
The PST file that Outlook is trying to access appears to be missing, corrupted, or with an invalid path, which could be due to various reasons such as accidental deletion, disk failure, or improper configuration.
Please check that the default path can find the data file and fix it if needed.
Go to Start > Control Panel > Mail > Data files > Click on Add > Give a name to the data file and click on Ok > Choose the data file which you have created > Click on Set as default. Start Outlook and check if it helps. Then remove the old .pst after creating the new.
Hope this helps!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.