Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

413 lines
12 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1991-1993 Microsoft Corporation
  3. Module Name:
  4. alertmsg.h
  5. Abstract:
  6. This file contains the number and text of alert messages.
  7. Author:
  8. Ported LAN Manager 2.0
  9. [Environment:]
  10. User Mode - Win32
  11. [Notes:]
  12. This file is included by lmalert.h
  13. Revision History:
  14. 22-July-1991 ritaw
  15. Converted to NT style.
  16. --*/
  17. #ifndef _ALERTMSG_
  18. #define _ALERTMSG_
  19. //
  20. // ALERT_BASE is the base of alert log codes.
  21. //
  22. #define ALERT_BASE 3000
  23. // Entries between 3000-3050 are full. So, we created ALERT2_BASE
  24. // for future expansion.
  25. //
  26. #define ALERT_Disk_Full (ALERT_BASE + 0)
  27. /*
  28. * Drive %1 is nearly full. %2 bytes are available.
  29. * Please warn users and delete unneeded files.
  30. */
  31. #define ALERT_ErrorLog (ALERT_BASE + 1)
  32. /*
  33. * %1 errors were logged in the last %2 minutes.
  34. * Please review the server's error log.
  35. */
  36. #define ALERT_NetIO (ALERT_BASE + 2)
  37. /*
  38. * %1 network errors occurred in the last %2 minutes.
  39. * Please review the server's error log. The server and/or
  40. * network hardware may need service.
  41. */
  42. #define ALERT_Logon (ALERT_BASE + 3)
  43. /*
  44. * There were %1 bad password attempts in the last %2 minutes.
  45. * Please review the server's audit trail.
  46. */
  47. #define ALERT_Access (ALERT_BASE + 4)
  48. /*
  49. * There were %1 access-denied errors in the last %2 minutes.
  50. * Please review the server's audit trail.
  51. */
  52. #define ALERT_ErrorLogFull (ALERT_BASE + 6)
  53. /*
  54. * The error log is full. No errors will be logged until
  55. * the file is cleared or the limit is raised.
  56. */
  57. #define ALERT_ErrorLogFull_W (ALERT_BASE + 7)
  58. /*
  59. * The error log is 80%% full.
  60. */
  61. #define ALERT_AuditLogFull (ALERT_BASE + 8)
  62. /*
  63. * The audit log is full. No audit entries will be logged
  64. * until the file is cleared or the limit is raised.
  65. */
  66. #define ALERT_AuditLogFull_W (ALERT_BASE + 9)
  67. /*
  68. * The audit log is 80%% full.
  69. */
  70. #define ALERT_CloseBehindError (ALERT_BASE + 10)
  71. /*
  72. * An error occurred closing file %1.
  73. * Please check the file to make sure it is not corrupted.
  74. */
  75. #define ALERT_AdminClose (ALERT_BASE + 11)
  76. /*
  77. * The administrator has closed %1.
  78. */
  79. #define ALERT_AccessShareSec (ALERT_BASE + 12)
  80. /*
  81. * There were %1 access-denied errors in the last %2 minutes.
  82. */
  83. #define ALERT_PowerOut (ALERT_BASE + 20)
  84. /*
  85. * A power failure was detected at %1. The server has been paused.
  86. */
  87. #define ALERT_PowerBack (ALERT_BASE + 21)
  88. /*
  89. * Power has been restored at %1. The server is no longer paused.
  90. */
  91. #define ALERT_PowerShutdown (ALERT_BASE + 22)
  92. /*
  93. * The UPS service is starting shut down at %1 due to low battery.
  94. */
  95. #define ALERT_CmdFileConfig (ALERT_BASE + 23)
  96. /*
  97. * There is a problem with a configuration of user specified
  98. * shut down command file. The UPS service started anyway.
  99. */
  100. #define ALERT_HotFix (ALERT_BASE + 25)
  101. /*
  102. * A defective sector on drive %1 has been replaced (hotfixed).
  103. * No data was lost. You should run CHKDSK soon to restore full
  104. * performance and replenish the volume's spare sector pool.
  105. *
  106. * The hotfix occurred while processing a remote request.
  107. */
  108. #define ALERT_HardErr_Server (ALERT_BASE + 26)
  109. /*
  110. * A disk error occurred on the HPFS volume in drive %1.
  111. * The error occurred while processing a remote request.
  112. */
  113. #define ALERT_LocalSecFail1 (ALERT_BASE + 27)
  114. /*
  115. * The user accounts database (NET.ACC) is corrupted. The local security
  116. * system is replacing the corrupted NET.ACC with the backup
  117. * made on %1 at %2.
  118. * Any updates made to the database after this time are lost.
  119. *
  120. */
  121. #define ALERT_LocalSecFail2 (ALERT_BASE + 28)
  122. /*
  123. * The user accounts database (NET.ACC) is missing. The local
  124. * security system is restoring the backup database
  125. * made on %1 at %2.
  126. * Any updates made to the database after this time are lost.
  127. *
  128. */
  129. #define ALERT_LocalSecFail3 (ALERT_BASE + 29)
  130. /*
  131. * Local security could not be started because the user accounts database
  132. * (NET.ACC) was missing or corrupted, and no usable backup
  133. * database was present.
  134. *
  135. * THE SYSTEM IS NOT SECURE.
  136. *
  137. */
  138. #define ALERT_ReplCannotMasterDir (ALERT_BASE + 30)
  139. /*
  140. *The server cannot export directory %1, to client %2.
  141. * It is exported from another server.
  142. */
  143. #define ALERT_ReplUpdateError (ALERT_BASE + 31)
  144. /*
  145. * The replication server could not update directory %2 from the source
  146. * on %3 due to error %1.
  147. */
  148. #define ALERT_ReplLostMaster (ALERT_BASE + 32)
  149. /*
  150. * Master %1 did not send an update notice for directory %2 at the expected
  151. * time.
  152. */
  153. #define ALERT_AcctLimitExceeded (ALERT_BASE + 33)
  154. /*
  155. * User %1 has exceeded account limitation %2 on server %3.
  156. */
  157. #define ALERT_NetlogonFailedPrimary (ALERT_BASE + 34)
  158. /*
  159. * The primary domain controller for domain %1 failed.
  160. */
  161. #define ALERT_NetlogonAuthDCFail (ALERT_BASE + 35)
  162. /*
  163. * Failed to authenticate with %2, a Windows NT or Windows 2000 Domain Controller for
  164. * domain %1.
  165. */
  166. #define ALERT_ReplLogonFailed (ALERT_BASE + 36)
  167. /*
  168. * The replicator attempted to log on at %2 as %1 and failed.
  169. */
  170. #define ALERT_Logon_Limit (ALERT_BASE + 37)
  171. /* @I *LOGON HOURS %0 */
  172. #define ALERT_ReplAccessDenied (ALERT_BASE + 38)
  173. /*
  174. * Replicator could not access %2
  175. * on %3 due to system error %1.
  176. */
  177. #define ALERT_ReplMaxFiles (ALERT_BASE + 39)
  178. /*
  179. * Replicator limit for files in a directory has been exceeded.
  180. */
  181. #define ALERT_ReplMaxTreeDepth (ALERT_BASE + 40)
  182. /*
  183. * Replicator limit for tree depth has been exceeded.
  184. */
  185. #define ALERT_ReplUserCurDir (ALERT_BASE + 41)
  186. /*
  187. * The replicator cannot update directory %1. It has tree integrity
  188. * and is the current directory for some process.
  189. */
  190. #define ALERT_ReplNetErr (ALERT_BASE + 42)
  191. /*
  192. * Network error %1 occurred.
  193. */
  194. #define ALERT_ReplSysErr (ALERT_BASE + 45)
  195. /*
  196. * System error %1 occurred.
  197. */
  198. #define ALERT_ReplUserLoged (ALERT_BASE + 46)
  199. /*
  200. * Cannot log on. User is currently logged on and argument TRYUSER
  201. * is set to NO.
  202. */
  203. #define ALERT_ReplBadImport (ALERT_BASE + 47)
  204. /*
  205. * IMPORT path %1 cannot be found.
  206. */
  207. #define ALERT_ReplBadExport (ALERT_BASE + 48)
  208. /*
  209. * EXPORT path %1 cannot be found.
  210. */
  211. #define ALERT_ReplDataChanged (ALERT_BASE + 49)
  212. /*
  213. * Replicated data has changed in directory %1.
  214. */
  215. #define ALERT_ReplSignalFileErr (ALERT_BASE + 50)
  216. /*
  217. * Replicator failed to update signal file in directory %2 due to
  218. * %1 system error.
  219. */
  220. //
  221. // IMPORTANT - (ALERT_BASE + 50) is equal to SERVICE_BASE.
  222. // Do not add any errors beyond this point!!!
  223. //
  224. //
  225. #define ALERT2_BASE 5500
  226. #define ALERT_UpdateLogWarn (ALERT2_BASE + 0)
  227. /*
  228. * The update log on %1 is over 80%% capacity. The primary
  229. * domain controller %2 is not retrieving the updates.
  230. */
  231. #define ALERT_UpdateLogFull (ALERT2_BASE + 1)
  232. /*
  233. * The update log on %1 is full, and no further updates
  234. * can be added until the primary domain controller %2
  235. * retrieves the updates.
  236. */
  237. #define ALERT_NetlogonTimeDifference (ALERT2_BASE + 2)
  238. /*
  239. * The time difference with the primary domain controller %1
  240. * exceeds the maximum allowed skew of %2 seconds.
  241. */
  242. #define ALERT_AccountLockout (ALERT2_BASE + 3)
  243. /*
  244. * The account of user %1 has been locked out on %2
  245. * due to %3 bad password attempts.
  246. */
  247. #define ALERT_ELF_LogFileNotOpened (ALERT2_BASE + 4)
  248. /*
  249. * The %1 log file cannot be opened.
  250. */
  251. #define ALERT_ELF_LogFileCorrupt (ALERT2_BASE + 5)
  252. /*
  253. * The %1 log file is corrupted and will be cleared.
  254. */
  255. #define ALERT_ELF_DefaultLogCorrupt (ALERT2_BASE + 6)
  256. /*
  257. * The Application log file could not be opened. %1 will be used as the
  258. * default log file.
  259. */
  260. #define ALERT_ELF_LogOverflow (ALERT2_BASE + 7)
  261. /*
  262. * The %1 Log is full. If this is the first time you have seen this
  263. * message, take the following steps:%n
  264. * 1. Click Start, click Run, type "eventvwr", and then click OK.%n
  265. * 2. Click %1, click the Action menu, click Clear All Events, and then click No.
  266. * %n
  267. * If this dialog reappears, contact your helpdesk or system administrator.
  268. */
  269. #define ALERT_NetlogonFullSync (ALERT2_BASE + 8)
  270. /*
  271. * The security database full synchronization has been initiated by the server %1.
  272. */
  273. #define ALERT_SC_IsLastKnownGood (ALERT2_BASE + 9)
  274. /*
  275. * Windows could not be started as configured.
  276. * A previous working configuration was used instead.
  277. */
  278. #define ALERT_UnhandledException (ALERT2_BASE + 10)
  279. /*
  280. * The exception 0x%1 occurred in the application %2 at location 0x%3.
  281. */
  282. #define ALERT_NetLogonMismatchSIDInMsg (ALERT2_BASE + 11)
  283. /*
  284. * The servers %1 and %3 both claim to be an NT Domain Controller for
  285. * the %2 domain. One of the servers should be removed from the
  286. * domain because the servers have different security identifiers
  287. * (SID).
  288. */
  289. #define ALERT_NetLogonDuplicatePDC (ALERT2_BASE + 12)
  290. /*
  291. * The server %1 and %2 both claim to be the primary domain
  292. * controller for the %3 domain. One of the servers should be
  293. * demoted or removed from the domain.
  294. */
  295. #define ALERT_NetLogonUntrustedClient (ALERT2_BASE + 13)
  296. /*
  297. * The computer %1 tried to connect to the server %2 using
  298. * the trust relationship established by the %3 domain. However, the
  299. * computer lost the correct security identifier (SID)
  300. * when the domain was reconfigured. Reestablish the trust
  301. * relationship.
  302. */
  303. #define ALERT_BugCheck (ALERT2_BASE + 14)
  304. /*
  305. * The computer has rebooted from a bugcheck. The bugcheck was:
  306. * %1.
  307. * %2
  308. * A full dump was not saved.
  309. */
  310. #define ALERT_BugCheckSaved (ALERT2_BASE + 15)
  311. /*
  312. * The computer has rebooted from a bugcheck. The bugcheck was:
  313. * %1.
  314. * %2
  315. * A dump was saved in: %3.
  316. */
  317. #define ALERT_NetLogonSidConflict (ALERT2_BASE + 16)
  318. /*
  319. * The computer or domain %1 trusts domain %2. (This may be an indirect
  320. * trust.) However, %1 and %2 have the same machine security identifier
  321. * (SID). NT should be re-installed on either %1 or %2.
  322. */
  323. #define ALERT_NetLogonTrustNameBad (ALERT2_BASE + 17)
  324. /*
  325. * The computer or domain %1 trusts domain %2. (This may be an indirect
  326. * trust.) However, %2 is not a valid name for a trusted domain.
  327. * The name of the trusted domain should be changed to a valid name.
  328. */
  329. #endif // ifdef _ALERTMSG_