Hi everybody,
I'm trying tu use webmatrix for a classic Php webhosting using cPanel.
I'm already using it for an other website, also using a shared hosting php cpanel, and it's working perfectly great.
The problem occurs, at the begining, when I'm trying to access the website, with a classic ftp configuration, remotely for the first time . I can access to everything in the ftp from the webmatrix left menu, like the "etc" or "public_ftp" folder, no problem
at all. The problem is coming with the "public_html" folder, containing the website. Quite a bad luck, isn't it? I just can't access to it, and webmatrix grant me of a wonderfull red 'x'.
Here is the log message I got from that error, in a crazy Microsoft french, as it is still impossible to use an english version of webmatrix if you got a computer with a default other language... (don't worry, I'll translate).
"
Erreur de connexion - Échec de la récupération de la liste des fichiers à partir du serveur. Une entrée avec la même clé existe déjà.
System.ApplicationException: Échec de la récupération de la liste des fichiers à partir du serveur. Une entrée avec la même clé existe déjà. ---> Microsoft.WebMatrix.Deployment.FtpException: Échec de la récupération de la liste des fichiers à partir du serveur.
Une entrée avec la même clé existe déjà. ---> System.ArgumentException: Une entrée avec la même clé existe déjà.
à System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
à System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
à System.Collections.Generic.SortedDictionary`2.Add(TKey key, TValue value)
à Microsoft.WebMatrix.Deployment.Common.FileItemTree.Add(String key, FileItem item)
à Microsoft.WebMatrix.Deployment.RebexClientAdapter.GetListingUnSafe(String relativePath, FtpTransferMode transferMode)
à Microsoft.WebMatrix.Deployment.RebexClientAdapter.GetListingImpl(String relativePath)
--- Fin de la trace de la pile d'exception interne ---
à Microsoft.WebMatrix.Deployment.RebexClientAdapter.GetListingImpl(String relativePath)
à Microsoft.WebMatrix.Deployment.Remote.FtpFileProvider.GetListing(String path)
à Microsoft.WebMatrix.Deployment.Remote.FtpFileProvider.GetChildItemInfos(String parentDirectoryPath)
à Microsoft.WebMatrix.Deployment.Remote.FtpDirectory.get_ItemInfos()
à Microsoft.WebMatrix.Deployment.Remote.FtpDirectory.ExecuteGetItems()
à Microsoft.WebMatrix.Deployment.Remote.RemoteRequest`1.OnExecute()
à Microsoft.WebMatrix.Deployment.Remote.RemoteRequest.Execute()
--- Fin de la trace de la pile d'exception interne ---
à Microsoft.WebMatrix.Deployment.Remote.RemoteRequest.Wait()
à Microsoft.WebMatrix.Deployment.Remote.RemoteRequest`1.get_Result()
à Microsoft.WebMatrix.Core.Remote.AsyncSiteDirectory.GetItems()
à Microsoft.WebMatrix.Deployment.Remote.RemoteDirectory.EnsureItems()
à Microsoft.WebMatrix.Deployment.Remote.RemoteDirectory.GetItems()
à Microsoft.WebMatrix.Core.Remote.SiteItem.get_Items()
à Microsoft.WebMatrix.Deployment.Remote.RemoteParentHierarchyInfo.GetChildren(ErrorNotification& errorNotification)
"
The interesting first line is saying something like that : "Connection error - failure gathering of the files list from the server. An entry with the same key already exists".
Quite hard to understand. I, of course, made every possible research in every dark corners of the internet, but it seems that I am the first one with that problem.
Things to know :
- With other ftp clients on this very computer, no problem at all to get to the public_html folder of that website.
- With an other website, from an other hosting company, and with the exact same kind of configuration (php, mysql, cpanel, rights on the folders), I have no troubles using webmatrix.
- I checked my firwalls (computer, and router), no problems.
- I have visual studio 2008 installed in that computer, maybe a conflict problem ?
- I tried some differents kind of old/new ftp accounts, with differents right/access to the folder still not working.
- this website is using a australian hosting company, with a .com.au domain.
- the other website that I'm managing, and which is totally working on webmatrix is using a classic .net domain name with a hosting company based on California.
- passive/active ftp mode don't change anything.
So here I am, totally stuck, and without any more ideas.
Like Leeloo would said in the 5th element:
Please,
Help