Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 8th, 2003, 09:07 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default Transfearing And Changing Name of The Project

do any one knows how to and what changes and what files to change (in Web Proj files) when Transfearing And Changing Name of The Project to another server with different WebProjname (in IIS)

Ahmed Ali
Software Developer
__________________
Ahmed Ali
Senior Software Developer
 
Old December 9th, 2003, 03:14 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

If you want to change the name of the project, you can do a text search of all the files in the project for the project name. Change the file names that need to be changed (*.vbproj*) to reflect the name, and change all the names within the files to the new project name. For the most part, just the project files will need to change. Usually there's little that needs to be changed in the code files unless you are also going to change the project namespace. With a namespace change, you'll need to change the project files, and if written in C# you'll also need to change all the .cs files as they specify the namespace in them.

Just changing a project is not too bad. However, if you have the project in source control, the task a much much harder.

As far as IIS goes, you just need to create a virtual directory/website to house/run the application. This can be named anything you wish. The name of the project doesn't affect it's operation in the virtual directory/website.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old December 9th, 2003, 03:28 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

i am asking about transfearing the web files project from server to other ... i do that but many errors appeared one of these errors is that the proj file is not working and searching for the old web name .. then i got an idea to make new web application on the new server and i have hardly added all files.. and still webforms *.aspx produce many errors ...finally i added every line i wrote to a new web project ,
hope any to ease my situation

Ahmed Ali
Software Developer
 
Old December 9th, 2003, 03:41 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Web project's need a web to function properly. Usually you would create a new virtual directory that is the same name as the one's on other servers. This *should* make it work correctly. Doing this in general is not an easy task. I still struggle with moving/copying/changing the core configuration of web projects.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old December 12th, 2003, 09:05 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

:)finally i have found in the menu of the .net my need
project-> copy project:)

Ahmed Ali
Software Developer





Similar Threads
Thread Thread Starter Forum Replies Last Post
Website project vs Web Application Project... thenoseknows ASP.NET 2.0 Professional 0 January 14th, 2007 09:47 PM
How do i Call one project to another project kau_shuk VS.NET 2002/2003 8 December 5th, 2006 10:02 AM
Add report of one project into another project tejaswibv Crystal Reports 0 July 13th, 2005 04:40 AM
From 1 project to get access to another project hplim18 Pro VB.NET 2002/2003 0 March 30th, 2004 10:33 PM
transfearing code to aspx file from vb file alyeng2000 ASP.NET 1.0 and 1.1 Professional 1 December 15th, 2003 11:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.