473,765 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Viewing an ASPX page

CW
I just took an extensive ASP.NET course and copied my projects to my wwwroot
folder and tried opening my default page which consumes some web service. It
worked ok at the course but now I get this error:

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 39: by Microsoft that offers a single logon and core profile
services for member sites.
Line 40: -->
Line 41: <authenticati on mode="Windows" />
Line 42:
Line 43:

Source File: c:\inetpub\wwwr oot\PorterWeb\w eb.config Line: 41

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET
Version:1.1.432 2.573
Other pages open up ok in bowser.

Jul 21 '05 #1
4 1423

You need to configure an Application in IIS.

Go to IIS Admin.

Right click on your root www website.

On the property sheet there is an Application Button.

Click on it, and give it a name.

Set the security level to medium.

What would be better is if you put your files in a sub folder under the
wwwroot...and then did the above, but gave it a name the same as the
folder.
CW wrote:
I just took an extensive ASP.NET course and copied my projects to my
wwwroot
folder and tried opening my default page which consumes some web service.
It worked ok at the course but now I get this error:

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 39: by Microsoft that offers a single logon and core
profile services for member sites.
Line 40: -->
Line 41: <authenticati on mode="Windows" />
Line 42:
Line 43:

Source File: c:\inetpub\wwwr oot\PorterWeb\w eb.config Line: 41

-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
ASP.NET Version:1.1.432 2.573
Other pages open up ok in bowser.


--

http://texeme.com
Textcasting Technology

Jul 21 '05 #2
CW
Thanks C.E.O. Gargantua. I did copy my project folder "ProjectNam e" into
wwwroot folder if that's what you meant.

I'm sorry to belabour(sp?) the point, but in terms of IIS admin, do you mean
the IIS icon under Administrative Tools in control panel? I went in there,
could see all my webs, right clicked on "Default Web Site" icon, and get a
dialog box with all tabs; Web Site, ISAPI filters, Home Directory, Documents
etc. no "Applicatio n" button though.

I'm sure I'm just misunderstandin g what you're referring to, I am a quick
study but these configs I'm really green about.

The instructor said I'd be able to just copy the files from the course
computer into the same wwwroot, project name folder on my laptop??

"C.E.O. Gargantua" wrote:

You need to configure an Application in IIS.

Go to IIS Admin.

Right click on your root www website.

On the property sheet there is an Application Button.

Click on it, and give it a name.

Set the security level to medium.

What would be better is if you put your files in a sub folder under the
wwwroot...and then did the above, but gave it a name the same as the
folder.
CW wrote:
I just took an extensive ASP.NET course and copied my projects to my
wwwroot
folder and tried opening my default page which consumes some web service.
It worked ok at the course but now I get this error:

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 39: by Microsoft that offers a single logon and core
profile services for member sites.
Line 40: -->
Line 41: <authenticati on mode="Windows" />
Line 42:
Line 43:

Source File: c:\inetpub\wwwr oot\PorterWeb\w eb.config Line: 41

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
ASP.NET Version:1.1.432 2.573
Other pages open up ok in bowser.


--

http://texeme.com
Textcasting Technology

Jul 21 '05 #3

Ok, but what you want to do is first select your project folder.

Then right click.

The property sheet that appears should have a Create Application button in
the lower right hand side.

When you click it, it should turn your virtual website into a "web
application". By default it will give it the same name as the folder and
set it to Medium or Low protection level.

CW wrote:
Thanks C.E.O. Gargantua. I did copy my project folder "ProjectNam e" into
wwwroot folder if that's what you meant.

I'm sorry to belabour(sp?) the point, but in terms of IIS admin, do you
mean
the IIS icon under Administrative Tools in control panel? I went in
there, could see all my webs, right clicked on "Default Web Site" icon,
and get a dialog box with all tabs; Web Site, ISAPI filters, Home
Directory, Documents etc. no "Applicatio n" button though.

I'm sure I'm just misunderstandin g what you're referring to, I am a quick
study but these configs I'm really green about.

The instructor said I'd be able to just copy the files from the course
computer into the same wwwroot, project name folder on my laptop??

"C.E.O. Gargantua" wrote:

You need to configure an Application in IIS.

Go to IIS Admin.

Right click on your root www website.

On the property sheet there is an Application Button.

Click on it, and give it a name.

Set the security level to medium.

What would be better is if you put your files in a sub folder under the
wwwroot...and then did the above, but gave it a name the same as the
folder.
CW wrote:
> I just took an extensive ASP.NET course and copied my projects to my
> wwwroot
> folder and tried opening my default page which consumes some web
> service. It worked ok at the course but now I get this error:
>
> 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 39: by Microsoft that offers a single logon and core
> profile services for member sites.
> Line 40: -->
> Line 41: <authenticati on mode="Windows" />
> Line 42:
> Line 43:
>
> Source File: c:\inetpub\wwwr oot\PorterWeb\w eb.config Line: 41
>
>

--------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
> ASP.NET Version:1.1.432 2.573
>
>
> Other pages open up ok in bowser.


--

http://texeme.com
Textcasting Technology


--

http://texeme.com
Textcasting Technology

Jul 21 '05 #4
CW
I got it now. TX a lot C.E.O!!!!

I'll know for next time. Hope all is well.

CW

"C.E.O. Gargantua" wrote:

