473,586 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Use rName %>) 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 1387
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.Use rName %>) 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**@discussio ns.microsoft.co m> wrote in message
news:20******** *************** ***********@mic rosoft.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.Use rName %>) 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****@Spamles s.com> wrote in message
news:eI******** *****@TK2MSFTNG P14.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**@discussio ns.microsoft.co m> wrote in message
news:20******** *************** ***********@mic rosoft.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.Use rName %>) 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****@Spamles s.com> wrote in message
news:eI******** *****@TK2MSFTNG P14.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**@discussio ns.microsoft.co m> wrote in message
news:20******** *************** ***********@mic rosoft.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.Use rName %>) 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**@discussio ns.microsoft.co m> wrote in message
news:20******** *************** ***********@mic rosoft.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.Use rName %>) 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 "applicatio n folder" in
IIS. It is very simple to do, but it does have to be done on the server. From
Control Panel run AdmistrativeToo ls, 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****@Spamles s.com> wrote in message
news:eI******** *****@TK2MSFTNG P14.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**@discussio ns.microsoft.co m> wrote in message
news:20******** *************** ***********@mic rosoft.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.Use rName %>) 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
1587
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 department do installs at night easily. The problem I have encountered is there seems to be no way of targeting a specific site on the server. When I...
1
1807
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 error: Unhandled Exception: System.ArgumentException: Invalid directory on URL. at...
7
3355
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 communicate directly with the database. Do I need a separate db2 connect on each such machine. Please advice.
2
2258
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 in any place other than the default website? I do not want to install it there as our IIS has multiple websites, but nowhere is there an option when...
2
4554
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 /aspnet_client/system_web/1_1_4322/WebUIValidation.js but I think I've now fixed this. What is happening now is I'm not getting a security issue but...
11
14645
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 application folder was set to 'Allow scripts only', I get an error: Failed to connect to 'http://192.168.0.5/TransAct/' with the following error:
20
3129
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 like to see if anyone can help me get started. I have read some about clickonce deployment and not sure much about this yet. Thanks for your help.
2
2156
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 compiled in the dll. The web pages work if I copied the cs files. Why do I need to copy them over? John Dalberg
0
1016
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 and Attach to the remote debugger remotely. This whole deployment thing does not take that into account (at least from I can undersstand). In VS...
10
6078
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 remember I did something once long back .. like including .mdf files into my project in the solution explorer of VS 2005 and then used Click Once...
0
7912
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...
0
8338
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...
1
7959
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...
0
8216
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
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...
1
2345
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
0
1180
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...

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.