iis-7

internet explorer font face ssl

耗尽温柔 提交于 2019-12-17 13:59:10
问题 The fonts for my site are working fine in all browsers using http. However when I change to https the fonts don't work in IE8 and below, works correctly in ie9. Using IE, when I type the path to the .eot file using http, I get the option to download the file, but when I use https, it says it can't be found. I'm using a self assigned certificate. iis 7.5 .net 4.0, umbraco 4.7.0 cms, client dependency framework (I have tried with client dependency framework removed, still didn't work). <style

Proper method to remove www from address using IIS URL Rewrite

我怕爱的太早我们不能终老 提交于 2019-12-17 11:01:04
问题 What is the optimal way to remove the www subdomain from a url using IIS URL Rewrite? 回答1: If you want it to work with any hostname (not hardcoding it into the rule), you'd want to do something like this: <rule name="Remove www" stopProcessing="true"> <match url="(.*)" ignoreCase="true" /> <conditions logicalGrouping="MatchAll"> <add input="{HTTP_HOST}" pattern="^www\.(.+)$" /> </conditions> <action type="Redirect" url="http://{C:1}/{R:0}" appendQueryString="true" redirectType="Permanent" />

IIS7 - The request filtering module is configured to deny a request that exceeds the request content length

▼魔方 西西 提交于 2019-12-17 10:47:44
问题 I want to upload images, it works fine on my machine but when I put my website on IIS7 server for public I can't upload anything. Error The request filtering module is configured to deny a request that exceeds the request content length. Most likely causes Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value. Things you can try Verify the configuration/system.webServer/security/requestFiltering/requestLimits

IIS7 URL Redirection from root to sub directory [closed]

☆樱花仙子☆ 提交于 2019-12-17 10:25:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 months ago . I am using Windows Server 2008 with IIS7. I need to redirect the users who come to www.mysite.com to wwww.mysite.com/menu_1/MainScreen.aspx . Here is the file structure I have for the projects: -Sites -Default Web Site -Menu_1 -MenuService -VscWebService I will really appreciate any help on this. 回答1: Here it

Better way to install IIS7 programmatically

强颜欢笑 提交于 2019-12-17 09:44:43
问题 I have a webapp installer that installs all of its prerequisites, which includes IIS 7 too. Since IIS doesn't come as a prerequisite in a Visual Studio setup project, I came up with the following code to install IIS from code (targeting Windows Vista and 7). private string ConfigureIIS7() { string output = string.Empty; if (Environment.OSVersion.ToString().Contains("Microsoft Windows NT 5")) // Its WindowsXP [with or without SP2] { MessageBox.Show("IIS 6.0 is not installed on this machine.

What do I need to change to allow my IIS7 ASP.Net 3.5 application to create an event source and log events to Windows EventLog?

▼魔方 西西 提交于 2019-12-17 07:14:25
问题 ASP.Net 3.5 running under IIS 7 doesn't seem to allow this out of the box. if (!EventLog.SourceExists("MyAppLog")) EventLog.CreateEventSource("MyAppLog", "Application"); EventLog myLog = new EventLog(); myLog.Source = "MyAppLog"; myLog.WriteEntry("Message"); 回答1: This is part of windows security since windows 2003. You need to create an entry in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application Make sure that network service or the account you

How do I get a HTML5 Video to work using IE10

别等时光非礼了梦想. 提交于 2019-12-17 06:54:10
问题 I am hoping someone has an idea on what I can do to help me play HTML5 videos on my local intranet. My Web server= Windows Server 2008 R2 Standard 64bit IIS version= IIS7 Test User environment = Windows 7 Enterprise Video plays perfectly using 'Google Chrome' Video fails to play using 'IE10' My html code is as follows: <!DOCTYPE html> <html> <body> <video src="AccReadings.mp4" width="400" height="300" preload controls> </video> </body> </html> My test machine using IE10 does play HTML5Rocks

Format of the initialization string does not conform to specification starting at index 0

吃可爱长大的小学妹 提交于 2019-12-17 06:53:53
问题 I have an ASP.Net MVC application which runs fine on my local development machine. But when deployed to IIS7 gives the following error when trying to log in: Format of the initialization string does not conform to specification starting at index 0 Most people who post this error resolve it by changing their connection string in some way. However my connection string on the local and deployed application are the same. The connection string is like this: <add name="ApplicationServices"

Format of the initialization string does not conform to specification starting at index 0

人盡茶涼 提交于 2019-12-17 06:53:36
问题 I have an ASP.Net MVC application which runs fine on my local development machine. But when deployed to IIS7 gives the following error when trying to log in: Format of the initialization string does not conform to specification starting at index 0 Most people who post this error resolve it by changing their connection string in some way. However my connection string on the local and deployed application are the same. The connection string is like this: <add name="ApplicationServices"

Format of the initialization string does not conform to specification starting at index 0

心不动则不痛 提交于 2019-12-17 06:53:26
问题 I have an ASP.Net MVC application which runs fine on my local development machine. But when deployed to IIS7 gives the following error when trying to log in: Format of the initialization string does not conform to specification starting at index 0 Most people who post this error resolve it by changing their connection string in some way. However my connection string on the local and deployed application are the same. The connection string is like this: <add name="ApplicationServices"