Configuration :: How To Release Updates Live . .
Feb 5, 2011How do i release my updates to my website without specifying any downtime and all. . .
i want my updates are updated without stopping any of my current services . .
How do i release my updates to my website without specifying any downtime and all. . .
i want my updates are updated without stopping any of my current services . .
Visual Studio 2008 I have web application in production where Web project is using Business project (.dll). Now i have made some changes in Business and need to move, say business.dll, to production. I am changing the version number of new business dll. While deploying it is giving error (System.IO.FileLoadException: Could not load file or assembly... ) and web project is not able recognige business.dll becuase version has changed now. I do not want to release web project as there are no changes there.
View 1 RepliesI'm on Windows Server 2008 with IIS 7.5 I have set up two web applications on the web site; one for the debug-build and one for the release-build for our system. I have not been able to figure out how to setup the two web applications so that they do not share the same native module.
When I access the debug-application (http://dev1/debug) it loads "G:workspaces ewreposdebuginRXWeb.dll" and the site works fine. However, when I access the relase-application (http://dev1/release) it also loads the "G:workspacesewreposdebuginRXWeb.dll" which is not want I want. I want it to load the "G:workspacesewreposeleaseinRXWeb.dll". Apart from that the relase-application works fine, loading for example its own database, javascript-files, images and so on.
I have tried many different configuration but obviously there is something I do not understand.
These are the changes I have made to applicationHost.config:
Under the section <globalModules> the following to rows are added at the end:
<add name="RXDebug" image="g:workspaces
ewreposdebuginRXWeb.dll" />
<add name="RXRelease" image="g:workspaces
ewrepos
eleaseinRXWeb.dll" />
The web.config for the debug-application looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>............
I am working on an ASP.NET web app using Visual Studio 2008 and a third-party library.
Things are fine in my development environment. Things are also good if the web app is deployed in Debug configuration. However, when it is deployed in Release mode, SerializationExceptions appear intermittently, breaking other functionality.
In the Windows event log, the following error can be seen:
"An unhandled exception occurred and the process was terminated.
Application ID: DefaultDomain
Process ID: 3972
Exception: System.Runtime.Serialization.SerializationException
Message: Unable to find assembly 'MyThirdPartyLibrary, Version=1.234.5.67, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'.
StackTrace: at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo,
SizedArray assemIdToAssemblyTable)
[code]....
Using FUSLOGVW.exe (i.e., Assembly Binding Log Viewer), I can see the problem is that IIS attempts to find MyThirdPartyLibrary in directory C:windowssystem32inetsrv. It seemingly refuses to look in the bin folder of the web app, where the DLL is actually located.
when i publish my asp.net application in Release mode i am getting .pdb files in Bin folder.
My doubt is
1. does .pdb files get generated in release mode also.
2. Why is .pdb needed in release mode.
3. how can i remove .pdb files in release mode.
any way to deploy code with both release and debug mode together. I know it is logically impossible.
My requirement is to deploy debug based aspx page(for temporary) in release mode build in prod.. the concept is to avoid to put full release build on production again & again.
I have an asp.net website that works perfectly when run in vs2008 on my local machine and as well as when hosted on my local IIS.
The same site has been deployed on to test server a few days ago and none of the updates made since then to the test site get reflected.
I verified the source code of the test site to be the latest version. However, the content displayed by the test site is quite older.
I thought this could be a IIS recompilation/rebuild issue but the webpages show the same old content even when I created a completely new test site using the latest copy from repository. Specifically, the CSS I have added doesn't seem to be applied.
Also, any changes made directly to the test site's source code doesn't get reflected in the browser even after I refreshed it several times.
At the moment, I've been pre-compiling using the aspnet_compiler with the -u switch but not -i. However I've noticed that if I've done a build in development since, even if I'm only promoting a flat aspx page to live, it looks for the revelant compilation *.dll which is not there.For my website, my ideal is that:
* I can update the aspx pages in terms of layout (like with asp.net 1.1)
* If code changes, I only need to deploy the updated aspx pages and the new compiled dll (like with asp.net 1.1), rather than the whole site again (generally I'm adding / improving features rather than whole re-write, and I don't want excessive downtime - also I don't have access to the live IIS)
* I'd rather not place the aspx.vb files on the live web server
I have a program which I would like to publish to my company's intranet server so that employees are able to implement updates. I am not sure how to go about this but I have done some research on IIS and I was wondering if anyone could clue me in a little more with what I need to do. I have not yet downloaded IIS to give it a try as I'm not sure where I would go from there.
View 1 Repliesi have a virtual directory in iis for my project. so that my application is accessible in other pcs as well. Now i want do debug the project when somebody is requesting the page from the other pc. i am not running application using (F5) Start Debugging. But still i want to debug when somebody is requesting the page. Netbean IDE has this feature.
View 1 RepliesWe have a web application on ASP.NET 1.1. I have made some changes on the application on local & i have to deploy it on live. How do i do it? Can i copy the pages that i have changed on live & re-compile the entire project there? Is it good idea as we dont have any test server.
View 1 RepliesThe DB I am working with is for memberships. Looking forward, I will load the website to a host provider. I think that the process requires that I also load a database with the hosting company on their server as well. Meaning that I will have two applications, with a connection string to connect the two (the web app, and the database). Is this the normal process for bringing a website live?
View 2 RepliesI had made some changes on the aspx page & on the aspx.cs page(code behind). It works fine on my local machine, but when i uploaded those pages on the live server, the changes are not reflecting over there. The site is not compiled & i have been replacing the files on the correct folder, but somehow the changes are not reflecting. I can see my changes on the aspx page, but the changes applied on the aspx.cs page are not taking effect. I even tried to put Response.Write on Page Load but nothing happened.Do i have to refresh the IIS server or some other tricks that might make the changes take effect on live
View 2 RepliesI have a developed a new website for online document management. I have setup everything on the local network and the site is available on localhost. What I want to do is to make it available on internet. Its my first web project and configuring IIS and resolving database problems after publishing was real headache for me apart from development work (thats another long story). But i have made it up to here and now there is one more step.
How to make a web server live?
I am using asp .net 3.5. The server is in my home (windows xp, IIS 6, microsoft sql server 2005, 10MB bandwidth for internet connection).
I dont want to buy a domain because the website is not commercial. Its just me and my friend who will be using the website and we dont mind putting in ip address. Also, do I have to get a static ip from my ISP?
I was working on some website in ASP.NET 3.5 on VS 2010. Though, some of the work is left, I intend to make it live. I have a domain and a host. But are there any chnages to be done in web.config etc before uploading? or how does this process work?
View 2 Repliesi want to know one imp thing abt asp.net website.. suppose i have craete one website project... its dummy.. so suppose i want to make it live so is there any changes which i have to do in that.. becoz if its dummy then its based on one local pc. for making live that should be accessed by all who access the site.
View 2 RepliesSo in my project i need to display charts in an admin panel. I tried MSCharts first, works locally but doesn't work on live server, found later that it's a host permissions issue and most hosts won't accept it.
Then i searched around and found a control called WebCharts, used it and it worked locally, but on live server i got the same permissions issue.
I have asp.net application deployed on local server what i want is to access application remotely through public(live)[We have one)..
View 5 RepliesMy application is live and it's work perfectly, but some time it's not loading and page is not load in browser but when i RESET iis it will working perfect.
application is in visual studio 2005 and back end is sqlserver 2005.
I am using the asp.net 3.5. i have development a website using master page, user control, update panel, asp.net ajax such as loading box and message box etc. when i testing the site in my local, it show with the normal speed. but after i upload the website into the live server, the loading box and message box is slow loading.if there is a popup of messagebox, it is slower and when i click the ok button on the message box. it seem close in very slow and have a duplicate box come out. i have no idea on it. why it is so slow when uploaded to the server?
View 1 Repliesi m having an Hosting with Godaddy server , now my problem is i want to upload(attach) my machine database to godaddy sql server . i have also check all the function and configration on godaddy but i m not getting how i can do that. if i try to take remote connection , this also not possbile in godaddy ( due to security they are disable this function )wht is the other way i can attach my database (.bkp) file to live godaddy server.
View 7 RepliesWhat will happen if we edit the web.config file of a live application ?
What steps should be followed to edit it on live environment?
Is there any way possible when my site is hosted to some how attach the process so I can debug the errors. Obviously as they are different environments what works in dev doesn't always work in.
View 3 RepliesWhile uploading file on live server i get this error.
System.UnauthorizedAccessException: Access to the path 'xxxwork-max.comTelecomimageslogo.gif' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
<identity impersonate="true"/> promotes for user name and password each time i select
file uploading.
[URL] - with reference to this post grant permissions to NETWORK SERVICE user will solve the problem but granting permissions will
Live Chat is a very famous tool on websites, and the operators use a special web/windows interface to talk to the clients.What I want to implement is to specify some email accounts, and when the client click's the live chat and starts typing, his/her instant messages are delivered to the available email account. My operators can talk back to them as if they are on their friends list.I don't need to require any login or registration for clients to use this Live Chat.So are there any ideas about how to implement such a thing? Are there any good third-party-modules that already do that?
View 4 Replies