Senthil Ramadoss

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
etc...

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




Re: Visual Studio Tools for Office Problem when Publishing VSTO office 2007 application

Mei Liang - MSFT

Senthil -

Please take a look at VSTO deployment white paper and see if it helps:

http://msdn.microsoft.com/office/default.aspx pull=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerOverview.asp

Mei Liang

------------------------------------------------------------------------------------------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.





Re: Visual Studio Tools for Office Problem when Publishing VSTO office 2007 application

Senthil Ramadoss

Hi

Thanks for your reply.

Now i got the following error when i try to run published application . We gave full trust for this application.

ould not load file or assembly 'Excel_DeploySample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)


************** Exception Text **************
System.IO.FileLoadException: Could not load file or assembly 'Excel_DeploySample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)
File name: 'Excel_DeploySample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' ---> System.Security.Policy.PolicyException: Execution permission cannot be acquired.
at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission)
at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission)

Regards

senthil






Re: Visual Studio Tools for Office Problem when Publishing VSTO office 2007 application

Donal Lafferty

The link to the OfficeVSTOWindowsInstallerOverview appears to be broken. How would I go about getting a copy of the material

DL




Re: Visual Studio Tools for Office Problem when Publishing VSTO office 2007 application

Zigamorph

I'm not sure if this is the same, but you could try http://msdn2.microsoft.com/en-us/library/aa537173(office.11).aspx