I use Windows Server 2008 R2, IIS 7.0.
I downloaded umbraco5 sources, created new site in IIS, set physical path to path to umbraco sources, edited permissions for IIS_IUSRS and NETWORK SERVICE. Then I installed umbraco, set admin's login and password. After it I added sources to new MVC3 project in VS2010 and set up web properties of the project to use IIS server (http://localhost:5050).
When I try to run project I get error: "Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\57060572\e5101f9c\Umbraco.Cms.Web.Editors.dll' is denied."
I checked event viewer log, so here it is:
Event code: 4011
Event message: An unhandled access exception has occurred.
Event time: 20.03.2012 13:05:33
Event time (UTC): 20.03.2012 9:05:33
Event ID: f21a6458d0844eb08296e8e1e0c7d351
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/6/ROOT-9-129767079319772708
Trust level: Full
Application Virtual Path: /
Application Path: D:\asitnikov\tfs\HospitalSite\Sources\HospitalSite\HospitalSite\
Machine name: PC4
Process information:
Process ID: 5752
Process name: w3wp.exe
Account name: IIS APPPOOL\HospitalSite
Request information:
Request URL: http://localhost:5050/
Request path: /
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\HospitalSite
I've edited permissions for 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319' folder and given full control to IIS_IUSRS, NETWORK SERVICE and IIS APPPOOL\HospitalSite but I see no effect.
Also, I have two logical disks on pc and when I make all these operations on disk "C" I don't run into this problem but only locating of project on disk "D" causes a trouble.
EDIT:
I've found out that location of my project (on disk "C" or on disk "D") makes no difference.
This sounds like a permissions problem. Did you install IIS after installing .NET framework 4?
You could try running The 'aspnet_regiis -ir' command to re-install the framework, which should also reset file permissions for these folders.
Ok, I solved this problem, just create a new project with different name following the instructions:
http://slickjuanito.wordpress.com/2012/02/27/setting-up-umbraco-development-environment-in-visual-studio-2010/
Related
I have a server with multiple sites and I have experienced the following Event Viewer Error:
Server local connection provider has stopped listening on [ \.\pipe\SQLLocal\MSSQLSERVER ] due to a failure. Error: 0xe8, state: 4. The server will automatically attempt to re-establish listening.
This error occurs directly after one of the sites on my server generates a Warning in the Event Viewer:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 8/4/2017 2:33:05 PM
Event time (UTC): 8/4/2017 1:33:05 PM
Event ID: 8fe181c1dde54b359dd40f946cd6d1ae
Event sequence: 15
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/11/ROOT-1-131463267483252556
Trust level: Full
Application Virtual Path: /
Application Path: C:\Hosting\www.testsite.com\
Machine name: S1
Process information:
Process ID: 5856
Process name: w3wp.exe
Account name: IIS APPPOOL\www.testsite.com
Exception information:
Exception type: Win32Exception
Exception message: The wait operation timed out
Request information:
Request URL: http://www.testsite.com/en-ie/about
Request path: /en-ie/about
User host address: 90.100.170.80
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\www.testsite.com
Thread information:
Thread ID: 22
Thread account name: IIS APPPOOL\www.testsite.com
Is impersonating: False
Stack trace:
Custom event details:
I know that if I turn off 'testsite' in IIS then my server works fine for all other sites. Any idea is it something gone wrong with the AppPool? Something to do in IIS? I am not encountering this problem with this site locally in IIS.
I compared site with others on same server and found its App Pool had duplicate applications assigned. I removed one and problem was resolved.
Still seeing the following error in relation to that same site though:
Message: Unable to find assembly 'Lucene.Net, Version=3.0.3.0,
Culture=neutral, PublicKeyToken=85089178b9ac3181'.
This may or may not have been invoved with the initial db overloading as the EvenLog table was quite large with errors from Lucene (from DNN module 'SearchBoost').
We have an website site with a module to upload files to a network drive.
The problem is that the upload handler works when accessed internally and uploads the file to required network drive, but fails with a 4011 Event Id When accessed from outside the network. Can you help on what we are doing wrong
DETAILS
•The site is running on Windows Server 2008 R2 Standard 64 bit, IIS 7.5
•The site has impersonation true and we are using a domain user with full access on server and also on the network folder where the files will be uploaded via the handler
•The Code to Impersonate the domain user happens in the handler and works as expected within the network
Below are the log details
Event code: 4011
Event message: An unhandled access exception has occurred.
Event time: 8/4/2014 12:04:03 PM
Event time (UTC): 8/4/2014 9:04:03 AM
Event ID: 5124ff6156ff47728c544cfb70c488f2
Event sequence: 628
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/sitefolder-4-130516162183314587
Trust level: Full
Application Virtual Path: /sitefolder
Application Path: C:\inetpub\wwwroot\sitefolder\
Machine name: XXX
Process information:
Process ID: 2520
Process name: w3wp.exe
Account name: domain\username
Request information:
Request URL: https://sitenamex:443/sitefolder/DOP/FileUploadHndler.ashx?type=rau
Request path: /sitefolder/DOP/FileUploadHndler.ashx
User host address: 98.98.0.88
User:
Is authenticated: False
Authentication Type:
Thread account name: domain\username
Any help would be greatly appreciated
You mention that files are uploaded to a network drive. If that network drive drive does not have the proper network permissions it can cause the error you mention '4011'
This was caused by lack of access to the temp folder for me. Check what your AppPool is running under. I had to change to LocalSystem to get access to temp folder.
BTW: not IIS, but the ReportViewer component is accessing temp.
We are getting the following error on our web server. We are also observing a strange problem leading to a virtual shuttpown to our asp.net web application. It does not crash. It simply stops processing requests. this happen regardless of the load of the server. It happens periodically, sometime every 90 minutes or 2 hours. Sometime also when no one is logged on.
We are caching certain data in memory to minimize database round trips . Could this happen when the cache expires and need to be reloaded due to something not configured properly?
Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 21/05/2014 08:57:36
Event time (UTC): 21/05/2014 06:57:36
Event ID: 9106022293a944059cd7a35dbdc48024
Event sequence: 262
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/3/ROOT-1-130451258156698671
Trust level: Full
Application Virtual Path: /
Application Path: D:\FolderXXX\
Machine name: MachineXXXX
Process information:
Process ID: 6664
Process name: w3wp.exe
Account name: UserXXX
Request information:
Request URL:
Request path:
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: UserXXX
Custom event details:
Yes, it could happen when the cache expires and needs to be reloaded again and the account has no rights. Either check how you reload cache and if account has rights or enable tracing for more information.
Read about similar issue at http://forums.asp.net/t/1629856.aspx
How to: Enable Tracing for an ASP.NET Application
Hope someone can assist with this one, I'm about ready to pull out what little hair I have left..
Anyway, I have an ASP.net WebForms/MVC3 intranet site running with Windows Authentication, but I have one user who is getting prompted for his username/password when trying to view one of the MVC pages.
The page URL is /FM, which routes to the area (FM), and renders the default route (/FM/Home/Index). If the user uses the /FM url, it prompts for a password and returns a 403 even if it's entered correctly, but if he uses the (/FM/Home/Index) path, it returns the page without issue.
It's only been a problem with this one user account, and I've had him try it with different browsers, different machines, etc., with no change. The odd thing is, it's only his account, and it works just fine for other users with the exact same AD permissions as him.
The one error I've been able to find is this in the event log:
Event code: 4008
Event message: File authorization failed for the request.
Event time: 6/18/2012 3:19:33 PM
Event time (UTC): 6/18/2012 7:19:33 PM
Event ID: 65994829b06b4aa4a92d71b8e985ec24
Event sequence: 4217
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/4/ROOT-3-129845173218765349
Trust level: Full
Application Virtual Path: /
Application Path: [Root application path]
Machine name: [WebserverName]
Process information:
Process ID: 9776
Process name: w3wp.exe
Account name: [IIS APPPOOL\WebsiteName]
Request information:
Request URL: http://mydomain/FM/
Request path: /FM/
User host address: [User Host Address]
User: [Domain\Username]
Is authenticated: True
Authentication Type: Negotiate
Thread account name: [IIS APPPOOL\WebsiteName]
Anyone have any ideas?
I'm running IIS5.0 and I am trying to change the ASP.NET process account to my domain user account.
I have followed everything possible here.
When I browse the .svc file (this is a wcf service) I am getting this error:
Server Application Unavailable The
web application you are attempting to
access on this web server is currently
unavailable. Please hit the "Refresh"
button in your web browser to retry
your request.
Administrator Note: An error message
detailing the cause of this specific
request failure can be found in the
application event log of the web
server. Please review this log entry
to discover what caused this error to
occur.
Eventlog says:
aspnet_wp.exe could not be started.
The error code for the failure is
80070522. This error can be caused when the worker process account has
insufficient rights to read the .NET
Framework files. Please ensure that
the .NET Framework is correctly
installed and that the ACLs on the
installation directory allow access to
the configured account.
When I run the client, I get the following error:
The content type text/html;
charset=utf-8 of the response message
does not match the content type of the
binding (application/soap+xml;
charset=utf-8). If using a custom
encoder, be sure that the
IsContentTypeSupported method is
implemented properly. The first 872
bytes of the response were: '
From ASP.NET 2.0 onwards, the correct method to ensure that a user account has the correct rights to run as the worker process identity is to run this command:
aspnet_regiis -ga [account]
You need to run the aspnet_regiis command that matches the ASP.NET version you plan on running:
ASP.NET 2.0 -
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -ga [account]
ASP.NET 4.0 -
%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ga [account]
If you put your Domain Account under IIS_WPG group, it should ideally work. If it doesn't work, there is a sure shot way of fixing it.
In IIS 6... step 1 is applicable... since you are on IIS 5, ignore step 1
Run it with Local System to begin with. If the applications runs, it means your IIS is configured well and you can proceed with the step 2.
Change the account to your domain account, and ensure that you have put the account in IIS_WPG as well. After that, run the tool called Process Monitor http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
Browse the application now. If you still get the error, switch to the Process Monitor and stop capture [menu option].
Search for Access denied and fix it. Link