# Server Error in '/' Application

## Compilation Error

Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.

Compiler Error Message: /tmp/www-data-temp-aspnet-0/32451e4b/App_Web_5fdce0ba_0.cs(60,21) : error CS0037: Cannot convert null to `int' because it is a value type

Source Error:

`
    Line 58:                 System.Resources.ResourceManager rm = CAELMS_TL12.ResourceManager;
    Line 59:                 if ((rm == null)) {
    Line 60:                     return null;
    Line 61:                 }
    Line 62:                 int obj = ((int)(rm.GetObject("a", CAELMS_TL12._culture)));
`

Source File: /tmp/www-data-temp-aspnet-0/32451e4b/App_Web_5fdce0ba_0.cs Line: 60

Show Complete Compilation Source:

`
    Line 1: // ------------------------------------------------------------------------------
    Line 2: //  <autogenerated>
    Line 3: //      This code was generated by a tool.
    Line 4: //      Mono Runtime Version: 2.0.50727.42
    Line 5: //
    Line 6: //      Changes to this file may cause incorrect behavior and will be lost if
    Line 7: //      the code is regenerated.
    Line 8: //  </autogenerated>
    Line 9: // ------------------------------------------------------------------------------
    Line 10:
    Line 11: using System;
    Line 12: using System.Globalization;
    Line 13: using System.Reflection;
    Line 14: using System.Resources;
    Line 15:
    Line 16: namespace Resources {
    Line 17:     using System;
    Line 18:
    Line 19:
    Line 20:     public sealed class CAELMS_TL12 {
    Line 21:
    Line 22:         private static System.Globalization.CultureInfo _culture = null;
    Line 23:
    Line 24:         private static System.Resources.ResourceManager _resourceManager = null;
    Line 25:
    Line 26:         public static System.Resources.ResourceManager ResourceManager {
    Line 27:             get {
    Line 28:                 if ((CAELMS_TL12._resourceManager != null)) {
    Line 29:                     return CAELMS_TL12._resourceManager;
    Line 30:                 }
    Line 31:                 CAELMS_TL12._resourceManager = new System.Resources.ResourceManager("Resources.CAELMS_TL12", typeof(CAELMS_TL12).Assembly);
    Line 32:                 return CAELMS_TL12._resourceManager;
    Line 33:             }
    Line 34:         }
    Line 35:
    Line 36:         public static System.Globalization.CultureInfo Culture {
    Line 37:             get {
    Line 38:                 return CAELMS_TL12._culture;
    Line 39:             }
    Line 40:             set {
    Line 41:                 CAELMS_TL12._culture = value;
    Line 42:             }
    Line 43:         }
    Line 44:
    Line 45:         public static string d {
    Line 46:             get {
    Line 47:                 System.Resources.ResourceManager rm = CAELMS_TL12.ResourceManager;
    Line 48:                 if ((rm == null)) {
    Line 49:                     return null;
    Line 50:                 }
    Line 51:                 string obj = rm.GetString("d", CAELMS_TL12._culture);
    Line 52:                 return obj;
    Line 53:             }
    Line 54:         }
    Line 55:
    Line 56:         public static int a {
    Line 57:             get {
    Line 58:                 System.Resources.ResourceManager rm = CAELMS_TL12.ResourceManager;
    Line 59:                 if ((rm == null)) {
    Line 60:                     return null;
    Line 61:                 }
    Line 62:                 int obj = ((int)(rm.GetObject("a", CAELMS_TL12._culture)));
    Line 63:                 return obj;
    Line 64:             }
    Line 65:         }
    Line 66:
    Line 67:         public static string c {
    Line 68:             get {
    Line 69:                 System.Resources.ResourceManager rm = CAELMS_TL12.ResourceManager;
    Line 70:                 if ((rm == null)) {
    Line 71:                     return null;
    Line 72:                 }
    Line 73:                 string obj = rm.GetString("c", CAELMS_TL12._culture);
    Line 74:                 return obj;
    Line 75:             }
    Line 76:         }
    Line 77:
    Line 78:         public static byte[] b {
    Line 79:             get {
    Line 80:                 System.Resources.ResourceManager rm = CAELMS_TL12.ResourceManager;
    Line 81:                 if ((rm == null)) {
    Line 82:                     return null;
    Line 83:                 }
    Line 84:                 byte[] obj = ((byte[])(rm.GetObject("b", CAELMS_TL12._culture)));
    Line 85:                 return obj;
    Line 86:             }
    Line 87:         }
    Line 88:
    Line 89:         public static string DefaultHost {
    Line 90:             get {
    Line 91:                 System.Resources.ResourceManager rm = CAELMS_TL12.ResourceManager;
    Line 92:                 if ((rm == null)) {
    Line 93:                     return null;
    Line 94:                 }
    Line 95:                 string obj = rm.GetString("DefaultHost", CAELMS_TL12._culture);
    Line 96:                 return obj;
    Line 97:             }
    Line 98:         }
    Line 99:     }
    Line 100: }
    Line 101: namespace Resources {
    Line 102:     using System;
    Line 103:
    Line 104:
    Line 105:     public sealed class CAELMS {
    Line 106:
    Line 107:         private static System.Globalization.CultureInfo _culture = null;
    Line 108:
    Line 109:         private static System.Resources.ResourceManager _resourceManager = null;
    Line 110:
    Line 111:         public static System.Resources.ResourceManager ResourceManager {
    Line 112:             get {
    Line 113:                 if ((CAELMS._resourceManager != null)) {
    Line 114:                     return CAELMS._resourceManager;
    Line 115:                 }
    Line 116:                 CAELMS._resourceManager = new System.Resources.ResourceManager("Resources.CAELMS", typeof(CAELMS).Assembly);
    Line 117:                 return CAELMS._resourceManager;
    Line 118:             }
    Line 119:         }
    Line 120:
    Line 121:         public static System.Globalization.CultureInfo Culture {
    Line 122:             get {
    Line 123:                 return CAELMS._culture;
    Line 124:             }
    Line 125:             set {
    Line 126:                 CAELMS._culture = value;
    Line 127:             }
    Line 128:         }
    Line 129:
    Line 130:         public static string d {
    Line 131:             get {
    Line 132:                 System.Resources.ResourceManager rm = CAELMS.ResourceManager;
    Line 133:                 if ((rm == null)) {
    Line 134:                     return null;
    Line 135:                 }
    Line 136:                 string obj = rm.GetString("d", CAELMS._culture);
    Line 137:                 return obj;
    Line 138:             }
    Line 139:         }
    Line 140:
    Line 141:         public static int a {
    Line 142:             get {
    Line 143:                 System.Resources.ResourceManager rm = CAELMS.ResourceManager;
    Line 144:                 if ((rm == null)) {
    Line 145:                     return null;
    Line 146:                 }
    Line 147:                 int obj = ((int)(rm.GetObject("a", CAELMS._culture)));
    Line 148:                 return obj;
    Line 149:             }
    Line 150:         }
    Line 151:
    Line 152:         public static string c {
    Line 153:             get {
    Line 154:                 System.Resources.ResourceManager rm = CAELMS.ResourceManager;
    Line 155:                 if ((rm == null)) {
    Line 156:                     return null;
    Line 157:                 }
    Line 158:                 string obj = rm.GetString("c", CAELMS._culture);
    Line 159:                 return obj;
    Line 160:             }
    Line 161:         }
    Line 162:
    Line 163:         public static byte[] b {
    Line 164:             get {
    Line 165:                 System.Resources.ResourceManager rm = CAELMS.ResourceManager;
    Line 166:                 if ((rm == null)) {
    Line 167:                     return null;
    Line 168:                 }
    Line 169:                 byte[] obj = ((byte[])(rm.GetObject("b", CAELMS._culture)));
    Line 170:                 return obj;
    Line 171:             }
    Line 172:         }
    Line 173:
    Line 174:         public static string DefaultHost {
    Line 175:             get {
    Line 176:                 System.Resources.ResourceManager rm = CAELMS.ResourceManager;
    Line 177:                 if ((rm == null)) {
    Line 178:                     return null;
    Line 179:                 }
    Line 180:                 string obj = rm.GetString("DefaultHost", CAELMS._culture);
    Line 181:                 return obj;
    Line 182:             }
    Line 183:         }
    Line 184:     }
    Line 185: }
`

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42