Quantcast
Channel: All Forums
Viewing all 27852 articles
Browse latest View live

IIS Media for android and iphone using smooth streaming.

0
0

Hello everybody,

We are conducting tests on the IIS server with media installed.

We transmit using smooth streaming mode with live and VOD extentions IMSL and ims.

This model works only on silverlight.

How is it possible to transmit Android and Iphone?


Cannot use a leading .. to exit above the top directory.

0
0

Hello All,

We are facing some issue after login. I have a website https://www.domainname.com which has login. When we keyin the login name and password and clicks on login button, it should redirects to some page.

Our problem is when we click on login button it gives the exception

"Cannot use a leading .. to exit above the top directory."

The above issue doesnt come when we login from SignIn page. 

Can someone please help us.

Thanks in advance.

Publishing Outlook Calender to IIS7 via WebDAV

0
0

Hello,

This is my first post here.

I have a need to run an IIS7 server.

Here are my reasons:

Ever since Microsoft dropped support for publishing calenders to Office.com in Outlook 2013, I have been pretty much royally screwed with sharing my calender. I support 2-3 sales guys at my company and they need constant access to my calender to see my availibility.

http://blogs.office.com/b/microsoft-outlook/archive/2012/12/19/outlook-2013-deprecated-features-and-components.aspx

My company does not have (nor can afford) an exchange server, and I do not want to go down a 3rd party route like google sync, etc.

I don't want to personally run a PC 24/7 for IIS7, however to overcome this I plan to use a computer at my dad's company. My dad has a PC that runs WinXP Pro (SP3) and I have full access to configure it as well as the router it is connected to. This PC is physically located on Florida (FL).

My personal PC runs Outlook 2013 and my OS is Win7. I will need to publish my calender (via WebDAV) to the WinXP machine in FL.

My sales guys will need to have the ability to access this calender share. Since they will only need to read the calender, I assume they only need READ access. I also assume that I could create just ONE user login for my sales guys since their login access would all be the same. Does this sound right? And I guess I personally will need to have an IIS7 login account with read/write access.

I would like to ask if someone could help me try and get this to work. I have no experince with IIS7/WebDAV, however I know how to configure a router, open ports on the router, as well opening ports within a firewall program. I also have no issues with installing IIS7 onto WinXP, I just need help in configuring it to make it do what I want.

The server PC in FL is configured with a dynamic DNS service, so I can access it without needing to enter in an IP address everytime.

I did try to follow several how-to IIS7 guides that I found online, but was not able to get this to work. I wish someone had a tutorial just for calendar share via IIS7/WebDAV with WinXP being the server.

I was thinking of posting this task to odesk.com and pay someone to dp this, but I figured that I would try this one more time with some help from you folks here...

Cookie Sessions Issues

0
0

I have a web app which consist of a login page and an aministration page. Before my admin homepage displays, i had to make sure that the cookie session still valid otherwise redirect back to my login page.

Tested that there was no bug on my application if on IIS7, after successful login, it redirects to my admin homepage after checking that the session still exist and valid while if its on an IIS8, it always redirect to my login page.

My web app doesn't have any problem running when it was hosted on an IIS7. My problem is, I'm developing my web app using Windows 8 & hosted on IIS8, debugging and testing was done on this flatform.

How do i able to solve my problem? Anyone who have encounter such issue like mine on Windows 8 & IIS8?

Custom TSV input format

0
0

I am new to LogParser, but have to say it looks great...except for some really annoying things with log inputs.

I have a variety of logs I need to parse for one-time analysis and statistics. They will be in any number of formats, mostly proxy logs. Some are ISA and IIS, but some are SQUID, BlueCoat, SmartFilter, Apache and any number of other formats. The order of log fields in unpredictable and most have space delimiters, but sometimes commas or tabs. And there could be 20-30 Gig of logs in any processing batch.

Each LogParser input format creates it's own challenge with any of these logs. Some have #Fields:, other don't, some have quoted strings, some have timestamps like this: [29/May/2010:19:48:21 -0400] (which parses to 2 fields with a space delimiter)

I'm torn between the TSV and W3C formats. Each has _almost_ what I need for everything, but not quite all.

