473,326 Members | 2,173 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,326 software developers and data experts.

How to store my .NET project on a server?

I am developing a Web site and can't figure out how to store the project
files on the Web server instead of my local hard drive. There must be a
way, otherwise people wouldn't be able to collaborate on projects... but
everything I can find talks about developing the site locally and then
deploying it remotely -- but if other developers don't have access to my
machine, how do we work together on projects?
Long version:

I am new to Visual Studio. .net and Windows Server 2003. I have a
brand-new workstation and brand-new Win2003 server. My Windows network
consists of only these two machines (i.e. no Domains, Active Directory,
etc. -- all the other machines on the LAN are either Macs or standalone
PC test stations). I am the sysadmin, so there's nobody else here to
ask...

I have the two machines up and running. The server has IIS working and I
have some virtual hosts set up and these sites are running just fine. I
have set up a user account on the server that allows FTP access to the
wwwroot. This works great -- I can FTP in from wherever and make site
updates. SQL Server is running fine too.

Note that the server is only for Web development. I'd prefer to keep it
as simple and locked-down as possible. If I don't need AD, I'd prefer to
not run it. Similarly, if I can avoid File and Printer Sharing for
Microsoft networks, I'd love to leave that networking option turned off
completely, and stick with TCP/IP only.

Now I need to create a new site using VS.NET 2003. I have the virtual
host set up on the server and I can use SmartFTP to upload files. How do
I tell VS.NET to use the remote directory as the home directory for the
project? I've tried putting the domain name into the location field for
the new project, but the program complains that the location must be a
locally-mounted share, or that I'd have to use FrontPage Extensions to
connect. Neither works. In fact, if I put ftp:// at the beginning of the
location field, I can't even OK through to the next sscreen.

Is there something I have to do to configure the FP extensions so that I
can connect remotely?

I have tried (for about 8 hours so far) to get the server to give me a
mountable share but nothing has worked. This included a detour into
Active Directory setup, which I have since de-promoted. And -- I'm not
necessarily going to be developing while on the LAN anyway.

Note that I can't develop the site locally because I need to use
root-relative paths and need to be able to work on more than one site at
a time (this is why we got the new server in the first place).

I've searched all over the place but all the instructions I've found
refer to developing a new site in a local subfolder.

Thanks,

--
Mark
Jul 21 '05 #1
4 1552
When you create the project in the first place and VS.NET asks you for a
location, just enter the url to the development server, rather than
http://localhost.
"Mark" <ma*****@yahoo.com> wrote in message
news:ma***************************@news.isp.gigane ws.com...
I am developing a Web site and can't figure out how to store the project
files on the Web server instead of my local hard drive. There must be a
way, otherwise people wouldn't be able to collaborate on projects... but
everything I can find talks about developing the site locally and then
deploying it remotely -- but if other developers don't have access to my
machine, how do we work together on projects?
Long version:

I am new to Visual Studio. .net and Windows Server 2003. I have a
brand-new workstation and brand-new Win2003 server. My Windows network
consists of only these two machines (i.e. no Domains, Active Directory,
etc. -- all the other machines on the LAN are either Macs or standalone
PC test stations). I am the sysadmin, so there's nobody else here to
ask...

I have the two machines up and running. The server has IIS working and I
have some virtual hosts set up and these sites are running just fine. I
have set up a user account on the server that allows FTP access to the
wwwroot. This works great -- I can FTP in from wherever and make site
updates. SQL Server is running fine too.

Note that the server is only for Web development. I'd prefer to keep it
as simple and locked-down as possible. If I don't need AD, I'd prefer to
not run it. Similarly, if I can avoid File and Printer Sharing for
Microsoft networks, I'd love to leave that networking option turned off
completely, and stick with TCP/IP only.

Now I need to create a new site using VS.NET 2003. I have the virtual
host set up on the server and I can use SmartFTP to upload files. How do
I tell VS.NET to use the remote directory as the home directory for the
project? I've tried putting the domain name into the location field for
the new project, but the program complains that the location must be a
locally-mounted share, or that I'd have to use FrontPage Extensions to
connect. Neither works. In fact, if I put ftp:// at the beginning of the
location field, I can't even OK through to the next sscreen.

Is there something I have to do to configure the FP extensions so that I
can connect remotely?

