Configuration :: Copy Web Site Deployment - XSD Dataset Files?
Jun 29, 2010
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???
I'm trying to use the Web One Click Publish feature in VS10 to push my asp.net app to IIS. I have some .resx files and another folder for uploaded images, none of these got copied to IIS. How do I tell it to copy the specified files and folders
I 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 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 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.
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?
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://.
We have an ASP.NET web application and it's hosted using IIS 6.0, in the app we have these several javascript and css files located in a folder, and for performance sake (according to YSlow) we set the folder content expiration header to 1 year. Everything worked just fine until recently when we deployed the latest build to the server, in which we had made some changes to those javascript and css files. For some reason after the deployment some of our end users don't see the latest changes when they connected to the app, even after they cleared the cache in IE. We have also restarted the IIS on the server and the problem still remained. When I went into the IE Temporary Internet Files folder on one of these machines I saw the files were still the older version and not the latest one, I had to manually delete the files from the Temporary Internet Files folder then they were able to see the latest changes. I'm baffled by this, how come only some users who couldn't see the changes but some others do (without having to do anything by the way), and how do I make sure that for future releases we won't have to do anything like what did (manually deleting the cached files)? For now I disabled the Content Expiration option in IIS for these files but I would like to know if there is a way that I can enable the content expiration (to help performance) but at the same time making sure when the files are updated, the latest version will be used for the end user (instead of the cached version)?
I have created roles and users using ASP.NET configurations for login validations, it works fine if I run my application within project but when I publish my site and try to run from my Inetpub it giving this error. I tried all shorts of solutions posted in website but nothing worked for me.
"Failed to generate a user instance of SQL Server due to a failure in copying database files. The connection will be closed"
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.
how do i copy required row in dataset to a new dataset. i have bind a xml into a dataset and i need to display say row 3 to 5 only so i do a for loop but i have encounter problem when trying to copy the rows to a new dataset.
do i have to write the xml to datatable and bind it to dataset and from there copy over ?
If we are deploying ASP.NET web application, Do we need to copy both *.aspx and *.aspx.cs files on the server?Also what if I am using different framework version? I mean 1.1 / 2.0 /3.0 /3.5 /4.0? What will be the answer in different .NET Framework versions?
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
I want to make a 2nd website and am using a copy of the site files from my 1st site built for me, I added them via FTP to the hosting company. I realise when I edit the new site via the CMS it is editing both sites plus when I try to change anything to the CSS file I get the following error -
So my questions are what do I need to change to be able to deploy a new site with the files I have to make a new site?I also don't understand where the password is coming from, I can see the User ID comes from the database. in the Asp.net connection strings are the following:
site Data Source=sql7.hostinguk.net;Initial Catalog=***;User ID=***;Password=*** - Where is this password coming from?
membership Data Source=sql7.hostinguk.net;User ID=***;Password=***;persist security info=False;initial catalog=***;
I 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?
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 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?.
I've been asked to implement the French translation of an ASP.NET 3.5 website. Each translation is going into its own separate website Unfortunately the previous programmer did not implement localization, so each site will have its separate set of files - this is not negotiable.
This French version will also go into its own website (www.mysite.ca), but for the moment I have been asked to put it into a sub-directory of the current site, called /CA I do not want to start messing around with file paths (for navigation and images), because the plan is to move the files in this sub-directory into a separate location in a few weeks. So the only alternative seems to be to move a copy of the site into the sub-directory and set it up as a separate application.What is the best way to set this up? Since the files in both sites belong to the same namespace and have the same names, how to avoid naming conflicts?