Skip to main content
Participant
January 6, 2016
Question

How to debug AuthModule problems?

  • January 6, 2016
  • 1 reply
  • 310 views

Hi,

I just compiled the code available here : "C:\Program Files\Adobe\Adobe Media Server 5\samples\plugins\auth" to create my first authentication module with some extra log line to verify it work.

I have copied my dll named AuthModule.dll into that folder : "C:\Program Files\Adobe\Adobe Media Server 5\modules\auth".

And I can test it on my developpement environment (Windows 10) equiped with Adobe Media Server 5.0.6 r6102. I can read my logs into the log file "C:\Program Files\Adobe\Adobe Media Server 5\logs\authMessage.00.log". Everything work perfectly.

After that, i try to install the same dll on my test environment, it's a simple Windows 2008 R2 with only Adobe Media Server 5.0.6 r6102. And now after starting the AMS I can read that message into authMessage.00.log :

Info from AuthAdaptor: Can't load auth adaptor C:\Program Files\Adobe\Adobe Media Server 5\modules\auth\AuthModule.dll Error=The specified module could not be found.

What AuthAdaptor need to run my module? Why it works on my developpement environment and not on the test environment? Do I need to add an extra package?

Can you help me?

Thanks!

This topic has been closed for replies.

1 reply

Participant
January 7, 2016

Finnaly I found my problem! I have searched the problem using procmon and I found that the amscore.exe search for msvcp110.dll. That dll is included into the Visual C++ Redistributable for Visual Studio 2012! After installing that package on my server, the autmodule.dll work fine!