Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 12th, 2005, 06:34 AM
Authorized User
 
Join Date: Jun 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server Error in '/' Application

Hi I am getting this error when I try to run aspx files on IIS 5 with windows 2000 server.
Server Error in '/' Application The files run fine on my testing server.
Here is the web.config in xml format
*********************************

<?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <appSettings>
<add key="ConnectionString" value="server=(local);database=SamplePortal;uid=sa ;pwd=" />
<add key="OnlineTimeout" value="300" />
<add key="CuteChat.ConnectionStringProvider" value="SamplePortal.CuteChatIntegration.DataProvid er,Sampleportal" />
</appSettings>
- <system.web>
<customErrors mode="Off" />
- <authentication mode="Forms">
<forms name=".UserManagementASPXAUTH" loginUrl="~/Login.aspx" />
</authentication>
- <authorization>
- <!-- <deny users="?" />
-->
<allow users="*" />
</authorization>
</system.web>
</configuration>
***************************************

Please suggest.
 
Old July 12th, 2005, 03:18 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

If you put an html doc in the app does that work? (ie, show in the browser)
What about an asp document?
If you create a simple aspx, will it load into an external browser?
(Trying to ascertain where the server drops the ball.)
 
Old July 12th, 2005, 03:45 PM
Authorized User
 
Join Date: Jun 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello BrianWren,

Thanks for the reply.

Yes I tried both html page and an asp page that was accessing SQL database and they work perfectly fine. No problems at all in any functionality. Only when it comes to aspx files, I am getting that error.

thank you,
Palvin

 
Old July 12th, 2005, 04:03 PM
Authorized User
 
Join Date: Jun 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by palvin
 Hello BrianWren,

Thanks for the reply.

Yes I tried both html page and an asp page that was accessing SQL database and they work perfectly fine. No problems at all in any functionality. Only when it comes to aspx files, I am getting that error.

thank you,
Palvin

Hello BrianWren,

I just managed to fix it. The error occured because the default set of configuration values in web.config require IIS to treat the web site as an application but this was not configured. Iconfigured it as an application.
Also the server name was given incorrect value in the connection string (web.config file), I set it to 127.0.0.1.

Thanks for your Help and Time,
Palwinder






Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Application Error Picabrillo BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 12 May 16th, 2006 06:08 AM
Server Error in '/' Application jamesbie ASP.NET 1.0 and 1.1 Basics 2 October 18th, 2005 05:35 AM
Server Application Error cis BOOK: Beginning ASP.NET 1.0 2 February 12th, 2004 06:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.