I've just deployed some code and database to a new server and I'm getting a YSOD. The code works fine on all the development workstations it's installed on and on two other servers that it has been deployed to.
I'm using CMS 6.0.530.0 on Windows 2003 R2 64Bit with SQL 2005 SP3 64Bit.
The error is as follows. Any ideas?
Server Error in '/' Application.
Must declare the scalar variable "@ID".
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: Must declare the scalar variable "@ID".
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.
I've just deployed some code and database to a new server and I'm getting a YSOD. The code works fine on all the development workstations it's installed on and on two other servers that it has been deployed to.
I'm using CMS 6.0.530.0 on Windows 2003 R2 64Bit with SQL 2005 SP3 64Bit.
The error is as follows. Any ideas?
Server Error in '/' Application.
Must declare the scalar variable "@ID".
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: Must declare the scalar variable "@ID".
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:
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618