1 // This is a part of the Active Template Library.
\r
2 // Copyright (C) Microsoft Corporation
\r
3 // All rights reserved.
\r
5 // This source code is only intended as a supplement to the
\r
6 // Active Template Library Reference and related
\r
7 // electronic documentation provided with the library.
\r
8 // See these sources for detailed information regarding the
\r
9 // Active Template Library product.
\r
11 #include <winresrc.h>
\r
12 #include "atlsrvres.h"
\r
14 /////////////////////////////////////////////////////////////////////////////
\r
19 STRINGTABLE DISCARDABLE
\r
21 IDS_ATLSRV_BAD_REQUEST "<html><head><title>Bad Request</title></head><body>Bad Request</body></html>"
\r
22 IDS_ATLSRV_AUTH_REQUIRED
\r
23 "<html><head><title>Authorization Required</title></head><body>Authorization is required</body></html>"
\r
24 IDS_ATLSRV_FORBIDDEN "<html><head><title>Forbidden</title></head><body>Forbidden</body></html>"
\r
25 IDS_ATLSRV_NOT_FOUND "<html><head><title>Not Found</title></head><body>Not Found</body></html>"
\r
26 IDS_ATLSRV_SERVER_ERROR "<html><head><title>Server Error</title></head><body>Server Error</body></html>"
\r
27 IDS_ATLSRV_NOT_IMPLEMENTED
\r
28 "<html><head><title>Not Implemented</title></head><body>Not Implemented</body></html>"
\r
29 IDS_ATLSRV_BAD_GATEWAY "<html><head><title>Bad Gateway</title></head><body>Bad Gateway</body></html>"
\r
30 IDS_ATLSRV_SERVICE_NOT_AVAILABLE
\r
31 "<html><head><title>Service Not Available</title></head><body>Service Not Available</body></html>"
\r
32 IDS_ATLSRV_SERVER_ERROR_BADSRF "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>SRF file could not be loaded.</body></html>"
\r
33 IDS_ATLSRV_SERVER_ERROR_HNDLFAIL "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>The requested SRF file was loaded but could not be successfully processed.</body></html>"
\r
34 IDS_ATLSRV_SERVER_ERROR_SYSOBJFAIL "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>A Windows system object could not be created.</body></html>"
\r
35 IDS_ATLSRV_SERVER_ERROR_READFILEFAIL "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>A File read operation failed.</body></html>"
\r
36 IDS_ATLSRV_SERVER_ERROR_LOADFILEFAIL "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>The specified file could not be opened.</body></html>"
\r
37 IDS_ATLSRV_SERVER_ERROR_LOADLIB "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>LoadLibrary failed.</body></html>"
\r
38 IDS_ATLSRV_SERVER_ERROR_HANDLERIF "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>Failed to retrieve the request handler interface.</body></html>"
\r
39 IDS_ATLSRV_SERVER_ERROR_OUTOFMEM "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>Server is out of memory.</body></html>"
\r
40 IDS_ATLSRV_SERVER_ERROR_UNEXPECTED "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>The server encountered an unexpected error.</body></html>"
\r
41 IDS_ATLSRV_SERVER_ERROR_STENCILPARSEFAIL "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>The server encountered an unexpected error while trying to parse the requested stencil.</body></html>"
\r
42 IDS_ATLSRV_SERVER_ERROR_STENCILLOADFAIL "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>The server failed to load the requested stencil. The stencil file may be damaged or missing on this web server.</body></html>"
\r
43 IDS_ATLSRV_SERVER_ERROR_HANDLERNOTFOUND "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>One of the handlers named in a handler tag for the requested stencil could not be found in the specified handler .dll.</body></html>"
\r
44 IDS_ATLSRV_SERVER_ERROR_BADHANDLERTAG "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>This stencil contains a handler tag that could not be properly parsed by the stencil processor or does not contain a handler tag at all. Check the requested stencil for proper stencil syntax.</body></html>"
\r
45 IDS_ATLSRV_SERVER_ERROR_NOHANDLERTAG "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>The requested stencil does not contain a handler tag.</body></html>"
\r
46 IDS_ATLSRV_SERVER_ERROR_LONGMETHODNAME "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>A replacement tag was encountered in the requested stencil that had a replacement name that was too long. The maximum length of the replacment name must be less than or equal to the ATL_MAX_METHOD_NAME constant defined in atlstencil.h</body></html>"
\r
47 IDS_ATLSRV_SERVER_ERROR_LONGHANDLERNAME "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>A replacement tag that uses the id.tagname syntax was encountered in the requested stencil that had a handler name that was too long. The maximum length of the handler name must be less than or equal to the ATL_MAX_METHOD_NAME constant defined in atlstencil.h</body></html>"
\r
48 IDS_ATLSRV_SERVER_ERROR_IMPERSONATIONFAILED "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>An attempt to impersonate the client making the request failed.</body></html>"
\r
49 IDS_ATLSRV_SERVER_ERROR_ISAPISTARTUPFAILED "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>The ISAPI extension used to service this request failed to load correctly due to an unknown error.</body></html>"
\r
50 IDS_ATLSRV_SERVER_ERROR_SOAPNOSOAPACTION "<html><head><title>Server Error</title></head><body><H1>Server Error</H1><P>SOAP request did not provide SOAPACTION header.</body></html>"
\r
52 IDS_ATLSRV_CRITICAL_HEAPCREATEFAILED "Request heap creation failed"
\r
53 IDS_ATLSRV_CRITICAL_WORKERINITFAILED "Worker Thread initialization failed"
\r
54 IDS_ATLSRV_CRITICAL_CRITSECINITFAILED "Critical section initialization failed"
\r
55 IDS_ATLSRV_CRITICAL_THREADPOOLFAILED "Thread pool initialization failed"
\r
56 IDS_ATLSRV_CRITICAL_DLLCACHEFAILED "DLL cache initialization failed"
\r
57 IDS_ATLSRV_CRITICAL_PAGECACHEFAILED "Page cache initialization failed"
\r
58 IDS_ATLSRV_CRITICAL_STENCILCACHEFAILED "Stencil cache initialization failed"
\r
59 IDS_ATLSRV_CRITICAL_SESSIONSTATEFAILED "Session state service initialization failed"
\r
60 IDS_ATLSRV_CRITICAL_BLOBCACHEFAILED "Blob cache initialization failed"
\r
61 IDS_ATLSRV_CRITICAL_FILECACHEFAILED "File cache initialization failed"
\r
63 IDS_PERFMON_CACHE "ATL Server:Cache"
\r
64 IDS_PERFMON_CACHE_HELP "Information about the ATL Server cache"
\r
65 IDS_PERFMON_HITCOUNT "Cache Hit Count"
\r
66 IDS_PERFMON_HITCOUNT_HELP "Number of cache hits"
\r
67 IDS_PERFMON_MISSCOUNT "Cache Miss Count"
\r
68 IDS_PERFMON_MISSCOUNT_HELP "Number of cache misses"
\r
69 IDS_PERFMON_CURRENTALLOCATIONS "Cache Current Allocations"
\r
70 IDS_PERFMON_CURRENTALLOCATIONS_HELP "Current Memory allocated for cache"
\r
71 IDS_PERFMON_MAXALLOCATIONS "Cache Max Allocations"
\r
72 IDS_PERFMON_MAXALLOCATIONS_HELP "Maximum memory allocated for cache"
\r
73 IDS_PERFMON_CURRENTENTRIES "Cache Current Entries"
\r
74 IDS_PERFMON_CURRENTENTRIES_HELP "Current number of cache entries"
\r
75 IDS_PERFMON_MAXENTRIES "Cache Max Entries"
\r
76 IDS_PERFMON_MAXENTRIES_HELP "Maximum number of cache entries"
\r
77 IDS_PERFMON_HITCOUNTRATE "Cache Hit Count Rate"
\r
78 IDS_PERFMON_HITCOUNTRATE_HELP "Number of hit counts per second"
\r
79 IDS_PERFMON_REQUEST "ATL Server:Request"
\r
80 IDS_PERFMON_REQUEST_HELP "Statistics about the requests coming into the server"
\r
81 IDS_PERFMON_REQUEST_TOTAL "Server Total Requests"
\r
82 IDS_PERFMON_REQUEST_TOTAL_HELP "The total number of requests"
\r
83 IDS_PERFMON_REQUEST_FAILED "Server Failed Requests"
\r
84 IDS_PERFMON_REQUEST_FAILED_HELP "The number of failed requests"
\r
85 IDS_PERFMON_REQUEST_RATE "Server Requests /sec"
\r
86 IDS_PERFMON_REQUEST_RATE_HELP "Number of requests per second"
\r
87 IDS_PERFMON_REQUEST_AVG_RESPONSE_TIME "Average Response Time"
\r
88 IDS_PERFMON_REQUEST_AVG_RESPONSE_TIME_HELP "Average time spent handling a request"
\r
89 IDS_PERFMON_REQUEST_CURR_WAITING "Current Queued Requests"
\r
90 IDS_PERFMON_REQUEST_CURR_WAITING_HELP "Current number of requests waiting to be handled"
\r
91 IDS_PERFMON_REQUEST_MAX_WAITING "Maximum Queued Requests"
\r
92 IDS_PERFMON_REQUEST_MAX_WAITING_HELP "Maximum number of requests waiting to be handled"
\r
93 IDS_PERFMON_REQUEST_ACTIVE_THREADS "Active Threads"
\r
94 IDS_PERFMON_REQUEST_ACTIVE_THREADS_HELP "The number of threads actively handling requests"
\r
98 #ifndef ATL_NO_DEFAULT_STENCIL_RESOURCE
\r
99 dllmgr.srf HTML "res\\dllmgr.srf"
\r
100 stencilmgr.srf HTML "res\\stencilmgr.srf"
\r
101 threadmgr.srf HTML "res\\threadmgr.srf"
\r
106 // Stencil parse error support
\r
108 #ifdef ATL_DEBUG_STENCILS
\r
110 STRINGTABLE DISCARDABLE
\r
112 IDS_STENCIL_ERROR_STENCIL
\r
113 "{{codepage 0}}<h1><font color=#ff0000> While trying to parse a stencil file, the following errors occurred:</font></h1>\r\n{{while GetNextError}}<table border=1 width=50%>\r\n<tr><td width=25%>Error type</td><td>{{GetErrorText}}</td></tr>\r\n<tr><td>Line number</td><td>{{GetErrorLineNumber}}</td></tr>\r\n<tr><td>Error text</td><td><pre>{{GetErrorLine}}</pre></td></tr>\r\n</table>\r\n{{endwhile}}<br>Stencil output follows:\r\n<hr>"
\r
115 IDS_STENCIL_UNCLOSEDBLOCK_IF "{{if}} without {{endif}}"
\r
116 IDS_STENCIL_UNCLOSEDBLOCK_ELSE "{{else}} without {{endif}}"
\r
117 IDS_STENCIL_UNCLOSEDBLOCK_WHILE "{{while}} without {{endwhile}}"
\r
118 IDS_STENCIL_UNOPENEDBLOCK_ENDWHILE "{{endwhile}} without {{while}}"
\r
119 IDS_STENCIL_UNOPENEDBLOCK_ELSE "{{else}} without {{if}}"
\r
120 IDS_STENCIL_UNOPENEDBLOCK_ENDIF "{{endif}} without {{if}} or {{else}}"
\r
122 IDS_STENCIL_INVALID_HANDLER "Invalid handler tag"
\r
123 IDS_STENCIL_NULLPARAM "NULL parameter to ParseReplacements"
\r
124 IDS_STENCIL_INVALIDSTRING "Empty or negative string passed to ParseReplacements"
\r
125 IDS_STENCIL_EMBEDDED_NULL "Embedded null character in stencil"
\r
126 IDS_STENCIL_UNMATCHED_TAG_START "Unmatched {{"
\r
127 IDS_STENCIL_MISMATCHED_TAG_START "Mismatched {{"
\r
128 IDS_STENCIL_BAD_PARAMETER "Bad parameter"
\r
129 IDS_STENCIL_METHODNAME_TOO_LONG "Method name too long"
\r
130 IDS_STENCIL_HANDLERNAME_TOO_LONG "Handler name too long"
\r
131 IDS_STENCIL_INVALID_SUBHANDLER "Invalid subhandler tag"
\r
132 IDS_STENCIL_UNRESOLVED_REPLACEMENT "Unresolved replacement : '%s'"
\r
134 IDS_STENCIL_INCLUDE_ERROR "Could not open included file"
\r
135 IDS_STENCIL_INCLUDE_INVALID "Included file is not a disk file"
\r
137 IDS_STENCIL_MLANG_COCREATE "Couldn't create CMultiLanguage"
\r
138 IDS_STENCIL_MLANG_LCID "Error getting lcid"
\r
139 IDS_STENCIL_MLANG_GETLOCALE "GetLocaleInfo failed"
\r
140 IDS_STENCIL_MLANG_GETCHARSET "GetCharsetInfo failed"
\r
142 IDS_STENCIL_OUTOFMEMORY "Out of memory"
\r
143 IDS_STENCIL_UNEXPECTED "Unexpected error"
\r