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

Files to use to display website

I'm new to web development in Visual Studio 2005, and I'm creating a web site
using ASP.NET, and right now its a very simple page with only labels on it.
I have a third party that hosts the site, and i'm FTP'ing the files to the
server, but the site is not working properly. When i build it locally, it
displays fine in the browser, but not after i upload it to the server. I'm
afraid I may not be putting the correct files on the server. Here are all
the files that I have:
App_Data folder
Default.aspx
Default.aspx.vb
web.config
Then, after I publish it, the following are created as well:
MySite.sln
PrecompiledApp.cofig
Which of these do I use? Any help is appreciated. And let me know if i'm
not being clear. Thanks.
Jul 2 '06 #1
4 1413
You should require just these:

App_Data folder
Default.aspx
Default.aspx.vb
web.config

You might want to create a page that doesn't use the code-behind model (just
an .aspx file) and see if that runs okay. If not, the ISP may not have you
set to use ASP.NET 2.0.
"Rush" <Ru**@discussions.microsoft.comwrote in message
news:DB**********************************@microsof t.com...
I'm new to web development in Visual Studio 2005, and I'm creating a web
site
using ASP.NET, and right now its a very simple page with only labels on
it.
I have a third party that hosts the site, and i'm FTP'ing the files to the
server, but the site is not working properly. When i build it locally, it
displays fine in the browser, but not after i upload it to the server.
I'm
afraid I may not be putting the correct files on the server. Here are all
the files that I have:
App_Data folder
Default.aspx
Default.aspx.vb
web.config
Then, after I publish it, the following are created as well:
MySite.sln
PrecompiledApp.cofig
Which of these do I use? Any help is appreciated. And let me know if i'm
not being clear. Thanks.

Jul 3 '06 #2
We are having a similar problem and we're new to VS 2005 (Didn't have problem
with VS 2003). We've created a simple "Under Construction" page for testing
purposes. It works fine locally and we've used "Publish Web Site" to publish
to a directory called C:\CompiledSite. It only places the Default.aspx file
in the directory (Not the .vb file - we never transferred the .vb files in
2003). It doesn't create the Global.asax file either, but does create a
"PrecompiledApp.config" file. We've experimented with up-loading all the
files and the "bin" directorory and tried subsets of files as well.

The fairly consistant error message we get when we visit the site is:
Server Error in '______' Application. Runtime Error.

Anyone have any suggestions on what we are doing wrong or for the best way
to trap the Runtime Error details.

"Ken Cox [Microsoft MVP]" wrote:
You should require just these:

App_Data folder
Default.aspx
Default.aspx.vb
web.config

You might want to create a page that doesn't use the code-behind model (just
an .aspx file) and see if that runs okay. If not, the ISP may not have you
set to use ASP.NET 2.0.
"Rush" <Ru**@discussions.microsoft.comwrote in message
news:DB**********************************@microsof t.com...
I'm new to web development in Visual Studio 2005, and I'm creating a web
site
using ASP.NET, and right now its a very simple page with only labels on
it.
I have a third party that hosts the site, and i'm FTP'ing the files to the
server, but the site is not working properly. When i build it locally, it
displays fine in the browser, but not after i upload it to the server.
I'm
afraid I may not be putting the correct files on the server. Here are all
the files that I have:
App_Data folder
Default.aspx
Default.aspx.vb
web.config
Then, after I publish it, the following are created as well:
MySite.sln
PrecompiledApp.cofig
Which of these do I use? Any help is appreciated. And let me know if i'm
not being clear. Thanks.


Jul 3 '06 #3
I put those files into the directory, but it still doesn't work. I believe
they do support ASP.NET 2.0. I am using godaddy.com to host the site. They
say they support it. I'll keep trying. any other suggestions?

"Ken Cox [Microsoft MVP]" wrote:
You should require just these:

App_Data folder
Default.aspx
Default.aspx.vb
web.config

You might want to create a page that doesn't use the code-behind model (just
an .aspx file) and see if that runs okay. If not, the ISP may not have you
set to use ASP.NET 2.0.
"Rush" <Ru**@discussions.microsoft.comwrote in message
news:DB**********************************@microsof t.com...
I'm new to web development in Visual Studio 2005, and I'm creating a web
site
using ASP.NET, and right now its a very simple page with only labels on
it.
I have a third party that hosts the site, and i'm FTP'ing the files to the
server, but the site is not working properly. When i build it locally, it
displays fine in the browser, but not after i upload it to the server.
I'm
afraid I may not be putting the correct files on the server. Here are all
the files that I have:
App_Data folder
Default.aspx
Default.aspx.vb
web.config
Then, after I publish it, the following are created as well:
MySite.sln
PrecompiledApp.cofig
Which of these do I use? Any help is appreciated. And let me know if i'm
not being clear. Thanks.


Jul 6 '06 #4
>I put those files into the directory, but it still doesn't work. I believe
they do support ASP.NET 2.0. I am using godaddy.com to host the site.
They
say they support it. I'll keep trying. any other suggestions?
Have you configured the site to use ASP 2.0 using the GoDaddy host manager?
I think by default it is 1.1.

--
Paul
----
Piko Computing Consultants & VO Productivity Pack
http://www.piko.com.au

VO/Vulcan.NET Development Team Member
http://www.vulcandotnet.com.au

Jul 6 '06 #5

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

Similar topics

9
by: Tom Cat | last post by:
Is there anything wrong with using a lot of include files? On one part of my website, I have a form. The page it posts data to, includes a different file based on some of the values. The...
5
by: LarryM | last post by:
Hi, This is maybe not a pure ASP question, but has some relation: Please help me throw some light on this: Which directories and files are visible and readable for a (hacking) user at a...
2
by: AAJ | last post by:
Hi all I have a few questions about file locations with VS2005, localhost WidowsXP and remotehost Server2003, and I wonder if anyone can help me get started 1) If I build a web site on my...
2
by: Rush | last post by:
I'm new to web development in Visual Studio 2005, and I'm creating a web site using ASP.NET, and right now its a very simple page with only labels on it. I have a third party that hosts the site,...
1
by: aaapaul | last post by:
What is the best way to transfer the necessary files of a website to the webserver. In VS2003 there was a possibility to say Project copy -only files, which are necessary for running ! I...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
2
by: Max2006 | last post by:
Hi, After I right-click on my web application project file and choose "Publish ." and do the publishing, the result publishable files does not include the *.ashx files. Is it by design? How...
1
by: goodweather | last post by:
Hello, I have a strange problem with my new website. I have installed IIS 5.1 (Win XP pro). The website runs pretty well but sometimes the web browser does not display all the images that should...
3
by: saurabhthakur | last post by:
hello, i am using .net 1.1,vb ,i have 2 web applications.one is installed in client side server which is currently working offline(intranet)..other is at my side which is online website.frequently i...
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...
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
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.