473,486 Members | 2,181 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Is not a valid virtual path

Hi all,

today I tried to migrate a website built with framework 1.1 and VS2003 to
framework 2.0 and VS2005.
When I try to build the site using VS2005, I receive this error message (and
the build fails):
'/sitename:8080/' is not a valid virtual path

Notice that:
1) my site has the following address --> http://sitename:8080
2) VS2003 didn't ever generate this error

Thanks for your help, regards
Dec 9 '05 #1
4 17857
Did you figure this out? I'm having the same problem...

"Federico" wrote:
Hi all,

today I tried to migrate a website built with framework 1.1 and VS2003 to
framework 2.0 and VS2005.
When I try to build the site using VS2005, I receive this error message (and
the build fails):
'/sitename:8080/' is not a valid virtual path

Notice that:
1) my site has the following address --> http://sitename:8080
2) VS2003 didn't ever generate this error

Thanks for your help, regards

Dec 28 '05 #2
No, but I found a workaround.
I assigned one more IP address to my web server and I created a new web site
using that address.
In this way it was possible to use the default port (80).

Rgds

"Dave" wrote:
Did you figure this out? I'm having the same problem...

"Federico" wrote:
Hi all,

today I tried to migrate a website built with framework 1.1 and VS2003 to
framework 2.0 and VS2005.
When I try to build the site using VS2005, I receive this error message (and
the build fails):
'/sitename:8080/' is not a valid virtual path

Notice that:
1) my site has the following address --> http://sitename:8080
2) VS2003 didn't ever generate this error

Thanks for your help, regards

Dec 28 '05 #3
After a few hours of trying everything I found the solution:

In the project properties for the web site, under the MSBuild options,
change the Output Folder path, removing the port number.

Cheers,

Richard Hein

Federico wrote:
No, but I found a workaround.
I assigned one more IP address to my web server and I created a new web site
using that address.
In this way it was possible to use the default port (80).

Rgds

"Dave" wrote:
Did you figure this out? I'm having the same problem...

"Federico" wrote:
Hi all,

today I tried to migrate a website built with framework 1.1 and VS2003 to
framework 2.0 and VS2005.
When I try to build the site using VS2005, I receive this error message (and
the build fails):
'/sitename:8080/' is not a valid virtual path

Notice that:
1) my site has the following address --> http://sitename:8080
2) VS2003 didn't ever generate this error

Thanks for your help, regards


Jan 9 '06 #4
Sorry everyone, turns out that this didn't solve the problem. Somehow the
build settings were changed when I changed the output folder (although I
don't remember touching them), and the website build was disabled, although
another project was still enabled, thus totally deceiving me. I'm still
stuck. I cannot use Federico's workaround, unfortunetely.

If anyone has a solution, please help!

Richard Hein

"ri**********@gmail.com" wrote:
After a few hours of trying everything I found the solution:

In the project properties for the web site, under the MSBuild options,
change the Output Folder path, removing the port number.

Cheers,

Richard Hein

Federico wrote:
No, but I found a workaround.
I assigned one more IP address to my web server and I created a new web site
using that address.
In this way it was possible to use the default port (80).

Rgds

"Dave" wrote:
Did you figure this out? I'm having the same problem...

"Federico" wrote:

> Hi all,
>
> today I tried to migrate a website built with framework 1.1 and VS2003 to
> framework 2.0 and VS2005.
> When I try to build the site using VS2005, I receive this error message (and
> the build fails):
> '/sitename:8080/' is not a valid virtual path
>
> Notice that:
> 1) my site has the following address --> http://sitename:8080
> 2) VS2003 didn't ever generate this error
>
> Thanks for your help, regards


Jan 10 '06 #5

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

Similar topics

0
2182
by: leroymason | last post by:
When I was creating an ASP.NET 2.0 web site on a site on a remote server not on port 80 I was getting the error '\server:port\' is not a valid virtual path. This does not happen on my local...
4
3212
by: tommaso.gastaldi | last post by:
Hi friends I was in the need to find a sort of "definitive" :) solution to transform a virtual path such as "~/MyDir/MyFile into a full web address. In particular I needed it * within web...
9
4000
by: larrybud2002 | last post by:
I've read about this error in this group and others from early 2006 but without any resolution, so I thought I'd bump it up to see if there's a solution. Trying to build a website on ...
1
8913
by: Larry Bud | last post by:
....error when trying to build a project on a port other than 80 (on a remote server). Happens with VS 2005. I've google the hell out of this and I find people with the same issue, but never...
0
1460
by: Dheeraj | last post by:
I just started using customized SiteMapProvider inherited from StaticSiteMapProvider and overriding BuildSiteMap(). I want to use this Provider to be source to a treeview. I want one of those...
4
8703
by: =?Utf-8?B?SmVmZiBCZWVt?= | last post by:
Best way I can think to describe this is through an example. I have a virtual directory, let's call it "MyVirtualDirectory" that maps to \\MyServer\Shared. I have a path that is...
5
31032
by: marss | last post by:
Server.MapPath("~/page.aspx") returns the physical file path based on the specified virtual path. Is there any reverse method to get the virtual path based on the physical path (both pathes belong...
1
1154
by: KUTTAN | last post by:
I want to get the current applications virtual path in global.ascx (event Application_Start()) How can I access that ? Request.ApplicationPath is not valid there :(
3
18597
by: Shinis | last post by:
I developed a site using asp.net with vb script.In local machine its working fine.. But when deployed it shows the following error its my code filepath =...
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7126
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
7175
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...
0
7330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5434
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.