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

Deploying an ASP.NET application using Copy Project

Hi,

I have created an ASP.NET application (let's call it FooBar) with VS.NET on
my local machine, residing in http://localhost/FooBar. Deploying it to
another folder on my machine works well with FrontPage Server Extensions,
but I don't manage to deploy the application to my web provider http root
folder.

When I run Copy Project, I get an error message just saying 'Unable to
create Web project 'myname'. Not found.'.
In the destination project folder field I specified
'http"//www.myprovider.com/myname/' since this is my root URL.

There are no files yet on my web site except a test 'helloworld.aspx' file
that works fine and that I have manually uploaded through FTP.

I am not too sure as to whether FPSE are correctly installed or not, but
browsing usenet groups suggested VS.NET would give me another error message
saying 'This server does not appear to have FrontPage extensions installed',
or something like that if FPSE was not accessible.

Shouldn't Copy Project ask me to authenticate on the remote server?

Now another question, if I decide not to use FPSE and stick to FTP, I will
still want to only deploy the files necessary to run the application and not
the source code. So I can still deploy locally with Copy Project and _then_
copy with FTP all the files over to the Web server. In this case, do I still
need to copy folders beginning with '_vti', or are they specific to FPSE?

Thanks for your help.


Nov 19 '05 #1
3 2165
Johnny,

Visual Studio can be great and stupid sometimes. This is one of the stupid
times. Copy the project to another location under localhost such as
http://localhost/foobar_1.0 and specify to only copy the necessary files.
Then you can FTP the files within that directory to your target directory on
the server. You do not need to include the _vti directories, as those are
Front Page specific.

Regards,
Ian Suttle
http://www.IanSuttle.com

"Johnny" wrote:
Hi,

I have created an ASP.NET application (let's call it FooBar) with VS.NET on
my local machine, residing in http://localhost/FooBar. Deploying it to
another folder on my machine works well with FrontPage Server Extensions,
but I don't manage to deploy the application to my web provider http root
folder.

When I run Copy Project, I get an error message just saying 'Unable to
create Web project 'myname'. Not found.'.
In the destination project folder field I specified
'http"//www.myprovider.com/myname/' since this is my root URL.

There are no files yet on my web site except a test 'helloworld.aspx' file
that works fine and that I have manually uploaded through FTP.

I am not too sure as to whether FPSE are correctly installed or not, but
browsing usenet groups suggested VS.NET would give me another error message
saying 'This server does not appear to have FrontPage extensions installed',
or something like that if FPSE was not accessible.

Shouldn't Copy Project ask me to authenticate on the remote server?

Now another question, if I decide not to use FPSE and stick to FTP, I will
still want to only deploy the files necessary to run the application and not
the source code. So I can still deploy locally with Copy Project and _then_
copy with FTP all the files over to the Web server. In this case, do I still
need to copy folders beginning with '_vti', or are they specific to FPSE?

Thanks for your help.


Nov 19 '05 #2
Probably the extensions aren't installed which is why you are receiving the
error. Even if they are available from a host, the host may not
automatically install them on your account (or may botch the installation).

Copy Project doesn't ask for authentication, the web server does. If the
IUSR account (if it's an IIS box, or any anonymous account on another) has
the incorrect permissions such as Full read/write/delete, then you won't be
prompted for a username and password since the web server since the
anonymous account already has plenty of access to copy files.

No, you don't need to copy the _vti directories. They simply hold meta
information used by the FrontPage Server Extensions to know what is in the
particular web (such as what files and how big are they etc.)

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Johnny" <sb*@nowhere.net> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...
Hi,

I have created an ASP.NET application (let's call it FooBar) with VS.NET
on my local machine, residing in http://localhost/FooBar. Deploying it to
another folder on my machine works well with FrontPage Server Extensions,
but I don't manage to deploy the application to my web provider http root
folder.

When I run Copy Project, I get an error message just saying 'Unable to
create Web project 'myname'. Not found.'.
In the destination project folder field I specified
'http"//www.myprovider.com/myname/' since this is my root URL.

There are no files yet on my web site except a test 'helloworld.aspx' file
that works fine and that I have manually uploaded through FTP.

I am not too sure as to whether FPSE are correctly installed or not, but
browsing usenet groups suggested VS.NET would give me another error
message saying 'This server does not appear to have FrontPage extensions
installed', or something like that if FPSE was not accessible.

Shouldn't Copy Project ask me to authenticate on the remote server?

Now another question, if I decide not to use FPSE and stick to FTP, I will
still want to only deploy the files necessary to run the application and
not the source code. So I can still deploy locally with Copy Project and
_then_ copy with FTP all the files over to the Web server. In this case,
do I still need to copy folders beginning with '_vti', or are they
specific to FPSE?

Thanks for your help.

Nov 19 '05 #3
jay
Mark, I hope you are still monitoring this thread. I have a similar problem.
- I've got a web application developed on a local IIS installation
(http://(localweb)/myapp.aspx) using VB.Net.
- My remote server that hosts my web site has frontpage extensions installed.
- When I use "Copy Project" in Visual Studio .NET using frontpage to copy to
a subfolder (http://myweb.com/ThisFolder) I get an error message:
"myweb.com:80 requires authoring permission" and it asks for a password and
user name. The user name it suggests is prefaced by the server domain name of
my local installation (mylocaldomain\userid) so this error message must be
coming from my side as opposed to the web site host.
- Copy project DOES allow me to copy the application to the root directory
of my web site (where I don't want it).
- This procedure USED to work flawlessly.
What am I doing wrong???

"Mark Fitzpatrick" wrote:
Probably the extensions aren't installed which is why you are receiving the
error. Even if they are available from a host, the host may not
automatically install them on your account (or may botch the installation).

Copy Project doesn't ask for authentication, the web server does. If the
IUSR account (if it's an IIS box, or any anonymous account on another) has
the incorrect permissions such as Full read/write/delete, then you won't be
prompted for a username and password since the web server since the
anonymous account already has plenty of access to copy files.

No, you don't need to copy the _vti directories. They simply hold meta
information used by the FrontPage Server Extensions to know what is in the
particular web (such as what files and how big are they etc.)

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Johnny" <sb*@nowhere.net> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...
Hi,

I have created an ASP.NET application (let's call it FooBar) with VS.NET
on my local machine, residing in http://localhost/FooBar. Deploying it to
another folder on my machine works well with FrontPage Server Extensions,
but I don't manage to deploy the application to my web provider http root
folder.

When I run Copy Project, I get an error message just saying 'Unable to
create Web project 'myname'. Not found.'.
In the destination project folder field I specified
'http"//www.myprovider.com/myname/' since this is my root URL.

There are no files yet on my web site except a test 'helloworld.aspx' file
that works fine and that I have manually uploaded through FTP.

I am not too sure as to whether FPSE are correctly installed or not, but
browsing usenet groups suggested VS.NET would give me another error
message saying 'This server does not appear to have FrontPage extensions
installed', or something like that if FPSE was not accessible.

Shouldn't Copy Project ask me to authenticate on the remote server?

Now another question, if I decide not to use FPSE and stick to FTP, I will
still want to only deploy the files necessary to run the application and
not the source code. So I can still deploy locally with Copy Project and
_then_ copy with FTP all the files over to the Web server. In this case,
do I still need to copy folders beginning with '_vti', or are they
specific to FPSE?

Thanks for your help.


Nov 19 '05 #4

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

Similar topics

10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
2
by: Simon Harvey | last post by:
Hi everyone, Apologies for the very silly question I am about to ask: When I deploy an application, do I need to copy over the source code for the aspx pages and their code behinds, as well as...
7
by: Egghead | last post by:
Hi all, Is there a way to deploy a web application to a live server without using the windows installer (not following the "Walkthrough: Deploying a Web Solution" in the VS.net's help). The...
5
by: Rich | last post by:
Hello, So I develop a vb.net exe on my (win2k) workstation. I have to deploy it to another workstation (actually several - all win2k). Each receiving workstation will have .Net Framework 1.1...
1
by: Adam Knight | last post by:
Hi all, I have started using VS as opposed to Web Matrix, thus benefiting from the ability to precompile my app. With VS I know all my app code is compiled in the bin directory, so all...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
5
by: daokfella | last post by:
I'm still stuck on the .dll and bin folder mentality in 1.1. When deploying a 2.0 web application, there is no web .dll to deploy? So is this how we deploy in 2.0? 1. Copy the app_code folder...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
10
by: =?Utf-8?B?UmljaGFyZA==?= | last post by:
Hi, I usually deploy my ASP .NET application to the server by publishing, using Visual Studio 2005 publish feature. This creates the Bin folder on the server, with the compiled DLLs. I've...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
jinu1996
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...

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.