Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6813465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:34:24+00:00 2026-05-26T20:34:24+00:00

We have recently moved to a new web server (from IIS6 to IIS7.5) and

  • 0

We have recently moved to a new web server (from IIS6 to IIS7.5) and I’m having some trouble updating our VSTO word addin.

Our app checks for updates manually when logging in and if a newer version has been found updates like this (let me know if there is a better way to do this – I’ve tried ApplicationDeployment.Update() but had no luck with it either!):

WebBrowser browser = new WebBrowser();
browser.Visible = false;
Uri setupLocation = new Uri("https://updatelocation.com/setup.exe");
browser.Url = setupLocation;

This used to launch the setup and update the app and when the user restarted word they would have the new version installed. Since the server move the update no longer happens. No exceptions are thrown. Browsing to the URL launches the updater as expected. What would I need to change to get this to work?

Note I have the following MIME types setup on the folder in IIS:

.application
application/x-ms-application

.manifest
application/x-ms-manifest

.deploy
application/octet-stream

.msu
application/octet-stream

.msp
application/octet-stream

.exe
application/octet-stream

Edit

OK I’ve had a look in fiddler and its returning a body size of -1:

enter image description here

If I enter the same URL in IE you can see that the setup.exe is launched without problems.

This is what fiddler displays in the raw view when accessing from word:

HTTP/1.1 200 OK
Content-Type: application/octet-stream
Last-Modified: Tue, 27 Sep 2011 15:07:42 GMT
Accept-Ranges: bytes
ETag: "9bd0c334277dcc1:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Mon, 14 Nov 2011 07:42:18 GMT
Content-Length: 735608

MZ��������������������@������������������������������������������   �!�L�!This program cannot be run in DOS mode. $�������

*** FIDDLER: RawDisplay truncated at 128 characters. Right-click to disable truncation. ***
  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:34:25+00:00Added an answer on May 26, 2026 at 8:34 pm

    Have you tried a tool like (for instance) fiddler2 to see what http traffic is actually created?
    Does the client make a server call? What does the server actually return?

    Then:

    • Make the calls from within word (which isn’t working)
    • Make the calls by hand (which is working)

    Compare both the request and response packages from those calls to spot the differences

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently purchased some new windows server 2008 boxes all running IIS7. I
I have recently moved our TFS 2010 server to new server, when I'm trying
I have recently moved our TFS 2010 server to new server, when I'm trying
I have recently moved our TFS 2010 server to new server, I'm trying to
I have recently moved my VisualSVN Server 2.5.2 to a new machine(from Windows Server
We have recently moved some data from an SQL Database instance to another one
can anyone help. I have recently moved servers, its IIS7 rather that our previous
I have moved recently to a new version of eclipse 3.5 from 3.2.I dont
We recently moved our database from our SQL Server 2005 server to our SQL
I have recently move a website from a server running win server 2003/iis6 to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.