I have error while attempt to add installer to windows service.
The system cannot find the file specified (Exception from HRESULT: 0x80070002)
Above error happens starting from second attempt to add installer. First time (after vs restart) I got next error message :
Cannot find the requested source : '300'
Have I missed something? Thanks.
The problem is solved adding the .NET desktop development module in the Visual Studio Installer and trying again:
Related
I wanted to get VS Community 2019 after using 2017 for some time because i still had it.
Uninstalled VS2017 and installed VS2019
Now, i have done this today and tried reinstalling 2 times now.
My issue is: When i open VS2019 everything is normal. It is showing me all the options you have in the splashscreen, i can click on "Continue without code" without a problem. But if i try to open a .sln file, the Import Export Settings, create a new Project or open options the program crashes without a message, sometimes i get one. It is telling me:
The "Windows forms designer package" packe did not load correctly... (pointing me to an xml for logs)
I open the Activity Monitor Log and at place 643, ERROR:
CreateInstance failed for package [Windows Forms Designer
Package]Source: 'mscorlib' Description: Exception has been thrown by
the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.TypeLoadException: Could
not load type 'System.Drawing.Design.ToolboxService' from assembly
'System.Drawing.Design, Version=4.0.0.0, Culture=neutral
And so on..
GUID: {7494682B-37A0-11D2-A273-00C04F8EF4FF}
HR: 80004005 - E_FAIL
Source: VisualStudio
I can't really figure out how to fix this, any tips or ideas are appreciated.
Thank you in advance, even if it doesn'T work. Trying is everything!
I updated windows until there were no more updates and rebooted my pc a couple of times, now it works.
DLL is available inside 'References'.
I can able to run the test using 'Test Explorer' successfully
Problem:
Same test when im running from mstest commands- im getting the following error,
error: Unable to load DLL 'AutoItX3.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Where i'm wrong ? can anyone show me the way for resolving this issue!
Thanks for your help
This seems to be late, but if you still need an answer, here is my way: Change platform target of your project.
In visual studio, right click project -> Properties -> Build > Platform target -> Try to change x86 or x64.
platform target
Do one thing
register your AutoItX3.dll:
Bu opening the CMD in Administration and execute the below command, change the path of according to your location
regsvr32 "C:\Program Files (x86)\AutoIt3\AutoItX\AutoItX3.dll"
you will get a message box telling you it was successful.
Now try to run the test
I have 64x console application in VS 2013. When I've tried to run x64 application in debug mode, I've got a message:
Error while trying to run project: Unable to start program [PathToMyApplication].
The address is not valid for this context.
For 32x application it worsk fine. Reinstall VS 2013 did't help. What can I do?
My error message is similar when starting the project:
"Error while trying to run project: Unable to start program 'C:\Project\StrictAny\PrensentationLayer\bin\PPEREM.exe'
The address is not valid for this context "
I solved the problem by switching [Solution Explorer=>Solution Properties=>Active config=>Debug|AnyCUP] to "Debug|x86"
Then the application proceeds in starting.
hope this helps anyone.
The problem was in sniffer software "SearchInformAgent".
I've found a few posts mentioning this error, but none that have helped. I created a new C# Windows Store project, and when I try to build and run it on the simulator, I get the following error in visual studio:
Error 1 Error : DEP0700 : Registration of the app failed. error 0x80072EE4: The Visual Elements extension failed while processing the Notification element. (0x80073cf6) TestDeploy
Here are the details from running a Power Shell command mentioned in a different post:
12/18/2012 3:03:59 PM 404 Error error 0x80073CF6: AppX Deployment operation failed. The specific error text for this failure is: error 0x80072EE4: The Visual Elements extension failed while processing the Notification element.
12/18/2012 3:03:59 PM 401 Error Deployment Register operation on Package cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c from: (C:\Users\myself\documents\visual studio 2012\Projects\TestDeploy\TestDeploy\bin\Debug\AppX\AppxManifest.xml) failed with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
12/18/2012 3:03:59 PM 605 Information The last successful state reached was PackagesInUseClosed.
12/18/2012 3:03:59 PM 300 Error error 0x80073CF6: Cannot register the cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c package due to the following error: Package could not be registered.
.
12/18/2012 3:03:59 PM 316 Error error 0x80072EE4: Cannot register the cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c package because the following error was encountered during the registration of the windows.visualElements extension: <Error message string not found>.
12/18/2012 3:03:59 PM 306 Error error 0x80072EE4: While installing the cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c package, the system failed to register the windows.visualElements extension due to the following error: <Error message string not found>.
12/18/2012 3:03:59 PM 5092 Error error 0x80072EE4: The Visual Elements extension failed while processing the Notification element.
12/18/2012 3:03:57 PM 10002 Information Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\4850558d-7f7f-4109-9376-3b78bf5acc86_S-1-5-21-1715567821-179605362-839522115-27106_1.rslc for Register Operation on Package cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c.
12/18/2012 3:03:57 PM 603 Information Started deployment Register operation on a package with main parameter: file:///C:/Users/myself/documents/visual%20studio%202012/Projects/TestDeploy/TestDeploy/bin/Debug/AppX/AppxManifest.xml. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
12/18/2012 3:03:57 PM 301 Information The calling process is C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
Any ideas? I've given full control to everyone on the project, have restarted multiple times, tried reinstalling visual studio, and am running Visual Studio as an administrator. Any help would be appreciated!
I got this to "work" by killing and restarting explorer.exe based on suggestions from a different google search I found. Doesn't really make sense to me, or seem to work reliably, but it does work sometimes at least... o.O
edit
A more permanent solution that worked was some combination of reinstalling Visual Studio 2012 and installing Visual Studio Update 1.
I was getting the same error and in my case neither cycling explorer.exe nor uninstalling/reinstalling Studio 2012 Ultimate with Update 3 worked.
What did work was starting up Visual Studio 2012 with "run as Administrator"
Seems, the issue has to do something to installing app both to local machine and to simulator
My case is i duplicate a WP 8.1 project and add merge some code to the duplicated project.
After i done the merge, I got "Package can't be registered" message when i deploy it to emulator.
But my original WP 8.1 project is successfully running on the emulator.
The root cause is i delete some app logo png image.
The VS2013 wont tell u that image is missing but display "Package can't be registered".
Hope this helps.
This happened to me after uninstalling a custom app that was installed using VS and trying to re-install a new version through either VS or directly using the Add-AppDevPackage.ps1 script
While it is not what you want to hear, a reboot fixed this for me. I tried killing the explorer process and restarting it as mentioned above, but this did not work for me.
I have a project that was built in Visual Studio 2005 in C#. I created an installer for the Windows application (in VS2010) and it installs and works fine on Windows XP SP3. I tried installing it on Windows 7 32-bit and it says installation is successful but when I try to open the application I receive this error message:
A fatal error has occurred. Unable to load DLL 'VistaDb20.dll': Invalid
access to memory location. (Exception from HRESULT: 0x800703E6)
People suggested I run this in the command line:
regsvr32 VistaDb20.dll
I get the error message:
The module "VistaDb20.dll" was loaded but the
entry-point DllRegisterServer was not found.
Make sure that "VistaDb20.dll" is a valid DLL or OCX
file and then try again.
So then I tried regasm VistaDb20.dll /tlb:VistaDb20.tlb using the .NET Framework Assembly Registration Utility 2.0.50727.4927 and get error:
RegAsm : error RA0000 : Failed to load 'VistaDb20.dll' because it is not a valid .NET assembly.
I am not sure how to get my application running on Windows 7 with this .dll problem. Any help would be appreciated. This application and the database was created using VistaDB 2.1
I guess I can't change the actual dll since I did not create it but maybe I have to change some properties of the dll in Visual Studio?
I had this error while trying to registering my VB .NET assembly using RegAsm command:
RegAsm : error RA0000 : Failed to load 'VistaDb20.dll' because it is not a valid .NET assembly.
I solved the problem buy executing RegAsm of the right .NET Framework.
I mean you should use the tools of the same Framework that you make as target in your advanced options of compilation (VS2010).
According to this your problem is that this DLL is not compatible with DEP. You'll need to disable DEP to workaround this but in the long term you should try to wean yourself off this particular dependency.