iis-7

405 - HTTP verb used to access this page is not allowed

久未见 提交于 2019-12-24 05:33:21
问题 I have developed a site in ASP.NET 3.5 I had deployed it on Windows server 2008 and iis7. I was using evaluation version of Windows server 2008. Day before yesterday the evalution period expired and I formatted my machine and re-installed the Windows server 2008. Now, when I deploy the site on IIS7 and try to access it then I get following error, 405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was

Read file from network location with credentials in asp.net code

[亡魂溺海] 提交于 2019-12-24 03:39:09
问题 I want to read files from a folder that exists on the network. When I try to access this folder manually (from run command giving a path like \\ABCServer\Documents ) it ask me for credentials (username and password). After giving the correct credentials I am able to access/read files. When I try to read the same files from C# code in ASP.NET it gives me an error: Login Failure: unkown username or bad password How can I pass credentials via C# code during reading file? Below is a part of the

HTTPS for Mercurial 1.9.2 on windows server 2008/IIS 7 giving me Errno 10054

拥有回忆 提交于 2019-12-24 02:05:06
问题 We are a small company (its a Microsoft shop) we are currently using subversion with VisualSVN installed (pretty easy to setup btw) I am currently evaluating Mercurial because of branching nightmare in svn. So first i followed http://www.firegarden.com/software/hosting-mercurial-repo-iis7-windows-server-2008r2-x64-python-isapi-cgi with latest mercurial source code 1.9.2 and python 2.7 got the below error Failed to import callback module 'hgwebdir_wsgi' The specified module could not be found.

HTTP error 404: The request resource is not found

拜拜、爱过 提交于 2019-12-24 01:39:07
问题 I have three systems running on IIS7 with static IP address 192.168.66.5. I have configured the system to run on the same IP address with different ports and subdmain like; 192.168.66.5:81 hostname ams.tpf.go.tz 192.168.66.5:82 hostname gmis.tpf.go.tz 192.168.66.5:83 hostname records.tpf.go.tz 192.168.66.5:84 hostname cmis.tpf.go.tz I configure all these on IIS7 and defined them in the router. When the client opens ams.tpf.go.tz without specifying the port number, the error 404 is returned:

WCF Service stop responding unexpectedly with error “client authentication scheme 'Anonymous'.The remote server returned an error: (403) Forbidden.”

五迷三道 提交于 2019-12-24 01:25:45
问题 we developed a WCF service ( running on windows server 2012) and client API which are connected each other with client certificate authentication. They were running cool up to we made a stress test on system. We try to load system with giant data then the system responds so slowly. So we interrupt the process and try to clear DB. The clearing and reindexing DB took more than 6 hours. After that the WCF service stoped responding! But we did not change any code block! Therefore, I think that

Change Inet root folder for iis 7

孤街浪徒 提交于 2019-12-24 01:24:20
问题 I am facing a very exasperating challenge. I have to deploy my ASP.NET MVC 3 application in a production server. In this production server I have two drives C: and D: . I am authorized to put my websites in the D:\data folder and I cannot use the C: . Unfortunately IIS creates the Inet directory in C: and apparently there is no way in the IIS manager to change this destination. Is there any way to change this directory? In the case this is not possible, is there any way to solve this problem

Problem in Caching Images in ASP.Net in IIS 7

删除回忆录丶 提交于 2019-12-24 01:19:41
问题 I have implemented caching Images in my website, It is working fine in IIS 6 but not working in IIS 7 problem is images not shown on my website on iis7 hosted server but shown on iss6 hosted server I have implemented caching using this Article.... http://www.codeproject.com/KB/aspnet/CachingImagesInASPNET.aspx Does anyone have any idea what's going wrong or anyone have good suggestion regarding Image caching.....Any hellp will realy appreciated... Thanks 回答1: Here's a quick edit to web.config

IIS 7, loads blank screen

自闭症网瘾萝莉.ら 提交于 2019-12-24 01:17:56
问题 I've just setup an application under the default web site installed by IIS 7. I've tried loading both http://localhost and http://localhost/myappname in both cases, all I am getting is a blank page, no errors. And although directory browsing is enabled, I can't even see a list of the files in that directory. Any ideas why this is? Thanks in advance... 回答1: IIS loads the default file when you try to access it that way. Check if you have a index.htm or default.aspx file. if not you will need to

Fire events for requests to static content without setting runAllManagedModulesForAllRequests to true

为君一笑 提交于 2019-12-24 00:57:58
问题 I'm looking for a more precise solution to handle requests for static contents by the ASP.NET lifecycle without setting runAllManagedModulesForAllRequests to true. As far as I know is the effect of runAllManagedModulesForAllRequests = "true" that the precondition attribute of each module will be set to "" . The problem: I have to protect static content in a subfolder of a web application against unauthorized access To include requests to those static contents in the ASP.NET lifecycle and

CFExecute not executing appcmd.exe

核能气质少年 提交于 2019-12-24 00:57:51
问题 I created the following code on a Cofdfusion server: file name: testWebsite.cfm <cfoutput> <cfset exec_command = "add site /name:""demosite"" /bindings:http://demosite.testserver.com:80 /physicalpath:""D:\Websites\demosite"" "> <cfexecute name="C:\Windows\System32\inetsrv\appcmd.exe" arguments="#exec_command#" timeout="60" /> Done! </cfoutput> But when I execute this file e.g. http://www.demoserver.com/testcases/testWebsite.cfm It just displays "Done!" without any errors, it doesn't execute