iis-7.5

Triple Inner join with over 10.000 rows and asp-calculations stalls application

北慕城南 提交于 2019-12-11 13:09:53
问题 My ASP Classic application are fetching over 10.000 rows via a triple inner join. After this, it is going through each line, calculating some stuff and putting data in a multidimensional array with 17 coloumns. All this are being fetched through a jQuery AJAX when pushing the search button. Logically this takes a while, 5+ minutes actually. It all works fine. BUT... While doing this, the whole system freezes, not only for the user doing the calculations, but also for all the other users using

How to run a CMD.exe command from an ASP.NET application?

自闭症网瘾萝莉.ら 提交于 2019-12-11 12:44:08
问题 Here's my code: string ex = "java -jar \"" + Settings.ClosureCompilerJarLocation + "\" --js \"" + C2runtimePath + "\" --js_output_file \"" + C2runtimeCompiledPath + "\" --language_in ECMASCRIPT5_STRICT --compilation_level ADVANCED_OPTIMIZATIONS --externs \"" + Settings.C2ExternsFolderLocation + "jquery-externs.js\" --externs \"" + Settings.C2ExternsFolderLocation + "c2-externs.js\""; System.Diagnostics.Process.Start("CMD.exe", ex); And an example of ex printed just before it executes: java

Images not loading through CSS on IIS7.5 MVC4

本小妞迷上赌 提交于 2019-12-11 11:57:31
问题 My web app(MVC4) is hosted on IIS 7.5, Windows 7 Ultimate with .net framework 4.0 and 4.5 installed. On hosting the application, the images are not rendered, giving me a 404 error The content type is "Text/html" shouldn't it show as "image/jpeg or png"? On giving the image path directly, the image is rendered, but not through css. The css is loading, as my layout is intact. I have gone through many questions related to the same issue, have included <modules runAllManagedModulesForAllRequests=

System.UnauthorizedAccessException on IIS7.5, full control everywhere

倾然丶 夕夏残阳落幕 提交于 2019-12-11 11:45:23
问题 I'm trying to get an ASP.NET Web API application running on IIS7.5. I've added an application tot the default web site for it. It's running in the DefaultAppPool, with anonymous authentication enabled and ASP.NET impersonation disabled. The Web API works fine: I can run it and it returns results. However, when I call an operation that is supposed to return an image, I get a System.UnauthorizedAccessException. I figured it's just an authorization issue, so I went to the file's security dialog

Http Error 405.0 - method not allowed iis 7.5 module staticfilemodule

有些话、适合烂在心里 提交于 2019-12-11 11:31:34
问题 I have ran into an issue here that I can not seem to find a solutions for. I have a form that I am trying to deploy in IIS 7.5 and when I execute my script I get the following error... Error Summary HTTP Error 405.0 - Method Not Allowed The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used. Detailed Error Information Module StaticFileModule Notification ExecuteRequestHandler Handler StaticFile Error Code 0x80070001 Requested URL http://localhost

WCF Service Issue on Windows Server 2008 R2

半腔热情 提交于 2019-12-11 11:12:34
问题 I had a WCF Service running without issue on Windows Server 2008 and just moved that service over to a Windows Server 2008 R2 instance. The domain name for the site and service were pointed to the new service and the ASP.NET site works just fine. That stated, the WCF Service keeps throwing Endpoint not found responses when trying to run the wsdl=wsdl10 command. I tried installing the ServiceModelReg in the v3.0/Windows Communication Foundation directory; editing the applicationHost.config

Setting up video streaming for JWPlayer

旧巷老猫 提交于 2019-12-11 10:59:00
问题 What's the quickest and easiest way for me to enable video streaming on IIS 7.5 (Win2K8 R2). I will use ffmpeg to convert the videos to whatever format they need to be in, and I'm planning to use the JWPlayer to play them. The videos need to HTML5 compatible so they can be viewed on iphone & ipad. 回答1: You don't need to use any special streaming solution for HTML5, but for Flash you would need to implement a pseudo streaming module on your web server. Here is some more information - http:/

ReWrite in web.config to go between mobile and desktop sites

佐手、 提交于 2019-12-11 10:55:50
问题 I am finishing up a new mobile website to compliment the desktop version. Currently I have a rewrite rule in the web.config file on my desktop site that looks like so: <system.webServer> <rewrite> <rules> <rule name="MobileRedirect" patternSyntax="ECMAScript" stopProcessing="true"> <match url=".*" ignoreCase="true" /> <conditions logicalGrouping="MatchAll"> <add input="{HTTP_COOKIE}" pattern="nomobile" ignoreCase="true" negate="true" /> <add input="{HTTP_USER_AGENT}" pattern="android

Authentication Ignoring Default Document

一个人想着一个人 提交于 2019-12-11 10:13:09
问题 Today I moved my application from a server with IIS6 to a new one with IIS7.5 (windows server 2008 R2). The odd thing is that I cannot access the default document although it has been set in the default documents section. The file is the "deault.aspx" and when I try to access the page with ip I am getting http://[IP]/login.aspx?ReturnUrl=%2f, but it works fine If I access it directly. This is the settings from web.config <authentication mode="Forms"> <forms protection="All" loginUrl="login

Why does HttpHeader X-Original-URL not exist on some pages?

☆樱花仙子☆ 提交于 2019-12-11 09:21:45
问题 My site using URL Rewrite to make SEO friendly URLs. This makes self-posting a form back to the same page a little tricky. However in ColdFusion I do this for the form's action attribute: <form name="formSortBy" method="post" enctype="multipart/form-data" action="#StructFind(GetHttpRequestData().headers, 'X-Original-URL')#"> </form> The important part here is the #StructFind(GetHttpRequestData().headers, 'X-Original-URL')# which gets me the URL of the page. However the X-Original-URL key just