TSV has: headerRow/iHeaderFile, nSkipLines & lineFilter.

W3C has: dQuotes, #Fields: header row parsing.

Neither has both. So, is there a way to extend either of these formats so it has the other's features? I would settle for just dQuotes in the TSV format, but I will take what I can get. (There are lots of "User-Agent" strings, that really throw off parsing)

I understand there is some COM extensibility. I've looked at some sample code, but it just isn't clicking on how to put it all together in C# yet. I need to study more examples, but haven't found what I need to make the peices fall together yet. Any suggestion for examples for this task specifically? (note that I would prefer not to use regex. I have a Perl tool that does it already and am trying to replace that instead of having people hand-edit regexes all day)

My desired end-state is to have a C# front-end that can load the first N lines of any file format into a datagrid, and assign fieldnames from a selection so I can proceed with some of the statistics I want to gather.

If there is not something already canned for the COM plugin, can you guide me on how to write one to get really close to how TSV works?

(I guess the LogParser source itself isn't available, huh? )

Thanks.

Image are not displayed and showing Cross marks when configured with IIS7

0
0

i am using IIS7.5 webserver as proxy for my product , and i also installed ARR 2.5 version ,i have created rules to redirect my requests through proxy ,once i login to my site i am observing the following issue , i.e the image are not showing in my site and every where it is showign cross marks (X) , i have also enabled IIS failed request tracing to check the logs and here is the error showing  at the end

Can you help me on the below issue

GENERAL_FLUSH_RESPONSE_END 

<div style="display: block;" id="section_detail_158_details" class="hidden">
BytesSent0
ErrorCode2147942487
ErrorCodeThe parameter is incorrect. (0x80070057)
</div>

Problem with IIS Outbound rule in IIS authenticated site

0
0

Hello, I have a problem with outbound rule. We have an intranet site for Sharepoint, and need apply an outbound rule for change hostname in HTML content fromwww.intranet.com to www.intranet2.com . We don´t need change a HTML header, because this change by ISA server. But, when I create an outbound rule on anonymous server everything is OK (dynamic and static compression is turn off). But when site required authentication, site return HTML error code 500.

When I disable rewrite outbound rule, everything is OK.

 

Configuration: W2012, 64bit, IIS 7. Sharepoint 2010 Standard edition.

Thanks everyone, who help me.

<outboundRules><rule name="intranet.com to intranet2.com" preCondition="isHTML" enabled="false"><match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script" pattern="(.*)" /><action type="Rewrite" value="www.intranet2.com/{R:1}" /></rule><preConditions><preCondition name="isHTML"><add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /></preCondition></preConditions></outboundRules>

Security best practices in a public facing web application with AD authentication

0
0

Hello guys!

I need to set up a web application running on 2 loadbalanced IIS servers (NLB) that will interact with 2 SQL Servers in failover (active/passive) mode. Those servers will be sitting in a perimeter network behind a hardware firewall and then behind Forefront TMG (3-leg perimeter configuration) like this :

Internet <---> HW Firewall <-----> Forefront TMG <-----> LAN
                                                                 |
                                                                 |
                                                                 |
                                                      Perimeter (DMZ) : 2 IIS servers + 2 SQL servers

 

For a long time, I was hoping not being forced to domain joined my IIS servers because my TMG is domain joined then he would authenticate users and pass this creds to IIS..... But apparently, it's not that simple.

Oh yeah, didn't tell you what I wanted to do : I want my internal AD users to be able to login in this .NET web application and I need to get their login (DOMAIN\username or just username), and if possible, I want to take advantage of my existing AD security groups to apply security filtering in content access.

So, I did some researches and now I'm a bit lost among all the possibilities:

1. No AD DS in DMZ => local accounts => not what I want to do because my users need to authenticate using their existing AD account.
2. Isolated forest model => need to duplicate user accounts => no way
3. Extended corporate forest model with RODC in DMZ => sounds good
4. Forest trust model => looks interesting but maybe harder to implement than solution 3.

From these solutions, I tend to prefer solution 3 but I need to open some ports from my RODC to my RWDC in the LAN. So, here,I don't get how and why implementing RODC in DMZ is more secure than IIS servers domain-joined and communicating directly with my internal RWDC.... ?

Then, while searching an answer to this question, I found another solution : using AD LDS or using ADFS. But I'm totally not getting how I can use these technologies in order to authenticate my users and if it's more/less secure than RODC?

I would like to apologize for my english and I hope you can understand what I'm telling.

Thank you in advance for the time you will spend on answering me :)

