473,396 Members | 1,777 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,396 software developers and data experts.

Not a Valid Virtual Path

....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.

Mar 5 '07 #1
1 8910
On Mar 5, 11:13 am, "Larry Bud" <larrybud2...@yahoo.comwrote:
...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.
I had the same issue when trying to connect to a server at the root.
But then I tried creating a new website, and I allowed Visual Studio
to create a subfolder below the root (it wanted to anyway). Somehow
this is a virtual directory and when the pages are added to this
folder (thus you would view it as http://servername.net:8080/website/
the page functions as expected. Now when I did this I had to manually
add the default.aspx and the web.config files as they weren't created
automatically for some weird reason.

Here are the steps I took.
create new website -type ASP.NET website
Location HTTP:
click browse
type http://servername:port/website and click Create New Website
the path is in that box already. Click Create
authenticate with an administrator user on the server
Click open.

Now here I got an error that it couldn' create my Default.aspx and I
just clicked ok. Added and edited the default.aspx and added and
edited the web.config.

Now at least I can develop on at the server; though I haven't gotten
very far to find out if there are other pitfalls to needing this
subfolder.

rick

Mar 8 '07 #2

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

Similar topics

4
by: Federico | last post by:
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...
0
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
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
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 ...
0
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
0
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
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,...

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.