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 4 17872
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
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
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
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**********@g mail.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 server (which uses port numbers other
than 80).
I fixed it by adding a DNS entry and defining the website with this
host header name and having the site on port 80.
|
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 services *.
I would like to be informed that the framework provides a function to
do that, but for now I am missing it.
|
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
http://oursite:8080/
and it returns
|
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 any solution.
Has anyone been able to do this successfully, WITHOUT getting an
alternate IP address for the box? TIA.
|
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 links to be a javascript link, like:
"Alert Me" should alert a javascript Alert.
Can anyone please help me how do I insert a Node with javascript link
in it.
| |
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 \\MyServer\Shared\SomeDirectory\SomeFile.txt.
I need to convert this path to a virtual path with the virtual directory
name. The result I'm after would be:
MyVirtualDirectory\SomeDirectory\SomeFile.txt
|
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 to the
same web application)?
Usually I do in this way:
virtualFilePath =
physicalFilePath.Replace(physicalRootDirectoryPath,"~/")
Perhaps, is there standard inbuilt method?
|
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 :(
|
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 = Server.MapPath("http://www.mintmenadev.com/z/test/cms/Movies/" + FileUpload1.FileName)
FileUpload1.SaveAs(Server.MapPath(filepath))
it shows following error
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |