Trying the SAMPLE - Error - section registered as allowDefinition='MachineToApplication' beyond application level
Posted: Wed 18 Apr 2007 20:13
OK - here I go. Uninstalled all previous versions of MySqlDirect .net .. Downloaded and installed the 4.x version. I told it to build the IIS directories and did a "typical" install. I launch the SAMPLE solution and went into the Web Providers sample - as well as several other ones. Every time I RUN them, I get the following error:
Error 1 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. C:\Program Files\CoreLab\MySQLDirect.NET2\Samples\CacheDependency\CS\Web.Config 32
PS - and so you're clear on what I did - I installed this new 4.x version on my DESKTOP machine (had 3.x installed previously). My laptop appears to be working fine. I had never tried runniing the SAMPLE before on my DESKTOP machine; but my other Production project works fine as does other MySqlDirect features (e.g., Gridview, etc.) .... just none of the SAMPLES in your product.
Thanks
Error 1 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. C:\Program Files\CoreLab\MySQLDirect.NET2\Samples\CacheDependency\CS\Web.Config 32
PS - and so you're clear on what I did - I installed this new 4.x version on my DESKTOP machine (had 3.x installed previously). My laptop appears to be working fine. I had never tried runniing the SAMPLE before on my DESKTOP machine; but my other Production project works fine as does other MySqlDirect features (e.g., Gridview, etc.) .... just none of the SAMPLES in your product.
Thanks