Am using forms authentication. When I tested the app using Visual studio, it all worked fine. But when I created a VD and application in IIS and tried to browse, it just hangs up and the browser is unresponsive. VERY URGENT, Please help
authorization deny users ="?"
Have you tried to browse your application using different browsers?
How did you configure the IIS Server? How's the settings of the Virtual Directory?
If the browser just hangs up when you try to load your application, there are several factors that we need to consider: IIS Server setup/settings, database, web browser, etc.
Related
I have an ASP.NET app (.NET Framework) deployed to an ec2 instance running Windows Server and IIS. The app never loads in my browser - it just spins forever. This is true for .aspx pages as well as simple static .html pages.
What I've tried so far
Loading the website as localhost from a browser on the server itself...no luck
Website physical path is correct
Website binding matches what I've used on other servers
<binding protocol="https" bindingInformation="*:443:*" sslFlags="0" />
Windows permissions look OK (both the app pool user and IIS_IUSRS have full control)
The app pool looks OK (Mode=Integrated; Identity=ApplicationPoolIdentity)
Server Roles and Features look OK (Web Server role, .NET Framework 3.5/4.6 Features, etc.)
This ASP.NET app works fine on other machines
I created a simple "HelloWorld" website in IIS on this same server - it loads fine
I tried adding logging to Global.asax.cs, but it seemingly never gets hit
I don't see any traffic in IIS logs
I don't see any obvious issues in the Windows Event Viewer (I do see lots of activity, but nothing that points to a problem with my app, as far as I can tell)
Disabled proxy settings in Chrome
Viewed network traffic in Chrome - the request just shows as "Pending" and never returns
This is frustrating, because I can't seem to get any logs or information about what might be the problem. How can I troubleshoot this issue?
I am in the deployment phase of two separate asp.net 4.5 web applications being put onto a server running asp.net 4.6. We use a mixture of windows 7 and windows 10. All computers are on the same domain and the server is running IIS 8.5. This intranet application is supposed to use windows authentication to either send a user with invalid credentials to a web page with an error message or give the person access to the site. The problem is that some users are getting prompted to login regardless of security group that they belong to.
I have added the domain to the company wide whitelist and set internet explorer to use automatic windows authentication on intranet websites. We have tried moving the site to a non-shared folder. We finally tried converting both of the web applications to a web site project and the security worked just fine. However, we don't want to use web site projects anymore and find this to be a temporary solution.
I have made certain that authentication has been set to windows.
When checking the IIS logs, I see the error codes 401 0 0 15 and 401 2 5 0. Maybe there is some other setting that we are overlooking when deploying? Any help would be greatly appreciated.
For your application to log in with your network's active directory, you need to configure windows authentication twice, the first one is from your application (Visual Studio) and the second one is in the IIS and you must convert the folder into an application and use the framework version correctly.
Visual Studio:
<system.web>
<authentication mode = "Windows" />
</system.web>
IIS:
Convert the folder to application by right clicking and "Convert to application", then select the application and go to the "Authentication" tab disable "Anonymous authentication" and enable "Windows authentication"
Greetings from Mexico.
I have one MVC2 site that does not display the images and css or allow a user to login. All the other MVC 2 sites are working fine and have the exact same settings for the application pool. I'm using IIS8.5 and windows server 2012 R2.
Application Pool Settings
Managed Pipeline Mode: Integrated
Identity: Application Pool Identity
The website works correctly on my own PC.
Does anyone know how to fix this?
I finally got this to work. It turned out to be duplicate MIME Types.
I'm evaluating Telerik's Sitefinity CMS. On my dev box (Win7 x64/IIS7), everything works great.
However, when I deploy the site to our Win2k3/IIS6 server, the backend system doesn't work correctly. According to fiddler, anytime the browser makes an AJAX request to a WCF (.svc) service within the application, the home page is being returned.
Any suggestions?
I've tried:
re-registering ASP.net
Re-registering WCF with
\windows\microsoft.net\framework\v3.*\wcf\servicemodelreg -i
Made sure that the .svc extension is allowed
Deleted and recreated the site in IIS
Argh. Suggestions?
You can find installation information and other tips on getting Sitefinity up and running by visiting the documentation.
This turned out to be related to the IIS6 application pool identity, permissions on the web folder, and having multiple authentication methods checked in site properties. By playing with those things I was able to get it to work.
As a test, I ran the site through the Sitefinity project manager app (using its integrated Cassini server), and everything worked correctly.
My host is having issues getting my MVC3 app to work on their server, so I though I'd check it out myself. Until now I've been too busy developing under the built in server to worry about IIS, but today I tried my first deployment to the host with no joy. Then I tried one to my local IIS, with no joy. Then I tried telling VS to use IIS for debugging, to maybe resolve some local issues, with no joy.
What steps and configuration are required to use local IIS 7.5 to debug an MVC3 application?
EDIT: Going through a browser, after clearing up a permission problem for my Windows user on Temp ASP.NET Files, I now site with a I get a HTTP Error 403 (Forbidden), but the occassional basic auth login dialogue. Here I have tried a Forms auth user, my normal Windows user, and my Windows admin user, all to no avail.
When I try and debug under VS, I get a 500, internal error.
THE PLOT THICKENS: When I enable directory browsing on the site, I get a proper directory listing for the site root url. This suggests the the MVC3 routing is not working, but why not?
If you're getting a directory listing that means there's not a default file set (for IIS6). It usually means the request wasn't routed to IIS to deal with. thing are slightly different with II7 & it's integrated pipeline.
Simon