Visual Studio - Using ClickOnce (or Similar) For Application
Sep 2, 2010
I'm looking for a way to providing users (administrators) of a web application to automatically (meaning it's opt-in to update, but the installation should be automatic when started) update said web application when new versions are released.
The reason why I want an automatic approach is that I want the users to be able to update the web application while it's running remotely, without having to gain physical access to the machine (including RDP).
I could of course write my own code for this, but I would prefer to use something like ClickOnce that has been around for a while. Is it possible to use ClickOnce for this?
Or is there an alternative for ASP.NET applications that I have not been able to find?
It is important that it's the user that does the update and not me, so I don't think WebDeployment is the way to go, but I'm willing to listen to scenarios where this would work.
The users are not system administrators, so I want this to be as fool proof as possible.
I'm using Visual Studio 2010, ASP.NET 2.0 (.NET 3.5). If a solution requires switching to version 4, this is possible, but not preferred.
View 2 Replies
Similar Messages:
Jul 14, 2010
A few years ago, I built a desktop application for a client in VS 2005 that was deployed using Click Once. Recently, the client asked me to make a simple modification to the site.
I no longer had VS 2005 (or the same machine for that matter) and was forced to upgrade the application to Visual Studio 2008.
Most of the application is fine in VS 2008 - however I am unable to Publish the application. During the project conversion process and whenever I try to publish the application, I receive a message like this:
"This project includes a password-encrypted key used for signing. Enter the password for the key file to import the key file into the local crypto-store database for use."
Unfortunately, I don't have any idea what the password would be for this application.What options do I have? Is there a way to get this working again without having to rebuild the application or have all of the users uninstall the application and reinstall it?
View 1 Replies
Nov 5, 2010
I have an application that I'm deploying via the Publish Wizard from Visual Studio 2008. I've added some code to my application that adds a few registry keys. I'd like to execute some code during the uninstall process to remove these registry keys.
View 1 Replies
Dec 28, 2010
I was recently told by a colleague that VS 2010 has inbuilt features similar to Resharper (e.g. Ctrl T to find a class etc...). I have been experimenting with VS 2010 Ultimate edition but cannot seem to find these features.If the features exist could somebody point me in the right direction?
View 1 Replies
May 28, 2010
How can I ensure that web application converted from 2003 visual studio to 2008 visual studio
to have two files as it is when create a web file in visual studio 2008.The web application is in Chsarp. I have converted these filesfrom 2003 to 2008 but they still have three files each.
View 4 Replies
Mar 24, 2010
I am using the AjaxControlToolkit 3.0.30930 (the most recent). I have a very simple page with an UpdatePanel. A button on the UpdatePanel invokes Response.Redirect and passes the URL of a Click Once application on the same server. This works well if I run the website on my local system (Windows 7, IIS 7.5).
If I run the website on a remote system (Windows Server 2008, IIS 7.5, same settings) the redirect simply does not work when invoking the page from remote (using the IP address). Instead a postback is executed. Even if I use the IP address of the webserver to invoke the website locally on the webserver, the redirect does not work. Using http://localhost on the webserver the redirect works well.
I tried another test page with no UpdatePanel: The redirect works well in all scenarios.
I tried out to invoke the ClickOnce application using a link instead of Response.Redirect: The redirect works well in all scenarios, even with an UpdatePanel.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestWithUpdatePanel.aspx.cs" Inherits="TestWithUpdatePanel" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[Code]....
Even if setting EnablePartialRendering to false, the redirect works. This is a big clue, that the UpdatePanel causes the problem.
View 3 Replies
Mar 28, 2011
I'm trying to publish my ASP.NET web application in Visual Studio 2010. I'm then trying to install it as a website on a server using IIS. I've gotten my application to publish (to a .zip file) but it points to the physical directory on my hard drive. This obviously will not work on the server.
View 3 Replies
Feb 3, 2010
How to remove the unused references in form level, vb.net application and web application?
How can I use fxcop to identity undisposed objects like dataset, dataview, connection, stream...? Any one having custom rules for the same?
View 1 Replies
Apr 8, 2010
on desktop start has disappeared, getting above issue on double clicking/running any application.have VS2005 installed with sp1 and all other relevant updates as per MS..., i read some forums which states because of VC++ the system files may be currupted....have not installed VC++can anyone guide me the issue here and its solution...
View 3 Replies
Aug 14, 2010
is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project
my current project references
i have a very annoying iis problem
iis server stops working until app pool is recycled
i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem
View 2 Replies
May 21, 2010
Anyone know if I can maintain a VS 2008 (.net 3.5) project by using the VS 2010 IDE ?
View 1 Replies
Jan 24, 2010
I am getting the above error whenever I attempt to run an application from the IDE. Any application. I have literally created a new asp.net "Hello World" app with absolutely nothing other than the aspx page, no code in the code-behind, and the only change to the web.config to enable debugging. The app errs immediately. Nothing is written to the event log.
The error is unique to asp.net, Visual Studio 2008, and has only recently started. I can run asp.net apps in VS 2005, and windows apps in 2008.The only thing I'm sure that I've done recently is installed SP1 for .net framework 3.5.
View 4 Replies
Apr 13, 2010
I already have a web application running successfully develeoped using Classic ASP by the previous web pregrammer. Since I'm not familiar with Classic ASP, I tried running the source code in Visual Studio ASP.NET. However, I'm unable to run it (expliciltely denied). May I know whether there are special things to note when opeing and running a web application developed in Classic ASP in ASP.NET? The previous web application is connected to the school server, but I'm using my laptop's local host to run the application. Is that why I can't run the application? What are the steps needed to connect my ASP.NET application with the server.
View 1 Replies
Jul 13, 2010
I need to know how to compile my web application in vs2008 so that it can run on a server without the codebehind files being viewed or how i make it and .exe
View 12 Replies
Apr 19, 2010
am using visual studio 2008 there i didnt find New Web Application, there only Web Site. How to create the new Web Application project?
View 1 Replies
Feb 11, 2011
Am new to ASP.Net. There are two options (Web application and Websites) available while developing projects in web. I have the confusion of which one is better in web.
View 4 Replies
Jan 6, 2011
my os : win XP service pack 2my website was developed in asp.net 2.0(visual studio 2005) and then i converted into asp.net 3.5(visual studio 2008). and i added one page. it was working.now,while i am running my website,output should be like this 'http://localhoast:8799/mypage.aspx'but at first it tries the above url and then it is automatically changes the url into like this 'http://www.localhost.com/mypage.aspx'.
i am facing this problem only in firefox as well as google chrome.but i am not facing this problem if the browser is internet explorer.is there any problem with my IIS? or in the browsers?
View 1 Replies
Jan 28, 2010
where to find/download visual source safe plug in or visual source safe client for visual studio 2005 IDE?
I do not want to install visual source safe 2005 server.
View 1 Replies
Jun 15, 2010
When I click on New Project-> Visual Basic (or C#)-> Web, the only options i get is AjaxControlExtender, AjaxServerControl and ASP.Net Server Control. How do i get the ASP.Net WebApplication option to show up?
View 2 Replies
Jan 7, 2011
I am developping an MVC3 RC2 application and just after hitting F5 on my asp web application, I am getting this error message program '[7780] w3wp.exe: Managed (v4.0.30319)' has exited with code -2 (0xfffffffe).So I am totally unable to debug my application
View 10 Replies
Jul 6, 2010
I'm about to start a new module in my existing web application project (already completed 3 modules), due to more data entry and volume of data handling my PM informed me to go this module on windows application (vb.net), but i'm requesting him to go with web application since i'm much familiar in web applcation and all my completed module on web.
But he is thinking on performance part too, if i get some idea / suggestion on the same so that i can clear and i will go with either option.
The module is Service Billing with LPO Control, Billing, Proforma, eBilling, eApproval, online billing etc.
View 3 Replies
Aug 13, 2010
The default ASP.NET web server that launches from within Visual Studio (Casini) is a little buggy on my development machine, so I like to publish to a local IIS instance on my dev machine and look at the web application there. However, I'm not automatically in "Debug Mode" when I launch the application this way.
I know that VS 2010 has an "Attach to Process" debug feature, but I'm not sure exactly how to use it. What do I need to do to be able to debug a local IIS ASP.NET web application from within Visual Studio? Specifically:
What settings do I need to change in the configuration of my web application?
What "Package/Publish Settings" do I need to change?
Is there anything I need to change in IIS?
Is there anything special I need to do in the "Attach to Process" screen?
Background Information: I'm running Visual Studio 2010 on Windows XP SP3 with IIS 5.1 and .NET 4.0.
Additional Information:
I should add that I've tried attaching to aspnet_wp.exe, but when I go to a page that I know has a breakpoint in it, I get the following message when I hover over the "open circle" breakpoint:
The breakpoint will not currently be hit. No symbols have been loaded for this document.
View 5 Replies
Jan 19, 2010
I have a web application project that I have been working on for a long time now (about 7-8 months of work). I have been recently asked to convert it to web site project as boss wants the pages to be able to be updated independently instead of re-submitting the DLLs in BIN folder every time.
Is there a conventional step-by-step procedure to follow in order to do such conversion? Or create a web site project, copy all files, and hope that you will get less than 1000 errors?
View 1 Replies
Sep 9, 2010
A reply to the following post says not:
[URL]
If it is possible, can anyone point me at an example?
View 6 Replies
Nov 26, 2010
What is the difference between a Web Application and a Web Site?
These are the steps i am following crating the both:
File - new Project - Visual C# - ASP.NET Web Application
FIle - New Web Site - Select "ASP.NET Web Site"
I know this a simple doubt but i want to know.
View 3 Replies