BR,

Julien


action in form tag does not get rewritten

0
0

Hello all,

 

We have a W2008R2 + IIS7.5 + IIS URL Rewrite 2.0 + Tomcat 7.

A website with a form are served from Tomcat.

On that website, the form has an "action" attribute and whose content DOES NOT get rewritten.

Every other entry on the page for "original" is replaced by "rewritten".

 

In the browser the page source shows the following:

<form accept-charset="UTF-8"action="/original/registrations"class="new_registration"id="new_registration"method="post">

 

The rules:

<rule name="registrierung_inbound" stopProcessing="false"><match url="^registrierung(/)?(.*)" /><action type="Rewrite" url="http://localhost:8080/ccv2012/{R:2}" appendQueryString="false" /><serverVariables><set name="HTTP_ACCEPT_ENCODING" value="" /></serverVariables></rule>
...<outboundRules><clear /><rule name="registrierung_outbound" preCondition="" enabled="true" stopProcessing="false"><match filterByTags="A, Area, Base, Frame, Head, IFrame, Img, Input, Link, Script" pattern="^/original/(.*)" /><conditions logicalGrouping="MatchAll" trackAllCaptures="true"></conditions><action type="Rewrite" value="http://rewritten/registrierung/{R:1}" /></rule><rule name="registrierung_outbound_form" preCondition="" enabled="true" stopProcessing="false"><match filterByTags="Form" pattern="^/original/registrations(.*)" /><conditions logicalGrouping="MatchAll" trackAllCaptures="true"></conditions><action type="Rewrite" value="http://rewritten/registrierung/{R:1}" /></rule>
...

 

Tracing only tells me that it applied the rule 0 times

221.                -OUTBOUND_RULE_EVALUATION

<div style="display: block;" id="section_detail_221_details" class="hidden">
RuleNameregistrierung_outbound_form
Precondition
PatternSyntax0
Pattern^/original/registrations(.*)
Negatefalse
StopProcessingfalse
HasFiltertrue
HasConditionsfalse
ActionType1
ActionValuehttp://rewritten/registrierung/{R:1}
EvaluationsPerformed0
EvaluationsSucceeded0
PatternSyntaxRegex
ActionTypeRewrite
</div>

 

I even tried separating the outbound rules to set one specifically for the FORM tag, but to no avail.

 

Any ideas would be greatly appreciated.

 

Sincerely,

 

Norbs
 

iis binding for ssl and sub domains

0
0
How to bind multiple sub domains to iis with domain ssl ? Such as www and non www format and let's say app.domain.com

IIS Books ...

0
0
I am new to IIS 7 and am having to get my head wrapped around it. I am having problems setting up ftp users. I have been using IIS 6 and that process was pretty simple. Do you have any good books you recommend to get someone up to speed? Kind Regards, Thomas

username@domain login fails, but domain\username still works ?

0
0

Hi,

I have an ftp site running on iis 6.0

We have one domain account that needs to be able to login through our software. 

We used this kind of formatting to login:  ftp://username%40domain:password@ftpsite

this worked, until now. Somehow, something must have changed because this type of login returns error 530.

I did some testing with the command line ftp client, and i found out that:

- user@domain type of login does not work anymore

- domain\user still works

Do you have any idea what might have changed ? This login is hardcoded in our software, so changing the login string is not an option. I need to find out what changed ...

Thanks,

Tom

WebPI 4.5 Unable to download the product list

0
0

log

DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9817844
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9817844 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Expires: Mon, 18 Feb 2013 08:40:15 GMT
Location: https://www.microsoft.com/web/webpi/4.5/webproductlist.xml
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 18 Feb 2013 08:41:15 GMT


