Send an e-mail through a macro and by pass security settings - ms-access

I am using Office 365 for MS Access and MS Outlook. I have a macro that, upon opening, fires off queries and attempts to e-mail the last query.
However, when I do, it prompts me with a dialog box that says:
A program is trying to send an email message on your behalf, If this is unexpected, click Deny and verify your antivirus software is up-to-date.
For more information about email safety and how you might be able to avoid getting this warning, click Help.
Allow Deny Help
So far, I've tried this:
https://www.youtube.com/watch?v=3D8M3jo0a7U
Where you go into your MS Outlook settings and turn off warnings. However, it still gives me the same error.
Any ideas?
~~EDIT~~
Adding solution ideas as I attempt them. The following list are failures:
In Outlook: Trust Center -> Programmatic Access -> Disable all security
In MS Access: Trust Center -> Macro Settings -> Enable all macros
Run the registery edit to run system in Admin and try the query again.

The professional way to send emails via Access is to bypass Outlook and use either CDO or vbSendmail...

Related

how to diagnose/fix chrome pop up warning to change password due to a data breach

I'm currently running an app on AWS elastic beanstalk, and recently I had an issue come up where when I tried to enter a password, this a google chrome pop up appeared that is the same as the image below. The password is encrypted and entered in a password-type field. I know this is a very general question, but would anyone have any advice in diagnosing why this issue came about (perhaps by looking at specific things in AWS console), and how to prevent it? Does this warning occur only when the user has entered a password that is common/used across multiple apps, and has nothing to do with the code the app is based on?
Searched and found this answer:
Important: You must be signed in to Chrome to get these notifications.
To start or stop notifications:
On your computer, open Chrome.
At the top right, click More More and then Settings.
Under "Privacy and security," click Security.
Select a safe browsing option: Enhanced protection or Standard protection.
Tip: This feature is only available if "Safe Browsing" is turned on.

How to send Outlook email without prompt in Access using macros?

How to send Outlook email without prompt in Access using macros? For example in the macro builder, I have send object selected and filled out the relevant fields. However when the macro runs, an outlook prompt pops up with the message but doesn't send the email.
OK, I have stumbled on this once before with outlook 2007. In outlook 2007 there was a change from previous versions. The not so obvious thing was that it needed an installed antivirus to let go of the prompt that showed up. I just installed a free one but I think you have to use one that is recognized by windows. It must also be up to date with the virus definitions.
This is of course after you have disabled all security in Outlook preventing programatic access (which is the default setting), and I think you need administrator privileges on the computer also. I just post this here, it's so long ago that I'll have to check on the system later to be 100% shure.
Have a look at this for some more information.

How to avoid Authentication issue in Mozilla FF in SSRS Reports

I've deployed an SSRS report on my PC and am able to access my report through the report manager. When I copied the report URL and opened it on another PC over the network, it asked for credentials when using Mozilla Firefox.
I've tried the following in Firefox:
The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
In the about:config page, search for the preference network.automatic-ntlm-auth.trusted-uris, and double-click on it.
I've added my server URL in that manner, which prevents the credentials popup from appearing.
I don't think this is the correct way of doing things. If I'd pass around the URL to -say- 100 different users, they would all need to do what i did as described above?
Can anyone help me to avoid credentials popups (username and password), and open the report directly?
check your server URL, must be just "http://server_name" in firefox about:config "network.automatic-ntlm-auth.trusted-uris" key
store credential required in for accessing data source, at report tab "data source"-"Credential stored securely in the report server"
add in security tab "domain user" that has credentials for accessing the report , check only for "Browsing"
enter credential for "domain user",for the first time when showing report in firefox and allow to remember
now it works automatically when you start link shortcut
The report will need credentials to run. (Turning on anonymous access to SSRS is not supported and not recommended.)
Those credentials can come from a few different places.
1. Users are prompted for user name and password.
2. Credentials are stored in the browser (or in Windows.) As you've seen, this is easier to handle with Internet Explorer than Firefox for NTLM authentication. But Firefox does give you an option, as you've mentioned.
3. Some other service or website accesses the report server and hands in credentials. This other service then passes the report on to users. Designing this would require some thought: Would you need to track who accesses this service? How would you secure individual reports?
Your comment suggests that you have conflicting requirements: you aren't allowed to have Firefox automatically log in for security reasons, but you want to have Firefox automatically log in. There's no technical advice that can solve that problem.

