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

How to publish my website

Hi friends,

I've designed an application in my local system using VS.NET 2003.
(VB.NET and ASP.NET)
Its working fine. Now, I want to publish to my ISPs server. I've FTP
account.

How can I publish to server? Which files are needed to transfer?

in classic ASP, I copied all the files(what I used in my virtual
directory).
If I copy here also like that, Its giving error.

Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag should then have its
"mode" attribute set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a
custom error page by modifying the "defaultRedirect" attribute of the
application's <customErrorsconfiguration tag to point to a custom
error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly"
defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Can anybody suggest me how to publish asp.net website?

thanking you

Nov 1 '06 #1
3 15479
Hi,

mr************@gmail.com wrote:
Hi friends,

I've designed an application in my local system using VS.NET 2003.
(VB.NET and ASP.NET)
Its working fine. Now, I want to publish to my ISPs server. I've FTP
account.

How can I publish to server? Which files are needed to transfer?

in classic ASP, I copied all the files(what I used in my virtual
directory).
If I copy here also like that, Its giving error.
There are a number of possibilities why it didn't work. My ISP for
example asks me to configure folders with active content to be a "web
application", which can be done using the web configuration tool that
they provide.

Normally, for ASP.NET 1.1 which is what you use, you can copy every
ASPX, ASCX, ASAX files, JavaScript files, CSS files, image files, and
the content of the "bin" folder to the web server, and also the
web.config. No need to copy the ".vb" files.

Try to turn the "customErrors" mode to Off like the error message
suggests, so that you can learn more about the error.

Also, try publishing to a localhost folder, to see what happens there.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 1 '06 #2
You can try the "Copy Project" option, using the "only the files needed to
run this project" option, to another local folder, make it an IIS application
and test it locally, and then you can FTP that entire folder's contents
including subfolders and the /bin folder to your site.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"mr************@gmail.com" wrote:
Hi friends,

I've designed an application in my local system using VS.NET 2003.
(VB.NET and ASP.NET)
Its working fine. Now, I want to publish to my ISPs server. I've FTP
account.

How can I publish to server? Which files are needed to transfer?

in classic ASP, I copied all the files(what I used in my virtual
directory).
If I copy here also like that, Its giving error.

Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag should then have its
"mode" attribute set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a
custom error page by modifying the "defaultRedirect" attribute of the
application's <customErrorsconfiguration tag to point to a custom
error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly"
defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Can anybody suggest me how to publish asp.net website?

thanking you

Nov 1 '06 #3
if you are using VS.net 2005 and you created a website project, i f you
right click on the project`s node, select publish website, you can specify
an ftp url and publish your
website directly to your host machine,

however if you are using VS 2003, after building the project, the files you
need on your host webserver are the .aspx, .ascx,.config and other resource
files images, stylesheets etc, and your bin folder, just deply these files
as though they were a classic asp project. the bin folder must be copied as
well to your host webserver.

To view a detailed description of the error you are getting from your
website open the web.config file change the section

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

to

<configuration>
<system.web>
<customErrors mode="On"/>
</system.web>
</configuration>


<mr************@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Hi friends,

I've designed an application in my local system using VS.NET 2003.
(VB.NET and ASP.NET)
Its working fine. Now, I want to publish to my ISPs server. I've FTP
account.

How can I publish to server? Which files are needed to transfer?

in classic ASP, I copied all the files(what I used in my virtual
directory).
If I copy here also like that, Its giving error.

Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrorstag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrorstag should then have its
"mode" attribute set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a
custom error page by modifying the "defaultRedirect" attribute of the
application's <customErrorsconfiguration tag to point to a custom
error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly"
defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Can anybody suggest me how to publish asp.net website?

thanking you

Nov 1 '06 #4

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

Similar topics

8
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my...
5
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
1
by: cadonahue | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
1
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the...
1
by: William Sullivan | last post by:
K, got a website, need to publish it to the test server. Publish the website, k. As its publishing, it creates a copy of my bin directory under my bin directory on my dev box. Now I've got...
2
by: jhaalvi98 | last post by:
hello, i have created website in asp.net and i want to publish it i am using .net framework 1.1 .my teachers told me that in a manu their is publish website to publish it or export. but i do not...
3
by: jfarrell | last post by:
Hi there, Im attempting to publish my site to local then copy files to the web server. The only option there seems to be in VWDE is to build/copy the site...where is the Publish website option...
2
by: schneider | last post by:
Hi all, I want to publish my asp.net 2.0 website using the "publish website" feature of visual studio 2005. everything works fine so far, but the IDE only compiles and copies the aspx, ascx,...
0
by: SergeiZ | last post by:
Hi, Could anyone tell me why "Publish Website" generates no files in PrecompiliedWeb folder? I use VS 2005 on Vista. I've tried GUI "Publish Website" as well as aspnet_compiler.exe utility w/o...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
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...
0
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...

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.