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

Server problem - ASP.NET deployment

This is such a "dead in the water" problem I don't even know if this is the
right forum for it.
I have developed an ASP.NET/C# project on my own PC and it's working. I then
transferred it to the remote serverwhere it will finally reside. I'm not a
server expert, but the administrator says that ASP.NET is enabled. However,
when I access any of the pages I just get a generic "Server Error in '/'
Application. Runtime Error" page that tells me how to change the customErrors
mode to "Off" in web.config. I have in fact done this, which rather indicates
that it is not even getting as far as reading web.config. I have even put up
a basic two-line .aspx file with no active content (it should display the
user account using <%= Environment.UserName %>) but even that doesn't work -
same error page. The only thing I can actually do is browse a plain vanilla
..HTM file.
It must be a server configuration problem, but I don't even know where to
start. Can anyone help?
--
Dave
Nov 19 '05 #1
6 1371
Dave wrote:
This is such a "dead in the water" problem I don't even know if this is the
right forum for it.
I have developed an ASP.NET/C# project on my own PC and it's working. I then
transferred it to the remote serverwhere it will finally reside. I'm not a
server expert, but the administrator says that ASP.NET is enabled. However,
when I access any of the pages I just get a generic "Server Error in '/'
Application. Runtime Error" page that tells me how to change the customErrors
mode to "Off" in web.config. I have in fact done this, which rather indicates
that it is not even getting as far as reading web.config. I have even put up
a basic two-line .aspx file with no active content (it should display the
user account using <%= Environment.UserName %>) but even that doesn't work -
same error page. The only thing I can actually do is browse a plain vanilla
.HTM file.
It must be a server configuration problem, but I don't even know where to
start. Can anyone help?


Try with a simple run of the "aspnet_regiis.exe -i" and "-c" params. See
if that helps as a start.
The exe is in the Micosoft.Net folder.... buried down a few layers.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #2
Check the folder that houses your site. It should be configured as an
application directory. The behavior you're describing is what I get when
I've forgotten to configure my folders.
"Dave" <Da**@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
This is such a "dead in the water" problem I don't even know if this is the right forum for it.
I have developed an ASP.NET/C# project on my own PC and it's working. I then transferred it to the remote serverwhere it will finally reside. I'm not a
server expert, but the administrator says that ASP.NET is enabled. However, when I access any of the pages I just get a generic "Server Error in '/'
Application. Runtime Error" page that tells me how to change the customErrors mode to "Off" in web.config. I have in fact done this, which rather indicates that it is not even getting as far as reading web.config. I have even put up a basic two-line .aspx file with no active content (it should display the
user account using <%= Environment.UserName %>) but even that doesn't work - same error page. The only thing I can actually do is browse a plain vanilla .HTM file.
It must be a server configuration problem, but I don't even know where to
start. Can anyone help?
--
Dave

Nov 19 '05 #3
I have exactly the same problem with the server of my Web hosting provider.
I have two different applications : one in the root and one in a
sub-directory. With my local machine, both applications work very well as
my folders are configured as virtual directories. When I upload my
applications to the server of the Web hosting provider, the one in the root
works very well, but the one in the sub-directory does not, and I got
exactly the same error message. I have asked the provider to configure my
folder as virtual directory but they say it is not possible. I therefore
have to manage with my web.config file, but I do not know how to do so.
Does anyone can give me advice how to configure it ?

Thank you very much,

Kiyomi

"Clamps" <Cl****@Spamless.com> wrote in message
news:eI*************@TK2MSFTNGP14.phx.gbl...
Check the folder that houses your site. It should be configured as an
application directory. The behavior you're describing is what I get when
I've forgotten to configure my folders.
"Dave" <Da**@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
This is such a "dead in the water" problem I don't even know if this is the
right forum for it.
I have developed an ASP.NET/C# project on my own PC and it's working. I

then
transferred it to the remote serverwhere it will finally reside. I'm not a server expert, but the administrator says that ASP.NET is enabled.

