[GH-ISSUE #127] ist keine zulässige Win32-Anwendung (not a valid Win32 application) #592

Closed
opened 2026-03-01 17:40:09 +03:00 by kerem · 10 comments
Owner

Originally created by @toomuchcookies on GitHub (Apr 25, 2016).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/127

After installation (Win 7, Outlook 2016), i get the following error message

Name:
Von: file:///C:/Program Files (x86)/Gerhard Zehetbauer/CalDavSynchronizer/CalDavSynchronizer.vsto

************** Ausnahmetext **************
System.BadImageFormatException: ist keine zulässige Win32-Anwendung. (Ausnahme von HRESULT: 0x800700C1)
bei System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32 Flags, IntPtr hToken, Guid& riid)
bei System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore()
bei System.Deployment.Application.ComponentStore..ctor(ComponentStoreType storeType, SubscriptionStore subStore)
bei System.Deployment.Application.SubscriptionStore..ctor(String deployPath, String tempPath, ComponentStoreType storeType)
bei System.Deployment.Application.SubscriptionStore.get_CurrentUser()
bei System.Deployment.Application.DeploymentManager..ctor(Uri deploymentSource, Boolean isUpdate, Boolean isConfirmed, DownloadOptions downloadOptions, AsyncOperation optionalAsyncOp)
bei System.Deployment.Application.InPlaceHostingManager..ctor(Uri deploymentManifest, Boolean launchInHostProcess)
bei Microsoft.VisualStudio.Tools.Applications.Deployment.IPHMProxy..ctor(Uri uri)
bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.get_Proxy()
bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

Originally created by @toomuchcookies on GitHub (Apr 25, 2016). Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/127 After installation (Win 7, Outlook 2016), i get the following error message Name: Von: file:///C:/Program Files (x86)/Gerhard Zehetbauer/CalDavSynchronizer/CalDavSynchronizer.vsto *************\* Ausnahmetext ************** System.BadImageFormatException: ist keine zulässige Win32-Anwendung. (Ausnahme von HRESULT: 0x800700C1) bei System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32 Flags, IntPtr hToken, Guid& riid) bei System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore() bei System.Deployment.Application.ComponentStore..ctor(ComponentStoreType storeType, SubscriptionStore subStore) bei System.Deployment.Application.SubscriptionStore..ctor(String deployPath, String tempPath, ComponentStoreType storeType) bei System.Deployment.Application.SubscriptionStore.get_CurrentUser() bei System.Deployment.Application.DeploymentManager..ctor(Uri deploymentSource, Boolean isUpdate, Boolean isConfirmed, DownloadOptions downloadOptions, AsyncOperation optionalAsyncOp) bei System.Deployment.Application.InPlaceHostingManager..ctor(Uri deploymentManifest, Boolean launchInHostProcess) bei Microsoft.VisualStudio.Tools.Applications.Deployment.IPHMProxy..ctor(Uri uri) bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.get_Proxy() bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout) bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
kerem closed this issue 2026-03-01 17:40:09 +03:00
Author
Owner

@aluxnimm commented on GitHub (Apr 25, 2016):

Did you try to execute the vsto file directly? This is no standalone application, but an Outlook addin. You just need to restart Outlook and should see the CalDav Synchronizer ribbon there.

<!-- gh-comment-id:214217549 --> @aluxnimm commented on GitHub (Apr 25, 2016): Did you try to execute the vsto file directly? This is no standalone application, but an Outlook addin. You just need to restart Outlook and should see the CalDav Synchronizer ribbon there.
Author
Owner

@toomuchcookies commented on GitHub (Apr 25, 2016):

The error message appears, when i load Outlook, but now i did also try to execute the vsto file on its own and it gives me the same error message and of course i can't see any ribbon..

<!-- gh-comment-id:214225663 --> @toomuchcookies commented on GitHub (Apr 25, 2016): The error message appears, when i load Outlook, but now i did also try to execute the vsto file on its own and it gives me the same error message and of course i can't see any ribbon..
Author
Owner

@aluxnimm commented on GitHub (Apr 25, 2016):

Did you run setup.exe and are all required frameworks installed? Maybe the Visual Studio 2010 Tools for Office Runtime are missing, you can install it manually from Microsoft Download Link

<!-- gh-comment-id:214242373 --> @aluxnimm commented on GitHub (Apr 25, 2016): Did you run setup.exe and are all required frameworks installed? Maybe the Visual Studio 2010 Tools for Office Runtime are missing, you can install it manually from [Microsoft Download Link](https://www.microsoft.com/en-us/download/details.aspx?id=48217)
Author
Owner

@toomuchcookies commented on GitHub (Apr 25, 2016):

Yes, i did install using setup.exe. And i did install Visual Studio 2010 Tools for Office Runtime even though the installer did not complain about anything.
Maybe this might be the problem: My windows is having trouble installing the latest .Net Framework 4.6 Security update..

<!-- gh-comment-id:214262764 --> @toomuchcookies commented on GitHub (Apr 25, 2016): Yes, i did install using setup.exe. And i did install Visual Studio 2010 Tools for Office Runtime even though the installer did not complain about anything. Maybe this might be the problem: My windows is having trouble installing the latest .Net Framework 4.6 Security update..
Author
Owner

@aluxnimm commented on GitHub (Apr 25, 2016):

What windows, Outlook and .Net versions are installed?

<!-- gh-comment-id:214273111 --> @aluxnimm commented on GitHub (Apr 25, 2016): What windows, Outlook and .Net versions are installed?
Author
Owner

@toomuchcookies commented on GitHub (Apr 25, 2016):

Windows 7,
Outlook 2016,
.Net 4.6

<!-- gh-comment-id:214280557 --> @toomuchcookies commented on GitHub (Apr 25, 2016): Windows 7, Outlook 2016, .Net 4.6
Author
Owner

@toomuchcookies commented on GitHub (Apr 25, 2016):

I was able to install the security update of the .Net framework (now the version is 4.6.1), but it didn't help with my problem! Any ideas?

<!-- gh-comment-id:214475024 --> @toomuchcookies commented on GitHub (Apr 25, 2016): I was able to install the security update of the .Net framework (now the version is 4.6.1), but it didn't help with my problem! Any ideas?
Author
Owner

@aluxnimm commented on GitHub (Apr 25, 2016):

Maybe some issue with the Clickonce cache, try to clear it with
rundll32 dfshim CleanOnlineAppCache
then reboot and install again, see ticket
#81

<!-- gh-comment-id:214535822 --> @aluxnimm commented on GitHub (Apr 25, 2016): Maybe some issue with the Clickonce cache, try to clear it with `rundll32 dfshim CleanOnlineAppCache` then reboot and install again, see ticket #81
Author
Owner

@toomuchcookies commented on GitHub (May 9, 2016):

Thanks for the suggestion, i seem to have a general problem, since i am getting the same error with the suggested command:

"Problem beim Starten von dfshim

dfshim ist keine zulässige Win32-Anwendung."
Any other suggestions?

<!-- gh-comment-id:217862607 --> @toomuchcookies commented on GitHub (May 9, 2016): Thanks for the suggestion, i seem to have a general problem, since i am getting the same error with the suggested command: "Problem beim Starten von dfshim dfshim ist keine zulässige Win32-Anwendung." Any other suggestions?
Author
Owner

@aluxnimm commented on GitHub (May 9, 2016):

Maybe you need to scan or repair your windows installation.

<!-- gh-comment-id:217871563 --> @aluxnimm commented on GitHub (May 9, 2016): Maybe you need to scan or repair your windows installation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#592
No description provided.