CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 CC 2 + ASP.net 1.0

Print topic Send  topic

Author Message
Marco
Posted: 06/19/2002, 2:53 PM

Hi,

Any idea what is wrong with EmplDir in CC for Asp.NET?



Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 35: "Passport" and "None"
Line 36: -->
Line 37: <authentication mode="None" />
Line 38:
Line 39: <!-- APPLICATION-LEVEL TRACE LOGGING


Source File: c:\inetpub\wwwroot\empldir\web.config Line: 37


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.209; ASP.NET Version:1.0.3705.0
SN
Posted: 06/19/2002, 10:49 PM

You need to do 2 things to make ASP.NET applications work ..
1) You need to convert the directory where you have published the code into a Virtual Directory. this came be done with the help of Internet Information Services Manager..
2) You need to go to the directory where you published your ASP.NET project and run the *makeall.bat* file, this file will compile your ASP.NET application.
SN
Posted: 06/20/2002, 1:41 AM

If you are still getting errors ..
Open the web.config file in notepad and remove the section of
<authentication mode="None" />

then save the file ... it might solve the problem ..
Marco
Posted: 06/20/2002, 10:23 AM

Thank you very much.

This is the solution.

For all CCS users with the same problem generating Asp.NET code, don't forget before running the web app:


Make a virtual webpath and click on the .bat file.


Regards,
Marco
Ian Stephenson
Posted: 08/26/2002, 11:33 PM

Thanks for the directions for making a virtual directory which has fixed the parse error problem. The tutorial TaskManager application is now working and I can continue working through the example.

Cheers,
Ian

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.