.net For Windows 7 Ultimate 32 Bit

0 views
Skip to first unread message

Macedonio Heninger

unread,
Aug 4, 2024, 8:43:42 PM8/4/24
to asouteper
Windowsservices are run under the control of the Windows Service Control Manager, which manages their lifetime. Therefore, they cannot be used as the primary process. However, Docker for Windows does allow you to install and run services in docker containers, as long as there is a primary process which keeps the container alive.

In the official Microsoft images microsoft/iis and microsoft/aspnet, a program called ServiceMonitor.exe is used as the primary process. This monitors the IIS service (w3svc) and stops itself (and therefore the container) when the service stops. In this way, it fulfils the first criterion in the list above. It also injects its own environment variables into the IIS process, thus fulfilling the second criterion. It does not try to fulfil the third. You can find the source code here. You can possibly adapt this.


However, this is not the perfect solution. Why do we create a Windows service? Probably because we want it to start without manual intervention, run as a different user, and sit in the background listening for requests. We can do all three using a container. But the container requires a regular executable.


So, I would probably begin by refactoring the actual functionality of your service into a separate class. Then, I would keep your Windows Service project (which should now have a Service class that uses your functionality class) for non-container use. And I would create a new console application, which uses the same functionality class, and use this console application as the ENTRYPOINT of a container.


HI All,

I am using .net framework 4.7 . I created GRPC server using console application. but it does not run on container . i f i run it manually its working .

So how can i run it with container on kubarnetes window server?

Please help me!


I have a Windows Service written in .NET running on a machine with the OneAgent installed. I can see the host and name of the service .EXE but cannot see any of the internals / processing or any of the external calls it makes.


You will need to make sure that the service .EXE is deep instrumented and if no services are detected out of the box, you will have to create custom services by defining the entry point class/method for transactions into the windows service. See link on how to set this up.


I have a user that is getting this pop and in my experience, windows.net has ben involved in alot a malicious activity. Is this expected with in IOS 17? We have never had this happen in any prvious versions. Thank you!


It's a 100% legitimate. If you just go ahead and click continue, you will see the standard microsoft exchange pop up for you to enter your username and password. It's just a re-login feature that you have to do when you transfer data to a new phone, etc.


If your work email is MS Exchange you need to contact your IT department to resolve this. Microsoft is in the process of transitioning from passwords to passkeys, and the windows.net link may have something to do with that.


@Yoann same issue here. Clean install of Windows Server 2019 latest build, install .NET Framework offline installer 4.8, reboot and boom. Many native control panels, like Server Manager, requesting some 4.0.... version of .NET framework instead, failing to load.


I had the same issue and received zero help or support from Microsoft. Dell support googled and read back to me everything I had googled and tried already. Importing the above registry information fixed it without a reboot.


@DavidSherrill This is the exact fix! For us, our RMM tool stopped working on a server 2019 standard server. It's services wouldn't start. Event Viewer complained about .net. Also server manager wouldn't open with the exact message you mentioned. Applying this fixed it all. thanks!!


YOU ARE AN ABSOLUTE LEGEND! THANK YOU! THIS IS THE ONLY SOLUTION THAT WORKED! Every other solution I've googled of this problem has been some variation of "turn net framework on/off in the "turn windows features on or off" app" or "reinstall the newest version of .net" or "did you try restarting your computer?" (OF COURSE I TRIED RESTARTING MY COMPUTER!! DO THEY THINK I'M AN INFANT??)


Please excuse my novice status displayed in this question, but does one simply copy/paste the text in your registry update file, and does the resulting text file require the line number entries as displayed in your post?


I am looking to upgrade the AppDynamics .Net agent to the latest version on the Windows server during the windows patching activity. There should not be any downtime to restart IIS. So I should configure all the parameters before the restart time.


I just bought ArcGIS Pro 3.0 Personal license to use on a Windows 11 PC. The install fails with a message that I need Windows Desktop Runtime 6.0.5 x64 or better. I installed ver 6.0.6 but still get the same error message.


