Deployment - How To Deploy Web Site
Dec 29, 2010I have an ASP.Net website that I built in a computer science class. I built it in Visual Studio and the solution is on my local drive. How would I deploy this to a real website?
View 3 RepliesI have an ASP.Net website that I built in a computer science class. I built it in Visual Studio and the solution is on my local drive. How would I deploy this to a real website?
View 3 RepliesA 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?
I am neither a server administrator nor very knowledgable about how to configure IIS, so I have the following problem:
My client hosts their public website from their own internal server running Server 2003 with IIS 6. The current website is a .NET 1.1 application configured as a website in IIS. Within this site a separate virtual directory configured as an application runs a separate .NET 1.1 app that serves as their online webstore.
I've been tasked with upgrading the website (not the webstore) to .NET 4 and getting it installed and working on their server. My initial plan was to simply change the existing websites home directory to the new home directory from the IIS admin console and be done, but then I read that this would break the application directory that hosts their online store because .NET 1.1 applications cannot be nested within .NET 4 applications. Can anyone confirm this?
Is not a lot of fun of yielding much success at the moment.
When I copy my web site on the local machine some of the CSS classes in my themes are not applied. Although not major, I am concerned at what may be causing this.
My real problem is regard the root of the site. On my personal machin, I have set the root of my site using the tilde syntax. However, the root of the web site on my host's ftp site is wwwroot.
Does this mean that I need to change a setting somewhere for the page to be recognised?
I am working on a web application which has around 40 pages. We have separate business and DB layer. But there are still few simple business logic in code behind (CS) page of each aspx file. So when there is any change in that code behind, it lead to complete re-deployment of whole project. Is there any option where I could re-deploy only the corresponding code behind and aspx page alone?
Note : We copy the web contents to the virtual directory for each deployment
So lets say I want to make a change to some content on one of my views for my MVC project. Something really simple like taking out a sentence or adding a period or something. So from what I see, I have to republish the entire site, then take down the whole site and replace it with the newly publish set. I was wondering if there was a way, if I make a change to a single page's content that I could just replace the single page, without having to replace the entire site. I remember in web forms I could replace a single page if I made a change.
View 2 RepliesI am using WIX 3.6 for VS2010 to create our MSI's for our web application setups. This is all working fine and all in terms of deployment and uninstall.
I recently allowed the user to specify the virtual directory and application pool names to support side by side installs. This is all fine as I have created my own setup bootstrapper.
The issue is with uninstallation.
If the user does not specify the names and leaves the default values, it will install successfully.
The minute the user updates the names from the defaults, the install process will not remove the app-pool and virtual directory. This is what I have found consistently with my testing.
I am using the Standard edition of VS2008 to develop a website locally. Now, I am ready to upload the website to a remote server, but I cannot find any output to transfer. I clicked on the "Build Web Site" option of the "Build" drop-down list and got a "Build Succeeded" message, but nothing else.
I only found a file of type "Visual Studio Solution user Options". It was in a folder under a "Projects" folder within the "Visual Studio 2008" subdirectory. Does that one file contain everything needed for the website to function on the remote server?
I also found another folder along with the file named "PrecompiledWeb". This folder contained web page files and related static files of a previous precompile operation, but no newer files. There was also a "bin" folder with old compiled files and application extension files. I cannot find newly compiled files anywhere. What am I doing wrong?
I have a website written in ASP.NET (C# framework 2.0) with using AJAX 1.0 and Ajax control toolkit.
It worked cool when I deploy it in IIS 5.1 (Win XP).
But when I deploy it in web server (IIS 6.0, Windows 2003 server 32 bit), I get the following error in Javascript console of Firefox :
Error: h is not a constructor
how to deploy a WebMatrix c# site to IIS7?
View 8 RepliesWe have the requirement to set up the Web site and FTP site on IIS7. We have registered a domain for hosting the application
[URL] If I need to set up the Web site and FTP site on same Web server with the same Domain name, how can I do that. My DNS has mapping for [URL]. Do I need to have the DNS record for FTP in the DNS server. This depends on if your customer wants people to FTP to [URL] or [URL]or [URL]. If they want [URL] then you'll need another entry in DNS. You just need to add a new alias record in DNS that resolves the same IP as www to ftp. Do I need to take any extra steps to configure same Domain name in IIS7 for Web site and FTP site. I would assume that as long as IIS is set to listen to all IP addresses you should be good to go. Can I configure the web site in IIS 7 as [URL] You want to force people who browse to the default name of [URL] to be redirected to [URL]? Setup two websites on IIS - one for [URL]and one for [URL] where the real content lives. On the [URL] use IIS7's redirect feature to force all requests to [URL] See: [URL]
I've been working on site for a client who has just informed me (having completed the work) they want to deploy the site into a subfolder of their exiting domain. The site uses a number of class files in the App_code folder and as well as references to several XML files and and siteMap that uses localised urls for navigation. Obviously all of this stops working as soon as you put it in a sub folder. Is there any way I can configure the site to treat the sub folder it will be placed in as the root?
View 3 RepliesI m using VS 2010. I wan to create setup for that so what r the step to create and how can i insatll it in VS 2008.
View 4 RepliesI can see all the.jpeg and .gif images when I execute site through my code, but after site deployment in Windows server, those images on web page is not been displayed.
I have given sourece
as below..
For update progress..
<asp:UpdateProgress
ID="UpdateProgressMaster"
runat="server">
<ProgressTemplate>
<panel>
<img
align="middle" src="/Images/ajax-loader_Wait.gif"
/></td>
</panel>
</ProgressTemplate>
</asp:UpdateProgress>
For DIV
<div
style="background-image: url('/Images/Main_Menubar.jpg');">
I have developed a small website which is working on SQL server.. And also found Deployment process which is working well in my system. But my actual need is when I am deploying a project there should be some time limit to work that particular application like a trial version to give demonstration to others.
how to deploy a project like a trial version....
I work for an agency that has been responsible for maintaining a client's .net 3.5 website for a number of years along with another agency. Work is farmed out by the client to both agencies on a pretty much ad-hoc basis.
The site is quite old and has a structure and deployment process to match. The site is setup that developers have local copies of the sites. There is a staging environment, where client feedback and approval happens, followed by the live environment. There are a number of scenarios where work from one agency will be on the staging environment awaiting approval, and changes from the other agency need to go through staging, approval and deployed to live without the original changes being affected. Most of the time we get away with it but it's far from ideal as not all conflicts can be resolved.
Up until recently we had still been on Sourcesafe but have moved over to Subversion and are running into many more scenarios where work is overwritten. This obviously isn't a fault with subversion, rather that the locking of projects and files in Sourcesafe served as a good indicator to developers from both agencies that someone was working on that project or file. The process previously was that you checked out a file from sourcesafe and kept it checked out until changes went live (acknowledge that this is a rubbish process hence the desire to move away from sourcesafe and such a model)
The trouble is that even though we know that the way we do it now is bad, I'm at a bit of a loss as to how to restructure the overall site and deployment process to make it "better". Some ideas we've pondered are:
Separate dev, test and live branches in subversion so we need to commit and build the appropriate branch before deploying (not really sure how to make that work)Single repository for both agencies but a separate staging environment for each. Staging environment could then reflect the changes assigned to each agencyA separate instance of the staging site for each branch
I am ready to deploy my first real website to my Hosting Server and was wondering exactly how a simple FTP or Copy of the website files will operate as opposed to proper deployment via publishing the website to a DLL?
Will my Typed Datasets within my .xsd files work normally by FTP'ing them to my server or is there something special i need to do such as build them?
Here are the file types i need to deploy:
1) .aspx and aspx.vb files for my website pages (some in folders such as Admin, etc....)
2) App_Browsers --> CSSMenuAdapter.Browser for use with the CSS Control toolkit
3) App_Code --> several .xsd dataset files. Do these just get FTP'd to the server as well????
4) Bin --> several .dll files for using the CSS Control Toolkit, AJAX Control Toolkits, FCK Editor controls
5) CSS files and folders
6) web.config file
Can i just FTP all of the above folders and files and get the website to work, or does some of this .net 3.5 require publishing to DLL's???
Is there a difference between the Web Setup Project in VS2008 and the Web Deployment Project that I keep reading about on this site? More importantly, how much of a help is the deployment project over just using the setup project?
View 1 RepliesI am having deployment issue with AjaxControlToolKit.dll. I copied the DLL to my local bin dir, and it works fine. But when I do the build on test server, the files are not in Visual Source Safe anywhere, so the site doesn't work. What could be the issue?.
View 1 RepliesSuppose I created a custom web application that consists of: several assembly DLLs: web app, business logic, data services multiple aspx pages and ascx custom controls that use them custom configuration section custom HTTP module. More or less the usual stuff. I would like to deploy it to a particular sharepoint site under a certain subfolder. So if I access my sharepoint site via [URL] (because I'm not using sites/some_site) I'd like my application to be available under [URL]
I could manually add a virtual folder (not application because I would need to access some Sharepoint site's data) to my sharepoint site in IIS and manually edit site's web.config file to register my HTTP module and add my custom configuration section as well either putting my DLLs into GAC or put them in the _app_bin (so I don't have problems with CAS), but I don't think that's a good thing to do, because this web application may get deployed in an environment where this shouldn't/couldn't be possible. So I figured I could build a WSP using Visual Studio 2010 and deploy it that way. But I don't have enough experience doing that.
I created a new sharepoint 2010 project. Is there a way I could add all non-executable application files (aspx, ascx) at once? I've seen the advanced tab of the WSP package where I can add my DLLs either to bin folder or GAC. I don't know whether I would also have to add any safe control and register certain classes?So I suppose I need some pretty detailed and explanatory guidance here.
I have a web service that I have successfully published locally several times through VS2008. When I attempt to publish this service through VS2010, a dialog window is displayed where you must enter a 'Service URL' and 'Site/Application.' The service URL is not a problem, but what do I enter as a 'Site/Application?'
My entries are as follows:
Service URL: http://localhost/gfIDSProxyAccess/Service1.asmx
Site/Application: localhost/gfIDSProxyAccess
I also tried localhost, gfIDSProxyAccess, www.gfcpa.com, gfcpa.com, www.gfcpa.com/index.html and localhost/gfIDSProxyAccess/Service1.asmx, with and with and without the http://.
I want to deploy asp.net 4.0 web site on windows server 2003, Now I already have a classic asp site running on it. Would there be any problem if I install .net 4.0 framework for my new site. Will the existing site (the one in classic asp) be affected?
View 2 Repliesa partner has sent over a old school web service to instal on one of our webservers. I cant open the project since its been precompiled, how do i deploy that to my webserver (IIS 7.5 on 2012)? what do i need to copy or is there a way to suck it in from the files in IIS?
View 1 RepliesI used to deploy developed web parts to a remote sharepoint site by Build->Deploy menu inside Visual Studio 2008 months ago ( I am not a regular web part developer). My network engineer also asked me how to deploy web parts without stsadm commands. anyway now I can't. Visual Studio keeps complaining that the specified site doesn't have sharepoint site contained. "No SharePoint Site exists at the specified URL."
After googling, it is said web parts can't be deployed to remote sharepoint sites from visual studio. Only can to local site. However I did it before. Visual Studio 2008 service pack or hot fix made this feature (remote deploy) removed? Or is there any workaround?
Can I create an incremental deployment package using either Visual Studio 2010 Web Deployment Projects or Web Deploy (Web Deployment Tool) .
I need to automatically select changed files from a source and destination or a change set on TFS and build a deployment package only with the changed files.