FAQ: run regsvr32.exe failed in Vista.

When I first try to register our ActiveX component such as htmlsnapshot, an error is shown,”DllRegisterServer in xxxx.dll failed.Return code was:0×80070005″.

0×80070005 means “Access Denied”, but I’ve been an administrator. I think this is related to the new security model in vista.

After doing some research, here is the correcy way to do so:

 To register activex control to local machine(not only current user) successfully, developers must right click on “Command Prompt” in Accessories and click “Run as Administrator”,  then run “regsvr32 foo.dll” in the command window.
It’s due to Vista’s new feature, not a activex’s bug

 

Leave a Reply

You must be logged in to post a comment.

buy cheap cialis cheap Cialis (Tadalafil) buy cialis online buy online cialis free cialis Cialis Professional cheap cialis professional price cialis professional buy cheap cialis super active buy levitra professional viagra super active buy cheap viagra soft tabs levitra plus price cheap cialis soft tabs all pills The Best Pharmacy Online-Offers Need the Cheapest Drugs? Oun Pharmacy Store Is the Right Choice buy vpxl VPXL (Very Penis Extended Long) Êóëèíàðíàÿ êíèãà VPXL vpxl online