Project

General

Profile

... C++ exception, flags=0x81 (first chance) at C:\jenkins\workspace\wt-win_4.10...

Added by Cemal DEMİR 9 months ago

onecore\net\netprofiles\service\src\nsp\dll\namespaceserviceprovider.cpp(550)\nlansp_c.dll!00007FFD2065D93D: (caller: 00007FFD310BACF6) LogHr(2) tid(4380) 8007277C No such service is known. The service cannot be found in the specified name space.

Exception at 0x7ffd2ede5b0c, code: 0xe06d7363: C++ exception, flags=0x81 (first chance) at C:\jenkins\workspace\wt-winlease\build-amd64-14.3\wt-src\src\http\Configuration.C:463

Exception at 0x7ffd2ede5b0c, code: 0xe06d7363: C++ exception, flags=0x81 (first chance) at C:\jenkins\workspace\wt-win_4.10-release\build-amd64-14.3\wt-src\src\http\Configuration.C:301

Exception at 0x7ffd2ede5b0c, code: 0xe06d7363: C++ exception, flags=0x81 (first chance) in ntdll!RtlCaptureContext2

anyone occured this runtime error?

Platform: Windows 11 x64
MSVC 17.9.34622.214


Replies (3)

RE: ... C++ exception, flags=0x81 (first chance) at C:\jenkins\workspace\wt-win_4.10... - Added by Cemal DEMİR 9 months ago

Solution:

this error by if no docroot folder exist.
place docroot folder to bin folder for fix error.

RE: ... C++ exception, flags=0x81 (first chance) at C:\jenkins\workspace\wt-win_4.10... - Added by Matthias Van Ceulebroeck 9 months ago

Hello Cemal,

The main process that creates the WServer should throw an error that indicates the root cause of the exception here, namely that the docroot directory does not exist.

I see you wrapped the whole server set-up in a try/catch, and perhaps you are catching errors fairly generically there? The type of note here is Wt::WServer::Exception any of these errors indicate a failure in setting up the WServer, perhaps it's a good idea to either allow those through, or catch them and handle them specifically.
Of course, these are often one-time things, but if you are deploying multiple times, this may be worth considering.

I hope that helps,

Best regards,
Matthias

    (1-3/3)