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

can't run dotnet 2005 website from webserver

ib
First time I've tried this so I'm probably doing something stupid.
1. Create a new folder: C:\Inetpub\wwwroot\dn2. Make dn2 an application in
IIS settings.
2. Start dotnet 2005 and Start a new website in C:\Inetpub\wwwroot\dn2
3. On the default.aspx page (in design view) just write the word "hello".
4. Run the website from dotnet - get explorer window with "hello" (all ok)
5. Start an internet explorer window at http://localhost/dn2/ - get the same
(all ok)
6. ftp all the files in C:\Inetpub\wwwroot\dn2 to web server root folder.
7. access the website from internet explorer, get "server error in '/'
Application, with message to change custom error settings.
8. Add <customErrors mode="Off"/> to web.config as suggested and update web
copy.
9. try explorer on the web copy again, get exactly the same error "server
error in '/' Application.
10. Try building the project, but this doesn't change anything, still no bin
folder or dlls etc.
What am I doing wrong, or is it a problem with the web server (asp.net is
enabled)?
Thanks


Mar 28 '06 #1
1 1266
ib

"ib" <ib@ib.co.uk> wrote in message
news:SR******************@newsfe5-gui.ntli.net...
First time I've tried this so I'm probably doing something stupid.
1. Create a new folder: C:\Inetpub\wwwroot\dn2. Make dn2 an application in
IIS settings.
2. Start dotnet 2005 and Start a new website in C:\Inetpub\wwwroot\dn2
3. On the default.aspx page (in design view) just write the word "hello".
4. Run the website from dotnet - get explorer window with "hello" (all ok)
5. Start an internet explorer window at http://localhost/dn2/ - get the
same (all ok)
6. ftp all the files in C:\Inetpub\wwwroot\dn2 to web server root folder.
7. access the website from internet explorer, get "server error in '/'
Application, with message to change custom error settings.
8. Add <customErrors mode="Off"/> to web.config as suggested and update
web copy.
9. try explorer on the web copy again, get exactly the same error "server
error in '/' Application.
10. Try building the project, but this doesn't change anything, still no
bin folder or dlls etc.
What am I doing wrong, or is it a problem with the web server (asp.net is
enabled)?
Thanks

Might be something to do with the web.config file. I made an absolutely
minimum file 1.aspx. If I comment out all the text, or even if I delete the
text, I get the same error. But if I rename the empty web.config file
to -web.config, 1.aspx shows ok.

Seem strange to me.
Mar 28 '06 #2

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

Similar topics

2
by: timsohn | last post by:
I am trying to deploy the most basic web service (Hello World) example to my website, but am having significant trouble doing so. Here is what I am doing: 1) Create a New Web Service in VS 2005...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
2
by: Tim_Mac | last post by:
hi, for various reasons (navigational, relative paths etc.) i want the web site to always run from a root directory, i.e. http://localhost:3038/ and not http://localhost:3093/Virtual/ can cassini...
0
by: Emrani | last post by:
I already write my codes in dotnet 2003. Recently I moved to dotnet 2005. I developed some mobile applications that work well. But, when I start to develop web sites, they don't work. One of errors...
2
by: crferguson | last post by:
I'm having a really odd issue. Recently my company has upgraded our data server. For a couple of months I'm having to host two versions of the same website on our webserver until the new data...
2
by: Allan Ebdrup | last post by:
I'm using VS Team Suite 2005 and dotNet 2.0, my webserver is running dotNet 2.0 I trying to set up a membership provider using a MSSQL 2000 database. I've run the aspnet_regsql.exe tool and have...
1
by: =?Utf-8?B?Rmxhbm1hbg==?= | last post by:
I have a tutorial I was working on with Visual Web Developer 2005 express. Very basic stuff intro to asp.net. All was working fine a few days ago. I took my pc home and installed the visual studion...
11
by: AAaron123 | last post by:
I have an vs2008 app that generates a website. I have a vs2008 app that uses the webbrowser and does this: WebBrowser1.Navigate(New Uri(address)) the address is: ...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.