Unauthorized Access Exception

22 kwietnia 2021 05:27:41
  • Wysłany: 27 marca 2021 05:42
  • 81
Dear,
My website occasionally shows the following error:-"Unauthorized Access Exception-Access to Path -"C:\inetpub\www\qomash\plugins\bin\grand.plugin.shipping.shippingpoint.dll" is denied". But when I restart IIS the Issue gets resolved. What can the posible reason for this error?

Also how can I set a generic error page instead of showing these errors on public site
0
  • Wysłany: 29 marca 2021 12:24
  • Moderator
  • 856
Hi,

This problem shouldn't appear in the newest version.
Best regards,
Patryk

GrandNode Team
0
  • Wysłany: 29 marca 2021 12:27
  • 81
Patryk wrote:
Hi,

This problem shouldn't appear in the newest version.

But my application is Hosted with version-4.7
0
  • Wysłany: 29 marca 2021 12:46
  • Moderator
  • 856
So I recommend to upgrade it to the newest version.

In the case of displaying full stack error trace, you can disable it in the appsettings.json file, just set it to false.
Best regards,
Patryk

GrandNode Team
0
  • Wysłany: 29 marca 2021 13:21
  • 81
Patryk wrote:
So I recommend to upgrade it to the newest version.

In the case of displaying full stack error trace, you can disable it in the appsettings.json file, just set it to false.


But its is already set to false.

Dear Patryk, I cannot upgrade to the new version as I have custom code changes added to the verison4.7. Kindly can you let me understand the cause of reason, so thta I can fix in my version of Source code
0
  • Wysłany: 30 marca 2021 06:01
  • Moderator
  • 856
Samson,

You can track source code changes between versions. We always recommend to implement changes as a plugins, such approach gives you flexibility in the upgrade process. In the other case, we can look at your code, premium support was created for such cases.
Best regards,
Patryk

GrandNode Team
0
  • Wysłany: 31 marca 2021 14:38
  • 81
Patryk wrote:
So I recommend to upgrade it to the newest version.

In the case of displaying full stack error trace, you can disable it in the appsettings.json file, just set it to false.


Dear Patryk,

Even though it is set to false, the full error gets displayed on site. Why is that so? Any other alternate method to not display the scary error to the customer?
0
  • Wysłany: 1 kwietnia 2021 06:04
  • Moderator
  • 856
Samson,

If you disable displaying full error stack trace, your customers will see only "We're sorry an error occured", otherwise, they will see the whole error. I've checked it a while ago and it works fine.
Best regards,
Patryk

GrandNode Team
0
  • Wysłany: 1 kwietnia 2021 06:48
  • 81
Dear Patryk,

I fugured out the issue. My production shows hosting environment as development. But how did that happen. ? I published the source code on release mode.

Now What can I do to change it to production environment? Please advice
0
  • Wysłany: 12 kwietnia 2021 06:14
  • Moderator
  • 17
Samson wrote:
What can I do to change it to production environment?

Have a look at web.config file.
Best regards,
Tomasz

GrandNode Team
0
back to top
Filters