473,511 Members | 17,486 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='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 1391

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
3949
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
1069
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
856
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
1306
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
1956
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
1724
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
1072
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
5281
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
1725
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
4611
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...
0
7245
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,...
0
7144
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...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5671
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,...
1
5069
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...
0
4741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3227
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...
0
1577
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 ...
0
449
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...

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.