Re: problem with running .aspx files on remote server. Urgent help needed.



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 <Pattanashetty> wrote:

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</b> server.

PS: Its urgent...Thank you

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com



--
Happy Coding!
Morten Wennevik [C# MVP]
.



Relevant Pages

  • Re: winforms vs webforms
    ... Rich Client PROS ... files from one place to drop in another like in Windows Explorer* ... Is in fact in a webpage using ASPNET is a popup form not possible. ... with the from the server gotten user interfaces is tier one. ...
    (microsoft.public.dotnet.general)
  • Re: Dell PowerEdge 2450 & Win2k3 server
    ... The other thing you can do is try to run just one CPU and see if one of the ... Enterprise server sp1. ... I get this error after the windows setup process. ... Tried installing with the PERC and also tried installing using the ...
    (microsoft.public.windows.server.general)
  • Re: Windows Advanced Server 2000 PKI
    ... following as a rough guideline for installing a Windows 2000 Enterprise or ... - install or reconfigure your DHCP server accordingly ... Join Windows 2000 member server to new domain and install Enterprise or ... > We would like to setup PKI having server2 as the> certificate authority. ...
    (microsoft.public.win2000.security)
  • Re: Time learning openSUSE
    ... should think about when talking to Windows admins ... I must honestly say I have had more downtime on the Linux server then on ... installing Linux on Bill Gates PC. ...
    (alt.os.linux.suse)
  • Re: hardware firewall
    ... >> comment was about firewalls and security based on his question. ... he wanted to limit the connections to his Windows development web server ... month and am installing over $328K worth of them next week. ... >> I would assume, from your comment, that you've never run a Windows based ...
    (comp.security.misc)