Hi,
I am getting below error when click on time card entry -> time off option in GP Business portal - > Employee center. I am getting this issue only on new company but the previous companies were working without any error. Kindly provide a solution. here SSC02 is the database name of new company.
Server Error in '/' Application.
Invalid object name 'SSC02..Hrm_Proxy'.
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 'SSC02..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 'SSC02..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 'SSC02..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.TimecardList.Page_Load(Object sender, EventArgs e) +194 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 |
Version Information: Microsoft .NET Framework Version:2.0.50727.8009; ASP.NET Version:2.0.50727.8010
*This post is locked for comments