Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:




Line 1194:            else

Line 1195:            {

Line 1196:                sqlfield_text = sqlfield_text + _Items[i].Text + ",";

Line 1197:                sqlvalues = sqlvalues + "'" + _Items[i].Value + "'" + ",";

Line 1198:            }

Source File: C:\webroot\69park5\sexWeb\code\B_comm.cs    Line: 1196

Stack Trace:




[NullReferenceException: Object reference not set to an instance of an object.]

   B_comm.createSqlAppend(ListItemCollection _Items, String _strtableName) in C:\webroot\69park5\sexWeb\code\B_comm.cs:1196

   msSql.post(Int32& retval, String& errMsg) in C:\webroot\69park5\sexWeb\code\msSql.cs:223

   msSql.writeVisit(String runLocation, HttpRequest _Request, String visit_userid, String visit_user_name, String _pageURL, String js_ip, String author_userid, String _clientID, String _clientInfo) in C:\webroot\69park5\sexWeb\code\msSql.cs:456

   xp03131.Global.Application_BeginRequest(Object sender, EventArgs e) in C:\webroot\69park5\sexWeb\Global.asax.cs:129

   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136

   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +171

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92



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