I have a c# application that publishes to a server using click-once, so our company clients can run it. I upgrade my visual studio from 2010 to 2012. every thing is great so far and clients can run the application normally after my publishes.
then I add a report viewer Item to my application and it runs on my pc well. but after publishing the clients face this error:
unable to install or run the application. the application requires that assembly microsoft.reportviewer.ProcessingObjectModel version 11.0.0.0 to be installed in your GAC.
what should I do now, I search a lot but cant find a solution.
thanks.
You will need to add the report viewer as a prerequisite. Here is a link to MSDN that describes what is needed.
http://msdn.microsoft.com/en-us/library/ms251723.aspx
Related
Getting this error when I select a "publish target" in VS 2015 update 3. Had a look for a while online but didn't see anything, so any help would be appreciated if you could point me in the right direction.
An error has occurred while processing the request: Method 'StopRemoteProfiler' in type 'Microsoft.VisualStudio.Web.WindowsAzure.AzureWebSite' from assembly 'Microsoft.VisualStudio.Web.WindowsAzure.Impl, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have implementation
I updated to the to Azure sdk 2.9.6 last night because of a different issue but related where there was no error, but no existing apps were listed.
I can confirm that this works on my work computer and I have existing apps on Azure, but not working on my home computer.
I am a bit loath to uninstall and reinstall VS, so any help would be appreciated. Of course, if the only solution is to reset, then so be it.
Thanks,
Jarrod
I faced the same problem. This is what worked for me.
I updated the "Microsoft .NET Core 1.0.1 - VS 2015 Tooling Preview 2" by going to Menu -> Tools -> Extensions and Updates -> Updates -> Visual Studio Gallery. It shows all the available updates for your version of studio. Select the component to update. It should download a file named "DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe" or something similar. When you run this file, if you have the software already installed then select the repair option. It will ask you to close any running instances of Visual Studio, also make sure you have internet connection.
Also if you are using Web Deploy to publish your app make sure you have Microsoft Web Deploy v3 or higher installed or you will get error. You can do it using Microsoft Web Platform Installer.
Hope it helps.
I am creating an Excel document level add-in in Visual Studio 2013 but am having trouble deploying it.
The application runs on my computer no problem. It also runs on another computer I have that has Visual Studio installed but when I try and install it on a computer that doesn't have Visual Studio installed I get the below error message.
I have been unable to find the exact route of the problem. I have tried unclicking the Sign ClickOnce Deployment check box but to no avail.
I also tried using InstallShield (similar security issues) but would prefer to use ClickOnce.
Thank you in advance.
I have updated visual studio 2012 last night, this was Visual Studio 2012 Update 4. It was working fine before but now i am unable to connect with tfs server. Please let me know what i am doing wrong?
This is the error:
TF400324: Team Foundation services are not available from server https://myServer.visualstudio.com/defaultcollection.
Technical information (for administrator):
Unable to connect to the remote server
try clearing your cache folder?
C:\Users\XXXX\AppData\Local\Microsoft\Team Foundation
TFS3 is VS2010, TFS4 is VS2012, TFS5 is VS2013
Stop all instances of Visual Studio.
Zip/Rar all the files as a backup, then delete all files except for the backup zip/rar.
Restart Visual Studio and it will recreate all the files and you should be able to connect as shown here:
I followed this steps to get rid of this issue:
Close all instances of Visual Studio.
Open the Task Manager and check if any TFS Services are running. Select each of them and click on End Process Tree.
Browse to the folder below and delete all the contents and folders in
%LocalAppData%\Microsoft\Team Foundation\4.0\Cache
and in
%LocalAppData%\Microsoft\Team Foundation\5.0\Cache
Restart Visual Studio and try triggering build.
If you are switching from one version of TFS to another, you may require repeating this solution again. If you are using older version of TFS, you may have to navigate to
%LocalAppData%\Microsoft\Team Foundation\
and find out the version folder instead of navigating directly. It would be
TFS3 if using VS2010, TFS4 if using VS2012, TFS5 if using VS2013.
Source: TF400324: Team Foundation Services are not available from server
In my case clearing of cache folders didn't work out.
What I also did is enabling SSL in IIS for Team Foundation Server.
Hopefully, StartSSL.com can offer it for free.
Step by step:
On server side:
Cleare cache folders like it described above;
Get the SSL following procedure described here;
Enable SSL for Team foundation server in IIS (netmgr);
Check if your TFS server is available over https (check link https://tfs.your-server, the certificate should be valid and page opened without any warnings);
On client side:
Remove all TFS servers in Visual Studio;
Add your TFS server connection with HTTPS (not HTTP).
Now you are able to work with VS-TFS link.
If the above methods don't work, and in the Output tab shows you have to contact the server administrator, then the TFS is actually down and you are disconnected to it.
I know this is an old thread but the problem still appeared in VS 2013 and TFS 2013.
In my case the IIS on the server side was not running. After starting it VS could immediate connect again.
Doing some work on a proof of concept in Azure VM with SQL Server 2012, BizTalk 2013 and Visual Studio 2012. All 3 (SQL, BizTalk and Visual Studio) are on the same VM. In visual studio 2012, I cannot see any project templates for BizTalk.
I installed the Windows Azure BizTalk Services preview but unfortunately, that only installs two templates both for BizTalk Azure services (not orchestrations, etc.).
I tried running (as admin) devenv.exe /InstallVSTemplates to no avail.
All I'm trying to do is have the BizTalk project templates installed in VS2012 so I can create an orchestration.
Ideas? Suggestions?
As part of the Biztalk installation, there's an option to install the developer tools and SDK. If it's not installed initially, you can go into control panel, modify the installation and add it there.
If the dev tools and SDK are grayed out, it's because IIS ASPNET 4.5 and WCF HTTP ACTIVATION 4.5 prerequisites have not been met. Ironically enough, once you meet said requirements, they'll appear during installation (as seen in the image below). In order enable the SDK option, I've found that installing Excel, in addition to several IIS options will enable the installation option. Credit to this blog entry for pointing me in the right direction.
TL;DR Install Visual Studio 2012 FIRST to get ASPNET 4.5 and WCF HTTP requirements met before installing BizTalk. Not sure why they couldn't just say something during the BizTalk installation. Maybe have a "Development environment" mode or type of installation where they'd mention having VS installed first.
I'm having trouble getting started with PhoneGap on windows 8, VS 2012, namely:
I don't know how to install the templates
I open the template projects I've downloaded from PhoneGap, but they are in compatible with VS2012
I don't know where to start in respect to creating my first simple CRUD application
I want to connect to a WCF API and make some calls
How to publish the result allowing installation on many devices:
I mainly want to use iPhone and Android devices
How do I get started with PhoneGap?
#Smithy, Microsoft just made it possible to develop Cordova apps with Visual Studio 2013 Update 2.
Its just a preview as far as I understand, but go have a look.
If you have the latest version of Visual Studio installed, you need to go to Microsoft'd download page and download the installer:
http://www.microsoft.com/en-us/download/details.aspx?id=42675
This comes along with documentation on how to get started and how to install and set it up in VS 2013.
Good luck.
UPDATE:
With the release of Visual Studio 2013 Community Edition along with Update 4, MS has made it easier than ever to create Cordova project....and best thing of all is it's FREE!!!!
Benefit is that if your used to VS like me, this is a comfortable environment, and its super easy to get started.
To get access to these templates, follow the steps when creating a new project in VS, and you will be prompted to install additional software, including but not limited to SDK Manager, adt, iTunes, emulators etc..
After these are installed, it is now simple to create projects, edit and run them in the included RIPPLE emulator.
These projects can also in addition be deployed to your device from VS.
To check if your device is picked up on your PC, open a cmd and run "adb devices" to see if your device is picked up on your PC and a list of connected devices.
Easy, effective and it works. From, see link on terms of use and limitations in organisations: Free Dev Tools
Download link here: http://www.visualstudio.com/en-gb/products/free-developer-offers-vs
Q: Who can use Visual Studio Community?
A: Here’s how individual developers can use Visual Studio Community:
Any individual developer can use Visual Studio Community to create their own free or paid apps.
Here’s how Visual Studio Community can be used in organizations:
An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.
For all other usage scenarios: In non-enterprise organizations, up to 5 users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or > $1 Million US Dollars in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.
Thanks Microsoft!
You can use VS to edit the html, css, and javascript files, but I don't believe there are any VS project templates available. At least I've never seen any.
But, you won't be able to compile and deploy. The templates for Android for instance are eclipse project templates since phonegap is building a java application in order to deploy to android.
If you want to develop for android, follow the getting started guide from Phonegap ( I can't get you a link right now due to firewall issues). The files you put in the www folder will be the html, css, and javascript files for your project and you can use anything you want to edit them, including VS.
You can create PhoneGap application using
Cordova vs plugin
Telerik App Builder
vsnomad
for more information please see the below link
http://sourcefreeze.com/cross-platform/visual-studio-cordova-plugins-for-cross-platform-mobile-apps/
You may also want to refer to this post that describes how to use Phonegap projects in the new Multi-Device Hybrid Apps that uses Cordova integration in VS - https://stackoverflow.com/a/23621633/1277291
RedGate has a product called Nomad which integrates beautifully with Visual Studio 2013.
It makes use of the PhoneGap Build cloud service. With this approach you don't need all the platform SDK's on your system. Works very well.
See this video. Unfortunately RedGate recently stopped supporting Nomad. I'm hoping Microsoft's new offering will offer similar capability.