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

  • Thread starter Thread starter Preetam Pattanashetty
  • Start date Start date
P

Preetam Pattanashetty

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
 
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.
 
Hi Preetam Pattanashetty,

I belive Morten has give enough inputs, I would like to add some more,
Copy all your content in your root directory to your server and url deponds
on your website folder structure so please ensure that, moreover dont miss
your bin directory to your server

Ananth Ramasamy Meenachi
Programmer Analyst
 
Back
Top