Plugin Access Problem

1 week ago
Hello,

I have the following problem. I checked the forums and I tried to change permissions but still got the same result. After installing nopCommerce, I developed a new slider plugin. Firstly, It worked. After a while, It shows me the following error. If no one accessed the website, I got this. If I restart the application pool, It works normally for some time and then the same result. Can anyone get this before? 

I added the following screenshot for this error.



Thank you,
Tolga.
1 week ago
cinarrtolga wrote:
Hello,

I have the following problem. I checked the forums and I tried to change permissions but still got the same result. After installing nopCommerce, I developed a new slider plugin. Firstly, It worked. After a while, It shows me the following error. If no one accessed the website, I got this. If I restart the application pool, It works normally for some time and then the same result. Can anyone get this before? 

I added the following screenshot for this error.



Thank you,
Tolga.
1 week ago
Please provide the read and write permission to the plugin folder
1 week ago
sangeetshah wrote:
Please provide the read and write permission to the plugin folder


I checked. Plugins folder has full control permission. But result is same.

Thank you.
1 week ago
Check that the files are not "blocked"  (Use File Explorer - Properties  / "Unblock")
1 week ago
New York wrote:
Check that the files are not "blocked"  (Use File Explorer - Properties  / "Unblock")


Now, It worked. Thank you for your help. I am going to watch and see if it happens again and I am going to write here.
6 days ago
Today, it happened again. Nothing changed during this time. I just watched the system. 

Is it possible to make any mistakes in the plugin development process? I looked but could not see any suspect part. 

Thank you.
6 days ago
What version are you using?

Make sure in appSettings that "UsePluginsShadowCopy":  is set to false as it looks like your plugin DLL's are being copied to the plugins > bin folder.

Restart the AppPool :)
6 days ago
untiedshoes wrote:
What version are you using?

Make sure in appSettings that "UsePluginsShadowCopy":  is set to false as it looks like your plugin DLL's are being copied to the plugins > bin folder.

Restart the AppPool :)


I am using 4.30

UsePluginsShadowCopy property was true. I changed it as a false and restarted the application pool. Now, it is working. I am going to watch and see if it happens again and I am going to write here.

Thank you.
6 days ago
Excellent :)

I forgot to say, make sure you delete all the DLL's in the plugins > bin folder too or, set "ClearPluginShadowDirectoryOnStartup" to true.