473,769 Members | 5,727 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1575
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.g iganews.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.g iganews.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.g iganews.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
1768
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 but still im concerned whether this is the right place to store connection info as in earlier project that was in C++, we use to store the connection info. in registry but the problem with this approach is that your application becomes windows...
2
1695
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 able to run the project on my local computer, off my local IIS server/asp.net configuration. Here is what I've done, I've set up an IIS virtual drive that has the alias I want locally, and points to this network drive. I entered in my...
0
2220
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. I need to store type, date, description, and total for each check/debit transaction as well as a balance and user settings. My problem is that I am learning vb.net now and I'm not ready to move into datbases yet so xml seems my only viable option,...
0
1693
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: http://gnumonks.org/gnumonks/projects/project_details?p_id=1 (If you try the project, fetch it from CVS as the PostgreSQL code was broken until today.)
4
279
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 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:
4
4016
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 Server should allow login only authorized users - Admin of the server should have good and comfortable acces to "permitted users list", with opportunity to add or remove entries in a good way. Program should also keep info. where to store...
8
2559
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 database name. I need to provide the client application with this info for connecting to both a test SQL Server and a production server. I would prefer to NOT hard-code this info into the client application, and App.Config seems rather unsafe as the...
1
5914
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 code. http://support.microsoft.com/kb/895971 . I am using the CryptoAPI calls instead of a *.cer file. The only reason i'm using this method instead is because now a large project of mine no longer will work properly when using an exported...
4
1829
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 i try to do it with the name="filename"......i mean if echo filename it only print or gives the filename only...it does nt give path along the name.... plzzzzz guys tell me a way to store the path....i need it for my project........waiting 4 ur...
0
9583
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, 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...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
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, 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...
0
8869
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
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 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...
0
6668
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5297
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...
0
5445
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2814
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 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...

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.