iis-7.5

IIS7 App Pool can't load library with Fixed Base Address

北战南征 提交于 2019-12-12 14:30:22
问题 My .NET 4.0 Web services are using libeay32.dll, which is compiled in VS2010 with the /FIXED option in order to be FIPS compliant. This means that libeay32.dll fails to load unless it gets to live in a certain address (0xfb00000). The exception thrown is: System.DllNotFoundException: Unable to load DLL 'some_dependent_library.dll': Attempt to access invalid address. The only way I know to help guarantee that libeay32.dll gets the right address is to load it in a Main() method before any other

IIS 7.5: Initial request to website never gets loaded

痞子三分冷 提交于 2019-12-12 13:31:47
问题 When I browse my website first time, internet keeps spinning/loading. If I two seconds later try to load it again, everything works fine. It's like it's "sleeping". I think it must have something to do with "recycling". I have set "Idle time-out" to 0 and Recycling "Regular time interval" to 0. Before I browse my website, I take a look at "Worker process" and it says that the app pool process is running. Any idea why my website "falls asleep"? Thanks! Mojo 回答1: Your ASP.NET pages are compiled

Add an ISAPI Filter to an existing Site with Microsoft.Web.Administration

谁说胖子不能爱 提交于 2019-12-12 13:14:53
问题 I'm trying to add/configure an ISAPI Filter through c# and the Microsoft.Web.Administration assembly. So far I didn't manage to add an an ISAPI Filter for a single Web Site. I just found this Article (http://www.iis.net/ConfigReference/system.webServer/isapiFilters) for adding it in the global setting for the whole IIS. I just need it for a specific site. I'm using IIS 7.5. 回答1: You just need to tweak the example given (see the inline comments): ServerManager serverManager = new ServerManager

Session not sticking for ASP.NET MVC2 in IIS7.5 in IE8

会有一股神秘感。 提交于 2019-12-12 11:10:42
问题 We have an ASP.NET MVC2 web application. For reasons outside the scope of this issue we decided to use the classic session state in the application. Following features are implemented in it related to session. Session_Start event handler in global.asax stores a variable in session. This is in relation to a workaround to detect session expiration. Session being used has the following values in web.config: sessionState timeout="30" mode="InProc" cookieless="UseCookies" Forms authentication is

Powershell start-job, wait-job, host thread never exits when run from ASP.NET IIS

跟風遠走 提交于 2019-12-12 10:52:49
问题 I am currently trying to build a threaded cleanup script with powershell, initiated from an IIS. I have made a threaded "Kill process by owner" using powershell remoting, running from the same list of servers as my cleanup script, and that works no problem. $jobs = @() foreach ($comp in $comps) { $jobs += start-job -FilePath ("CleanupJob.ps1") -ArgumentList $comp, $username Write-Host "Started Job on: $comp" } foreach($job in $jobs) { $job | wait-job | out-null receive-job $job.ID } Remove

Request Too Large

梦想与她 提交于 2019-12-12 10:45:06
问题 I am receiving the following error on my page, I updated the IIS setting for posting limit, but can't find how to increase the work buffer size, any help on this would be awesome Request Too Large The "POST" request is too large for the internal work buffer: The internal work buffer size is 512 bytes. The "POST" request size is 2313 bytes. Return to last page Official status error from firebug: 413 Request Entity Too Large I am using IIS7.5 for setting up the page The site is built via .NET

How to use aspnet_regsql.exe

纵然是瞬间 提交于 2019-12-12 08:27:15
问题 I'm having problems Creating Users in a Silverlight Business Application that uses the Local IIS Web Server. If I use the Visual Studio Development Server I have no problems, but once I check "Use Local IIS Web Server" in the properties page and run the application, whenever I try to create a new user using "login->Register now" I get an "Unable to connect to SQL Server" error. I found a similar problem as mine and the solution was to use aspnet_regsql in the command prompt. If I have to use

How do I configure IIS 7.5 for SSE (Server Sent Events) and SignalR

ぐ巨炮叔叔 提交于 2019-12-12 07:57:34
问题 I have tested my Asp.NET MVC application to run SignalR and it properly handles the text/event-stream MIME with a serverSentEvents connection, using Visual Studio 2012, IIS Express (Microsoft-IIS/8.0) and Chrome. Now that I am deploying to production environment (IIS 7.5, .NET Framework 4.5, Windows Server 2008R2), I've noticed that SignalR always falls back to LongPolling transport, since the signalr/connect?transport=serverSentEvents etc times out. Is there a way to configure Microsoft-IIS

Android HTTP Post Request to IIS 7 Returns Bad Request(Invalid Header Name)

我的梦境 提交于 2019-12-12 05:48:10
问题 I have a MVC 3 Web Sevice being hosted on an Amazon EC2 Instance. I have an android app that is making a post request to the service. However a 400 bad request is returned saying that the header name is invalid. I checked the logs on the server and the request does not make it into IIS. The HTTP Err Log just has these entries: 2011-10-07 02:01:05 xxx.xxx.xx.xx xxxxx xx.xxx.xx.xx 80 HTTP/1.1 POST /API/UserAccount/Login 400 - Header - Not really sure what is going on. I tested this web service

asp net web application under IIS 7.5 redirect to a login page but gives error http 404.0 after log-in

左心房为你撑大大i 提交于 2019-12-12 04:45:53
问题 I have a application developed using ASP NET MVC and I have configured a virtual direcotry in IIS. I can access the server folder and also my app located in http:localhost:8081/application I am redirect to a login page located /Account/Login as expected but when I log in using my username/password I am getting an Erro HTTP 404.0 - Not Found. Why this behavior? Edit: Controller: // // POST: /Account/Login [HttpPost] [ValidateAntiForgeryToken] [AllowAnonymous] public ActionResult Login