|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problem compiling remote web in VS2005I've just moved my dev system to Win2k3 / VS2005 (from Win2k/VS2k3) and I'm having a problem. I've setup a new website in IIS, enabled .net, fpse, etc. From VS2005, if I choose Open Website, I can type in the location of my server by entering http://10.0.0.253:4040. That works fine, and VS loads the project. However, I can't seem to compile it. When I hit build it asks me to save the solution. I choose c:\ program files\visual studio\projects\10.0.0.253\myproject and it accepts it and carries on. (10.0.0.253 is a directory already created by VS2005 for me). Then when it starts to compile, I get an error telling me that "10.0.0.253 is not a valid virtual folder" or something. Any ideas what's going on!? Cheers Dan Dan,
You are making the assumption that VS.NET 2005 can compile a solution on a remote webserver, which is highly unlikely that it could do. You should be thinking about building locally and then using the Publish option to deploy the solution to the target machine. Peter -- Show quoteHide quoteCo-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com "musosdev" wrote: > Hi peeps > > I've just moved my dev system to Win2k3 / VS2005 (from Win2k/VS2k3) and I'm > having a problem. > > I've setup a new website in IIS, enabled .net, fpse, etc. > > From VS2005, if I choose Open Website, I can type in the location of my > server by entering http://10.0.0.253:4040. That works fine, and VS loads the > project. > > However, I can't seem to compile it. When I hit build it asks me to save the > solution. I choose c:\ program files\visual > studio\projects\10.0.0.253\myproject and it accepts it and carries on. > (10.0.0.253 is a directory already created by VS2005 for me). > > Then when it starts to compile, I get an error telling me that "10.0.0.253 > is not a valid virtual folder" or something. > > Any ideas what's going on!? > > Cheers > > > > Dan HUH ????
> You are making the assumption that VS.NET 2005 can compile a solution on a I do not else on daily bases with VS.Net 2003 and VS.Net 2005> remote webserver, which is highly unlikely that it could do. I develop from home on a staging server in the datacenter of my company wich is accessible by the web through frontpage server extensions , also here at home i have a small network with a windows 2000 server with IIS and frontpage extensions installed and i can just as easily connect to this computer create a new project and develop and compile on it from my laptop in the living room did i do something special to get this working ?? NO this is out of the box working ... install IIS on a server , install the newest version of frontpage server extensions http://www.microsoft.com/downloads/details.aspx?familyid=5CC0A845-1884-4A16-A8CB-25D2F0815FA3&displaylang=en ,make sure you have a account with at least author rights on the server now connect with your Visual studio IDE to the servers virtual dir ( web adress or IP ) ,, file , Open , web site , choose remote website , enter the http:\\ adress ( name or IP ) you will see a login box enter the login credentials , after selecting the project file you need to login again for the frontapge part , and ready you are the same flow can be followed for creating a new website file , new , web site etc etc etc regards Michel Posseth [MCP] Show quoteHide quote "Peter Bromberg [C# MVP]" <pbromberg@yahoo.nospammin.com> wrote in message news:394461AE-41B2-4F87-ABF2-D060CBF91DAD@microsoft.com... > Dan, > You are making the assumption that VS.NET 2005 can compile a solution on a > remote webserver, which is highly unlikely that it could do. > > You should be thinking about building locally and then using the Publish > option to deploy the solution to the target machine. > Peter > > -- > Co-founder, Eggheadcafe.com developer portal: > http://www.eggheadcafe.com > UnBlog: > http://petesbloggerama.blogspot.com > > > > > "musosdev" wrote: > >> Hi peeps >> >> I've just moved my dev system to Win2k3 / VS2005 (from Win2k/VS2k3) and >> I'm >> having a problem. >> >> I've setup a new website in IIS, enabled .net, fpse, etc. >> >> From VS2005, if I choose Open Website, I can type in the location of my >> server by entering http://10.0.0.253:4040. That works fine, and VS loads >> the >> project. >> >> However, I can't seem to compile it. When I hit build it asks me to save >> the >> solution. I choose c:\ program files\visual >> studio\projects\10.0.0.253\myproject and it accepts it and carries on. >> (10.0.0.253 is a directory already created by VS2005 for me). >> >> Then when it starts to compile, I get an error telling me that >> "10.0.0.253 >> is not a valid virtual folder" or something. >> >> Any ideas what's going on!? >> >> Cheers >> >> >> >> Dan Well, i fixed it. Sort of...
A trawl on the web indicates that VS doesn't seem to like using remote webs that ARENT on port 80 (the default port). So I changed my web to use Port 80, and it works. The problem now being that I have multiple webs, and I can only access port 80. Apparently it will work with host headers though... Thanks for all your help guys Dan Show quoteHide quote "musosdev" wrote: > Hi peeps > > I've just moved my dev system to Win2k3 / VS2005 (from Win2k/VS2k3) and I'm > having a problem. > > I've setup a new website in IIS, enabled .net, fpse, etc. > > From VS2005, if I choose Open Website, I can type in the location of my > server by entering http://10.0.0.253:4040. That works fine, and VS loads the > project. > > However, I can't seem to compile it. When I hit build it asks me to save the > solution. I choose c:\ program files\visual > studio\projects\10.0.0.253\myproject and it accepts it and carries on. > (10.0.0.253 is a directory already created by VS2005 for me). > > Then when it starts to compile, I get an error telling me that "10.0.0.253 > is not a valid virtual folder" or something. > > Any ideas what's going on!? > > Cheers > > > > Dan Host headers will just work fine , IIS has perfect support for that ( i
use them also a lot to save me some IP`s ) for testing purposes you can just change the local hosts file on your system ( just a text file that you may edit with notepad ) regards Michel Posseth [MCP] Show quoteHide quote "musosdev" <musoswire@community.nospam> wrote in message news:D2E2C3BF-066D-460E-8EB5-04C4417AB9A7@microsoft.com... > Well, i fixed it. Sort of... > > A trawl on the web indicates that VS doesn't seem to like using remote > webs > that ARENT on port 80 (the default port). So I changed my web to use Port > 80, > and it works. > > The problem now being that I have multiple webs, and I can only access > port > 80. Apparently it will work with host headers though... > > Thanks for all your help guys > > > Dan > > "musosdev" wrote: > >> Hi peeps >> >> I've just moved my dev system to Win2k3 / VS2005 (from Win2k/VS2k3) and >> I'm >> having a problem. >> >> I've setup a new website in IIS, enabled .net, fpse, etc. >> >> From VS2005, if I choose Open Website, I can type in the location of my >> server by entering http://10.0.0.253:4040. That works fine, and VS loads >> the >> project. >> >> However, I can't seem to compile it. When I hit build it asks me to save >> the >> solution. I choose c:\ program files\visual >> studio\projects\10.0.0.253\myproject and it accepts it and carries on. >> (10.0.0.253 is a directory already created by VS2005 for me). >> >> Then when it starts to compile, I get an error telling me that >> "10.0.0.253 >> is not a valid virtual folder" or something. >> >> Any ideas what's going on!? >> >> Cheers >> >> >> >> Dan
Other interesting topics
Books on ASP.net 2.0
WebPartManager: disable Personalization and still use WebPartManger.AddWebPart() 2.0 binding ObjectDataSource to Dataset WebPartManager.AddWebPart...not understanding exception Using RSS dynamic column/fields Memebership, Role, Profile Provider Why Publish take so long? how can i refresh my aspx webform compiling and building VS2005 webprojet for framework 1.1 |
|||||||||||||||||||||||