Forum Discussion

epatton's avatar
epatton
Occasional Contributor
8 years ago

"Can not create TestComplete object" Error even after running as admin

I'm trying to run TestComplete in a C# project in Visual Studio using the AutomatedQA dll's, but I'm running into an issue.   I have a project that simply opens IE and sets the URL. Whenever I try ...
  • epatton's avatar
    8 years ago

    So I figured out the issue in case anyone else is going through this as well.

     

    This seems to be an issue with Windows 10 and truly running Visual Studio in administrator mode. Follow these steps to set the "devenv.exe" file to run as an admin, and it should fix the issue:

     

    1. Right-click devenv.exe and select "Troubleshoot compatibility". (mine is located at "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE") 
    2. Select "Troubleshoot program"
    3. Check "The program requires additional permissions" click "Next", click "Test the program..."
    4. Wait for visual studio to launch
    5. Click "Next"
    6. Select "Yes, save these settings for this program" (this part takes a while)
    7. Click "Close" 

    Go ahead and relaunch Visual Studio, and the issue should be resolved!