Environment:
- Win2k3 x86 ENT ENU SP2.
- VS2005
- Katmai Samples 090228
Steps:
1. Open and build the solution “..\Engine\Data Access\odbc\ODBC_largeUDT\cpp\ODBC_largeUDT.sln" via vs2005.
2. Enable the CLR of Katmai.
3. Double click to setup.sql from “..\Samples\Engine\Data Access\odbc\ODBC_largeUDT\scripts”.
4. Click Connect button to connect server.
5. Execute the setup.sql script.
Expectation:
The script should be execute successfully without error.
Actual Results:
The script is executed failed with error:
Msg 6576, Level 16, State 3, Line 2
Type 'LargeStringUDT' in assembly 'LargeStringUDT' is not public.
Msg 6597, Level 16, State 1, Line 2
CREATE TYPE failed.
Msg 2715, Level 16, State 7, Line 2
Column, parameter, or variable #2: Cannot find data type LargeStringUDT.
Msg 243, Level 16, State 1, Line 2
Type LargeStringUDT is not a defined system type.
Msg 208, Level 16, State 1, Line 2
Invalid object name 'dbo.LargeStringUDTs'.
Comments:
If define the class LargeStringUDT of LargeStringUDT project as a public class, the sample can work well.