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.