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.