However,
when I access any of the pages I just get a generic "Server Error in '/'
Application. Runtime Error" page that tells me how to change the

customErrors
mode to "Off" in web.config. I have in fact done this, which rather

indicates
that it is not even getting as far as reading web.config. I have even put up
a basic two-line .aspx file with no active content (it should display

the user account using <%= Environment.UserName %>) but even that doesn't

work -
same error page. The only thing I can actually do is browse a plain

vanilla
.HTM file.
It must be a server configuration problem, but I don't even know where to start. Can anyone help?
--
Dave


Nov 19 '05 #4
I would be intersted to hear if you find a solution, but if it is the same
problem as mine then I do not think that it can be solved in the web.config
file - as I described in my original post I do not think my application is
even getting as far as reading the web.config file.
If you are paying your service provider extra for ASP.NET facilities then
you're being ripped off!
--
Dave
"Kiyomi" wrote:
I have exactly the same problem with the server of my Web hosting provider.
I have two different applications : one in the root and one in a
sub-directory. With my local machine, both applications work very well as
my folders are configured as virtual directories. When I upload my
applications to the server of the Web hosting provider, the one in the root
works very well, but the one in the sub-directory does not, and I got
exactly the same error message. I have asked the provider to configure my
folder as virtual directory but they say it is not possible. I therefore
have to manage with my web.config file, but I do not know how to do so.
Does anyone can give me advice how to configure it ?

Thank you very much,

Kiyomi

"Clamps" <Cl****@Spamless.com> wrote in message
news:eI*************@TK2MSFTNGP14.phx.gbl...
Check the folder that houses your site. It should be configured as an
application directory. The behavior you're describing is what I get when
I've forgotten to configure my folders.
"Dave" <Da**@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
This is such a "dead in the water" problem I don't even know if this is

the
right forum for it.
I have developed an ASP.NET/C# project on my own PC and it's working. I

then
transferred it to the remote serverwhere it will finally reside. I'm not a server expert, but the administrator says that ASP.NET is enabled.

However,
when I access any of the pages I just get a generic "Server Error in '/'
Application. Runtime Error" page that tells me how to change the

customErrors
mode to "Off" in web.config. I have in fact done this, which rather

indicates
that it is not even getting as far as reading web.config. I have even put
up
a basic two-line .aspx file with no active content (it should display

the user account using <%= Environment.UserName %>) but even that doesn't

work -
same error page. The only thing I can actually do is browse a plain

vanilla
.HTM file.
It must be a server configuration problem, but I don't even know where to start. Can anyone help?
--
Dave



Nov 19 '05 #5
Thanks Clamps, that does indeed seem to be the problem - I can actually get
it to work if I put everything in htdocs, which is the web root. This would
seem to indicate that htdocs is configured as an application directory, but
the subdirectory I created for my project isn't. However, I don't really
weant to have to put everything into htdocs.
Unfortunately I have no experience of configuring IIS for ASP.NET, and
neither has the guy who runs the server. Can you possibly give us a brief
rundown on how to do this configuration, or point us at a good "idiot's
guide".
Thanks
--
Dave
"Clamps" wrote:
Check the folder that houses your site. It should be configured as an
application directory. The behavior you're describing is what I get when
I've forgotten to configure my folders.
"Dave" <Da**@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
This is such a "dead in the water" problem I don't even know if this is

the
right forum for it.
I have developed an ASP.NET/C# project on my own PC and it's working. I

then
transferred it to the remote serverwhere it will finally reside. I'm not a
server expert, but the administrator says that ASP.NET is enabled.

However,
when I access any of the pages I just get a generic "Server Error in '/'
Application. Runtime Error" page that tells me how to change the

customErrors
mode to "Off" in web.config. I have in fact done this, which rather

indicates
that it is not even getting as far as reading web.config. I have even put

up
a basic two-line .aspx file with no active content (it should display the
user account using <%= Environment.UserName %>) but even that doesn't

