Configuration :: Update Applications Using MSI?
Apr 21, 2010
I successfully created a web setup project (MSI) for my asp.net web app in Visual Studio 2008.
However I can't seem to use it to update my asp.net web app.
Even though I run msiexec with the "update" argument, the files are not updated.
Is there anyway I can update the files? Perhaps using ClickOnce?
View 1 Replies
Similar Messages:
Apr 22, 2010
Our corporate intranet is designed so that each web application is a child application in the primary application.. Everything has worked fine with Visual Studio 2008 and even in 2010 running the website locally works great, the output directory for the child apps is ..in and the ProjectName.dll copies to that directory.. When I do a publish however it does not and I have to manually copy the dll from the bin folder in the project folder to the parent bin folder, this isn't hard of course but more of a pain in the butt each time I need to publish something. I made sure the output directory is correct for both debug and release yet on publish is just copies it to the child bin and not the parent bin as needed.
View 2 Replies
Jun 16, 2010
lets say I got 1 solution with 3-4 projects Can I tell them all to use 1 web.config and not copy connectionstring each time?
View 2 Replies
Sep 15, 2010
I have a WPF Windows application with sqlite database which we distribute to our clients. The application consists of some database table which changes every month. eg. the application users a exchange rate table which is valid for one month.
What is the best approach to update the data in these table. note that the whole application is not changing but only the data in it changing, no change to structur of the database or table.
View 3 Replies
Oct 26, 2010
how to structure our intranet. The way it's going right now is, that I'll create a web application that usually contains just a single web page and then deploy it. I'm using the file system deployment to deploy to a test server.
The file structure on this test server is something like "\serverwebintranetwebapplicationsAPP_NAME". I would create a folder on the server with whatever name to replace "APP_NAME" and then deploy into that folder. Everything deploys fine and is structured fine, none of the pages will load.
When try to load the page you get an error like: Could not load type 'WebInterface._Default'. The dll containing that code is definitely there. Inside the "APP_NAME" folder is the bin folder, config file, and the (usually) single aspx page. So for some reason, the web page can't find the dll files.
View 6 Replies
Feb 17, 2011
We are having a project which is for various online application systems for an educational institute. (Asp.Net 2.0 Web Site)
initially we developed all applications in single project with proper folder structure. but now we want to make each application as separate product.
all applications share single authentication(Obviusly this is single project) want to keep that way only.
I want to split project in smaller projects but want to keep shared authentication so how should i orgnise this project in IDE.
Also i need guidence on hosting such project
i should make small projects within single solution file. and at the time of publish amke single virtual directory to host the root project(login.aspx etc) and in subdirectories i should host other projects. so this way SSO(single sign on) across applications is possible ..
View 2 Replies
Aug 30, 2010
to host two web applications in single application domain? For example two web applications web1 and web2 being hosted in single application domain.
View 3 Replies
Jan 20, 2010
I would like to make the build information for the running web application but I dont know where I set or configure this nor do I know how to retrieve this information.
In a project you may set the build information in the file AssemblyInfo.cs under the projects Properties folder. Here is a snippet of the AssemblyInfo.cs file:
[Code]....
But there is no such file for an web application project, so I have to get this information from one of the compiled DLLs that is in the same assembly as my web application then? Or how is this done?
The reason I want this information is because my customer would like to have a webpage within the web application where he could see the current version. This is also nice to have when testing and debugging etc.
View 5 Replies
Sep 3, 2010
I have a parent application and several child applications in .NET 3.5. The parent application is a CMS custom app that needs to be isoalted from the child apps. THe URLs that we use to access the apps are:
[URL]
The root application on http://myserver is the cms application that needs to be isolated entirely from the other applications. Is this possible in ASP.NET and how do I go about doing it? Right now when I run sub_app1, I get a DLL binding error for a DLL that is only used in the root application.
View 1 Replies
Oct 26, 2010
When I use VS2008 to create a new form application, I am able to go to the Data menu select "Show Data Sources" then the "Data Sources" window appears. Then I am able to "Add New Data Source" and so on. But when I create a new Web Application. I can not do that. Am I not able to create a Data Source on web applications?
View 1 Replies
Jun 7, 2010
I've been worked with web services so far, and I'm interested in expanding my services to console applications as well so I started digging up with WCF but I'm conserned that I won't be able to use the HttpContext collection that I've been used to do with web services one important thing which is to generate a random value from HttpContext.Current.Request.ServerVariables["ALL_HTTP"] that I need to reckon if it's the same or at least near what machine that is calling my service. How can I overcome this problem?
I need to know what machine is calling to count the number of attempts to login into my system for example. So must do it inside of the svc code otherwise if I let the client inform what ip address or what computer he is using, anyone could forge this argument and surpass by another machine. May be I'm approaching this matter wrongly. And I should count the number of attempts per state session, but how is it done?
View 1 Replies
Jun 25, 2010
I'm a total noob to anything ASP. I'm a web designer for my county's sheriff dept. and I don't create dynamic pages because out content doesn't require it. In fact, I'm still quite new to web design. The programmer who created the apps has zero experience with IIS7. These apps are designed to run on our organization's intranet server. I'm not having any luck with getting these sites to run properly. I have the sites created with the proper directories. When I click in the right-hand column of IIS Manager to browse to the sites, they launches but don't function as they should. They load up like static pages. I installed .Net 1.1 hoping that would make a difference but it had no effect.
View 4 Replies
Jan 21, 2011
I'm trying to do updates into for a table with checkbox and number value type from the search page but there is problem with my update statement.Problem with the code: Unable to perform an update, datatype mismatch.
<div class="row">
<span class="label">Date: </span>
<asp:TextBox ID="txtDate" runat="server" />
</div>
[code]...
View 8 Replies
Sep 23, 2010
I have stopped the application pool, then replaced the XrfUploadService.cs file behind my XrfUploadService.asmx file. I now get errors when I do this: CS0101: The namespace '<global namespace>' already contains a definition for 'XrfUploadService'. What is this about and how can I update my service's code?
View 1 Replies
Aug 16, 2010
I want to update some values in the applicationSettings section (*not* appSettings) in the web.config file but all examples use this which only works for appSettings
config.AppSettings.Settings["Param1"].Value = param1;
How to do it for applicationSettings?
View 1 Replies
Jul 15, 2010
I have an application which was running totally fine some days earlier. The problem began since the day i have taken SVN update from server. Its saying "error 404, file not exists", it just removes application name from url & only leaves "http://localhost/1980". Whatever changes i try in web.config it has no effect. It just stick to this error. I copied my previous web.config also but no luck.I tried to comment all lines which are redirecting user to any other page in case of error also. Its happening in my colleagues copy also.
FYI, all other .net applications on my system are still running smoothly. Only this application is not running. Checked the log & it says: 2010-05-15 05:50:12 192.168.1.2 3692 192.168.1.53 2869 HTTP/1.1 NOTIFY /notify 400 - Hostname -
View 1 Replies
Aug 17, 2010
What is the best way to update a DB on a webserver without shutting down the website that is running on the server?
We want to do things like replacing tables, updating tables and so on, without shutting down the website. One can do everything one wants to by simply opening the webiste on a local instance of visual webdeveloper express (2008 for example). But as soon as the DB is opened in that program, the website looses contact to the database and is effectively down.
Is there another way to access the database wihtout having to shut it down?
Of course one could program such functions viwht asp.net, however, there are so many tasks to be done that it would be tedious to program a new function on an admin website each time. Is there a simple and direct way to change the DB?
View 5 Replies
Jun 11, 2010
on installation of an application i need to lookup 2 tables and add rows on the next availible(free) row as well as edit a (field in colum) in the new row. I dont know any sql really how would i go about doing this? I have a custom installer class i just dont know the sql
View 2 Replies
May 11, 2010
Is it possible to just update a target directory rather than fully recompile a website everytime?
For example, if i have already have a precompiled website in a target directory and then a project from the source changes, can i run the aspnet_compiler such that it only updates the target directory with the new changes (by updating only that assembly) rather than delete the whole target directory and recompile the whole application? We do not use the -u option, so we're talking about fully precompiled sites.
View 1 Replies
Feb 17, 2011
I am a little confused when it comes to change the html of a .aspx page and uploading that to the server. Does the website have to be re-published each time a change is made to the .aspx page? I have the box checked that says "Allow this pre-compiled site to be updateable" but when I upload it, it works fine, then I change some html in the .aspx page, save it, then copy that file directly from the source folder over without going through the publish options again. However this time I get errors. Now if I copy over both the .aspx and .aspx.vb files it seems to work. So I suppose I am confused on how this whole publishing thing works and what files I have to copy over. Normally I uncheck all boxes and I don't have to copy over the .aspx.vb pages.
View 4 Replies
Jan 1, 2011
I get the error after uploading my ASP.NET solution to server:
[NullReferenceException: Object reference not set to an instance of an object.] wwwroot.CLASS.Website.clsIndex.SAN_PHAM_MOI_NHAT_FILL() in C:jasmine.arvixe.com ukhi89hoasacmau.comwwwrootCLASSWebsiteclsIndex.cs:66 wwwroot.index.f_BindDataToDataListMoiNhat() in C:jasmine.arvixe.com ukhi89hoasacmau.comwwwrootindex.aspx.cs:32 wwwroot.index.Page_Load(Object sender, EventArgs e) in C:jasmine.arvixe.com ukhi89hoasacmau.comwwwrootindex.aspx.cs:23 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
C:jasmine.arvixe.com ukhi89hoasacmau.comwwwrootCLASSWebsiteis the path on my computer and I don' understand why website on my server point to it (I uploaded successfully)????How to update the path of ASP.NET Web Application correctly for the server??
View 3 Replies
Nov 16, 2010
Compile and Publish Site - but i want to be able to update .HTM includes? I have a few pages that have JQUERY sliders and every onces in a while the client wants to update IMAGES, i thought it would be easy if i could access the .HTM file update code instead of doing a recompile! is this even possible? or am i doing it complety wrong?
View 2 Replies
Oct 16, 2010
using windows server 2008 r2iis 7.5netframework 4.0after i installed these windows updates my server really got messed up.here my whole config file
[Code]....
here my iis configafter i did windows update today i started to get this error constantlyMessage nable to validate data. tackTrace at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
View 3 Replies
Nov 4, 2010
My web.config file has several authorization. May i know how can i update the roles value in to allow 'Staff' to access Page1.aspx programmatically.
[code]....
View 5 Replies
Nov 17, 2010
On my development machine I have VS 2005. I had installed Crystal Reports 9 and then later I installed Crystal Reports XI R2 on it as well. I needed both on my dev machine to support 2 different vendor applications. I have a .NET 2.0 web application that uses crystal reports objects. Now my assemblies in webconfig file contain references to both versions of CR installed on my dev machine which is giving me 'ambigous reference' errors on compile. I opened up project properties and deleted the new references (I want to stay with using the CR 9 dlls in the GAC). This fixes up my webconfig nicely.
However VS 2005 automatically re-updates and adds all the CR XI R2 refernces I just deleted a moment ago. Is there a way to sto VS 2005 from routinely updating my references, a radio button or a trick to letting me have complete control over my references, at long enough for me to debug , build the site and deploy to my production server which does not have CR XI R2 installed on it?
View 1 Replies