DownloadManager Error: 0 : Error downloading product file: 'System.Net.WebException: InternetReadFile 返回了 0x80072EE2: Unknown error 12002。
   在 Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
   在 Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
   在 Microsoft.Web.PlatformInstaller.ProductManager.DownloadFile(Uri url, String cacheFileLocation, DateTime productFileLastModified)
   在 Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
DownloadManager Error: 0 : Error loading cached XML file: System.IO.FileNotFoundException: 未能找到文件“C:\Users\ghy\AppData\Local\Microsoft\Web Platform Installer\-1250132447.xml”。
文件名:“C:\Users\ghy\AppData\Local\Microsoft\Web Platform Installer\-1250132447.xml”
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   在 System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   在 System.IO.StreamReader..ctor(String path)
   在 Microsoft.Web.PlatformInstaller.ProductManager.LoadDocument(String xmlPath)
   在 Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
   在 Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
DownloadManager Error: 0 : WebClient download error: System.Net.WebException: 操作已超时。
   在 System.Net.WebClient.DownloadFile(Uri address, String fileName)
   在 Microsoft.Web.PlatformInstaller.ProductManager.WebClientDownloadFile(Uri url, String cacheFileLocation)
DownloadManager Error: 0 : WebClient error: System.Net.WebException: 操作已超时。
   在 System.Net.WebClient.DownloadFile(Uri address, String fileName)
   在 Microsoft.Web.PlatformInstaller.ProductManager.WebClientDownloadFile(Uri url, String cacheFileLocation)
   在 Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9817844 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Expires: Mon, 18 Feb 2013 08:48:17 GMT
Location: https://www.microsoft.com/web/webpi/4.5/webproductlist.xml
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 18 Feb 2013 08:49:16 GMT


DownloadManager Error: 0 : WinInet error: System.Net.WebException: InternetReadFile 返回了 0x80072EE2: Unknown error 12002。
   在 Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
   在 Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
   在 Microsoft.Web.PlatformInstaller.ProductManager.DownloadFile(Uri url, String cacheFileLocation, DateTime productFileLastModified)
   在 Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
DownloadManager Error: 0 : WebException error loading product file: System.Net.WebException: InternetReadFile 返回了 0x80072EE2: Unknown error 12002。
   在 Microsoft.Web.PlatformInstaller.ManagedWinInet.ThrowGetLastErrorException(String offendingFunction)
   在 Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
   在 Microsoft.Web.PlatformInstaller.ProductManager.DownloadFile(Uri url, String cacheFileLocation, DateTime productFileLastModified)
   在 Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 majorOS, Int32 minorOS, Int32 majorSP, Int32 minorSP, Int32 osType)
   在 Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory)
   在 Microsoft.Web.PlatformInstaller.ProductServiceImpl.LoadProducts(String primaryFeed, String[] feeds)

Cannot Update/Uninstall/Open WPI 4.0

0
0

When I open WPI, it tells me that there is a new version available and gives me the option to download or decline. If I choose "I Decline" WPI4 opens as normal, but if click "I Accept" to download the new version, it begins the installation process, but after a few seconds it rollsback with a message "Failed to install Web Platform Installer. Click OK to use the browser to download installer." But when i download the file, it too, fails to install. I begin the installation (of WPI4.5), but it soon rollsback with a message "Microsoft Web Platform Installer 4.5 Setup Wizard ended prematurely." Please help me get WPI upgraded to 4.5 Cool

I looked for the installation log file at %temp%\webpi_launcher.txt, but that file doesn't exist

Web Platform Installer 4.5

0
0

Hi all, 

I've just attempted to install Web Farm Framework 2.2, but the installation fails stating that Web Platform Installer is a pre-requisite... I have Web Platform Installer 4.5 installed.

I've searched for Web Farm Framework in Web Platform Installer 4.5 and only version 1.1 shows up. 

What's the deal with this? 

Cheers
Tom 


Troubleshooting 404 errors

0
0

We are encountering wierd 404 errors at random. When we restart the web server, these errors go away for some days and then they start appearing until we restart web servers.

I am not sure how to troubleshoot these errors. Enabled failed request tracing, but it does not show any useful debug information or at least I do not know what to look in the failed request log.

