I developed a DLL works as proxy between RMS Server and whom ever he wants to utilize its services programatically , The DLL works pretty fine, but the problem arises when i want to use this DLL in .Net web service it gives me an error in DRMInitEnvironment and the error code is 0x8004930c
which has something to do with Manifest violation error.
The manifist configuration is like below
AUTO-GUID
C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin
\\isvtier5appsigningprivkey.dat
MODULELIST REQ HASH
C:\\Users\\administrator\\Documents\\Visual Studio 2008\\Projects
\\TestWBS\\TestWBS\\bin\\TestWBS.dll
OPT NOHASH
C:\\Users\\administrator\\Documents\\Visual Studio 2008\\Projects\\TestWBS
\\TestWBS\\bin\\RMSPROXY.dll
REQ NOHASH
%SYSTEMROOT%\\system32\\msdrm.dll
POLICYLIST INCLUSION PUBLICKEY
C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin
\\isvtier5appsigningpubkey.dat
EXCLUSION
Notes
- TestWBS.dll is the web-services generated DLL
- RMSPROXY.dll is the DLL which has been developed to work as proxy
- im passing the manifest file to RMSPROXY as base64 encoded string
- I created C# console application to consume the DLL and it works pretty fine and the C# application manifest looks like the following
AUTO-GUID
C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin
\\isvtier5appsigningprivkey.dat
MODULELIST REQ HASH
C:\\Users\\administrator\\Documents\\Visual Studio 2008\\Projects
\\testLibcClient\\testLibcClient\\bin\\Debug\\testLibcClient.exe
REQ NOHASH %SYSTEMROOT%\\system32\\msdrm.dll
POLICYLIST INCLUSION PUBLICKEY
C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin
\\isvtier5appsigningpubkey.dat
EXCLUSION
I know that the problem is in the manifest but I don't know what and where.