I have tried (for about 8 hours so far) to get the server to give me a
mountable share but nothing has worked. This included a detour into
Active Directory setup, which I have since de-promoted. And -- I'm not
necessarily going to be developing while on the LAN anyway.

Note that I can't develop the site locally because I need to use
root-relative paths and need to be able to work on more than one site at
a time (this is why we got the new server in the first place).

I've searched all over the place but all the instructions I've found
refer to developing a new site in a local subfolder.

Thanks,

--
Mark

Jul 21 '05 #2
In article <#C**************@TK2MSFTNGP09.phx.gbl>,
"Scott M." <No****@NoSpam.com> wrote:
When you create the project in the first place and VS.NET asks you for a
location, just enter the url to the development server, rather than
http://localhost.


Thanks, but that doesn't work. If I put http://myserver.mycompany.com,
the OK button stays grayed out.
Jul 21 '05 #3
Because you need to follow that up with the name of the project you wish to
create:

http://myserver.mycompany.com/myProject
"Mark" <ma*****@yahoo.com> wrote in message
news:ma***************************@news.isp.gigane ws.com...
In article <#C**************@TK2MSFTNGP09.phx.gbl>,
"Scott M." <No****@NoSpam.com> wrote:
When you create the project in the first place and VS.NET asks you for a
location, just enter the url to the development server, rather than
http://localhost.


Thanks, but that doesn't work. If I put http://myserver.mycompany.com,
the OK button stays grayed out.

Jul 21 '05 #4
That's the problem... the project I want to create is the web site
itself.

Finally found the answer:
Creating a Project in the Root Web
http://support.microsoft.com/kb/303845/EN-US/

Also, I had to configure the "FrontPage Extensions" using the
"SharePoint Administrator" -- that took several hours to discover.

In article <Ou**************@tk2msftngp13.phx.gbl>,
"Scott M." <No****@NoSpam.com> wrote:
Because you need to follow that up with the name of the project you wish to
create:

http://myserver.mycompany.com/myProject
"Mark" <ma*****@yahoo.com> wrote in message
news:ma***************************@news.isp.gigane ws.com...
In article <#C**************@TK2MSFTNGP09.phx.gbl>,
"Scott M." <No****@NoSpam.com> wrote:
When you create the project in the first place and VS.NET asks you for a
location, just enter the url to the development server, rather than
http://localhost.


Thanks, but that doesn't work. If I put http://myserver.mycompany.com,
the OK button stays grayed out.

Jul 21 '05 #5

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

Similar topics

3
by: faktujaa | last post by:
Hi, Currently im storing the connection info. in XML file on the C drive. the only problem with this is that anybody can open and check the database name. I know encryption can solve this problem...
2
by: Raterus | last post by:
Hi, I'm after this setup, and I'm just wondering if this is even feasible. I'd like to store my asp.net project remotely, on a network drive (all the project files, everything), But I want to be...
0
by: Harley | last post by:
I am trying to write a personal app to keep a bank balance and history. The problem I'm haveing is finding a decent way to store the data on a pocketpc under .net compact framewok useing vb.net....
0
by: Jean-Michel POURE | last post by:
Dear friends, I am currently testing Ulogd ip traffic logging system with PostgreSQL. It works in conjunction with GNU/Linux iptables. The Ulogd project can be found here:...
4
by: Mark | last post by:
I am developing a Web site and can't figure out how to store the project files on the Web server instead of my local hard drive. There must be a way, otherwise people wouldn't be able to...
4
by: Piotrekk | last post by:
Hi everyone. I would like to ask about good habid, of keeping program data. I have written in C# Server and Client applications, and now i need to care about authorization. What i mean is that...
8
by: Merk | last post by:
I'm looking for a safe and maintainable way to store connection string info (connecting to SQL Server 2005 from .NET 2.0 Windows Forms client app); things like server name or IP address and...
1
by: Joe | last post by:
Hello, I'm currently using a C# class library which is also converted quickly to a console app by adding a MAIN and adjusting the building configuration. I'm using this page as a reference to the...
4
by: ish | last post by:
hello everybody...... plz help me out... how we can store the acual path of uploading file.i want to store the path of file in my database...bt i m not getting anyway to implement that......if...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.