NAV2009 No execute permission on 'E-Mail Dispatcher' CodeUnit ID5065 - dynamics-nav

One my of users get this error when open RTC 2009.
"No execute permission on 'E-Mail Dispatcher' CodeUnit with ID 5065".
She justed used it and I didn't modify anything.
I try everything such as
re-compile C-5065,
re-compile all CU,
add role SUPER to this user
and synchronize after every change but there's still error.
For more information.
I didn't specify company name in Window Access Control and I have 2 companies in this DB.
User cannot access the real company but can access test company !
This make me very confused.
Someone please help.
Thank you.

I think this is a license problem.
Are you using a different license then your customer? You should find out what modules are not allowed in the customer license.
In the real company there probably are settings that trigger the CU 5065.
Perhaps in the marketing setup?

Related

Can I track permission set assignment with sfdx or other tools like gearset?

I am investigating if it is at all possible to track assigned permission sets, profiles and roles with the sfdx cli tools. So far my findings are that Permission sets and Profiles are trackable as they get converted to source but it is up to the administrator to assign profiles / permission sets after deployment.
Can anyone confirm this and point me to some documentation on the limits of what the sfdx cli can pull.
There's https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_unsupported_types.htm but that's not exactly what are you asking, the question is bit confusing.
PermissionSetAssignment table is well, a table. Normal data like Account, not metadata. Same with Users, their Roles, group memberships... You wouldn't typically store it in version control unless you're after some "golden copy" good test dataset to load to sandboxes/scratch orgs.
SF tried once to be smart with deploying queue memberships, record folder permissions and approval process assignees and the results are... Meh. You inspect the XML file and see usernames with sandbox suffix in them that they try to magically match during deployment to target org. It's "fun" when developer who created the report folder doesn't exist in production / username doesn't match (creator automatically gets added as Manager, it's extra step to remember and maybe remove that). It's even more "fun" when you keep working on the project in different sandboxes and git keeps reporting changes of suffix from ".dev" to ".proto" or ".hotfix"...
Try to rethink your question, what are you after? You can implement single sign on with piece of apex code running on login (or look into Identity Connect) so people's permissions will be synced based on their role in Active Directory/Google apps engine / what have you. Or if you really want you should be able to periodically query & upsert back CSV of PermissionSetAssignments. Or have a script during deployment to run a bunch of permset assign commands?
What will you do when John Doe moves from Marketing department to Sales? Who's right, SF or git project? Would it really need a deployment to change it?

Paywall content in DNN

I am using DNN 9.3.2 and Evoq 9.3.7.
I would like to paywall content in a section of the website with teaser content i.e. so that they can read a part of the article but need to pay/ log in to access the content. 'Members' would also need to be able to log in and bypass the paywall. Users would idealy be able to manage their account from here. The paywall would also need to be able to handle a complex pricing model i.e. different prices for different user types, possibly different content available for different user types.
Would anyone be able to advise how best to do this with DNN/ Evoq, and which modules from DNN store (if any) would be useful?
Thanks!
I have never tried this, but in theory any shop solution should give you that functionality. Have a look at OpenStore, which is Open Source and free.
Or a News/Blog module that supports paid content, as EasyDnnNews.
I believe you'll have to brew your own or ask a specialist who knows what they are doing already. The basic principle is as follows:
Protect a page with a role - let's call it Patrons which only paying users will get
Create a page for users to pay on, and if successful, assign them the role
You can also do things like ensure that the role is only given for a certain time, and then the users must pay again.
If you have a subscription model, you would probably run a timer job or something to verify payments have happened again, and if true, extend the role assignment

Snowflake: Your account has been locked. To continue using snowflake, please contact support

We are getting this error message on every single snowflake account in our organization. We are unable to contact support because we cannot login anywhere. We are on GCP-backed snowflake. Is this a known issue?
Maybe your account is locked due to non-payment? You should contact Snowflake Support so they can check why the account is locked.
If you email support#snowflake.com it automatically files a support case for you, so that should be used to file a support ticket when you are unable to even login.
It should be noted that this is impossible to find on their website, and it is impossible to reach a human for mission critical errors like this. Be warned if you want to move any of your critical systems onto snowflake.
We had the same issue in January 2023. My client called and informed me that all developers and admins received "Your account is locked". After opening an urgent case over the phone and then online, I finally heard back via email that their collections team was going to assist. So it was an issue with my client's credit card which was recently renewed. We had no notice - no emails or alerts about a billing problem. Awful.

Unloading data from Views with minimal permissions

I'm a newbie to Snowflake. I'm assigned task to make python script that gets data from Snowflake View and copies it to SFTP server. I have barely any permissions on that account (can only view the shared Views).
Now my 2 questions:
Can admin grant me permission to creating internal stages without granting me any more permissions? (I want to ask the admin to give me that permission, but he won't be willing to share anything more with me.)
Can I use COPY INTO command on Views? All examples I read on the internet were about Tables and not Views and I'd like to be sure I can copy Views before asking for any permissions.
I apologize if those questions sound silly, but I have no way of testing those myself as I have no permissions on that account and I need to be sure before negotiating anything with admins.
Yes, that can be done. Also, you can look at the following documentation which details about Unload operation : docs.snowflake.com/en/user-guide/data-unload-overview.html

Cube Roles - Restrict data by territory using Active Directory

I have a cube which I want to restrict users to only be able to access data in their own territory. The territory data could be joined with their user name and a few various tables to link to my sales territory dimension table. How would I go about using BIDS to create a role that automatically changes the allowed member set per user.
Thanks!
Ethan
I found this link that has a method of doing it: Cube Roles - Restrict data by territory using Active Directory
At some point in the near future I'll implement and post to see if it works, but I believe it is the answer.
Ethan
Edit:
I have implemented it and it works perfectly, only with one problem. If territories get changed or users get reassigned, the changes won't happen until the cube is reprocessed.
About to ask this as a new question. When making the dll, the analysis server dll is framework 2.0 so make sure that use the target framework 2.0 when you compile it.

Resources