Cache Item error

Ike khan asked on March 17, 2016 17:07

I setup Kinspector and when I run the [General] Cache item test under Analysis I get the following error instantly :

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\XXXX.XXX\Downloads\KInspector-v2.1.0\KInspector\Bin\site\wwwroot\CMSPages\KInspectorProbe.aspx'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost) at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) at Kentico.KInspector.Modules.ProbeHelper.InstallProbe(DirectoryInfo pathToKenticoFiles) in C:\projects\kinspector\KInspector.Modules\Helpers\ProbeHelper.cs:line 58 at Kentico.KInspector.Modules.CacheItemsModule.GetResults(InstanceInfo instanceInfo) in C:\projects\kinspector\KInspector.Modules\Modules\General\CacheItemsModule.cs:line 30

Can someone help me understand and resolve this error ?

Recent Answers


Trevor Fayas answered on March 17, 2016 17:59

Does your IIS APPPOOL or the Network user have full permission on your website's files and folders?

https://docs.kentico.com/display/K9/Disk+permission+problems#Diskpermissionproblems-Useraccountofthewebapplication

0 votesVote for this answer Mark as a Correct answer

Ike khan answered on March 17, 2016 19:13

It is running on Azure WebApps as a Web Application project and that we followed the stardard documentation process for publishing the app. We have also been developing it using the Portal Engine. Also can KInspector be run remotely or does it have to be deployed to the same server as the Kentico project ?

0 votesVote for this answer Mark as a Correct answer

Michael Kinkaid answered on March 18, 2016 15:47

Hey Ike,

Ran the test this morning with v3.0.1 of KInspector against a Kentico web application install (v9.0.13). I get a 404 error with KInspectorProbe.aspx not being on the target build within CMSPages. Tried explicitly including it (as it was added to the file system) into the project and republishing but still got the error in KInspector. Filed an issue on GitHub https://github.com/Kentico/KInspector/issues/90.

Cheers, Michael

0 votesVote for this answer Mark as a Correct answer

Ike khan answered on March 18, 2016 16:30

Hi Michael, Thank you for your response I do have a few more questions. Can we run KInspector against a cloud based instance of Kentico? or must Kentico be running locally as well? Also why our the DB credentials being passed in the URL string?

Thanks Ike

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.