Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 14th, 2007, 07:24 AM
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Uploading asp.net website

I am really new to asp.net
I've just made the Webshop trough a book from imar i don't have iis running because i'm using windows XP home. I just use visual studio's localhost for testing.

Now everything works like it should.
But when i try to upload it to the webserver (use ftp) it doens't work.

The tries:
1. I've tried to publish it trough the publish mode of visual studio, I then get the problem of: Error 103 'ShoppingCartView' is ambiguous.
Sometimes it doesn't give errors when i have all files closed.
2. I've tried to just put it on my ftp trough smartftp.
this works offcourse but it get weird errors:
first i get the error i should put erromode to off (i know this) so ive added that to my web.config.

But then i keep getting these errors :S
 
Code:
Server Error in '/' Application.
Code:
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 20:     </connectionStrings>
Line 21:     <system.web>
Line 22:         <authentication mode="Forms">
Line 23:             <forms loginUrl="~/Registreer.aspx"/>
Line 24:         </authentication>


Source File: d:\internet\root\www\itasc\www\webshop\web.config    Line: 22


Show Additional Configuration Errors:

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. (d:\internet\root\www\itasc\www\webshop\web.config line 25)

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. (d:\internet\root\www\itasc\www\webshop\web.config line 42)

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. (d:\internet\root\www\itasc\www\webshop\web.config line 48)



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
so i've made that invisible and then tried again but he keeps giving me diffrent errors in the web.config file and eventualy he says again i should set error mode to off (while i allready did that)

Could someone help me on what i all have to change to my files to upload a website.



Reply With Quote
  #2 (permalink)  
Old November 14th, 2007, 10:12 AM
jminatel's Avatar
Wrox Staff
Points: 18,940, Level: 59
Points: 18,940, Level: 59 Points: 18,940, Level: 59 Points: 18,940, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,945
Thanks: 73
Thanked 139 Times in 101 Posts
Default

Cross post:
http://p2p.wrox.com/topic.asp?TOPIC_ID=66749

Jim Minatel
Acquisitions Director
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Wrox online library: http://wrox.books24x7.com
Reply With Quote
  #3 (permalink)  
Old November 15th, 2007, 04:23 AM
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Jeah i'm sorry but imar told me i could better post it here ;)

So i am hoping other people can help me.

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading a Website Manoj Bisht ASP.NET 2.0 Professional 1 May 24th, 2008 10:48 AM
Uploading images using FCkEditor in ASP.net kumaroswal .NET Framework 2.0 0 February 21st, 2007 01:45 AM
Uploading File In ASP.NET gadhiav ASP.NET 1.0 and 1.1 Basics 3 June 29th, 2004 11:54 PM
ASP.NET Website Programming: ... VB.NET ed. slowhand BOOK: ASP.NET Website Programming Problem-Design-Solution 0 November 29th, 2003 09:56 PM
ASP.NET Website Programming VB.NET version lean4huskytop Wrox Book Feedback 1 July 7th, 2003 10:35 AM



All times are GMT -4. The time now is 07:48 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.