PC Review


Reply
Thread Tools Rate Thread

ADO.net 2.0 Error on line 51 authentication mode=Windows of web.co

 
 
Jeffrey
Guest
Posts: n/a
 
      27th Nov 2007
To run an example from ADOnet 2.0 SBS 2005 edition, I opened a web site from
File System (Microsoft Press folder). I can review the Design and Source
tabs; however, running an example program, e.g. Chap 14-Finished, showed the
following error:

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. C:\Microsoft Press\ADO.NET 2.0 Step by Step\Chap14\VB\Chapter 14 -
Finish\Chapter 14 - Finish\web.config 51

I have created a virtural dorectory pointing to C:\Microsoft Press\ADO.NET
2.0 Step by Step\ and IIS Admin did show a virtual directory. Why Chap 14
web site can not be opened?

TIA,
Jeffrey

--
Jeffrey
 
Reply With Quote
 
 
 
 
Norman Yuan
Guest
Posts: n/a
 
      27th Nov 2007
Have you conigured the virtual directory as application?

"Jeffrey" <(E-Mail Removed)> wrote in message
news:A5C595EC-076C-4702-A594-(E-Mail Removed)...
> To run an example from ADOnet 2.0 SBS 2005 edition, I opened a web site
> from
> File System (Microsoft Press folder). I can review the Design and Source
> tabs; however, running an example program, e.g. Chap 14-Finished, showed
> the
> following error:
>
> 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. C:\Microsoft Press\ADO.NET 2.0 Step by Step\Chap14\VB\Chapter 14 -
> Finish\Chapter 14 - Finish\web.config 51
>
> I have created a virtural dorectory pointing to C:\Microsoft Press\ADO.NET
> 2.0 Step by Step\ and IIS Admin did show a virtual directory. Why Chap 14
> web site can not be opened?
>
> TIA,
> Jeffrey
>
> --
> Jeffrey


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
authentication mode windows : web vs web service application donet programmer Microsoft ASP .NET 0 18th Jan 2008 10:47 PM
Howto know if we are in Forms or Windows authentication mode ? WT Microsoft ASP .NET 2 29th May 2007 05:59 AM
authentication mode error Joe Microsoft ASP .NET 1 12th Jan 2006 02:45 AM
Windows authentication mode Thor W Hammer Microsoft ADO .NET 1 6th Oct 2005 04:41 PM
MSDE 2000 Release A: Windows Authentication Mode or Mixed Mode? =?Utf-8?B?U0hD?= Microsoft Access VBA Modules 3 22nd Sep 2005 10:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:29 AM.