Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0103: The name 'myConnection45' does not exist in the current context

Source Error:


Line 536:try
Line 537:        {
Line 538:            myConnection45 = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["App"].ConnectionString);
Line 539:            strCmd45 = "Insert into xPartsRequest (Name, Crtd_DateTime, Status, Problem, Notes, MFG, Model, EmailAddress, SerialNbr, PartNbr, Descr, LocationOnMachine) values (@RequestingUser, GETDATE(), @Queue, @Problem, @Notes, @ManufID, @ModelID, @EmailAddress, @SerialNbr, @PartNbr, @Descr, @LocationOnMachine); select scope_identity();";
Line 540:            myCommand11 = new SqlCommand(strCmd45, myConnection45);

Source File: c:\Web\InetPub\DotNet Applications\Dev\PartsRequest.aspx.cs    Line: 538







Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4654.0