Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 8th, 2003, 09:07 PM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
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
  #2 (permalink)  
Old December 9th, 2003, 03:14 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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.
  #3 (permalink)  
Old December 9th, 2003, 03:28 PM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
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
  #4 (permalink)  
Old December 9th, 2003, 03:41 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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.
  #5 (permalink)  
Old December 12th, 2003, 09:05 PM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.