iis-7

IIS 7.0 with pipeline mode = Integrated doesn´t load any image/css in ASP .NET

偶尔善良 提交于 2019-12-20 23:26:11
问题 I have a full system working in IIS 5.1 ... I migrated to IIS 7.0 with pipeline mode classic all works fine, but with pipeline Integrated my images/css are not loaded... I´m using ASP.NET 3.5 with a Web Application... Any help? 回答1: In IIS 7 when you install the ASP.NET modules, static content is not installed by default. You will need to go into programs and features, then "Turn windows features on or off". Under IIS section, drill down into WWW services, Common Http features, and check

IIS 7.5 Windows Authentication Not Working in Chrome

自作多情 提交于 2019-12-20 20:31:32
问题 On a new installation of IIS 7.5 I have setup Windows Authentication on my Intranet. The providers I have used are 'NTLM' and negotiate in that order. This works fine in IE and Firefox but in chrome I get the following This web page is not available The web page at http://mysite.com/myintranet.php might be temporarily down or it may have moved permanently to a new web address. Error 338 (net::ERR_INVALID_AUTH_CREDENTIALS): Unknown error. I've tried looking online for a solution without any

IIS 7.5 Windows Authentication Not Working in Chrome

偶尔善良 提交于 2019-12-20 20:31:03
问题 On a new installation of IIS 7.5 I have setup Windows Authentication on my Intranet. The providers I have used are 'NTLM' and negotiate in that order. This works fine in IE and Firefox but in chrome I get the following This web page is not available The web page at http://mysite.com/myintranet.php might be temporarily down or it may have moved permanently to a new web address. Error 338 (net::ERR_INVALID_AUTH_CREDENTIALS): Unknown error. I've tried looking online for a solution without any

SqlException: Login failed for user 'NT AUTHORITY\NETWORK SERVICE

让人想犯罪 __ 提交于 2019-12-20 19:56:30
问题 When I run web application via VS 2008, the application is able to log onto Sql server and check credentials ( user name and password ) entered by the user, but when I browse to this application via IIS 7 and try to postback user name and password, the application reports an exception: System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\NETWORK SERVICE' With IIS 7 each process runs under Network Service account … so what rights need I to assign to this account for the

How to add users in IIS Manager for an ASP.NET 4.0 application?

对着背影说爱祢 提交于 2019-12-20 19:39:14
问题 I have installed an ASP.NET 4.0 Web forms application in IIS 7.5. If I set the application pool to DefaultAppPool (.NET Framework 2.0) I get the icons for Providers, .NET-Roles and .NET-Users displayed on the configuration page for the application in IIS Manager and I can manage users and roles within IIS. (I'm using Forms authentication.) But if I set the application pool to ASP.NET v4.0 I get a problem: Double clicking on the icons for Users or Roles in IIS Manager throws an error telling

Unauthorized access error to html pages in IIS 7.0

烂漫一生 提交于 2019-12-20 14:24:51
问题 I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0. I have created a new web site and put an html file into the directory. And when I use browse function in IIS manager to browse the html file, I met with the following error, any ideas what is wrong? BTW: I am very confused about unauthorized error since I run the worker process under administrator account. From the error message, I am confused why the logon method is anonymous and not using administrator account? HTTP Error 401.3 - Unauthorized

How to configure IIS 7 for localhost website?

☆樱花仙子☆ 提交于 2019-12-20 12:41:02
问题 I am new in Asp.Net I have enabled features of IIS 7 on my windows system and able to see IIS manager. I created an application but build/run application through visual studio it goes to browser and run the application with different port number. When i stop build/run application through visual studio and again i refresh browser application could not run. I want to run application without visual studio. How to do this. It gives this : http://localhost:9864/ 回答1: To configure IIS with a new

500.19 error in IIS7 when an error occurs

我怕爱的太早我们不能终老 提交于 2019-12-20 12:23:11
问题 Setup: Windows 7, IIS7. I am working on an app that is being viewed through the local IIS server, not the built in debugging web server. So my app url is http://localhost/foo/bar.aspx . There is no <customErrors> section in my web.config, and I haven't changed any settings in IIS. If any error occurs, I always get the following error screen: HTTP Error 500.19 - Internal Server Error Absolute physical path " C:\inetpub\custerr " is not allowed in system.webServer/httpErrors section in web

How to solve a “HTTP Error 404.3 - Not Found” error?

ε祈祈猫儿з 提交于 2019-12-20 12:08:42
问题 Simple problem. I start up VS2008 and create a new WCF Service application. This will create a default application with a few test methods showing it works. I press CTRL+F5 and it does indeed work! Great! However, it uses the Visual Studio Development server, which I don't want to support. So I go to the project properties, switch to using a local IIS Web server, create the virtual directory and press CTRL+F5 again. And this "HTTP Error 404.3 - Not Found" error is greeting me back. So

Disable client side caching

我是研究僧i 提交于 2019-12-20 12:06:26
问题 I've been searching for info on how to disable client side caching on project level . I know I can add the following before an action method: [System.Web.Mvc.OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")] I also read something about making profiles for caching, but that would also mean refering to them in several places. I would like a single setting in web.config, or maybe in IIS? The project I'm working on contains a lot of partial views Thank you in advance for any advice in