473,396 Members | 1,683 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,396 software developers and data experts.

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

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
Nov 6 '06 #1
2 2405
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]
Nov 6 '06 #2
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

"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</bserver.

PS: Its urgent...Thank you

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Nov 6 '06 #3

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

Similar topics

0
by: Tomas Vera | last post by:
Hello All, I've developed a Commerce Server application and am having deployment problems. The issue is not Commerce Server specific, so I'll ask here, since questions get answered here. The...
2
by: gilberto ramirez | last post by:
I want to create an ASP application in the following way: PC1 - Windows XP (SP1) with VS .NET (and everything needed) - im programming with C# .NET SRV1 - ISA SERVER - Windows 2000 (SP3) SRV2...
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
8
by: John | last post by:
Hi I have a perfectly fine running webform on the local server. When I upload the webform to a remote shared server I get the below error. Any idea what is causing this? Thanks Regards
8
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my...
3
by: Ron L | last post by:
I have an application that I am working on with 2 other developers. The applciation uses Remoting for our calls to SQL Server. We have been developing and testing against our development machines...
5
by: Glen Buell | last post by:
Hi all, I have a major problem with my ASP.NET website and it's SQL Server 2005 Express database, and I'm wondering if anyone could help me out with it. This site is on a webhost...
14
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So,...
3
by: axelman | last post by:
Hi guys, I'm using Classic ASP, IIS6, IE 7, FF 3 I've developed a vb script to downloand files hosted in my server (zip, doc, pdf, jpg, xls, et. etc.) it's very straight forward and there's a ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.