Category: News
Problem using diary with standalone application
I am developing a MATLAB app using the appdesigner (MATLAB version R2019b), which is intented to be used as standalone ‘.exe’ on Windows. For traceablity I wanted to include a log-file of all outputs. The ‘diary()’ function seemed to be a good function for this. In my code I have a lot of ‘disp(…)’ commands (also in code parts that I cannot or do not want to change). The output for these disp-commands works perfectly in the MATLAB command window when I run the application within the MATLAB environment. However, when run it as Windows standalone the behavior is not logical to me: In the WIndows cmd window the output is the same as in the MATLAB command window, but the diary file only logs the output for the ‘startupFcn()’ and the ‘UIFigureCloseRequest()’ functions and not for any callback, e.g. here from a button ‘DispHelloWorldButtonPushed()’.
Does anybody know how to solve this issue and where it comes from? Btw, also the build-in ‘Create log file’ option during compilation shows the same behavior as the ‘diary’ function.
Here is a minimal working example of an app with this behavior:
classdef Test < matlab.apps.AppBase
% Properties that correspond to app components
properties (Access = public)
UIFigure matlab.ui.Figure
DispHelloWorldButton matlab.ui.control.Button
end
% Callbacks that handle component events
methods (Access = private)
% Code that executes after component creation
function startupFcn(app)
diary(fullfile(pwd,’log.txt’))
diary on
disp(‘Hello World!’)
end
% Button pushed function: DispHelloWorldButton
function DispHelloWorldButtonPushed(app, event)
diary on
disp(‘Button: Hello World!’)
end
% Close request function: UIFigure
function UIFigureCloseRequest(app, event)
disp(‘Bye bye World!’)
diary off
delete(app)
end
end
% Component initialization
methods (Access = private)
% Create UIFigure and components
function createComponents(app)
% Create UIFigure and hide until all components are created
app.UIFigure = uifigure(‘Visible’, ‘off’);
app.UIFigure.Position = [100 100 640 480];
app.UIFigure.Name = ‘UI Figure’;
app.UIFigure.CloseRequestFcn = createCallbackFcn(app, @UIFigureCloseRequest, true);
% Create DispHelloWorldButton
app.DispHelloWorldButton = uibutton(app.UIFigure, ‘push’);
app.DispHelloWorldButton.ButtonPushedFcn = createCallbackFcn(app, @DispHelloWorldButtonPushed, true);
app.DispHelloWorldButton.Position = [159 161 311 175];
app.DispHelloWorldButton.Text = ‘Disp(”Hello World!”)’;
% Show the figure after all components are created
app.UIFigure.Visible = ‘on’;
end
end
% App creation and deletion
methods (Access = public)
% Construct app
function app = Test
% Create UIFigure and components
createComponents(app)
% Register the app with App Designer
registerApp(app, app.UIFigure)
% Execute the startup function
runStartupFcn(app, @startupFcn)
if nargout == 0
clear app
end
end
% Code that executes before app deletion
function delete(app)
% Delete UIFigure when app is deleted
delete(app.UIFigure)
end
end
endI am developing a MATLAB app using the appdesigner (MATLAB version R2019b), which is intented to be used as standalone ‘.exe’ on Windows. For traceablity I wanted to include a log-file of all outputs. The ‘diary()’ function seemed to be a good function for this. In my code I have a lot of ‘disp(…)’ commands (also in code parts that I cannot or do not want to change). The output for these disp-commands works perfectly in the MATLAB command window when I run the application within the MATLAB environment. However, when run it as Windows standalone the behavior is not logical to me: In the WIndows cmd window the output is the same as in the MATLAB command window, but the diary file only logs the output for the ‘startupFcn()’ and the ‘UIFigureCloseRequest()’ functions and not for any callback, e.g. here from a button ‘DispHelloWorldButtonPushed()’.
Does anybody know how to solve this issue and where it comes from? Btw, also the build-in ‘Create log file’ option during compilation shows the same behavior as the ‘diary’ function.
Here is a minimal working example of an app with this behavior:
classdef Test < matlab.apps.AppBase
% Properties that correspond to app components
properties (Access = public)
UIFigure matlab.ui.Figure
DispHelloWorldButton matlab.ui.control.Button
end
% Callbacks that handle component events
methods (Access = private)
% Code that executes after component creation
function startupFcn(app)
diary(fullfile(pwd,’log.txt’))
diary on
disp(‘Hello World!’)
end
% Button pushed function: DispHelloWorldButton
function DispHelloWorldButtonPushed(app, event)
diary on
disp(‘Button: Hello World!’)
end
% Close request function: UIFigure
function UIFigureCloseRequest(app, event)
disp(‘Bye bye World!’)
diary off
delete(app)
end
end
% Component initialization
methods (Access = private)
% Create UIFigure and components
function createComponents(app)
% Create UIFigure and hide until all components are created
app.UIFigure = uifigure(‘Visible’, ‘off’);
app.UIFigure.Position = [100 100 640 480];
app.UIFigure.Name = ‘UI Figure’;
app.UIFigure.CloseRequestFcn = createCallbackFcn(app, @UIFigureCloseRequest, true);
% Create DispHelloWorldButton
app.DispHelloWorldButton = uibutton(app.UIFigure, ‘push’);
app.DispHelloWorldButton.ButtonPushedFcn = createCallbackFcn(app, @DispHelloWorldButtonPushed, true);
app.DispHelloWorldButton.Position = [159 161 311 175];
app.DispHelloWorldButton.Text = ‘Disp(”Hello World!”)’;
% Show the figure after all components are created
app.UIFigure.Visible = ‘on’;
end
end
% App creation and deletion
methods (Access = public)
% Construct app
function app = Test
% Create UIFigure and components
createComponents(app)
% Register the app with App Designer
registerApp(app, app.UIFigure)
% Execute the startup function
runStartupFcn(app, @startupFcn)
if nargout == 0
clear app
end
end
% Code that executes before app deletion
function delete(app)
% Delete UIFigure when app is deleted
delete(app.UIFigure)
end
end
end I am developing a MATLAB app using the appdesigner (MATLAB version R2019b), which is intented to be used as standalone ‘.exe’ on Windows. For traceablity I wanted to include a log-file of all outputs. The ‘diary()’ function seemed to be a good function for this. In my code I have a lot of ‘disp(…)’ commands (also in code parts that I cannot or do not want to change). The output for these disp-commands works perfectly in the MATLAB command window when I run the application within the MATLAB environment. However, when run it as Windows standalone the behavior is not logical to me: In the WIndows cmd window the output is the same as in the MATLAB command window, but the diary file only logs the output for the ‘startupFcn()’ and the ‘UIFigureCloseRequest()’ functions and not for any callback, e.g. here from a button ‘DispHelloWorldButtonPushed()’.
Does anybody know how to solve this issue and where it comes from? Btw, also the build-in ‘Create log file’ option during compilation shows the same behavior as the ‘diary’ function.
Here is a minimal working example of an app with this behavior:
classdef Test < matlab.apps.AppBase
% Properties that correspond to app components
properties (Access = public)
UIFigure matlab.ui.Figure
DispHelloWorldButton matlab.ui.control.Button
end
% Callbacks that handle component events
methods (Access = private)
% Code that executes after component creation
function startupFcn(app)
diary(fullfile(pwd,’log.txt’))
diary on
disp(‘Hello World!’)
end
% Button pushed function: DispHelloWorldButton
function DispHelloWorldButtonPushed(app, event)
diary on
disp(‘Button: Hello World!’)
end
% Close request function: UIFigure
function UIFigureCloseRequest(app, event)
disp(‘Bye bye World!’)
diary off
delete(app)
end
end
% Component initialization
methods (Access = private)
% Create UIFigure and components
function createComponents(app)
% Create UIFigure and hide until all components are created
app.UIFigure = uifigure(‘Visible’, ‘off’);
app.UIFigure.Position = [100 100 640 480];
app.UIFigure.Name = ‘UI Figure’;
app.UIFigure.CloseRequestFcn = createCallbackFcn(app, @UIFigureCloseRequest, true);
% Create DispHelloWorldButton
app.DispHelloWorldButton = uibutton(app.UIFigure, ‘push’);
app.DispHelloWorldButton.ButtonPushedFcn = createCallbackFcn(app, @DispHelloWorldButtonPushed, true);
app.DispHelloWorldButton.Position = [159 161 311 175];
app.DispHelloWorldButton.Text = ‘Disp(”Hello World!”)’;
% Show the figure after all components are created
app.UIFigure.Visible = ‘on’;
end
end
% App creation and deletion
methods (Access = public)
% Construct app
function app = Test
% Create UIFigure and components
createComponents(app)
% Register the app with App Designer
registerApp(app, app.UIFigure)
% Execute the startup function
runStartupFcn(app, @startupFcn)
if nargout == 0
clear app
end
end
% Code that executes before app deletion
function delete(app)
% Delete UIFigure when app is deleted
delete(app.UIFigure)
end
end
end standalone, disp, diary, callback, appdesigner MATLAB Answers — New Questions
How can I export .mat file to .xls file?
How can I export .mat file to .xls file? I am using xlswrite(‘filename.xls’) but not working. I have 50×50 deta. Kindly help me.How can I export .mat file to .xls file? I am using xlswrite(‘filename.xls’) but not working. I have 50×50 deta. Kindly help me. How can I export .mat file to .xls file? I am using xlswrite(‘filename.xls’) but not working. I have 50×50 deta. Kindly help me. how can i export .mat file to .xls file? MATLAB Answers — New Questions
Errors in feedback control after setting the input of a prismatic joint to motion/provided by input
Hello, I am currently controlling the prismatic joint actuators of a Stewart platform using Simulink. I have set the input to motion/provided by input in order to change the position of the eight actuators over time. However, when I try to perform feedback control in the simulation, I encounter errors as shown in the image below. Feedback control works when the input is set to force, but why do these errors occur when the input is set to motion? If anyone knows the answer, I would be very grateful for your help.Hello, I am currently controlling the prismatic joint actuators of a Stewart platform using Simulink. I have set the input to motion/provided by input in order to change the position of the eight actuators over time. However, when I try to perform feedback control in the simulation, I encounter errors as shown in the image below. Feedback control works when the input is set to force, but why do these errors occur when the input is set to motion? If anyone knows the answer, I would be very grateful for your help. Hello, I am currently controlling the prismatic joint actuators of a Stewart platform using Simulink. I have set the input to motion/provided by input in order to change the position of the eight actuators over time. However, when I try to perform feedback control in the simulation, I encounter errors as shown in the image below. Feedback control works when the input is set to force, but why do these errors occur when the input is set to motion? If anyone knows the answer, I would be very grateful for your help. simulink, simscape MATLAB Answers — New Questions
Teams Helpdesk app/bot
We are looking to create Teams Helpdesk app/bot to redirect chats to helpdesk members (creating what can be described as chat queue so that the end user gets added into a chat with the next available helpdesk member).
Given that helpdesk is a distribution group, How can this be done? Any idea?
We are looking to create Teams Helpdesk app/bot to redirect chats to helpdesk members (creating what can be described as chat queue so that the end user gets added into a chat with the next available helpdesk member).Given that helpdesk is a distribution group, How can this be done? Any idea? Read More
Why I get this error message when running wizard and will connect to sql server 2019
Hi,
When I try to run configuration wizard in SharePoint 2019 on-promises and will connect to a farm, where all my databases are on a sql server 2019, I get this error.
I have installed sql server 2019 with no Azure settings something I wanted it, is my SQL server wrong version or this error has other reasons?
Hi,When I try to run configuration wizard in SharePoint 2019 on-promises and will connect to a farm, where all my databases are on a sql server 2019, I get this error.I have installed sql server 2019 with no Azure settings something I wanted it, is my SQL server wrong version or this error has other reasons? Read More
MS Team w/multiple Channels each with their own Planner
I’m using a Microsoft Team to manage the department’s projects. This single “project” Team has multiple Channels; one Channel per project with each Channels having its own Planner. Is there a way to roll these individual Planners into one master Planner for an executive to view all in one Planner?
Options that I’ve considered…
Using the one MS “project” Team with one Planner, each project running on one Planner card. Exporting each Planner info and then seeing if I can build import into another application (i.e., MS Project, or a separate Planner)? (seems like a lot of work)Each project having it’s own Team, does give more permissioning abilities, but doesn’t solve the multiple Planner problem.
I’m using a Microsoft Team to manage the department’s projects. This single “project” Team has multiple Channels; one Channel per project with each Channels having its own Planner. Is there a way to roll these individual Planners into one master Planner for an executive to view all in one Planner? Options that I’ve considered…Using the one MS “project” Team with one Planner, each project running on one Planner card. Exporting each Planner info and then seeing if I can build import into another application (i.e., MS Project, or a separate Planner)? (seems like a lot of work)Each project having it’s own Team, does give more permissioning abilities, but doesn’t solve the multiple Planner problem. Read More
Multi-Geo, Satellite Location, Namespace
Can I check.
When adding a Geo Location in SPO Admin.
(I don’t have access in my test environment to MultiGeo _ so going off a youtube video on this).
Under the “Enter a domain for <location>”
1. Can the value in domain be anything? The field appears to be a free text field.
If the primary SPO URL is Contoso.Sharepoint.com.
2. Does the domain have to be contoso+ <suffix>
2a. I assume “ContosoEUR” _ is valid
2b. I would assume “ContosoEU” _ is also valid.
3. Can the name be <Prefix> + Contoso? eg “EUContoso”
4. Can the name be something completely different eg “Wingtips”
Thanks
Can I check.When adding a Geo Location in SPO Admin.(I don’t have access in my test environment to MultiGeo _ so going off a youtube video on this).Under the “Enter a domain for <location>”1. Can the value in domain be anything? The field appears to be a free text field.If the primary SPO URL is Contoso.Sharepoint.com.2. Does the domain have to be contoso+ <suffix> 2a. I assume “ContosoEUR” _ is valid2b. I would assume “ContosoEU” _ is also valid.3. Can the name be <Prefix> + Contoso? eg “EUContoso”4. Can the name be something completely different eg “Wingtips”Thanks Read More
Win 11 keeps restarting
I have trouble with Win11 , thats restarts with no reason.
I restored it from the blue screen at booting from advanced tools (it could not start any other way). It didn’t help.
Actually as in other similiar topic:
I have done or checked the following already, without any effect:
– disabled “Automatically restart” in System Failure settings (windows freezes now instead of restarting)
– I have run the Power troubleshooter – no issues found
– I am not overclocking my CPU. Standard setup.
– CPU temp does not seem to go beyond 50C
– I have tried DISM, then SFC – they don’t get to the end, sfc freezes the system at 4%, dism at 20%.
– i have updated bios and all drivers (including graphics)
When windows freezes,
If I reset the computer without cutting off power, windows does not load:
What is more, when screen freezes, my m2 nvme diode and red diode on the computer case blink both simultaneosuly in 1-second interval.
My config:
Nazwa systemu operacyjnego Microsoft Windows 11 Home
Wersja 10.0.22631 Kompilacja 22631
Dodatkowy opis systemu operacyjnego Niedostępne
Producent systemu operacyjnego Microsoft Corporation
Nazwa systemu HOMEOFFICE
Producent systemu ASUS
Model systemu System Product Name
Typ systemu x64-based PC
Jednostka magazynowa systemu SKU
Procesor AMD Ryzen 5 5600G with Radeon Graphics, 3901 MHz, Rdzenie: 6, Procesory logiczne: 12
Wersja/data systemu BIOS American Megatrends Inc. 3607, 22.03.2024
Wersja SMBIOS 3.3
Wersja kontrolera osadzonego 255.255
Tryb systemu BIOS UEFI
Producent płyty głównej ASUSTeK COMPUTER INC.
Produkt płyty głównej TUF GAMING A520M-PLUS WIFI
Wersja płyty głównej Rev X.0x
Rola platformy Komputer stacjonarny
Stan bezpiecznego rozruchu Wyłączone
Konfiguracja PCR7 Wyświetlenie wymaga podniesienia poziomu
Katalog systemu Windows C:Windows
Katalog systemowy C:Windowssystem32
Urządzenie rozruchowe DeviceHarddiskVolume3
Ustawienia regionalne Polska
Warstwa abstrakcji sprzętu Wersja = “10.0.22621.2506”
Nazwa użytkownika HomeOfficewikto
Strefa czasowa Środkowoeuropejski czas letni
Zainstalowana pamięć fizyczna (RAM) 16,0 GB
Całkowita pamięć fizyczna 15,3 GB
Dostępna pamięć fizyczna 10,0 GB
Całkowity rozmiar pamięci wirtualnej 16,3 GB
Dostępna pamięć wirtualna 10,9 GB
Obszar pliku stronicowania 1,00 GB
Plik stronicowania C:pagefile.sys
Ochrona DMA jądra Wyłączone
Zabezpieczenia oparte na wirtualizacji Niewłączona
Zasady Kontroli aplikacji usługi Windows Defender Wymuszone
Zasady trybu użytkownika Kontroli aplikacji usługi Windows Defender Wyłączone
Obsługa szyfrowania urządzeń Wyświetlenie wymaga podniesienia poziomu
Hyper-V — rozszerzenia trybu monitorowania maszyny wirtualnej Tak
Hyper-V — rozszerzenia translacji adresów drugiego poziomu Tak
Hyper-V — wirtualizacja włączona w oprogramowaniu układowym Nie
Hyper-V — zapobieganie wykonywaniu danych Tak
Error log:
Disk log for m2 nvme (cristaldisk info)
What else can I do ?
I have trouble with Win11 , thats restarts with no reason. I restored it from the blue screen at booting from advanced tools (it could not start any other way). It didn’t help. Actually as in other similiar topic:I have done or checked the following already, without any effect:- disabled “Automatically restart” in System Failure settings (windows freezes now instead of restarting)- I have run the Power troubleshooter – no issues found- I am not overclocking my CPU. Standard setup.- CPU temp does not seem to go beyond 50C- I have tried DISM, then SFC – they don’t get to the end, sfc freezes the system at 4%, dism at 20%.- i have updated bios and all drivers (including graphics)When windows freezes, If I reset the computer without cutting off power, windows does not load:What is more, when screen freezes, my m2 nvme diode and red diode on the computer case blink both simultaneosuly in 1-second interval. My config:Nazwa systemu operacyjnego Microsoft Windows 11 HomeWersja 10.0.22631 Kompilacja 22631Dodatkowy opis systemu operacyjnego NiedostępneProducent systemu operacyjnego Microsoft CorporationNazwa systemu HOMEOFFICEProducent systemu ASUSModel systemu System Product NameTyp systemu x64-based PCJednostka magazynowa systemu SKUProcesor AMD Ryzen 5 5600G with Radeon Graphics, 3901 MHz, Rdzenie: 6, Procesory logiczne: 12Wersja/data systemu BIOS American Megatrends Inc. 3607, 22.03.2024Wersja SMBIOS 3.3Wersja kontrolera osadzonego 255.255Tryb systemu BIOS UEFIProducent płyty głównej ASUSTeK COMPUTER INC.Produkt płyty głównej TUF GAMING A520M-PLUS WIFIWersja płyty głównej Rev X.0xRola platformy Komputer stacjonarnyStan bezpiecznego rozruchu WyłączoneKonfiguracja PCR7 Wyświetlenie wymaga podniesienia poziomuKatalog systemu Windows C:WindowsKatalog systemowy C:Windowssystem32Urządzenie rozruchowe DeviceHarddiskVolume3Ustawienia regionalne PolskaWarstwa abstrakcji sprzętu Wersja = “10.0.22621.2506”Nazwa użytkownika HomeOfficewiktoStrefa czasowa Środkowoeuropejski czas letniZainstalowana pamięć fizyczna (RAM) 16,0 GBCałkowita pamięć fizyczna 15,3 GBDostępna pamięć fizyczna 10,0 GBCałkowity rozmiar pamięci wirtualnej 16,3 GBDostępna pamięć wirtualna 10,9 GBObszar pliku stronicowania 1,00 GBPlik stronicowania C:pagefile.sysOchrona DMA jądra WyłączoneZabezpieczenia oparte na wirtualizacji NiewłączonaZasady Kontroli aplikacji usługi Windows Defender WymuszoneZasady trybu użytkownika Kontroli aplikacji usługi Windows Defender WyłączoneObsługa szyfrowania urządzeń Wyświetlenie wymaga podniesienia poziomuHyper-V — rozszerzenia trybu monitorowania maszyny wirtualnej TakHyper-V — rozszerzenia translacji adresów drugiego poziomu TakHyper-V — wirtualizacja włączona w oprogramowaniu układowym NieHyper-V — zapobieganie wykonywaniu danych Tak Error log:https://www.dropbox.com/scl/fi/68wlfxzeqduki354jpec4/events.evtx?rlkey=1hmvvb8j9bwcgz2vmskv8lpgs&st=646v02xx&dl=0 Disk log for m2 nvme (cristaldisk info)https://www.dropbox.com/scl/fi/10x9x5476ueldnqlgxvrr/CrystalDiskInfo_20240805142716.txt?rlkey=gmn7bs4bvzngjsamephneqnj6&st=0stix4r3&dl=0 What else can I do ? Read More
Outlook – crash when trying to add a group to favorites
Adding a group to favorites generates an error when selecting it. This started to happen in the last week of July.
Occurs with all the groups you want to add to favorites
Adding a group to favorites generates an error when selecting it. This started to happen in the last week of July. Occurs with all the groups you want to add to favorites Read More
Formated JSON view not copied to new list-view (after updated UX experience in Lists)
Since the update of the Microsoft List UX (feature ID: https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=124867), formated views are not copied to a newly created list view anymore.
Before the rollout, formated JSON views were automatically saved to a newly created list-view (published to all).
This is not the case anymore. I have to manually copy the JSON to newly created view.
Is this change intentional or did Microsoft just forgot about it?
Since the update of the Microsoft List UX (feature ID: https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=124867), formated views are not copied to a newly created list view anymore. Before the rollout, formated JSON views were automatically saved to a newly created list-view (published to all). This is not the case anymore. I have to manually copy the JSON to newly created view. Is this change intentional or did Microsoft just forgot about it? Read More
New Outlook: how can I send attached files with it, from within File Explorer?
I need to attach files to an email using New Outlook, from within File Explorer.
In classic Outlook Desktop, I’d choose the files in File Explorer, right-click them, then select “Show more options”, “Send to”, “Mail Recipient”.
However, this doesn’t open a message in New Outlook, despite setting it as the default mail handler in Windows 11’s System Settings.
I need to attach files to an email using New Outlook, from within File Explorer. In classic Outlook Desktop, I’d choose the files in File Explorer, right-click them, then select “Show more options”, “Send to”, “Mail Recipient”. However, this doesn’t open a message in New Outlook, despite setting it as the default mail handler in Windows 11’s System Settings. Read More
Windows update issue and installing and updating microsoft store apps
We couldn’t connect to the update service. We’ll try again later, or you can check now. If it still doesn’t work, make sure you’re connected to the Internet.Contacted microsoft support and they sent me here they think the cause is Windows Insider
We couldn’t connect to the update service. We’ll try again later, or you can check now. If it still doesn’t work, make sure you’re connected to the Internet.Contacted microsoft support and they sent me here they think the cause is Windows Insider Read More
Learn about SilkFlo’s partner solution in Microsoft Azure Marketplace
Microsoft partners like SilkFlo deliver transact-capable offers, which allow you to purchase directly from Azure Marketplace. Learn more about this offer below:
AI Governance & Automation Strategy Suite: Manage the entire lifecycle of your automation and AI projects with SilkFlo. SilkFlo’s agnostic API lets you integrate diverse AI and automation tools into a single, powerful dashboard, enabling better coordination, governance, and impact tracking. Discover opportunities, reduce AI project risk, save money, and gain agility with this go-to solution.
Microsoft Tech Community – Latest Blogs –Read More
Colorbar with a range taken from a variable
Hello,
I have a matrix organized in this way:
M= col1, col2…. col10
col1 and col2 are the x and y position of the data, col10 is a property of this data and it is a number.
I would like to use the numbers in col10 to make a colormap and assign ot every point a specific color that depends on the value in col10.
I did this long time ago, but I don’t remember how, can somebody help me, please?
Thanks
F.Hello,
I have a matrix organized in this way:
M= col1, col2…. col10
col1 and col2 are the x and y position of the data, col10 is a property of this data and it is a number.
I would like to use the numbers in col10 to make a colormap and assign ot every point a specific color that depends on the value in col10.
I did this long time ago, but I don’t remember how, can somebody help me, please?
Thanks
F. Hello,
I have a matrix organized in this way:
M= col1, col2…. col10
col1 and col2 are the x and y position of the data, col10 is a property of this data and it is a number.
I would like to use the numbers in col10 to make a colormap and assign ot every point a specific color that depends on the value in col10.
I did this long time ago, but I don’t remember how, can somebody help me, please?
Thanks
F. plot MATLAB Answers — New Questions
No remote management of IIS on Server Core
I have three VMs running on a Server 2022 Hyper-V host: Windows 11 for management, Server 2022 as a domain controller and Server 2022 Core for Exchange 2019. On the DC I installed the optional feature “IIS Management” and downloaded and installed “IIS Manager for Remote Administration 1.2”. Access to IIS on Exchange server works without problem. But if I do the same on the Windows 11 VM, I get an error message when trying to connect: An unexpected error occurred, connection was reset. I have tried the following without success:
1. use host name or FQDN of the mail server
2. use IP address of the mail server
3. use ports 80 and 443 (e.g. mailhost:443)
4. complete shutdown of all firewall profiles on both the Windows 11 client and the mail server
The mail server’s certificate is the original self-signed certificate that is created when Exchange/IIS is installed – I would expect to be asked about the trustworthiness of the certificate, but apparently the connection fails even before the SSL handshake.
All four machines are domain members, name resolution and ping work fine. The Windows and IIS logs contain no clues. Several hours of web research have not yet yielded any results.
Does anyone have an idea / a starting point?
Many thanks in advance and best regards
Stefano
Hi, I have three VMs running on a Server 2022 Hyper-V host: Windows 11 for management, Server 2022 as a domain controller and Server 2022 Core for Exchange 2019. On the DC I installed the optional feature “IIS Management” and downloaded and installed “IIS Manager for Remote Administration 1.2”. Access to IIS on Exchange server works without problem. But if I do the same on the Windows 11 VM, I get an error message when trying to connect: An unexpected error occurred, connection was reset. I have tried the following without success: 1. use host name or FQDN of the mail server2. use IP address of the mail server3. use ports 80 and 443 (e.g. mailhost:443)4. complete shutdown of all firewall profiles on both the Windows 11 client and the mail server The mail server’s certificate is the original self-signed certificate that is created when Exchange/IIS is installed – I would expect to be asked about the trustworthiness of the certificate, but apparently the connection fails even before the SSL handshake. All four machines are domain members, name resolution and ping work fine. The Windows and IIS logs contain no clues. Several hours of web research have not yet yielded any results. Does anyone have an idea / a starting point? Many thanks in advance and best regardsStefano Read More
use cell value in this formula
Can anyone show me the correct way to use the value of cell E20 in this formula? My attempt returns an error.
Many thanks.
Can anyone show me the correct way to use the value of cell E20 in this formula? My attempt returns an error.Many thanks. Read More
How to Embed a SharePoint file URL in iframe securely?
How to Embed a SharePoint file URL in iframe securely?
File can be public or can be share with the limited access users.
If I open SharePoint file URL then it open in browser, but when embed into iframe in my site then getting error, how to resolve that issue?
Is there any other way to embed SharePoint pdf file URL in react code (iFrame)?
Error description seen in browser console log:
Refused to frame ‘https://microsoft.sharepoint.com/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors ‘self’ teams.microsoft.com *.teams.microsoft.com *.skype.com…
How to Embed a SharePoint file URL in iframe securely?File can be public or can be share with the limited access users.
If I open SharePoint file URL then it open in browser, but when embed into iframe in my site then getting error, how to resolve that issue?
Is there any other way to embed SharePoint pdf file URL in react code (iFrame)?
Error description seen in browser console log:
Refused to frame ‘https://microsoft.sharepoint.com/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors ‘self’ teams.microsoft.com *.teams.microsoft.com *.skype.com… Read More
Create automated usage report from Microsoft Teams
I am looking into a way to create an automated report that creates a usage report that you can run in the MS Teams admin center ‘https://admin.teams.microsoft.com/analytics/reports’ and somehow send that data in an email with a CSV or just sample report.
This would be a report for a call queue and not against a singular user etc.
From what I can see I can get the data like any usage report for a call queue and export it manually in the admin center but I can’t find any commands to trigger a usage report etc, but I can use Get-CSCallQueue to get info on a Call Queue.
Is there anyway to do this at all, maybe I could use an API but not touched that before and mostly use the Teams powershell Module.
https://learn.microsoft.com/en-us/powershell/module/teams/?view=teams-ps
I have a script I started working on but still testing it out.
# Specify the Call Queue ID
$CallQueueID = “”
# Retrieve the specific call queue
$callQueue = Get-CsCallQueue -Identity $CallQueueID
# Compile the data
$queueData = [PSCustomObject]@{
QueueName = $callQueue.Name
QueueID = $callQueue.Identity
# Add more fields as necessary
}
# Create an array to hold the report data
$report = @()
$report += $queueData
# Export the report to a CSV file
$report | Export-Csv -Path “C:PathToYourCallQueueReport.csv” -NoTypeInformation
# Output the report to the console (optional)
$report | Format-Table -AutoSize
I am looking into a way to create an automated report that creates a usage report that you can run in the MS Teams admin center ‘https://admin.teams.microsoft.com/analytics/reports’ and somehow send that data in an email with a CSV or just sample report. This would be a report for a call queue and not against a singular user etc. From what I can see I can get the data like any usage report for a call queue and export it manually in the admin center but I can’t find any commands to trigger a usage report etc, but I can use Get-CSCallQueue to get info on a Call Queue. Is there anyway to do this at all, maybe I could use an API but not touched that before and mostly use the Teams powershell Module. https://learn.microsoft.com/en-us/powershell/module/teams/?view=teams-ps I have a script I started working on but still testing it out. # Specify the Call Queue ID
$CallQueueID = “”
# Retrieve the specific call queue
$callQueue = Get-CsCallQueue -Identity $CallQueueID
# Compile the data
$queueData = [PSCustomObject]@{
QueueName = $callQueue.Name
QueueID = $callQueue.Identity
# Add more fields as necessary
}
# Create an array to hold the report data
$report = @()
$report += $queueData
# Export the report to a CSV file
$report | Export-Csv -Path “C:PathToYourCallQueueReport.csv” -NoTypeInformation
# Output the report to the console (optional)
$report | Format-Table -AutoSize Read More
मैं स्विगी से शिकायत कैसे करें?
स्विगी ऐप खोलें और “सहायता” सहायता टीम संपर्क 07OO-1775-721 अनुभाग पर जाएँ । वह ऑर्डर चुनें जिसके लिए आप शिकायत दर्ज करना चाहते हैं। स्विगी ऐप खोलें और “सहायता” सहायता टीम संपर्क 07OO-1775-721 अनुभाग पर जाएँ । वह ऑर्डर चुनें जिसके लिए आप शिकायत दर्ज करना चाहते हैं।…
स्विगी ऐप खोलें और “सहायता” सहायता टीम संपर्क 07OO-1775-721 अनुभाग पर जाएँ । वह ऑर्डर चुनें जिसके लिए आप शिकायत दर्ज करना चाहते हैं। स्विगी ऐप खोलें और “सहायता” सहायता टीम संपर्क 07OO-1775-721 अनुभाग पर जाएँ । वह ऑर्डर चुनें जिसके लिए आप शिकायत दर्ज करना चाहते हैं।… Read More
Microsoft Sentinel All-In-One now available for Azure Government
Special thanks to @Javier-Soriano, @Sreedhar_Ande, Bill Almonroeder, and Dick Lake
More than a year ago, we announced the second version of Microsoft Sentinel All-in-One and one of the most requested features was to have it work with Azure Government tenants. Today, we’re happy to announce a new revamped version that does that.
If you are not familiar with the All-In-One offering, it will:
Create a resource group
Create a Log Analytics workspace
Enable Microsoft Sentinel on top of the workspace
Set the workspace retention, daily cap and commitment tiers if desired
Enable UEBA with the relevant identity providers (AAD and/or AD)
Enable health diagnostics for Analytics Rules, Data Connectors and Automation Rules
Install Content Hub solutions from a predefined list
Enable Data Connectors from this list:
Azure Entra ID
Azure Entra ID Identity Protection
Azure Activity
Dynamics 365
Microsoft 365 Defender
Microsoft Defender for Cloud
Microsoft Insider Risk Management
Microsoft PowerBI
Microsoft Project
Office 365
Enable analytics rules (Scheduled and NRT) included in the selected Content Hub solutions
Enable analytics rules (Scheduled and NRT) that use any of the selected Data connectors
Getting started
You can find this new version at http://aka.ms/sentinel-all-in-one in the V2 folder.
The only thing you need to start using Microsoft Sentinel All-in-One, is an Azure Government Subscription and an account with permissions to deploy Microsoft Sentinel. Higher privileges might be required if you wish to enable UEBA and some of the supported connectors. You can find details about the required permissions here .
Go ahead and give it a try! We look forward to hearing your feedback about this new version.
Microsoft Tech Community – Latest Blogs –Read More