Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Project Flex Time

Posted on by Microsoft Employee

HI 

hope someone facing this problem before.

and can give me some idea how to solve it.

this problem occur When i change status to completed and save at "Project Flex Time". it will prompt an error.


3568.ErrorProjectFlex02.png 

and here is the error in event viewer.


Error in Event Viewer
Error 1
User = test\user1 Application Message = PFTSummary SaveHeader Application = Microsoft.Dynamics.SL.PMA.PFT Method = Void SaveHeader(System.Object, System.Web.UI.WebControls.CommandEventArgs) Error = System.SystemException: Error writing communicator message: profile name is not valid at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataTable dataTable) at Microsoft.Dynamics.SL.PMA.PFT.PFTShared.CommunUpdate(String connStr, String destination, String parm1, String key, String name1, String type, String caption1, String subject, String exetype1, String msg_text) at Microsoft.Dynamics.SL.PMA.PFT.PFTSummary.SaveHeader(Object source, CommandEventArgs e)

Error 2
profile name is not valid at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataTable dataTable) at Microsoft.Dynamics.SL.PMA.PFT.PFTShared.CommunUpdate(String connStr, String destination, String parm1, String key, String name1, String type, String caption1, String subject, String exetype1, String msg_text) (issued for user: user1)


Thank You

 

*This post is locked for comments

  • Verified answer
    RE: Project Flex Time

    Hello NG,

    The error is being generated by Communicator when attempting to send an email when the timecard is set to Completed.  Are you using databasemail?

    Check your db mail setup.  You can refer to this blog if you need help:  

    blog.sqlauthority.com/.../sql-server-2008-configure-database-mail-send-email-from-sql-database

    Make sure the profile name is valid in the trigger used for databasemail.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans