I have create a website, at local server, using webmatrix and SQL CE. When i deployed the site to live, cause it;s sharing host with plesk, i had problem with DB and i migrate to SQL Express 2008 RE.
The Fend works fine, also the bend is full functional, but i have proble when publishing content.
I get the followning error
An error occurred
Could not load file or assembly 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Is the live server a dedicated server or is it a shared hosting server?
It's a bit weird that it complains about MySQL I think but if the site is being hosted by another company then perhaps you should get in touch with their support about the issue?
Publish Content not working properly on live site
I have create a website, at local server, using webmatrix and SQL CE. When i deployed the site to live, cause it;s sharing host with plesk, i had problem with DB and i migrate to SQL Express 2008 RE.
The Fend works fine, also the bend is full functional, but i have proble when publishing content.
I get the followning error
An error occurred
Could not load file or assembly 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Stack Trace:
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
----------------------------
On Chome console " The requested resource does not support http method 'GET'
"
After refresh, the new content is published and all data are stored in DB correctly.
If i pressed only save (without publish) i didnt get this error.
Can anyone help please?
Umbraco version 7.1.6
Hi George and welcome to our :)
Is the live server a dedicated server or is it a shared hosting server?
It's a bit weird that it complains about MySQL I think but if the site is being hosted by another company then perhaps you should get in touch with their support about the issue?
/Jan
Jan, thanks for your response.
The live server is shared, for windows web hosting and access via "Plesk".
Hi George
Ok - Have you tried to get in touch with support then? What hosting company are you using?
/Jan
Hi Jan, i have opened a ticket support to out hosting company an im waiting for their response.
The hosting company is "Tophost" in Greece.
link here
http://www.tophost.gr/windows-web-hosting.htm
(i dont make advertise)
Solution Found
I add the following code in the <system.web> in web.config file
<siteMap>
<providers>
<remove name="MySqlSiteMapProvider"/>
</providers>
</siteMap>
Great George! This solution helped me! Thanks
Hi George
Happy to see that you found a solution and thank you for sharing it so others can benefit :)
h5yr
/Jan
Hi George
Thank you for posting the solution. I had the same exact issue and this thread helped :)
Anyone knows why its happening only in some server and not everywhere?
is working on a reply...