|
hey friend, I have been first time developing a website in asp.net in Visual web developer 2008, after some development (i.e, i made a master page , some content pages and no more etc with some of the images in them. ). I mean to say I have not developed any login control etc in my website and website is in a view to be publically available, it's been running o.k. if i preview it in my browser but when i uploaded it, it gave me a message i.e., a configuartion error in ur web.config file:
the error is something like this:
Server Error in '/' Application.
Configuration Error
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 50: ASP.NET to identify an incoming user.
Line 51: -->
Line 52: <authentication mode="Forms"/>
Line 53: <!--
Line 54: The <
Asp.net website web.config configuration error? please help please please please?
Make sure you are using Microsoft Hosting and you must read the instructions on your host support site.
There must be some process to register your application on the server. And if you are not using login controls and database then this line should not be in web.config file.
Line 52: <authentication mode="Forms"/>
Asp.net website web.config configuration error? please help please please please?
I KNOW this may sound absolutely RIDICULOUS. thats what i thought. at first my website http://www.polishgoals.com/ seemed to work perfectly in my browser. but when i uploaded it to my server for public view, it would NOT work, with some strange error i dont remember. i did everything possible, and nothing worked. than i was hopeless and i deleted the web.config file.... and it DID THE TRICK. i know this sounds weird and i dont get it since im only 15 and dont understand this stuff that much but hey it works!
|