Well, you need ASP.Net installed. If you installed IIS before .Net you
need to enable aspnet. On Windows Server 2003, this is done by installing
ASPNet under Windows Components, on Windows XP, run aspnet_regiis -i where
aspnet_regiis.exe is located in
C:\Windows\Microsoft.Net\Framework\<.netversjon>
However, the fact that the IIS is trying to run your application and fails
would indicate that the system is already ASPNet enabled. To be able to
see error messages try setting
<customErrors mode="Off"/>
inside web.config. Remember to ensure this line isn't encapsulated by a
comment section <!-- -->
If you still get the general / error your web.config is probably
incorrectly configured and contains an illegal character, is missing a
character or something like that.
On Mon, 06 Nov 2006 04:49:11 +0100, Preetam <Pattanashettywrote:
Hi
I am learning ASP.NET using C#. I am able to run .aspx files on local
system, but when I load them to the server, I get the "Server Error in
'/' Application" error. I have tried to configure the web.config file
but has not been fruitful.
I would be thankful if the following questions were answered:
a)has the write permissions on files and folders have to do something
with it?
b)what role does asp_client folder play?
c) What other configuration files are needed to run a .aspx file on a
<b>remote</bserver.
PS: Its urgent...Thank you
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
--
Happy Coding!
Morten Wennevik [C# MVP]