by xing » Thu Jan 14, 2010 1:03 pm
The old environment still works fine. I'm trying to make a procedure for moving the database. The os en sql versions are the same.
With sql profiler I don't see anything strange, but I'm not that good with sql. In the trace I get the following:
Existing application:
exec sp_executesql N'UPDATE Applications SET
name=@P1,enabled=@P2,package_file=@P3,osd_file=@P4,version=@P5,icon_file=@P6,lic_group_id=@P7,server_group_id=@P8,description=@P9,app_group_id=@P10,package_id=@P11
WHERE (app_id=@P12)',N'@P1 nvarchar(64),@P2 bit,@P3 nvarchar(512),@P4 nvarchar(512),@P5 nvarchar(16),@P6
nvarchar(512),@P7 int,@P8 int,@P9 nvarchar(512),@P10 int,@P11 int,@P12 int',N'CitaVista
2009',1,NULL,N'\\vm-lt00857\CONTENT\W0503.100\CitaVista 2009
4.4.0.0.osd',N'4.4.0.01',N'\\vm-lt00857\CONTENT\W0503.100\CitaVista_2009_NED_W0503 Icons\CitaVista 2009
4.4.0.0.ico',NULL,2,N'',491,489,1262
New (copy) application:
exec sp_executesql N'UPDATE Applications SET
name=@P1,enabled=@P2,package_file=@P3,osd_file=@P4,version=@P5,icon_file=@P6,lic_group_id=@P7,server_group_id=@P8,description=@P9,app_group_id=@P10,package_id=@P11
WHERE (app_id=@P12)',N'@P1 nvarchar(64),@P2 bit,@P3 nvarchar(512),@P4 nvarchar(512),@P5 nvarchar(16),@P6
nvarchar(512),@P7 int,@P8 int,@P9 nvarchar(512),@P10 int,@P11 int,@P12
int',N'test',1,NULL,N'\\Vm-lt00857\CONTENT\W0503.100\CitaVista 2009
4.4.0.0.osd',N'2',N'\\Vm-lt00857\CONTENT\W0503.100\CitaVista_2009_NED_W0503 Icons\CitaVista 2009
4.4.0.0.ico',NULL,2,N'test1',338,302,1278
So the change get applied with the new application and I get an error with the existing application.