Access to a file location is denied - file-access

Hi, I've installed TFS2010 trial version in my remote machine. While configuring the Application Tier, I am getting an error stated that TFSJobAgent did not start. While I was looking into the Error logs, I found this message.
An error occurred loading a configuration file: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config) ---> System.UnauthorizedAccessException: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied.
It looks like access rights. So I changed the the security rights to allow all rights. And I set the access to that location is available to user Everyone, but still having the problem. But same software I installed in my laptop and I could able to configure and using it. SO I am waiting for the valuable responses from tech guys to resolve my problem.
Thanks,
Siva

Please check the answer on MSDN here: http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/b31432bc-5025-45a7-91aa-f96644ce4458. These people had the same problem because in the same session they changed passwords. A reboot should fix it, according to them.

Related

MySQL Workbench 8.0 : no connection established and could not acquire management access for administration

I'm very new in the IT world, and I've just started learning SQL.
I'm working on MySQL Workbench, and I already did some work in it (creating databases etc...) but since I've restarted my computer (and nothing else), I cannot access it anymore.
-First problem : no connection established (a frequent solution to this problem I found is to go to Services, find "Mysql56" and clic on start, however I do not see Mysql56 there)
-Second problem : when the "Administrator" tab pops up, I have this message : "could not acquire management access for administration. Runtime Error : Unable to execute command chcp. Please make sure that the C:\Windows\System32 directory is in your PATH environment variable.
-Third error that appears when I input password for root and Test connection is : "Unhandled exception : current profile has no WMI enabled".
Any help would be welcome, I've spent hours trying to find a solution on forums, nothing so far.
Thanks a lot !
If you do not find MySQL in the service section, you must delete it completely once, make sure that it is completely removed from all systems.
Note that it is possible to delete information on MySQL.
This was a good route for me.
I had the issue when I disabled all services on windows 11,
system configuration
and enabled those services, then it working..

What rights am I missing?

I'm trying to connect to IBM FileNet from my ASP.Net application using Kerberos. My AppPool is running under LocalSystem account. There is a "Trust computer for delegation" permission at AD. There is impersonation enabled at IIS for application. But I'm still getting
SecurityException: WSE594: InitializeSecurityContext call failed with
the following error message: A specified logon session does not exist.
It may already have been terminated.
What am I missing?
I don't have enough points to comment, so I have to post an answer instead.
You are not really giving enough information here.
Your error is a WSE error, and may not have anything to do with FileNet.
It may help to answer these questions:
Have you already set up FileNet for Kerberos SSO and tested to ensure it works?
What version of FileNet are you running? (If you still have access to FEM, you can use it to test Kerberos.
Why are you using WSE? MS cut support (a long time ago) and has replaced it with WCF. I only ask as you might find it easier to implement WCF.
You might want to give Implementing Kerberos a read.

'DefaultAppPool' is being automatically disabled due to a series of failures

Having a tough time with this issue. Not sure how but my ApplicationPoolIdentity is broken.
Currently I'm running IIS 8 on Windows 8 with Visual Studio 2012. When trying to debug an application from Visual Studio, or just navigating to the site in a browser I get the following error logged and a 503 error.
Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
If I check out the Application error logs, I find the following error from the User Profile Service.
Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
DETAIL - The system cannot find the path specified.
Upon looking into the details I find that the User Profile Service is trying to load up a profile with the Id
S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415
Now I opened up the registry to try and find the profile with that UserId. However there's nothing in the Profile list that helps.
So digging around a little more I've found that this issue can be resolved by either
A) Set the Load User Profile of the Application Pool to false.
B) Use a different account for the application pool.
C) Fix the account.
Seeing how this is the built in account, I'd prefer to fix the issue rather than fix the sympton.
What I have tried
aspnet_regiis -i
Removing IIS from windows and reinstalling.
Attempted to follow the guide here but I don't know the account password :P
My hunch
Somehow the ApplicationPoolIdentity got messed up. Is there any physical folders for the built-in accounts? I know that the Network and Local service profiles physical directories exist at C:\Windows\ServiceProfiles\. It is possible to recreate the ApplicationPoolIdentity profile? Or am I way off on what the real issue is?
C) Here is what i did to fix the account
Go in regedit at key
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
There is a setting called "Default". You have to make sure that the data value point to an existing directory on the drive.
By default it contains "%SystemDrive%\Users\Default". In my company the default is changed to a custom profile. Somehow, someone deleted that user profile. So when the defaultAppPool user tryed to create an accound for himself, it was unable to do so because windows cannot provide him with a default user profile.
You can also diagnose this error when looking at the Event Viewer under the Application folder. You will get a message of that type:
Windows cannot find the local profile and is logging you on with a
temporary profile. changes you make to this profile will be lost when
you log off.

System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security

I am trying to install an application named: "SQLScheduler" from here: http://www.lazycoding.com/products.aspx
But when I install the service I get this error :
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security
any help?
thanks
I know this isn't an answer to the question itself, but stackoverflow won't let me comment on others' answers yet, and I wanted this information in here because it will be useful to people who may have found this post like I did, searching for this error.
The reason the BCL is throwing a Security Exception instead of a UnauthorizedAccessException is because what the non-admin security level is insufficient for is writing to the Application Event log, not for the installation in general.
And sorry this won't help you with your problem, Sherif, as there are clearly other issues when you're installing it even as Admin. I recommend trying Nicole's follow-up suggestion to contact the tool's provider.
If this is happening during installation, you probably need to install as an admin user. (The wrong exception type is being thrown by the BCL in this case. It should be an UnauthorizedAccessException instead of a SecurityException.)
I know I am late to the party here, but I had this same error and found your message.
I received it while trying to install my service via the InstallUtil program. My solution was to run the command prompt with "Run As Administrator" and that did the trick.
Hope this helps someone.

Business Object XI 3.0 error

In Business Object XI 3.0, while logging in publishing wizard I am getting following error. Any Help please
Logon Error
Transport error: Communication failure.(FWM 00001)
OK
Even CMC option is also not working. Yesterday also it was giving same problem. I had reinstalled the software. then it started working. Now today it is again giving same error. This happen second time. Please help
make sure your hosts file is right,eg 10.1.1.1 serverdomain.ping the server make sure the network is working.
It's possible that your firewall is blocking it, also double check your credentials within the cmc are correct and that there is connectivity between your database and your server. Also try connecting through the Administrative account.