Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / ADO.NET / November 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeffrey - 27 Nov 2007 20:24 GMT
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

Signature

Jeffrey

Norman Yuan - 27 Nov 2007 22:38 GMT
Have you conigured the virtual directory as application?

> To run an example from ADOnet 2.0 SBS 2005 edition, I opened a web site
> from
[quoted text clipped - 17 lines]
> TIA,
> Jeffrey

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.