Hi,
I am getting below error when click on timecard entry in new company in Business portal as shown in below screen-shot. Kindly let me know is there any setup need to be done in business portal for adding new company and provide solution to solve below issue. here SSLSS is the database name of new company.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'SSLSS..Hrm_Proxy'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[SqlException (0x80131904): Invalid object name 'SSLSS..Hrm_Proxy'.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2843 System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +127 System.Data.SqlClient.SqlDataReader.get_MetaData() +112 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6338580 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6339649 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +424 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +211 System.Data.SqlClient.SqlCommand.ExecuteReader() +117 Microsoft.BusinessFramework.Data.Storage.EntityQueryResultSet.Read(SqlCommand sqlCommand) +71 [GeneralDatabaseException: Invalid object name 'SSLSS..Hrm_Proxy'.] Microsoft.BusinessFramework.Data.Storage.StorageUtil.ThrowStorageException(SqlException sqlException) +777 Microsoft.BusinessFramework.Data.Storage.EntityQueryResultSet.Read(SqlCommand sqlCommand) +321 Microsoft.BusinessFramework.Data.SqlEntity.ExecuteReadResultSet(EntityBasedSelectStatementBuilder builder, Boolean isCallBackSingleton) +570 Microsoft.BusinessFramework.Data.SqlEntity.ExecuteRead(EntityCriteria criteria, EntityPersistenceOptions options, Boolean isCallBackSingleton) +447 Microsoft.BusinessFramework.Data.EntityBroker.GetHandler(Object genericParams) +65 Microsoft.BusinessFramework.Data.Internal.TransactionServicesNative.BeginSupported(CallThroughMethod callThroughMethod, Object passThroughParams) +268 Microsoft.BusinessFramework.Data.TransactionServices.EstablishContext(TransactionOption requestedOption, IsolationLevel isoLevel, Type targetClass, CallThroughMethod callbackClass, Object passThroughParams) +594 Microsoft.BusinessFramework.Data.EntityBroker.Get(EntityCriteria criteria, EntityPersistenceOptions options, ActivationReturnArgs& returnValue) +386 Microsoft.BusinessFramework.Security.EntitySecurityService.Get(EntityCriteria criteria, EntityPersistenceOptions options, ActivationReturnArgs& returnValue) +135 Microsoft.BusinessFramework.Entity.EntityVirtualCollectionService.Get(EntityCriteria criteria, EntityPersistenceOptions options, ActivationReturnArgs& returnValue) +52 Microsoft.BusinessFramework.Entity.EntityVirtualCollection.Get(EntityCriteria criteria, EntityPersistenceOptions options, Boolean throwException) +295 Microsoft.BusinessFramework.Entity.EntityVirtualCollection.Find(WhereExpression whereExpression) +248 Microsoft.Dynamics.Hrm.Entity.ProxyVirtualCollection.FindByEmployeeIDAndProxyType(String employeeID, ProxyType proxyType) +139 Microsoft.Dynamics.Hrm.Utilities.ProxyController.QuickIsEmployeeAProxy(Employee employee, ProxyType proxyType) +91 Microsoft.Dynamics.Hrm.Utilities.ProxyController.IsEmployeeAProxy(Employee employee, ProxyType proxyType) +44 Microsoft.Dynamics.Hrm.Attendance.TimecardController.GetTimecardEntryRole(String roleString) +231 Microsoft.Dynamics.Hrm.UI.Attendance.EmployeeTimeOffFrame.Page_Load(Object sender, EventArgs e) +56 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Control.OnLoad(EventArgs e) +132 System.Web.UI.Control.LoadRecursive() +66 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428 |
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156