There's a ".NET Runtime" and a ".NET Desktop Runtime" - please ensure you've installed the ".NET Desktop Runtime" and not the other. The .NET Desktop Runtime 6.0.6 installer can be found here: -us/download/dotnet/thank-you/runtime-desktop-6.0.6-windows-x64-insta...


Thank you @EugenioArima That helped us today! For some reason all of our computers started crashing Pro 2.9.3 this morning upon opening the Symbology Pane - yesterday it all worked fine and there were no Windows updates showed installed last night. We checked and one computer didn't show a .NET Desktop Runtime installed at all and the other 3 showed .NET Desktop Runtime 6.0.9 x86 installed. Once all of us uninstalled .NET Desktop Runtime x86 and installed x64 we were able to upgrade to Pro 3.0.1 and everything works again. No idea what ran last night to cause ArcGIS Pro to stop working this morning. Also why is Windows automatically installing the wrong x86 instead of x64? Mysteries. @CraigWilliams maybe this will help other people.


ArcGIS (seemingly out of the blue) began crashing whenever the symbology pane was opened. I tried to repair the program, tried it under the admin profile, then decided the ol "uninstall and reinstall would work."


Now I have downloaded and reinstalled/"repaired" complete ArcGis Pro, which was finalized without any complaints. Starting the Programm ist still refused pointing to a missing .NET Desktop - which IS available and installed.


I am evaluating loadrunner 11 for a windows based client server application that is developed using visual studio 2012 >net framework 4.5 and uses windows communication foundation to talk to a middle tier service created using same technology and middle tier service talks to SQL server using ADO.Net. I tried to record some actions using .Net protocol however I am unable to replay as there are warnings about primary references:could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". After doing some research I found out that Loadrunner 11 does not support .Net framework 4.5 as of now. Just wanted to know even after this support issue if I am able to record script will it make any difference if I try to create a custom filter to suit my application and give it a try or do I give up on using Loadrunner .Net protocol?


Hi , How u recorded that .net window based application ? Is vugen installed in the same server machine where the application installed ? Please do comment its needfull in my project to record window based application. Please explain me the process


If .NET Framework is broken or anything they let you download their installer (offline/web) but it doesn't work, you just bounce back a message that current or later version is already installed and it stops you from reinstalling.


If that doesn't fix the problems nothing else will.

Because it is an integrated feature of Windows a really broken .NET environment is basically a broken Windows installation needing a re-install of Windows.


.NET Framework 4.0 can't be reinstalled on Windows 10 because it's integrated into the OS. For me issues were detected by the .NET Framework Setup Verification Tool (hint: the View Log button opens the full log, but there's a log with just errors in the same directory) but .NET Framework Repair Tool couldn't fix the problem.


Now just start a setup in the folder of edited Windows. And keep settings and apps for just a fresh install of Windows system files. It will also keep your windows activated without need for reactivation.


I don't know/understand much about this, but I believe mono is an open-source alternative to .NET... But whatever its actual niche is, I really don't know the best way to go about trying to get my windows app to work in wine .. I'm getting a bit fed-up with running a Vista VM just for this one app; I'd much rather see it in wine


I tried installing 'mono for windows' in wine, but my app didn't run, but I really don't have a handle on wine yet, to know if I did something wrong, or it just doesn't work.. I've read reports of success and failure using mono in wine...


I have a .NET solution that consists of a windows service written in VB.NET (Project 1) and I have used the SAP Connector to create a proxy to the RFC in SAP (Project 2). The RFC will be passing in some string variables that the windows service will process.


When the RFC is called from SAP, does that call the proxy which then calls my windows service or do I need to write some sort of listener that gets started in the service's OnStart() that uses the proxy?


you need a windows service and build in an SAPServer, that can receive the call from the SAP system. If your service starts, than the SAPServer must connect to the gateway. Now your SAP system can call the functions inside your SAPServer. For the connection between your service and the SAP system you have to create a destination with a SM59 transaction (of TCP/IP). Define there your own program ID and specify the SAP host and gateway. Your server then can be configured with these parameters. See my posting .

3a8082e126
Reply all
Reply to author
Forward
0 new messages