can't run dotnet 2005 website from webserver

I

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
 
I

ib

ib said:
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.
 

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