I created a MVC Movies application tutorial on my local mechine. Now I want to deploy it to my server. (IIS 7) I read few articles and I am lost in the middle.Can any one tell me how can I deploy a simple mVC app to the server?
I have create a report in sql server 2005 & want to deploy on production server, in local system it deployed & works well. also if that report deploy at local system successfuly than how i see report in intranet.
I have an 2008 server behind a ISA 2000 server at a remote location. I am trying to use web deloy to publish web sites to that location. this server was tested at this location and we were able to publish to it, it was then disjoned from the network and joined to the remote network.
I have opend port 8172 in the isa server and router. web deployment and web management services are running, I set up a deligation rule will all roles and added my Administrators account to it.I cant get it to publish using eithe htttps or http, with https is get Start Web Deploy Publish the Application/package to
C:Program FilesMSBuildMicrosoftVisualStudiov10.0WebMicrosoft.Web.Publishing.targets(3481,5): Error : Web deployment task failed.(Remote agent (URL https://server.com:8172/msdeploy.axd?site=ThatsIT) could not be contacted. Make sure the remote agent service is installed and started on the target computer.)
Make sure firewall and network settings on your computer and on the server are configured to allow connections between them. If the issue is not resolved, please contact your local or server administrator.
Error details: if i use http it hangs on this line in the output
Start Web Deploy Publish the Application/package to http://seerver.com/MSDEPLOYAGENTSERVICE
I am new to the web development.I have built my website in visual studio 2008 using Sql server 2008 as backend.Now I want to know the whole process of deploying the website in some web domains and as well as my database to some database domain.I didn't purchase any domain till now.I want to know about web hosting as well.
I need to deploy a website from the SVN to different servers all within our own network. The code is currently not complied but probably will be in the future.
First the site would need to be deployed to the development server for the developers to test.
Once the Developer signs off it would be deployed to the staging server for the testers.
Once final sign off was given it would be deployed to a server farm, two live servers.
Each server has a couple of settings in the web.config to that are different; expect the two live server of course. I would like to use templates, the way the Ruby on Rails world does, seems like an elegant solution to multiple web.config files.
I also need to create a list/report of the files that were changed and what the change was since the last deployment.
I thinking of writing a script that will do the following 1. Take args for server to deploy to, and revision 2. Export a copy of the source to a directory with svn export -r <deploy revision> 3. Delete the web.config file 4. Use ttree (a template tool [URL]) to create the correct web.config 5. Create a list of file changes with svn list -r <deploy revision>:<current server revision> 6. Stores the <current server revision> of the website for when the script is run next time
I prefer to use tools that are already available rather than re-invent the wheel. Unfortunately I don't think MSDeploy will do what I need, but I'm happy to use it, or anything else, if it will do what I need it to. Does anyone know of any tools that are up to the task or is the script my only option?
i have created simple hello world WCF services it is working fine in local machine but when i try to uploaded to the server and then run that service it not at al start like http://localhost:8080/wcf/helloservice.svc
i am trying to modified the webconfig file <endpoint> address i have changed to my servername.com/wcf/helloservice.svc again it shows error can give usefull link to creation and deployment to the server
I have recently been dropped into the ocean known as ASP.NET. Here are my questions:
1.) I am trying to deploy my code to a server. I read there are a few different ways to do this but I will stick with the simple way for now. The way I am deploying is to remote into the server and copy my files(with a copy paste) and placing them on the server. My question is do I put the files on the server in the virtual directory or on the real directory that it points to?
2.) When I deploy my files are the changes recognized automatically or do I need to issue a command to IIS?
I am developing a MVC 2 application that uses aspnetdb on my SQL Server 2008 detabase for forms authentication. On my development machine I can configure the users, roles and permissions using my Website Administration Tool (WAT). My question is how do I deploy this database to a production server and how do I configure it with users, roles and permissions?
I have developed web application i need to deploy it on remote server.i am using asp.net 3.5 ,c# 3.0 and visual studio 2008,sql server 2005.using visual studio 2008 how i can make msi file to deploy application on server
I get this error when I deploy the application on the remote server. This application works fine on my local machine though. It is built in MSVisual studio 2008.
I have two webservers in a cluster serving a web application. Using MS Web Deploy to push a new version of the application to one server, and then again to synchronize the files to the other server in the cluster. It seems to be the most ordinary thing to do. But wouldn't there be a problemm, when one server is deployed with the new version, and the other is not yet finished. Will it not cause troubles, when a page loaded with the new version makes a webservice request and the balancer sends the request to the server with the old version?
What's the best way to avoid this? I thought about scripting a drainstop of the server, that we deploy to, and make sure only one server is running at a time. But I can't find anyone else, who seems to have written about such a solution. And guess that it doesn't scale very well too. Another solution could be to shut down all servers when updating. But that doesn't seems very clever.
I have managed to deploy my website written using ASP.NET MVC2, C#, .NET Framework 4 and Visual Studio 2010 on my PC running Windows XP Service Pack 3 and IIS 5.1 (see [URL] The website is accessible on [URL] I need to install a separate ASP.NET Web Forms application under the folder Apps so that it is accessible as follows: [URL] Do I need to disable the wildcard maps on the folder Apps?
I have developed a web application with ASP.Net 2.0 (VB Code Behind) and I am using My SQL as database.
I wish to sell the web application from my other website to multiple users. What would you suggest to be the best way to deliver this application? Fact is I can compile the front end script and provide the compiled version but I am not sure how to provide the associated MySQL database to them. I need to make sure that the buyers are not able to alter any code in the application or modify the preset data in the MySQL database. I do not wish to use the Setup Based deployment method as it will require the buyers to have administrative rights on the server, which may not be available on shared hosting.
But at the same time they must be able to get the web application up and running with minimal effort. I must be honest with you that I have developed only HTML based static websites till now and this would the first time I am launching an ASP.Net application.
for the last couple of days i've been trying to deploy an application that uses a sql express db on to my iis.up until now i was trying to upload it onto iis 5.1, but now i a brand new iis7.5 but i still get this annoying error:An attempt to attach an auto-named database for file C:application_nameApp_DataDatabase1.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.needless to say that there is no database with this name on my computer. i've set the application pool to .net framework 4.0.
my web cannot connect database SQL server 2000 after i deploy to IIS.
I can connect sql server to another computer from my query analyzer and Enterprise Manager.
but after i deploy to IIS 5.1. I cannot Login .
it always return message like this:
"A network-related or instance-specific error occured while establishing a connection to sql server. the server was not found or was not accessible. verify that instance name is correct and that sql server is configured to allow remote connections. (Provider :named pipes provider,error:40 - Could not open a connection to sql server)"
how to Deploy ? because my program work correctly in Visual Studio 2008.
but after i publish and move to wwwrooot in inetpub. my web cannot login.
i want to know how do i deploy ASP.NET web applications on client machines which runs with the visual studio development server rather than configure it in the IIS on the client machine? I know its possible and telerik also uses this approach.
I have locally made a simple helloworld web service (.asmx) that I want to test.
I have an enviroment where I already have it uploaded to the Team Foundation server, in NAMECustomerApplicationsTestServiceTestServiceservice.asmx (the whole project is located in that structure).
The TF server and the IIS server are on the same machine.
Now, how do I deploy service.asmx file so I locally can get a path to the service like this: [URL]
We have a huge ASP.NET web application which needs to be deployed to LIVE with zero or nearly zero downtime. Let me point out that I've read the following question/answers but unfortunately it doesn't solve our problems as our architecture is a little bit more complicated.
Let's say that currently we have two IIS servers responding to requests and both are connected to the same MSSQL server. The solution seems like a piece of cake but it isn't because of the major schema changes we have to apply from time to time. Because of it's huge size, a simple database backup takes around 8 minutes which has become unacceptable, but it is a must before every new deploy for security reasons.
Currently the best idea we came up is buying another SQL server which would be set up as a replica of the original DB. From the load balancer we would route all new traffic to one of the two IIS webservers. When the second webserver is free of running sessions then we can make deploy the new code. Now comes the hard part. At this point we would go offline with the website, take down the replication between the two SQL servers so we directly have a snapshot of the database in a hopefully consistent state (saves us 7.5 of the 8 minutes). Finally we would update the database schema on the main SQL server, and route all traffic via the updated webserver while we are upgrading the second webserver to the new version.
also share your thoughts regarding this solution. Can we somehow manage to eliminate the need for going offline with the website? How do bluechip companies with mammuth web applications do deployment?
Edit 1 (2010.01.12):
Another requirement is to eliminate manual intervention, so in fact we are looking for a way which can be applied in an automated way.
Let me just remind you the requirement list:
1. Backup of database 2a. Deploy of website 2b. Update of database schema 3. Change to updated website 4 (optional): easy way of reverting to the old website if something goes very wrong.
It works under VS 2010 development server, in .aspx file:
<%= GetLocalResourceObject("Title") %>
It does not work under win 2003, iis 6, in .aspx file, after deployment from web setup(.msi):
<%= GetLocalResourceObject("Title") %>
Same .dll, with same resources names in it (e.g. namespance.pagename.aspx.resource). Does not : iis restart, reinstalling, restarting computer. Resourcekey exists in resource file. There is resource in .dll.
The exception message: "System.InvalidOperationException: The resource class for this page was not found. check if the resource file exists and try again."
Control's "meta:resourcekey" does not work too. Here is no exception. Just no text.
i have develop my silver light application using asp.net and i want to deploy it , i am using vs 2010 and planing to use vsweb deployment project 2010 for beta