473,799 Members | 3,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\wwwr oot\dn2. Make dn2 an application in
IIS settings.
2. Start dotnet 2005 and Start a new website in C:\Inetpub\wwwr oot\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\wwwr oot\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 1300
ib

"ib" <ib@ib.co.uk> wrote in message
news:SR******** **********@news fe5-gui.ntli.net...
First time I've tried this so I'm probably doing something stupid.
1. Create a new folder: C:\Inetpub\wwwr oot\dn2. Make dn2 an application in
IIS settings.
2. Start dotnet 2005 and Start a new website in C:\Inetpub\wwwr oot\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\wwwr oot\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
1859
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 2) Build the website 3) Verify that it works by clicking "View in Browser" 4) Click Copy Website to copy to my webserver 5) Navigate to the website where I just deployed the service
7
3020
by: Shimon Sim | last post by:
I have a custom composite control I have following property
2
1264
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 be configured to always run from the root? i know you can launch it from command line, with /vpath:/ but that doesn't sound like it will integrate with VS very easily. thanks for any tips tim
0
867
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 that is due to calling an empty asp.net website with only one label is such belowe lines: Server Error in '/website1' Application. -------------------------------------------------------------------------------- Configuration Error...
2
3134
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 server is placed in production. Basically, on the same webserver, I have "Website_Old" which pulls its data from our old data server. I now also have a mirror version of the same website on the same webserver named "Website_New", but this one...
2
2221
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 the tables created. I've changed web.config with the following: ---- <membership defaultProvider="CustomizedProvider"> <providers> <add name="CustomizedProvider" type="System.Web.Security.SqlMembershipProvider"
1
2595
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 2005 sdk and also visual web developer 2008. Today when I try to run or debug a very basic page I am getting the error" Unable to connect to Visual Studio's Locahost Web server" I get a similar error when trying to run/debug the same project in...
11
3320
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: http://localhost:1226/Mr.%20Louis%20Jones/
0
9688
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10260
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10243
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.