I have created an Add-in for MS Word using Visual studio. When i deploy and install that in other machine i get the following error message.*
Customized functionality in this application will not work because the certificate used to sign the deployment manifest for Sample or its location is not trusted. Contact your administrator for further assistance.
But i can able to install this add-in in few machines. Any idea why does this happen?*
I have found solution for this problem.
This problem occurs due to security level of the system. When we download the zip file from the internet, its contents are blocked in our system for security reasons. So the setup was not installed in other systems. We need to unblock the zip file (right click on zip file and press the unblock button). Now extract the contents of the zip file and try installing the setup file.
Related
I've revisited my asp.net mvc core 2.0 web site after some 8 months and for some reason I cannot upload any dll files from my local published folder to the hosting server. I keep getting the following error...
"Copying files to remote side failed.
The process cannot access the file because it is being used by another process."
I get this error no matter which method I use, ftp or http.
What's changed in the last 8 months?
Please check list below:
Please ensure you have rights to access the file;
Please check if the FTP port is used by other applications;
Please check if the file is indeed used by other programs.
Please run process explorer and see what process is locking the file.
Also try:
Restarting your visual studio
Restarting your operating system.
Restarting target server or Web Server.
Please provide more information for more help
I'm trying to download Google Cloud SDK in my computer but during the installation that error occurred:
Download failed: connecting to host.
Can you help me to solve it?
This error could also occur if your computer is behind corporate firewall. The easiest solution is to NOT use installer, but download versioned archive using the following link https://cloud.google.com/sdk/docs/downloads-versioned-archives, then follow the instructions on the page e.g. for windows run .\google-cloud-sdk\install.bat
When i tried to install it today,i had the same issue,i figured out that it was the antivirus installed in my system which was creating the issue,either disable it for a while or change the settings to give download permission.
Been looking through and trying all guides i found on this topic but no luck. I am running and MVC project with HTTPS and want to access the debug site with some remote mobile devices to test out the website. I followed a guide that almost work and i think I am pretty close to getting it to work. Here are the steps I have done:
Turn off Firewall
Open projectfolder of website go to \vs\config\ and open applicationhost.config
Find your site and line that contains your mapped port like this:
-edit it to get this result:
Tried to run Visual Studio as Admin at this point, Got regular error 400: Bad Request - Invalid Hostname when trying to access site from other computer
Opened CMD as Admin and ran the following command:
netsh http add urlacl url=http://*:44363/ user=everyone
- URL reservation successfully added
-Tried to start Visual studio as admin and non admin. Gets the following error message
"Unable to launch the IIS Express Web Server.
Failed to reister URL "https://localhost:44363" for site "x" Application. Error description: Cannot create file when that file already exists"
-I then have to run cmd again and remove the url with the command:
netsh http delete urlacl url=http://*:44363/
How do i get this to work with Visual Studio 2017 ? I cant be many steps from getting it to work. I have read many guides but none of them works
Amazing how such a simple common need can be so painful to fulfill out of the box in 2017!
Anyway https://github.com/icflorescu/iisexpress-proxy worked nicely for me.
Install it with node:
npm install -g iisexpress-proxy
Then its just something like:
iisexpress-proxy 51123 to 3000
Under 2 mins to get running.
Let me share my experience with Visual Studio and IIS Express that should help you. I am not using HTTPS and my project type is Web site with WCF but you should be able to accomplish your goal.
Here are prerequisites:
IIS Express installed
Visual Studio installed
Added url reservation for public port (netsh http add url=http://*:50001/ User=Everyone) from elevated command prompt.
Added firewall inbound rule for 50001 TCP port (Control Panel-->Windows Firewall-->Advances Settings-->Inbound Rules-->New Rule...)
Now let us setup a project in VS. I am using one of predefined templates with C#. Compile it and try to run it from VS. At that moment VS is starting developer instance of IISExpress that helps your site to run.
You should be able to see IIS Express icon in Notification area. With right click you will see that your site is running and a port (we will call it VSPORT) that is assigned by VS. This port must be different than reserved port (50001).
If you managed to accomplish this without problems then you have almost everything ready for running your site without VS.
Go to your project folder
Go to .vs folder
Go to config folder
Open applicationhost.config
Locate sites/your_site section
Copy everything between your_site and /your_site
Now we need to add this info in "global" IIS Express config.
Go to IIS Express folder (something like c:\Users\USERNAME\Documents\IISExpress)
Go to config folder
Open applicationhost.config
Locate sites section.
Paste information about your site.
Change binding from
binding protocol="http" bindingInformation="*:VSPORT:localhost"
to
binding protocol="http" bindingInformation=":50001:"
Save changes
With this change you may start IISExpress.exe directly and you can continue to use VS to work on you project at the same time.
If you want to access it from other computers do it as http://YOURIP:50001/.
Do have in mind that you need to ensure that your javascript code is NOT using address and port number directly.
You can solve the problem by downloading the 'conveyor' library from extensions and update in Visual Studio.
You can access it from other devices.
Open Visual Studio
Tools > Extensions and Updates
Online > Visual Studio Marketplace
Search 'Conveyor'
Download and install this extension
When you launch the API, you can access it from other devices. This plugin creates a link from your own ip address.
Example:
https://youripadress:5000/api/values
I have a VSTO (Visual Studio 2012) Excel (2013) add-in that I'd like to deploy via an web page (also VS 2012, asp.net MVC5). The ClickOnce deployment package is generated using a TFS build and works fine from a file share, both initially and for updates.
I'm stuck on the web deploy aspect. I've tried both cshtml pages and htm pages and the setup.exe download works fine, but running the setup fails because authentication is somehow triggered and the vsto content is not delivered (logon page is returned). The controller containing the action for the cshtml page (ClickOnceSetup) is decorated with [AllowAnonymous], and I've tried IgnoreRoute options without success.
Does anyone have a working recipe for this approach? None of the posts or examples I've found have put all these pieces together.
Update 1 (more info): The deploy from the web page works fine locally with IIS Express - the setup executes from the web page and the .vsto file processes without error. When running the same web application from a dev server, if I click on the link to the setup.exe and download it, I get an error that the .vsto file is not found in the downloads folder. If instead of downloading, I choose to run setup.exe (in IE), then I have the authentication problem, details from the "Installing Office customization" error dialog:
From: http://xxx.xxx.xxx.xxx/ExcelAddIn/ExcelAddInV4.vsto
"Exception reading manifest from http://xxx.xxx.xxx.xxx/Account.LogOn: the manifest may not be valid or the file could not be opened"
Exception Type: System.Deployment.Application.InvalidDeploymentException
Thanks in advance,
Reuven
The Deploying an Office Solution by Using ClickOnce article in MSDN describes all the required steps for creating ClickOnce installers for your Office add-ins. Also you may find the Troubleshooting Office Solution Deployment article helpful.
I was able to work through the issues with this approach:
In Visual Studio and the TFS build the publish points to a UNC file share
After the build I update the publish path in the generated files (vsto, and manifest) with the web site URL using mage.exe. The vsto files are also signed. For the setup.exe, I set the path using the -url command line option (on the setup.exe itself)
I upload these files to the ftp folder that mirror the web site url.
My basic issue was that the deployed files needed to be configured for the eventual web url, but that needed to be a step after the build / deploy in Visual Studio. Once I separated those steps, and set the ClickOnce publish/install location as noted above, in my MVC application linking to the setup.exe in that url worked fine.
We are setting up Tridion 2011 SP1 CDS (.net based) on one of our servers.
We are sruck at point 'Installing Monitoring as a Wndows Service'.
Evern after running the batch file 'StartCDInstaller.bat' and following the procedure, we cannot locate the Tridion Monitoring Agent service in the windows services.
Are we missing something?
Also another question regarding CDS, can we change the location of config files (Deployer, Storage_conf etc) post Installation? Or do we need to re-run the installer?
Update:
The same error even after reinstalling the monitoring service.
"The Event log details: The description for Event ID 100 from source TCDmonitor cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted"
You can change the location of tridion folder structure by setting the System variable in environment variable(Control panel -> system and security -> System -> Advance -> Environment variables -> system variables) called "Tridion_Home" and value as "d:\tridion" (this is the path of the tridion folder ). You can test this after going to run and type %tridion_home% .
If for some reason the Tridion Monitoring Service was not installed by the installer, you can do it manually.
Locate the file cd_monitor.exe (it is on the installation CD in Content Delivery\roles\monitoring\windows).
Copy it to a location where you keep your executables (e.g. to the Tridion\bin folder)
Start a command prompt as administrator and type 'cd_monitor -install'
Go to the services console and start the monitoring service
Had a similar issue too, it was an x64 Content Delivery server with x64 Java installed. Manually installed the monitoring service but refused to start with:
The description for Event ID 100 from source TCDmonitor cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Could not load Java runtime libraries at
the message resource is present but the message is not found in the string/message table
The monitoring service requires 32bit Java, as soon as that is installed it started with no problem.
Hope that helps.
Scott