Files to use to display website

G

Guest

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.
 
K

Ken Cox [Microsoft MVP]

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.
 
G

Guest

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.
 
G

Guest

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?
 
P

Paul Piko

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top