473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Converting W2K3 Website to XP Vdirs

I have been given several projects to make ammendments to, from what I can
gather the original structure was something similar to this:

WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file
WebsiteAdmin
Project file
Sln file

The physical file structure is.

WebsiteAdmin
Project file
Sln file

TopFolder
WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file

I created a vdirectory for each website and tried to load a solution, I was
presented with the error that project url does not match to url of the
location I'm trying to open.

I've tried creating a blank solution and adding the project, I've even tried
creating a blank project and adding the files. I think a website should
still be able to be set up as a vdir but the IDE does not seem to want to
open the files.

Any help or links would be greatly appreciated.

TIA

MattC

Nov 19 '05 #1
5 992
Remove virtual directories you created and then remove all files. Then
you can create new project with "same name" as the previous projects.
Then copy your project files to newly created folders. You should then
be able to open the sln file.

There is some more reading that will help you at the following link.

http://www.webmasterworld.com/forum47/2446.htm

Good luck!

James Steele
Senior .NET Consultant
as***********@gmail.com
http://weblogs.asp.net/jamessteele

Nov 19 '05 #2
Check the contents of the .webinfo file for each of these. It contains the
URL the project will look for.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I have been given several projects to make ammendments to, from what I
can gather the original structure was something similar to this:

WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file
WebsiteAdmin
Project file
Sln file
The physical file structure is.

WebsiteAdmin
Project file
Sln file
TopFolder
WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file
I created a vdirectory for each website and tried to load a solution,
I was presented with the error that project url does not match to url
of the location I'm trying to open.

I've tried creating a blank solution and adding the project, I've even
tried creating a blank project and adding the files. I think a
website should still be able to be set up as a vdir but the IDE does
not seem to want to open the files.

Any help or links would be greatly appreciated.

TIA

MattC


Nov 19 '05 #3
Thanks guys,

I also read that I should maybe delete the .suo file for the solution as
this sometimes contains project locations.

Any thought?

TIA

MattC
"MattC" <m@m.com> wrote in message
news:eC***************@TK2MSFTNGP15.phx.gbl...
I have been given several projects to make ammendments to, from what I can
gather the original structure was something similar to this:

WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file
WebsiteAdmin
Project file
Sln file

The physical file structure is.

WebsiteAdmin
Project file
Sln file

TopFolder
WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file

I created a vdirectory for each website and tried to load a solution, I
was presented with the error that project url does not match to url of the
location I'm trying to open.

I've tried creating a blank solution and adding the project, I've even
tried creating a blank project and adding the files. I think a website
should still be able to be set up as a vdir but the IDE does not seem to
want to open the files.

Any help or links would be greatly appreciated.

TIA

MattC

Nov 19 '05 #4
The .suo and .userinfo files are just user preferences from VS.NET, so yeah,
you can kill those and it won't affect the ASP.NET app.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Thanks guys,

I also read that I should maybe delete the .suo file for the solution
as this sometimes contains project locations.

Any thought?

TIA

MattC
"MattC" <m@m.com> wrote in message
news:eC***************@TK2MSFTNGP15.phx.gbl...
I have been given several projects to make ammendments to, from what
I can gather the original structure was something similar to this:

WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file
WebsiteAdmin
Project file
Sln file
The physical file structure is.

WebsiteAdmin
Project file
Sln file
TopFolder
WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file
I created a vdirectory for each website and tried to load a solution,
I was presented with the error that project url does not match to url
of the location I'm trying to open.

I've tried creating a blank solution and adding the project, I've
even tried creating a blank project and adding the files. I think a
website should still be able to be set up as a vdir but the IDE does
not seem to want to open the files.

Any help or links would be greatly appreciated.

TIA

MattC


Nov 19 '05 #5
Ok that worked well. However, when this app (or whatever it is, I have so
far counted 7 solutions/projects) was written they obviously created each
site in the root directory so all controls on the pages are mapped using
/folder/controla.asax. So when placed in a vdir they constantly try, as
ASP.NET informs me "..access a different web site, which is not allowed".

I'm hoping you will comeback to me with some magic way of creating all the
links in a project to relative.....but I'm not holding out much hope.

If you have several websites that are coded to be run from root on a website
then you cannot (without code change) map this to vdirs on a non Server
edition of IIS.

TIA

MattC
"Brock Allen" <ba****@NOSPAMdevelop.com> wrote in message
news:37**********************@msnews.microsoft.com ...
The .suo and .userinfo files are just user preferences from VS.NET, so
yeah, you can kill those and it won't affect the ASP.NET app.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Thanks guys,

I also read that I should maybe delete the .suo file for the solution
as this sometimes contains project locations.

Any thought?

TIA

MattC
"MattC" <m@m.com> wrote in message
news:eC***************@TK2MSFTNGP15.phx.gbl...
I have been given several projects to make ammendments to, from what
I can gather the original structure was something similar to this:

WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file
WebsiteAdmin
Project file
Sln file
The physical file structure is.

WebsiteAdmin
Project file
Sln file
TopFolder
WebsiteA
Project file
Sln file
WebsiteB
Project file
Sln file
WebsiteC
Project file
Sln file
I created a vdirectory for each website and tried to load a solution,
I was presented with the error that project url does not match to url
of the location I'm trying to open.

I've tried creating a blank solution and adding the project, I've
even tried creating a blank project and adding the files. I think a
website should still be able to be set up as a vdir but the IDE does
not seem to want to open the files.

Any help or links would be greatly appreciated.

TIA

MattC


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Moheb | last post by:
Hi-I am spawning a process on the web using ProcessInfo and Process classes. Running on my dev. XP Pro machine all is fine. Running the same thing on w2k3 server I get "Access Denied" on the page....
0
by: roberto3214 | last post by:
Hi Guys, How are you? I have recently begun some testing on IIS 6.0 in regards to an asp.net application. After lots of testing I decided to create a simple 1k page size webpage to find out...
2
by: engwar1 | last post by:
I'm a .NET newbie and am beginning the process of converting an existing personal website to .NET from classic ASP. I'm assuming I want my aspx files in the root of my site in the same place as...
16
by: tshad | last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine....
2
by: WohooWahoo | last post by:
I just finished writing an app for an ASP.NET website which uses SQL, C# ASP.NET and web services on my development box. Ported the app over to the Web Server (running W2K3, IIS 6, SQL2K), created...
3
by: Don McNamara | last post by:
Hi, I've hit quite a strange problem with XmlSerializer on my W2K3 server. When I serialize/deserialize using an exe on my local computer (XP), everything works fine. When I put the code out on...
1
by: WohooWahoo | last post by:
I just finished writing an app for an ASP.NET website which uses SQL, C# ASP.NET and web services on my development box. Ported the app over to the Web Server (running W2K3, IIS 6, SQL2K), created...
0
by: BD | last post by:
I'm doing an install for a proof-of-concept environment; the server I'm installing to is W2K Sp4. I have installed to several servers in this environment under the same project, all of which are...
6
by: =?Utf-8?B?UGF1bCBQcmV3ZXR0?= | last post by:
Hi - I have 4 webservers in my webfarm. All Win2k3 web edition. Before yesterday, none of them were service packed. I have now applied SP2 to two of them, and I'm getting a very weird MSDTC...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.