my code was working nicely on local and server as well but when i published the website and uploaded on server then it is showing me this 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:
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Source File: G:\PleskVhosts\patientshealthyselves.com\...\.....org\test\web.config Line: 50
Version Information: Microsoft .NET Framework Version:2.0.50727.6421; ASP.NET Version:2.0.50727.6427
<authentication mode="Forms"/>
<customErrors mode="Off" > </customErrors>
and this is my code ....why this is happening i have searched lot for this but still stuckked with same plzzz help me guide me...also tell me how to resolve this