Wrox Programmer Forums
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 18th, 2010, 05:59 AM
Registered User
 
Join Date: Feb 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Error in deployment

Hi guys,
I am a novel and I try to publish my web site project built in Asp.Net 3.5 (C#) on my Aruba's hosting but it occurs this error:


Server Error in '/' Application.
--------------------------------------------------------------------------------

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 52: </compilation>
Line 53: <!-- Membership -->
Line 54: <membership defaultProvider="AccessMembershipProvider">
Line 55: <providers>
Line 56: <clear/>


I used AccessMembership provider. It could be bin directory when I inserted accessprovider.dll, to occur this error?


I didn't configure my site in IIS but directly I decided to publish on my hosting. It's wrong?

Thanks for help!
 
Old February 18th, 2010, 11:18 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You're not really providing the information I asked for in a private messsage so it's difficult to tell what the problem is. At the end of the book you see a number of possible errors you may run into, including this one. Does any of the resons apply? Do you have your site in a sub folder (e.g. www.domainname.com/AppName as opposed to www.domainname.com)? How exactly does you site's structure look? How doo you browse to the site etc etc etc.

Also, you seem to be using the AccessProvider. Did you follow the correct procedues (compile DLL to bin, configure web.config etc)

Maybe your host can help you out. Did you cantact them?

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old February 18th, 2010, 11:41 AM
Registered User
 
Join Date: Feb 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Imaar,
sorry but I am Italian and sometimes I don't understand the sense of the phrase.

So, I have my site in a sub folder and the example is this:
http://www.mydomain.it/MyWebSite and in effect just in time I remember that in local server I browse my website with http://localhost:1856 and then it run my web site. Maybe I must change the Application's proprerty (virtual Path from "/" to "/MyWebSite" ?


Thanks
 
Old February 18th, 2010, 04:45 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Changing that property is a local, development setting only. Instead you need to upload the files to the root, and not to the /MyWebSite foloder Alternatively, ask your host to make MyWebSite an application.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
ivanosato (February 18th, 2010)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Trust error on deployment? JeffPK BOOK: Expert Access 2007 Programming ISBN 978-0-470-17402-9 3 November 2nd, 2009 04:15 PM
Error on Deployment DureSameen BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 February 21st, 2007 05:36 AM
Deployment tool error hemanthb2005 J2EE 0 December 18th, 2005 08:28 AM
Deployment Error BSkelding Pro VB.NET 2002/2003 0 June 3rd, 2004 08:26 AM
Deployment error amrev VS.NET 2002/2003 0 September 22nd, 2003 02:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.