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

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='MachineToApplication' 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: <authentication mode="Windows" />
Line 42:
Line 43:

Source File: c:\inetpub\wwwroot\PorterWeb\web.config Line: 41

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

Jul 21 '05 #1
4 1380

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='MachineToApplication' 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: <authentication mode="Windows" />
Line 42:
Line 43:

Source File: c:\inetpub\wwwroot\PorterWeb\web.config Line: 41

-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.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 "ProjectName" 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 "Application" button though.

I'm sure I'm just misunderstanding 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='MachineToApplication' 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: <authentication mode="Windows" />
Line 42:
Line 43:

Source File: c:\inetpub\wwwroot\PorterWeb\web.config Line: 41

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.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 "ProjectName" 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 "Application" button though.

I'm sure I'm just misunderstanding 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='MachineToApplication' 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: <authentication mode="Windows" />
> Line 42:
> Line 43:
>
> Source File: c:\inetpub\wwwroot\PorterWeb\web.config Line: 41
>
>

--------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET Version:1.1.4322.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 "ProjectName" 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 "Application" button though.

I'm sure I'm just misunderstanding 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='MachineToApplication' 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: <authentication mode="Windows" />
> Line 42:
> Line 43:
>
> Source File: c:\inetpub\wwwroot\PorterWeb\web.config Line: 41
>
>
-------------------------------------------------------------------------------- > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET Version:1.1.4322.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
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...
0
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...
0
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,...
4
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...
2
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...
5
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)...
2
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...
10
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
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...
3
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...

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.