index > Visual Studio Tools for Office > Problem in Running VSTO Excel 2007 published application from IIS...

Problem in Running VSTO Excel 2007 published application from IIS...


Hi,

We have developed application in VSTO Excel 2007 which uses an
webservice hosted in a server. We tried to publish this application in
the server but it failled due to this reason

Failed to update customization from the specified deployment manifest.

************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Runtime.UpdateFailedException:
Failed to update customization from the specified deployment manifest.
---> System.Net.WebException: The remote server returned an error:
(502) Bad Gateway.
at System.Net.WebClient.DownloadDataInternal(Uri address,
WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeUtilities.LoadAndU?pdateApplicationManifest(IAppInfo
appInfo, Uri documentDirectoryUri, Uri& newAppManifestPath, Boolean&
appManifestDirty)
--- End of inner exception stack trace ---
at
Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeUtilities.LoadAndU?pdateApplicationManifest(IAppInfo
appInfo, Uri documentDirectoryUri, Uri& newAppManifestPath, Boolean&
appManifestDirty)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.DomainCreator.CreateCusto?mizationDomainInternal(String
documentFullLocation, String documentName, IHostServiceProvider
hostCallback, IExecuteCustomization& executor)
at
Microsoft.VisualStudio.Tools.Applications.Runtime.DomainCreator.Microsoft.V?isualStudio.Tools.Applications.Runtime.ICreateCustomizationDomain.CreateCus?tomizationDomain(String
documentFullLocation, String documentName, IHostServiceProvider
hostCallback, IExecuteCustomization& executor)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly Version: 8.1.0.0
Win32 Version: 8.1.50912.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applicati?ons.Runtime/8.1.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applicat?ions.Runtime.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/Syste?m.dll
----------------------------------------
System.AddIn
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.146
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.AddIn/2.0.0.0__b03f5f7f11d50a3a?/System.AddIn.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Contract
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.146
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applicati?ons.Contract/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applica?tions.Contract.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Runtime.Contract
Assembly Version: 8.0.0.0
Win32 Version: 8.0.60510.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applicati?ons.Runtime.Contract/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools?.Applications.Runtime.Contract.dll
----------------------------------------
System.AddIn.Contract
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.146
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.AddIn.Contract/2.0.0.0__b03f5f7?f11d50a3a/System.AddIn.Contract.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Adapter
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.146
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applicati?ons.Adapter/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applicat?ions.Adapter.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/S?ystem.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f?11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.JScript
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.JScript/8.0.0.0__b03f5f7f11d?50a3a/Microsoft.JScript.dll
----------------------------------------

So we published this application locally and configuring webservice
locally. This application runs locally but we need to publish our
application in remote server.

Please let us know the proper way of deploying our application and
setting it to run in the client side.

Note: We acces our application in IE

Thanks in advance
Regards
Senthil Ram




senthil
Senthil Ramadoss

Hi Senthil,

I wonder if there is some kind of proxy issue going on here?

Microsoft.VisualStudio.Tools.Applications.Runtime.UpdateFailedException:
Failed to update customization from the specified deployment manifest.
---> System.Net.WebException: The remote server returned an error:
(502) Bad Gateway.
at System.Net.WebClient.DownloadDataInternal(Uri address,
WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
...

Regards,

Darryn Lavery [MSFT]

Darryn Lavery -- MSFT
reply 2

You can use google to search for other answers

 

More Articles

Variable to store a range of a document
Office Pro Small Business Edition & VSTO
MS-office and automation unreliability
Excel 2003 dll
Serious Error with VSTO 2005
[SOLVED] How to supress message : "the master template will ...
Excel Instances Creating Multiple Custom Menus
Blank row in Microsoft Excel
Outlook Crash after ThisApplication_Shutdown()
VB.Net COM Add-In for Excel Nightmare! please help.
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Replicating the Scheduling Tab in an Addin
word document revisions
How can I standardize SIGNATURES in OUTL…
Microsoft Office System Projects
Cannot access assembly from end user com…
How to prevent autoformatting on dates i…
Infopath listbox question
New button in navigation pane in Oulook …
ListOject Displaying updates on Excel ha…
VSTO EXCEL deployment Issue
Word OCX Control
better to store VSTO docs on hard drive …
How could i develop Office Add-ins compa…
Excel : Where are menubar items created…
Print to upper tray in Access

Hot Articles

Right Click Menu for Contact in OutLook …
VS2005 errors after upgrade from VSTO v3…
Delete a range in VSO
easiest way to pipe data from word doc t…
Problems SmartDocument 1.1 in new Office…
ClickOnce Compatibility With VSTO Add-ins
Visual Studio Tools for Office
VSTO 2005 application manifest
VSTO property for hidden Excel sheets
_ComObject specified cast exception call…
SELECT Statement against Excel file?
Fastest way to load data into Excel?
help me! how to response the drag & …
How to generate XSLT file from WordProce…
VSTO Word Template & Custom Menus/To…

Recommend Articles

Excel Addin CommandBarButton Click event…
cell formatting
undo in excel
NewSheet event not always raised
Unknown Error in DOM when setting node.p…
Action Panel, MS Word and database access
Fail to add Excel 11.0 to project refere…
Word automation from a Web Service
UNABLE TO CREATE EXCEL WORKBOOK PROJECT
Transfer windows form contents to a word…
Help!. regarding Visio SDK layout
outlook add-in 2002 vs 2003
Intercepting Save related commands in Wo…
Running Word Merge client side with a do…
Visual Studio Tools for Office