Otis wrote:
PLease enable DQE tracing (see manual: troubleshooting and debugging) and post the query that's executed. Also post the runtime lib build nr (see 'guidelines thread')
Method Exit: CreateSelectDQ
Method Enter: CreateSelectDQ
Method Enter: CreateSelectDQ
Generated Sql query:
Query: SELECT [WPIMSV2].[dbo].[tbl_Contractor].[CONTRACTOR_ID], [WPIMSV2].[dbo].[tbl_Contractor].[COMPANY_NAME], [WPIMSV2].[dbo].[tbl_Contractor].[STREET_ADDRESS], [WPIMSV2].[dbo].[tbl_Contractor].[STATE_ID], [WPIMSV2].[dbo].[tbl_Contractor].[ZIP_CODE], [WPIMSV2].[dbo].[tbl_Contractor].[DATE_CREATED], [WPIMSV2].[dbo].[tbl_Contractor].[PHONE], [WPIMSV2].[dbo].[tbl_Contractor].[FAX], [WPIMSV2].[dbo].[tbl_Contractor].[isAPPROVED] AS [IsAPPROVED], [WPIMSV2].[dbo].[tbl_Contractor].[isSub] AS [IsSub], [WPIMSV2].[dbo].[tbl_Contractor].[CITY], [WPIMSV2].[dbo].[tbl_Contractor].[DATE_APPROVED], [WPIMSV2].[dbo].[tbl_Contractor].[DATE_DISAPPROVED] FROM [WPIMSV2].[dbo].[tbl_Contractor] WHERE ( [WPIMSV2].[dbo].[tbl_Contractor].[CONTRACTOR_ID] = @CONTRACTOR_ID1)
Parameter: @CONTRACTOR_ID1 : Int32. Length: 0. Precision: 10. Scale: 0. Direction: Input. Value: 1.
Method Exit: CreateSelectDQ
The thread 0x1560 has exited with code 0 (0x0).
Method Enter: CreateSelectDQ
Method Enter: CreateSelectDQ
Generated Sql query:
Query: SELECT [WPIMSV2].[dbo].[tbl_Contractor_User].[UserId], [WPIMSV2].[dbo].[tbl_Contractor_User].[CONTRACTOR_ID], [WPIMSV2].[dbo].[tbl_Contractor_User].[isADMIN] AS [IsADMIN], [WPIMSV2].[dbo].[tbl_Contractor_User].[PHONE], [WPIMSV2].[dbo].[tbl_Contractor_User].[FAX], [WPIMSV2].[dbo].[tbl_Contractor_User].[CELL_PHONE], [WPIMSV2].[dbo].[tbl_Contractor_User].[FIRST_NAME], [WPIMSV2].[dbo].[tbl_Contractor_User].[LAST_NAME], [WPIMSV2].[dbo].[tbl_Contractor_User].[SSN], [WPIMSV2].[dbo].[tbl_Contractor_User].[POSITION_TYPE_ID], [WPIMSV2].[dbo].[tbl_Contractor_User].[DATE_APPROVED], [WPIMSV2].[dbo].[tbl_Contractor_User].[DATE_DISAPPROVED], [WPIMSV2].[dbo].[tbl_Contractor_User].[BADGE_ID], [WPIMSV2].[dbo].[tbl_Contractor_User].[REASON] FROM [WPIMSV2].[dbo].[tbl_Contractor_User] WHERE ( [WPIMSV2].[dbo].[tbl_Contractor_User].[UserId] = @UserId1)
Parameter: @UserId1 : Guid. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 2c40f638-e738-4c00-9ad4-0707879e38cb.
Method Exit: CreateSelectDQ
Method Enter: CreateUpdateDQ(4)
Method Enter: CreateSingleTargetUpdateDQ(4)
Generated Sql query:
Query: UPDATE [WPIMSV2].[dbo].[tbl_Contractor_User] SET [DATE_APPROVED]=@DATE_APPROVED,[DATE_DISAPPROVED]=@DATE_DISAPPROVED WHERE ( [WPIMSV2].[dbo].[tbl_Contractor_User].[UserId] = @UserId1)
Parameter: @DATE_APPROVED : DateTime. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 1/1/0001 12:00:00 AM.
Parameter: @DATE_DISAPPROVED : DateTime. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 4/29/2008 10:08:02 AM.
Parameter: @UserId1 : Guid. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 2c40f638-e738-4c00-9ad4-0707879e38cb.
Method Exit: CreateSingleTargetUpdateDQ(4)
Method Exit: CreateUpdateDQ(4)
A first chance exception of type 'SD.LLBLGen.Pro.ORMSupportClasses.ORMQueryExecutionException' occurred in SD.LLBLGen.Pro.ORMSupportClasses.NET20.DLL