hi i'm facing this error: Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Can anybody tell me ewhy is that? thanks
I believe you should change the ASP.net Trust Level to full, as this usually fixes this type of problems. You can read how to do so in our KB aticle here: http://support.Winhost.com/KB/a657/changing-the-default-aspnet-trust-level.aspx
Now it is giving the following error: 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 22: </connectionStrings> Line 23: <system.web> Line 24: <trust level="Full" /> Line 25: Line 26: <!--<customErrors mode="Off"/> Source File: E:\web\eschooli\test\batchsender\web.config Line: 24 please advice...
The error message means that the folder you uploaded your application/website to is not setup as an application folder. Read this kb article for guidelines on how to setup subfolders as application foldres. http://support.Winhost.com/KB/a635/what-is-the-application-starting-point-tool.aspx
Yes. You can have more then one application folder under your root. Simply create the folders via FTP, then go to your control panel and under Site Info Manager use the 'Application Starting Point' button to set those folders as application folders.