Ok, but what you want to do is first select your project folder.

Then right click.

The property sheet that appears should have a Create Application button in
the lower right hand side.

When you click it, it should turn your virtual website into a "web
application". By default it will give it the same name as the folder and
set it to Medium or Low protection level.

CW wrote:
Thanks C.E.O. Gargantua. I did copy my project folder "ProjectNam e" into
wwwroot folder if that's what you meant.

I'm sorry to belabour(sp?) the point, but in terms of IIS admin, do you
mean
the IIS icon under Administrative Tools in control panel? I went in
there, could see all my webs, right clicked on "Default Web Site" icon,
and get a dialog box with all tabs; Web Site, ISAPI filters, Home
Directory, Documents etc. no "Applicatio n" button though.

I'm sure I'm just misunderstandin g what you're referring to, I am a quick
study but these configs I'm really green about.

The instructor said I'd be able to just copy the files from the course
computer into the same wwwroot, project name folder on my laptop??

"C.E.O. Gargantua" wrote:

You need to configure an Application in IIS.

Go to IIS Admin.

Right click on your root www website.

On the property sheet there is an Application Button.

Click on it, and give it a name.

Set the security level to medium.

What would be better is if you put your files in a sub folder under the
wwwroot...and then did the above, but gave it a name the same as the
folder.
CW wrote:

> I just took an extensive ASP.NET course and copied my projects to my
> wwwroot
> folder and tried opening my default page which consumes some web
> service. It worked ok at the course but now I get this error:
>
> 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 39: by Microsoft that offers a single logon and core
> profile services for member sites.
> Line 40: -->
> Line 41: <authenticati on mode="Windows" />
> Line 42:
> Line 43:
>
> Source File: c:\inetpub\wwwr oot\PorterWeb\w eb.config Line: 41
>
>
-------------------------------------------------------------------------------- > Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
> ASP.NET Version:1.1.432 2.573
>
>
> Other pages open up ok in bowser.

--

http://texeme.com
Textcasting Technology


--

http://texeme.com
Textcasting Technology

Jul 21 '05 #5

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

Similar topics

2
3961
by: swbaz | last post by:
What is an effect way to prevent users from viewing a webpage directly by typing in its URL? For example: If a default page is set up as a login screen with user name and password. The user types in correct information and clicks the submit button. The next webpage comes up, displaying its URL. So what's to stop the user bypassing the login screen next time around? I would like to show an access
0
1084
by: Jeff Petter | last post by:
I'll preface this by stating that I am brand new to asp.net, so I may be way off base in my approach, but I do have a few books that I've been following along with. Presently, I have a couple of things that really have me scratching my head, and both have to do with viewing controls on a web form. The first is an image. If I place an Image control (and maybe I should mention that I'm in 'grid control' mode) on the page and use the...
0
873
by: John Hamm | last post by:
It's more annoying than anything else. If I browse to my ASPX page in IE (6.0.2800.1106), it loads fine. The page is actually a report (about 41K in size). Yet, if I select File, Properties, the size that IE reports is 7176 bytes. If I want to see how big of a download when I'm developing, I have to view source, then save it to a file on the hard drive and look at the size that way.
4
1324
by: Mustufa Baig | last post by:
Hello, I developed ASP.NET website and as long as I view .aspx pages from Win2000 (I.E. 6.0) they appear fine but if I view these pages from Win98 (I.E. 6.0) the text on the page appears in big font and most of the time overlapping each other. Also I like to know how can I make text and controls size and position on my .aspx page independent of screen resolution. Thanks I really appreciate any help. Regards.
2
1973
by: Matthias H. | last post by:
Hi guys, Our team has a very strange problem. I hope anybody can help. We have a class called webpage and all our aspx-pages bases on it. Then we have a SYS.IO.File Class which have a function. This function checks the hash value of some ini-files. If the hash value is not valid then the function throws an error. Imagine we are editing the code behind file of an aspx-page. If we now want to view the aspx-code we double click the...
5
1736
by: Nathan Sokalski | last post by:
When I view my index.aspx page any time after the first time, I recieve the following error: System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize) +313 System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +201 System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +263
2
1087
by: crjunk | last post by:
I'm having problems viewing ASPX pages in the VS.NET browser. For some unknown reason, it just stooped working. The status bar at the bottom just says "Downloading...". So far I haven't been able to get it to time-out. I've tried rebooting and also stop/start the World Wide Web Publishing service, but every time I try to load up a page in the browser, I continue to have the same problem. This just started occurring today. I am also...
10
5309
by: NH | last post by:
I have a girdview with paging enabled. How can I add a message in the footer to say "Viewing records 1-15 of 45" etc Thanks
0
1752
by: Stimp | last post by:
I've created an aspx page called HistoryManage.aspx. The page works fine on my local machine but when I load it off the web I get the following strange error... Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
3
4641
by: gouthami | last post by:
I have a tree Node in my application and i have set the following code in the NavigateUrl property of the tree node. Please see my code below (which is present in my 'code behind' c# file). My requirement is to open a new window (.aspx page) on clicking a tree node (Menu) with out status bar, address bar etc. TreeNode parentNode = new TreeNode(); tnc.Add(parentNode); parentNode.Target = "none";...
0
9568
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
9398
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
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9832
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
8831
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...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3924
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
3
2805
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.