字符串格式不对解决办法

字符串格式不对void Session_Start(object sender, EventArgs e){// 在新会话启动时运行的代码Application

字符串格式不对
void Session_Start(object sender, EventArgs e) 
  {
  // 在新会话启动时运行的代码
  Application.Lock();
  Application["online"] = Convert.ToInt32(Application["online"]) + 1;
  Application["total"] = Convert.ToInt32(Application["total"]) + 1;
  Application.UnLock();
  }
就是那个红色的老是报错 说字符串格式不对 ,应该怎么写的啊,急哦

[解决办法]
Application["total"]的值不是数字