Here is the error message

ModuleName IIS Web Core

Notification 16

HttpStatus 404

HttpReason Not Found

HttpSubStatus 0

ErrorCode 2147942402

ConfigExceptionInfo

Notification MAP_REQUEST_HANDLER

ErrorCode The system cannot find the file specified. (0x80070002)

We added a route that maps the URL to a controller. 

 RouteTable.Routes.MapRoute("Forced lower case VFS", // Route name"vfslow/{*path}",
                new { controller = "Vfs", action = "GetFileLower" }
            );

When the URL of form ttps://cloud.centrify.com:443/vfslow/lib/ui/Ext4.1/src/layout/container/Absolute.js, GetFileLower method of VFS controller is invoked with path "ib/ui/Ext4.1/src/layout/container/Absolute.js"

This works most of the time, but when encountering 404 errors, it does not come into the controller, as if IIS modules are returning 404 errors right away.

Here is the signature of GetFileLower method:

[Anonymous]        
 public ActionResult GetFileLower(string path)
 {
   return GetFile(path.ToLower());
 }

Any ideas on how to debug this?

Here is the path to failed request tracing file with XSL file:  https://skydrive.live.com/redir?resid=F825B9A71458F626!155

Thanks in advance

Anil Lingamallu

What to install WFF or ARR?

0
0

Hey guys,

So I've been working on a 3 Tier web farm just for fun in my lab. So far I have 7 Servers - 1 DC, 2 ARR (to be), 2 Web, 2 DB.

I was planning on having 2 ARR servers for my load balancing, which I have a minimal IIS install on.

Do I want to install JUST ARR on those servers or should I just go for the Web Farm Framework on them?

I am using DFS-R to sync the Webserver content and configs.

For my testing I will be playing with a few CMS's like WordPress and Joomla. Any advice is greatly appreciated! Thanks in advance!

Web Platform Installer 4.0 - downloaded file failed signature verification

0
0

Hi,

I have tried to install Microsoft HDInsight for Windows Server Developer Preview from Web Platform Installer 4.0. It installed all dependencies including Horton Data Platform Developer Preview but finally failed with error "Microsoft HDInsight for Windows Server Developer Preview : This product did not installed successfully: downloaded file failed signature verification and may have been tempered with".

Is there any issue with installer signature or verification process? Can anybody suggest any workaround as I'm not even able to install directly from WPI cached files.

Thanks,

Vijay

 

RE: Re: Smooth Streaming plugin for OSMF Announcement &amp;amp;amp; Feedback

0
0

We are very excited to announce and release a preview of Microsoft Smooth Streaming plugin for OSMF. Smooth Streaming plugin enables developers to add Smooth Streaming playback capabilities to their new/existing OSMF player applications and also to Strobe Media Playback. This plugin is available for download from MS Download Center – Microsoft Smooth Streaming plugin for OSMF.  

Please use this thread to provide feedback. We look forward to your input!

IIS 7 PHP 5.3.6 require statement generates server error 500

0
0

I just installed IIS on my Win 7 professional, and manually configured it to use my pre-existing php-cgi.exe using fastCGI.

An index.php file in wwwroot folder saying

echo "hello";

echo phpinfo();

works fine. If I now add

require 'foo.php'

where foo.php is also in wwwroot folder, it fails with server error 500. Also, in IIS Manager, if I go to Default web site/Basic Settings and click on TEST SETTINGS it says:

If I right-click on Default web site and go to Permissions it shows:

 

In any case, if php can read index.php surely permissions could not stop it reading foo.php from same folder. My php.ini has include_path=".;c:\php\includes" and I tried putting foo.php in the \php\includes folder also but that doesn't work.

Finally, despite having Detailed Errors set and error_reporting =E_ALL & ~E_DEPRECATED, I cannot get anything except the standard 500 server error message out of IIS.

Help please! P.S. Please don't say "Why don't you use the Microsoft Web Platform Installer?" because, as far as I can see, the latest version will only install Windows Azure (I have no idea what Azure is and I don't want to know, but I assume it isn't IIS+PHP+MySQL.) 

Viewing all 27852 articles
Browse latest View live




Latest Images