SSRS Authentication Issues on a fresh install

Once again the SSRS security wall has hit me.
I did a fresh SSRS 2008R2 install.
I created a separate account (ssrs) on my box to access SSRS-related services.
Upon navigating to localhost/reportserver, I was confronted with a windows authentication popup. I entered the ssrs username and pw and after some time was presented with the following error message:
The permissions granted to user 'mybox\ssrs' are insufficient for performing this operation. (rsAccessDenied)
Navigating to localhost/reports/pages/folder.aspx renders the same SQL Server Reporting Services error.
I've setup reportserver.config as follows:
<Authentication>
<AuthenticationTypes>
<RSWindowsBasic>
<LogonMethod>3</LogonMethod>
<Realm></Realm>
<DefaultDomain></DefaultDomain>
</RSWindowsBasic>
</AuthenticationTypes>
<EnableAuthPersistence>true</EnableAuthPersistence>
</Authentication>
Ultimately, what I would like to do, is access the reports through my C# code, which I'm assuming I will use the authenticated user that I've setup on the box.
One post indicates to add the name or group to the ssrs group, which once done, doesn't work with SQLServerReportServerUser$MyBox$MSRS10_50.SQLSERVER2008R2.
Keep in mind, I am not yet able to even view any of the report services menus, as some people have had issues with. I'm at step 1, just trying to see the services.
I've even tried logging in with my admin account on this box - no go - still a permissions issue.
Some step-by-step guidance on this would be helpful.
Thank you.
After several different combinations of trying, the solution has presented itself.
To recap - this is auth issue was right when trying to access localhost/reports and localhost/reportserver - couldn't even get to the Reporting Services homepage.
I had tried setting Full Control permissions for my ssrs user and Everyone on C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSERVER2008R2\Reporting Services (and all subdirectories) which did NOT work.
Ultimately, I started IE in Administrator mode (right-click on IE, select Run as Administrator), and was able to navigate to localhost/reports which goes to http://localhost/Reports/Pages/Folder.aspx.
Select Folder Settings / New Role Assignment. The New Role Assignment page will allow you to setup specific users you have setup on the box.
In my case, for now and just testing, I just have one user to access all SSRS-related items.
Incidentally, I am accessing /reports through a different browser, so the fact that I'm in IE as Admin, doesn't affect the other separate vendor instance.

How do I open a report in SSRS 2008 without the user having to provide authentication details?

Summary:
Does anyone know what the minimum we have to do is to get the user to be able to press a button in our app and have the report pop up in an HTML control (Delphi App) with no further input from the user?
Detail:
Authentication is no longer anything to do with IIS in 2008, and a lot of authentication discussion on the web is about IIS and SSRS 2005.
We are looking to display reports within our application and are trying to avoid using the API to re-construct the ReportViewer.
We are hoping to open the reports within an HTML control by passing a URL to the control, along the lines of http://RSServer/ReportServer/ReportDir/ReportName.....
This doesn't work and it looks like it is because the report asks for authentication. We use SQL server authentication for the rest of the app and explicitly want our app installable where domain authentication is patchy at best.
I have enabled Basic authentication which doesn't make much difference, but you don't seem to be able to anable Anonymous Auth, which wouldn't actually be desirable anyway.
Dom.
I've not tried it, but have you looked at this MSDN blog?
EDIT
This may be of more use - it suggests a method of bypassing authentication without running anonymous access
EDIT 2
With basic authorisation enabled, could you simply provide credentials in the URL? - http://username:password#servername/etc/etc?