work -
same error page. The only thing I can actually do is browse a plain

vanilla
.HTM file.
It must be a server configuration problem, but I don't even know where to
start. Can anyone help?
--
Dave


Nov 19 '05 #6
I don't know if you're still watching this thread, but I did finally solve
the problem by configuring the server folder as an "application folder" in
IIS. It is very simple to do, but it does have to be done on the server. From
Control Panel run AdmistrativeTools, then go to Internet Information
Services, navigate to the folder, right click for properties and in the
Directory tab, where it says Application Name, give it a name (I'm not sure
what purpose the name serves or whether you actually need to give it one) and
press the create button. That's all there is to it.
I am surprised that your ISP says they cannot do this - either they provide
ASP.NET services or they don't, and if they do then they must be able to do
this for you, otherwsie they are not providing the service (are you paying
extra for ASP.NET?)

--
Dave
"Kiyomi" wrote:
I have exactly the same problem with the server of my Web hosting provider.
I have two different applications : one in the root and one in a
sub-directory. With my local machine, both applications work very well as
my folders are configured as virtual directories. When I upload my
applications to the server of the Web hosting provider, the one in the root
works very well, but the one in the sub-directory does not, and I got
exactly the same error message. I have asked the provider to configure my
folder as virtual directory but they say it is not possible. I therefore
have to manage with my web.config file, but I do not know how to do so.
Does anyone can give me advice how to configure it ?

Thank you very much,

Kiyomi

"Clamps" <Cl****@Spamless.com> wrote in message
news:eI*************@TK2MSFTNGP14.phx.gbl...
Check the folder that houses your site. It should be configured as an
application directory. The behavior you're describing is what I get when
I've forgotten to configure my folders.
"Dave" <Da**@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
This is such a "dead in the water" problem I don't even know if this is

the
right forum for it.
I have developed an ASP.NET/C# project on my own PC and it's working. I

then
transferred it to the remote serverwhere it will finally reside. I'm not a server expert, but the administrator says that ASP.NET is enabled.

However,
when I access any of the pages I just get a generic "Server Error in '/'
Application. Runtime Error" page that tells me how to change the

customErrors
mode to "Off" in web.config. I have in fact done this, which rather

indicates
that it is not even getting as far as reading web.config. I have even put
up
a basic two-line .aspx file with no active content (it should display

the user account using <%= Environment.UserName %>) but even that doesn't

work -
same error page. The only thing I can actually do is browse a plain

vanilla
.HTM file.
It must be a server configuration problem, but I don't even know where to start. Can anyone help?
--
Dave



Nov 19 '05 #7

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

Similar topics

2
by: Dave Wendleton | last post by:
We are developing ASP.Net apps. We would like to use the Deployment project to create MSI files that would be installed on to the production servers. This will allow us to have our operations...
1
by: JP Burford | last post by:
I am working on testing zero deployment on Windows 2003 server. The application I am testing is a simple Managed application written in C#. When I access the application I receive the following...
7
by: CT | last post by:
Hi, This might seem like a basic question but I have some doubts, please humour me. I have a client-server application using java where each client on each machine needs to directly...
2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
2
by: Mark | last post by:
Hi, I've been having problems with the validation controls not working on my deployment server. Initially it was a security issue with the anonymous account not having permissions to access...
11
by: moondaddy | last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where users can access it from. I created an application folder in IIS where I'm trying to deployee to. 1) When the...
20
by: piggy | last post by:
I have developed an application using C# under .NET 2.0 framework. It is almost done and it is time for me to think about deploymnet to all users. I don't have any background about this and would...
2
by: John Dalberg | last post by:
I have a few user controls in ascx files. I copied these files to the deployment server. However the server gives error message that the code behind (cs) are missing. I thought all cs files are...
0
by: Stupid48 | last post by:
I like the web deployment projects add-in for VS 2005. The web.config section replacement is especially useful. I'm a bit confused about an aspect of this. We develop against remote web servers...
10
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.