![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a strange problem. What was working fine on all machines, now does not work at all on one of three machines. As far as I can tell all three machines have exactly the same configuration and identical hardware. We are running: Microsoft SQL Server 2000 - 8.00.818 (Intel X86) May 31 2003 16:08:15 Copyright (c) 1988-2003 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2) (It is really service pack 3, but the select @@version produces the above on all three machines). The machine with the problem can not use "IF" statements that have variables in them in ActiveX scripts. I.e. IF 1 = 1 THEN --Works Fine Dim Var1, Var2 Var1 = 1 Var 2 = 1 IF Var1 = Var2 THEN -- Throws the Type MisMatch error. What's really strange is it doesn't do it in all DTS packages however recreating a package with the problem just duplicates the problem, but only on one of the three machines. Has anyone seen or heard of anything like this? I have uninstalled and reinstalled SQL Server, changed the packages to talk to a different server while running on client but always with the same result. TIA, James Knowlton |
#3
| |||
| |||
|
|
I have a strange problem. What was working fine on all machines, now does not work at all on one of three machines. As far as I can tell all three machines have exactly the same configuration and identical hardware. We are running: Microsoft SQL Server 2000 - 8.00.818 (Intel X86) May 31 2003 16:08:15 Copyright (c) 1988-2003 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2) (It is really service pack 3, but the select @@version produces the above on all three machines). The machine with the problem can not use "IF" statements that have variables in them in ActiveX scripts. I.e. IF 1 = 1 THEN --Works Fine Dim Var1, Var2 Var1 = 1 Var 2 = 1 IF Var1 = Var2 THEN -- Throws the Type MisMatch error. What's really strange is it doesn't do it in all DTS packages however recreating a package with the problem just duplicates the problem, but only on one of the three machines. Has anyone seen or heard of anything like this? I have uninstalled and reinstalled SQL Server, changed the packages to talk to a different server while running on client but always with the same result. TIA, James Knowlton |
#4
| |||
| |||
|
|
You do know you have a space between var and 2 right? -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know |
#5
| |||
| |||
|
|
I have a strange problem. What was working fine on all machines, now does not work at all on one of three machines. As far as I can tell all three machines have exactly the same configuration and identical hardware. We are running: Microsoft SQL Server 2000 - 8.00.818 (Intel X86) May 31 2003 16:08:15 Copyright (c) 1988-2003 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2) (It is really service pack 3, but the select @@version produces the above on all three machines). The machine with the problem can not use "IF" statements that have variables in them in ActiveX scripts. I.e. IF 1 = 1 THEN --Works Fine Dim Var1, Var2 Var1 = 1 Var 2 = 1 IF Var1 = Var2 THEN -- Throws the Type MisMatch error. What's really strange is it doesn't do it in all DTS packages however recreating a package with the problem just duplicates the problem, but only on one of the three machines. Has anyone seen or heard of anything like this? I have uninstalled and reinstalled SQL Server, changed the packages to talk to a different server while running on client but always with the same result. TIA, James Knowlton |
![]() |
| Thread Tools | |
| Display Modes | |
| |