HighTechTalks DotNet Forums  

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

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss ADO.net 2.0 Error on line 51 authentication mode=Windows of web.co in the Dotnet Framework (ADO.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Jeffrey
 
Posts: n/a

Default ADO.net 2.0 Error on line 51 authentication mode=Windows of web.co - 11-27-2007 , 03:24 PM






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
  #2  
Old   
Norman Yuan
 
Posts: n/a

Default Re: ADO.net 2.0 Error on line 51 authentication mode=Windows of web.co - 11-27-2007 , 05:38 PM






Have you conigured the virtual directory as application?

"Jeffrey" <Jeffrey (AT) discussions (DOT) microsoft.com> wrote

Quote:
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 Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.