473,770 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error in generated project

I tried to generate asp Application project( I’m using VS .Net 2003). After I did ,following errors occurred (runtime):
--------------------------------------------------------------------------------------------
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 ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:
Line 44: by Microsoft that offers a single logon and core profile services for member sites.
Line 45: -->
Line 46: <authenticati on mode="Windows" />
Line 47:
Line 48: <!-- AUTHORIZATION
-----------------------------------------------------------------------------------------------

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 ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:
Line 74: To disable cookies, set sessionState cookieless="tru e".
Line 75: -->
Line 76: <sessionState
Line 77: mode="InProc"
Line 78: stateConnection String="tcpip=1 27.0.0.1:42424"

------------------------------------------------------------------------------------------------

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'help.WebForm1' .

Source Error:
Line 1: <%@ Page language="c#" Codebehind="Web Form1.aspx.cs" AutoEventWireup ="false" Inherits="help. WebForm1" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3:

-------------------------------------------------------------------------------------------

After removing all this errors application is running correctly, but I can't use codebing. What is the problem?

Nov 18 '05 #1
2 1834
did u create this application or trying to load a sample itself ?
if its a sample u just copied into the wwwroot folder to run, you're
definitely gonna run into this error. The solution is as it suggested..
configure the virtual directory to run as an application..

a.. Open IIS settings (right click My Computer , select Manage >
Services&Applic ations >IIS >WebSite > Default WebSite) and browse to find
the web application folder u desire
b.. Right click the folder, select properties.
c.. On the Directory Tab, click Create to create an IIS application for
this folder, and then click OK.

"menkaur" <me*****@discus sions.microsoft .com> wrote in message
news:F6******** *************** ***********@mic rosoft.com...
I tried to generate asp Application project( I'm using VS .Net 2003). After I did ,following errors occurred (runtime): -------------------------------------------------------------------------- ------------------ 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 ='MachineToAppl ication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.
Source Error:
Line 44: by Microsoft that offers a single logon and core profile services for member sites. Line 45: -->
Line 46: <authenticati on mode="Windows" />
Line 47:
Line 48: <!-- AUTHORIZATION
------------------------------------------------------------------------- ----------------------
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 ='MachineToAppl ication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.
Source Error:
Line 74: To disable cookies, set sessionState cookieless="tru e".
Line 75: -->
Line 76: <sessionState
Line 77: mode="InProc"
Line 78: stateConnection String="tcpip=1 27.0.0.1:42424"

-------------------------------------------------------------------------- ----------------------
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: Could not load type 'help.WebForm1' .

Source Error:
Line 1: <%@ Page language="c#" Codebehind="Web Form1.aspx.cs" AutoEventWireup ="false" Inherits="help. WebForm1" %> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3:

-------------------------------------------------------------------------- -----------------
After removing all this errors application is running correctly, but I can't use codebing. What is the problem?

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004
Nov 18 '05 #2
Thanks a lot! It works. However, I’d like to know if there is any way to make VS do this for me in the future?
Nov 18 '05 #3

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

Similar topics

0
1022
by: david | last post by:
Hello! I've a link error problem problem with VS .NET 2003. I give you the complete description of a simple test (to simplify) : First, I make a WIN32 static library supporting MFC and using precompiled header. It contains : ***** testlib.h:
6
4753
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much appreciated. Thanks in advance
1
2161
by: Vishal Saxena | last post by:
Hi, I am new to this news group, hope to get prompt solution from you, gurus of VC. Well i had a project developed in VC++ 6.0, it uses Adobe Plugin Development SDK, I am trying to upgrade my project to VC++.NET, below is the code snipplet from the project
5
3733
by: Lynne | last post by:
I apologize in advance for the lengthy message but wanted to include as much information as possible. Any insight/assistance would be appreciated. The following line of code throws an error when I execute my application using the output generated from a web deployment project. I have specified "merge all outputs to a single assembly." If I use the "publish web site" option, the application works fine. If I run the application within...
1
14516
by: Jason Richmeier | last post by:
I have encountered an error while attempting to sign an assembly. I have become quite frustrated since I seem to be going in circles and making no progress. Hopefully someone will have the magic answer. I am new to this so I will try to describe everything as well as I can. There are probably a number of things that I am doing wrong so I will try to desribe the errors that I am receiving along with things that I have tried and...
9
4760
by: fcvcnet | last post by:
Hi, I write a class class CSegment { public: CSegment(void); public: ~CSegment(void); public: CArray< CList< CPoint, CPoint& >, CList< CPoint, CPoint& >& m_curve;
1
8370
by: Don | last post by:
I'm getting the following exception displayed in the task list at design time for my project: "Code generation for property 'Controls' failed. Error was: 'Object reference not set to an instance of an object.'" I've traced the problem to a custom control I created that inherits from Inherits System.Windows.Forms.TextBox. In this custom control, I have two constructors. I'm not sure why I created the second constructor -- it was so...
4
10195
by: nickyeng | last post by:
i calling this piece of java code in jsp : List<Customer> list = Customer.listby_page(currentRs); ... ... then it gives me the following error:
1
13836
by: Anonymous | last post by:
I am having trouble compiling an ATL library. I get the above error, BUT the typelib file named in the error IS there. I have also checked the following (in the Properties Dialog Page: 1). Under the 'Resources' option - the resource file name is correctly specified, using macros (the error is generated when compiling a generated .rc file) 2). The Resources->'Additional Include Directories' is left blank, since
1
2035
by: eljainc | last post by:
Hello, I have a problem when working with a program that uses XAML in one of the modules. I copied some XAML code from another working project into an existing project, then when trying to compile the project I get the following: Error 13 Unknown build error, 'The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.'
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10257
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.