Missing RPCSHIM.DLL file?

I am working on developing a installation that will work under Vista. I have resolved most problems but have encountered one item.

Our application will not open with the 3D capabilities enabled. When I try to use dependency walker, it indicates that there is a missing dll file. The call we are making is from advapi32.dll. Advapi32 has dependencies on this file in Windows Vista. I have not been able to see the same dependency for XP or 2000.

Does anyone have any ideas on how to resolve this issue? A search for rpcshim.dll did not reveal anything online other than one other person noting that it was missing as well.

If this is not the correct forum for this posting please let me know the correct place to post my request. Thanks.

Dan

[774 byte] By [DanL_DeLorme] at [2007-12-18]
# 1

Bump.

Anyone have any ideas on this? We cannot get our application to startup because of these missing system files.

DanL_DeLorme at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 2

Hi DanL,

Did you find any solution for this problem. We are facing similar problem. Please let us know the solution if you have it.

Thanks

Bhargav at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 3
Unfortunately no, I have not been able to find any answers.
DanL_DeLorme at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 4

We have the exact same issue. Depends shows RPCSHIM.DLL is not found. I cant locate a version of this file to include to try to get around the issue. Any help would be appreciated.

Jake-

Jake247 at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 5
This is a red herring... You will see RPCSHIM.DLL missing for everything you look at with Depends. I suspect that you have some other file incorrect or the component that you are using is trying to do something prohibited... Be sure that you run Dev Studio 'as administrator'. Is this a COM app that you are trying to register... It will fail if you are not running as 'Admin' note that in build 5308 that being a member of Admin group does not mean that all of you apps are run with Admin priviledges.
MReynolds at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 6

When I registered my COM dll on Vista Dec CTP, I saw RPCSHIM missing problem. But I bypassed it though rebuilding everything my COM dll needs. However, this does not work on Vista Feb CTP (build 5308). I think I am running Visual Sudio 'as administrator'. I wonder how to make sure if an app is run with Admin priviledge. Do I have to logon as Administrator? In Build 5308 (32bit), It seems no such a choice when trying to switch users. Thanks for any help.

jcz at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 7
Hi,

i am also facing the "rpcshim.dll missing" problem. to check whether its a security/permission issue i tried following:

1. Tried running application in administrator mode (by right clicking and selecting

‘Administrator from the popup menu).

2. Added <requestedExecutionLevel level=" highestAvailable"> in the manifest

of the application.

3. try setting the run level using “Application compatibility toolkit” and installing

the sdb file using sdbinst.exe

4. Tried to analyze using “Standard User Analyzer” but it is not able to run the

application with same dependency missing error.

on using Depends it shows dependency of rpcshim.dll for almost all dlls like

MFC80U.dll, MSVCR80.dll, USER32.dll, KERNEL32.dll, GDI32.dll, ...

how to check/change security/permissions for system dlls?

how to resolve this issue?

Please help.

Thanks,

Chankaya

Chanakya at 2007-9-8 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...

Software Development for Windows Vista

Site Classified