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

WFF future

$
0
0

Hello,

I have been asked by my Employer to consider using WFF, I have read the material on installing and

configuring WFF but I have also found some information which states that Microsoft has abandoned

WFF for IIS8 and windows server 2012. On the other hand I have found manual on IIS website about installing

WFF 2.2 ON WINDOWS SERVER 2012 and windows server 2012 R2.

I am confused: and my question is

1) Is this True that Microsoft has abandoned  WFF for future use with IIS8 and Windows server 2012?

2) If this is True? what about people who have been using WFF on IIS7 on Windows Server 2008 or IIS 7.5 ON WINDOWS SERVER 2008 R2? Will they ever be able to upgrade to 2012 servers or they stuck with IIS7 AND 2008 SERVERS.

3) What is an alternate to WFF?

Regards,

Fahad


Alternate Access mapping issue with IIS 7.5 SSL is not working due to javascript not able to enable

$
0
0

Due to Security reason alternate access mapping issue with IIS 7.5 SSL is not working due to javascript not able to enable.

Windows Server 2008R2

Sharepoint Server 2007

Web.Config interfering with Java Applet in Jar

$
0
0

I have a java applet that I am using in an ASP.NET application.  I can launch the .html file that contains the applet/jar with no issue from other IIS virtual directories and it runs as expected.  However, when I try to run it from this particular ASP.NET application directory, I am getting a Java ClassNotFound runtime error.  From experimenting, I have determined the issue is related the web.config for the application.  If I remove the web.config entirely or the system.webserver/system.web sections from it, the applet loads as expected from the .html file.  Can anyone shed light on what setting needs to be configured to allow the applet to load from the jar?  Below is my current configuration for the sections.

<div style="font-family: 'Courier New'; font-size: 10.0pt; color: #000000; background-color: #fff9ea; font-style: normal; font-weight: normal; text-decoration: none;">
<system.web><customErrorsmode="On"defaultRedirect="~/ServiceUnavailable.aspx"><errorstatusCode="404"redirect="~/PageUnavailable.aspx"/></customErrors><compilationdebug="false"targetFramework="4.0"><assemblies><addassembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/><addassembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><addassembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><addassembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><addassembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><addassembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><addassembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><addassembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies><buildProviders><addextension=".rdlc"type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/></buildProviders></compilation><traceenabled="false"requestLimit="40"pageOutput="false"writeToDiagnosticsTrace="true"/><pagestheme="default"controlRenderingCompatibilityVersion="3.5"clientIDMode="AutoID"><controls><addtagPrefix="telerik"namespace="Telerik.Web.UI"assembly="Telerik.Web.UI"/></controls></pages><httpRuntimemaxRequestLength="2097151"executionTimeout="7200"/><httpHandlers><addpath="CrystalImageHandler.aspx"verb="GET"type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><addpath="Telerik.Web.UI.WebResource.axd"type="Telerik.Web.UI.WebResource"verb="*"validate="false"/><addpath="Reserved.ReportViewerWebControl.axd"verb="*"type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"validate="false"/><addpath="ChartImage.axd"type="Telerik.Web.UI.ChartHttpHandler"verb="*"validate="false"/><addpath="Telerik.Web.UI.SpellCheckHandler.axd"type="Telerik.Web.UI.SpellCheckHandler"verb="*"validate="false"/><addpath="Telerik.Web.UI.DialogHandler.aspx"type="Telerik.Web.UI.DialogHandler"verb="*"validate="false"/><addpath="Telerik.RadUploadProgressHandler.ashx"type="Telerik.Web.UI.RadUploadProgressHandler"verb="*"validate="false"/></httpHandlers><httpModules><addname="RadUploadModule"type="Telerik.Web.UI.RadUploadHttpModule"/><addname="RadCompression"type="Telerik.Web.UI.RadCompression"/></httpModules></system.web><system.webServer><validationvalidateIntegratedModeConfiguration="false"/><handlers><removename="ChartImage_axd"/><removename="Telerik_Web_UI_SpellCheckHandler_axd"/><removename="Telerik_Web_UI_DialogHandler_aspx"/><removename="Telerik_RadUploadProgressHandler_ashx"/><removename="Telerik_Web_UI_WebResource_axd"/><addname="Telerik_Web_UI_WebResource_axd"path="Telerik.Web.UI.WebResource.axd"type="Telerik.Web.UI.WebResource"verb="*"preCondition="integratedMode"/><addname="CrystalImageHandler.aspx_GET"path="CrystalImageHandler.aspx"verb="GET"type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"preCondition="integratedMode"/><addname="ReportViewerWebControlHandler"preCondition="integratedMode"verb="*"path="Reserved.ReportViewerWebControl.axd"type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/><addname="ChartImage_axd"path="ChartImage.axd"type="Telerik.Web.UI.ChartHttpHandler"verb="*"preCondition="integratedMode"/><addname="Telerik_Web_UI_SpellCheckHandler_axd"path="Telerik.Web.UI.SpellCheckHandler.axd"type="Telerik.Web.UI.SpellCheckHandler"verb="*"preCondition="integratedMode"/><addname="Telerik_Web_UI_DialogHandler_aspx"path="Telerik.Web.UI.DialogHandler.aspx"type="Telerik.Web.UI.DialogHandler"verb="*"preCondition="integratedMode"/><addname="Telerik_RadUploadProgressHandler_ashx"path="Telerik.RadUploadProgressHandler.ashx"type="Telerik.Web.UI.RadUploadProgressHandler"verb="*"preCondition="integratedMode"/></handlers><security><requestFiltering><requestLimitsmaxAllowedContentLength="2147482624"/></requestFiltering></security><modulesrunAllManagedModulesForAllRequests="true"><removename="RadUploadModule"/><removename="RadCompression"/><addname="RadUploadModule"type="Telerik.Web.UI.RadUploadHttpModule"preCondition="integratedMode"/><addname="RadCompression"type="Telerik.Web.UI.RadCompression"preCondition="integratedMode"/></modules></system.webServer>
</div>

IIS 7 Bindings (including host header), host header not sticking permanently

$
0
0

Can someone help me with the following question please.

I am using the following script

' Connect to the WMI WebAdministration namespace.

Set oWebAdmin = GetObject("winmgmts:root\WebAdministration")

' Create the secure binding.

oWebAdmin.Get("SSLBinding").Create "*", 443, "fbbca460988a482227ec71122177045e47f9f2ff", "MyStoreName"

' Create a new binding element.

Set oBinding = oWebAdmin.Get("BindingElement").SpawnInstance_

oBinding.BindingInformation = "*:443:"

oBinding.Protocol = "https"

' Get the default Web site.

Set oSite = oWebAdmin.Get("Site.Name='Default Web Site'")

' Increase the size of the array in the site's Bindings property.

arrBindings = oSite.Bindings

ReDim Preserve arrBindings(UBound(arrBindings) + 1)

' Add the new binding to the array.

Set arrBindings(UBound(arrBindings)) = oBinding

' Assign the array to the Site.Bindings property.

oSite.Bindings = arrBindings

Set oPath = oSite.Put_

Which I found at the following location

http://msdn.microsoft.com/en-us/library/ms691440(v=vs.90).aspx

The reason I chose this approach as opposed to using the PowerShell  New-WebBinding cmdlet is I want to associate with a particular Certificate and I do not see the option in this cmdlet to specify a certificate hash for the binding (is there an option here I am missing?)

The problem I have is the following

I am adding a ‘Host Header’ (Host Name column as it appear in the IIS 7 Admin GUI under bindings)

e.g. on the above line rather than just

oBinding.BindingInformation = "*:443:"

I am using for example.

oBinding.BindingInformation = "*:443:MyHostHeader"

The works ( or appears to work at first glance) is as much as if you go into the GUI would will see the new binding appear along with the relevant port number, IP address, Host Name (Host Header), great.

Now the problem, the Host header (Host Name column) disappears e.g. blanks out. This tends to happen (although not tried every scenario) when you go into edit, view the certificate which is bound to the site, which is all correct. I do not make any changed when I choose edit, I am just viewing the information re the certificate. Sometimes you need to come of the IIS Admin UI and go back in other times you will see the column blank off when clicking back to main tab after coming out of edit section.

I am wondering if this may be happening because the IP Address/Port combination (e.g. 10.10.10.10 443) is already unique and therefore no need for a host header to distinguish it from another site bound to the same port/IP address, so the system itself just gets rid of it?

Or is this example missing a SetInfo() or CommitChanges() ?

I was also trying to figure out how to do the same thing via the ADSI IIS interface e.g. PowerShell [ADSI]”IIS://MyServer/MySite” either look up the binding info and create/update the binding info

Any help most welcome

Thanks

Ernie

IIS 8 Shared configuration permissions issue

$
0
0

Hi guys,

I am building test environment with redundent NLB IIS servers with shared configuration. All the servers are running Windows Server Core 2012 64bit

All servers are joined to the NT domain TESTDOM.LOCAL domain, on the domain controller I have created a network share \\DC\configs that contain the files administration.config and applicationHost.config.   For the Redirection configs on all servers i am using the TESTDOM\Administrator user to connect to the share.  I have confirmed that users TESTDOM\Administrator and TESTDOM\IIS_IUSRS have got read / writer permissions.

I restart my IIS servers using remote IIS management console... they restart no problems but when i try click on the App pools and sites I get a error message: 

Filename:MACHINE/WEBROOT/APPHOST
Error: Cannot read configuration file due to insufficient permissions

My redirection.config files on all servers look like this:

<configuration>
<configSections>
<section name="configurationRedirection" />
</configSections>
<configurationRedirection enabled="true" path="\\DC\configs\" userName="TESTDOM\Administrator" password="P@55W0rd" />
</configuration>

Can anybody help me with this?  What am I missing here?

IIS8 url rewriting not working

$
0
0

Hi,

I'm trying to rewrite a url via iis url rewrite which redirects https://www.domain.com/all_job_list.php?category=1 to https://www.domain.com/all-job-list/Accounting-bookkeeping

It simply show the same source again with the site loading under https://www.domain.com/all_job_list.php?category=1

I have added the following rule.

-

    <rule name="generated-0" stopProcessing="true">
  <match url=".*" />
    <conditions logicalGrouping="MatchAny">
      <add input="{URL}" pattern="https://www.domain.com/all_job_list.php?category=1$" />
    </conditions>
    <action type="Redirect" appendQueryString="false" url="https://www.domain.com/all-job-list/Accounting-bookkeeping/" redirectType="Permanent" />
</rule>

--

I even tried even a  basic rule and that too is not working. The url rewrite i installed is this one "http://www.iis.net/downloads/microsoft/url-rewrite". Even tried uninstalling and reinstalling the module.

Could some one point me what is the issue here?

Is there anything different to be done in iis8(win 2012 ) servers?

Thanks,

Jaffer

Path through Authentication for Virtual Directory with UNC Path

$
0
0

I’ve create a virtual Directory with an admin account with unc path to a shared folder on another Server. The Server is SRV 2008R2 with IIS7.5 The IIS server and the File Server are in the same Domain.

If I test the settings the Authentication and the Authorization works fine. I activate Directory Browsing. For the Authentication I deactivate Anonymous Authentication and activate Basic and Windows Authentication. All Users must have access with the same access right as they have at the shared folder. The path through works by the Sharepoint connects on the same IIS and for a local shared folder at the server where the IIS is running.

I’m looking forward for any helpful answers.

Richard

URL rewrite not working(iis8)


joomla wont work on server 2012 essentials

$
0
0

i've been trying for a week now to install joomla on a server.
At first i assumed the wizard would simply work, its a wizard isnt it??.
But no, first one needs to add a sub site, and then tell the wizard to use that site.
( >> to Microsoft make it clear that a sub site needs to be made in your wizard )
Now the installation finishes to the end, but in the end i dont have a working site.
When browsing to the site, i just get the cryptic error below, with no idea what goes wrong :

<div class="content-container">

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

</div> <div class="content-container">

Detailed Error Information:

<div id="details-left">
Module   IIS Web Core
Notification   BeginRequest
Handler   Not yet determined
Error Code   0x8007000d
Config Error   
Config File   \\?\F:\Joomla\joomla\web.config
</div> <div id="details-right">
Requested URL   http://dc1.sapec.local:85/joomla/
Physical Path   F:\Joomla\joomla\
Logon Method   Not yet determined
Logon User   Not yet determined
</div>
</div> <div class="config_source content-container">

Config Source:

-1:
    0:
</div>

IIS7.5 -- Can't figure out Windows Authentication config with ASP.NET MVC4 application.

$
0
0

I have an ASP.NET MVC4 application that uses integrated Windows Authentication. The application is intended to use a domain database server and run on a domain development server. When I run the application in VS2012 using IIS Express, it works as intended. When I install it as an application on the IIS server, it prompts for authentication, which it shouldn't do, and no combination of login details will get me access.

The reason for this is that the authentication for the application is two factor, as in you need to be logged into the domain but you also need to be authorised via a table in the database itself.

I'll admit I'm a total newbie with IIS, so I've tried every combination of all the suggestions on Google. These are inclusive of changing IE settings, NTLM settings on IIS, changing request filtering, changing IIS authentication options (various combinations). Nothing is working so far.

At one point, I changed the ASP.NET authorisation to allow all, and had anonymous and windows authentication enabled, and it was still prompting.

If anyone can shed any light or has any ideas that'd be great.

How to block unwanted redirect from a domain to my site?

$
0
0

I need to block redirect from a other domain to my site, how to do this using URL Rewrite module?

I am using IIS 7.5

Thank you.

IIS 7.5 changing certificate issued to the same web portal name

$
0
0

Hello,I have a problem with IIS 7.5. On the server we have installed 3 certificates. All 3 are issued to lets say www.mydomain.cz and all 3 are valid.
The first certificate is valid from 15.10.2013 to 15.10.2014
The second one is valid from 26.6.2014 to 26.6.2015
The third one is valid from 29.7.2013 to 29.7.2018

Today date is 15.7.2014 - so all 3 certificates are valid.

First certificate is used to sign emails and as well for the web portal www.mydomain.cz. - that is what I want to change.
The second certificate is planned to be used for www.mydomain.cz.
The third one is used for AS2 gateway(not important).

The problem is that when I try to change web site bindings/Edit/HTTPS connection - and there I select proper certificate (the second one according to description above) nothing happens. The first certificate is still in use, even if the server is physically restarted.

certificates

I can even click on the View... button to verify certificate serial number and everything seems to be configured well, but when I load page into my web browser I can easily check that page is still using the old certificate.

Many thanks for help.

Website not functioning in IIS 6

$
0
0

I have a server that hosted a website and the server was removed from a domain and added to a different domain. Once I noticed the website was not working I moved it back, However it still does not work., It is MediaWiki and it uses PHP 1.15 i believe. I noticed that in the "Website" properties - home directory - Application Configuration - Application Extensions it had an extension of .php -executable path C:\PHP\php-cgi.exe. I changed it to C:\php\php5.dll. My error changed, but still no webpage when I browsethe website in IIS. I am a novice with the IIS and was wondering if anyone could help, It woiuld be greatly appreciated

Unable to get Custom Error object with HTTP STATUS CODE 401 in WCF

$
0
0

I am returning a custom error object with http status code 401. On client side I get html content saying "401 - Unauthorized: Access is denied due to invalid credentials.".

If I change it to 403 or 400 then it returns a valid custom error object. But the problem is only with 401.

The same if I test it on my local machine then it returns a valid custom error object with 401 but if I publish it to production then it throws the html content as I mentioned above.

WordPress with BuddyPress - Images wont load after URL Rewrite


IIS commands like Get-Website are not working in Powersahell 2.0 on 32 bit OS

$
0
0
PS C:\Windows\system32> 
Import-Module webadministration
GET-WEBSITE Get-Website : Retrieving the COM class factory for component with CLSID {688EEEE5-6A7E-422 F-B2E1-6AF00DC944A6} failed due to the following error: 800700c1. At line:1 char:13+ GET-WEBSITE <<<< + CategoryInfo : NotSpecified: (:) [Get-Website], BadImageFormatException+ FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.IIs.PowerShell.Pro vider.GetWebsiteCommand full detailed error given below _______________________________________________________________________________________ PS C:\Windows\system32> $error[0] | format-list -force Exception : System.BadImageFormatException: Retrieving the COM class factory f or component with CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} fai led due to the following error: 800700c1. at Microsoft.IIs.PowerShell.Framework.Configuration.XPathQueryT oStream(String query, PipelineStreamWriter writer) at Microsoft.IIs.PowerShell.Provider.GetWebsiteCommand.ProcessR ecord() at System.Management.Automation.Cmdlet.DoProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord( ) TargetObject : CategoryInfo : NotSpecified: (:) [Get-Website], BadImageFormatException FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.IIs.PowerShell.Provider.G etWebsiteCommand ErrorDetails : InvocationInfo : System.Management.Automation.InvocationInfo PipelineIterationInfo : {0, 1} PSMessageDetails : I want to use above command Get-Website in PowerShell 2.0 version on 32 bit Operating System.
It is working fine in PowerShell 4.0 version on 64 bit OS, but according to my requirement,
I need to make it run in PowerShell 2.0 version having 32 bit OS .Please suggest.

Reverse Proxy rules not being processed

$
0
0

I've been trying to get ARR with URL Rewrite working properly for a few days now.

I'm trying to get http://mail.johnkiddjr.com andhttp://johnkiddjr.com/mail to go to the mail server (Linux).

I followed the tutorial at: http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing

The rule I have on the mail. subdomain web.config file is:

<rewrite><rules><rule name="ReverseProxyInboundRule1" stopProcessing="true"><match url=".*/(.*)" /><action type="Rewrite" url="http://mail/{R:1}" logRewrittenUrl="true" /></rule></rules><outboundRules><rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1"><match filterByTags="A, Form, Img" pattern=".*mail/(.*)" /><action type="Rewrite" value="http://mail.johnkiddjr.com/{R:1}" /></rule><preConditions><preCondition name="ResponseIsHtml1"><add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /></preCondition></preConditions></outboundRules></rewrite>

If I browse to http://mail from the Windows Web Server, it loads the Apache page just fine (still just the apache test page), however if I try to go tohttp://mail.johnkiddjr.com externally I get a directory browsing for the subdomain folder (all that is in there is the Web.Config file).

The rule I have for sending http://johnkiddjr.com/mail is:

<rule name="Reverse Proxy to webmail" stopProcessing="true"><match url="^mail/(.*)" /><action type="Rewrite" url="http://mail/{R:1}" /></rule>

I've turned on Tracing, and set it up to log all failed Rewrites, but no log file has been generated.

Did I somehow turn off using Web.Config for websites? Any suggestions?

EDIT:

Forgot to add: This is Windows Server 2012 R2 Standard, running IIS 8.5.

ARR version 3.0

HTTP Redirect 2.0

IIS ARR to change webaddress?

$
0
0

I have an external FQDN of https://application1.company.com  I need to make it hit an internal server with https://server1.company.com. 

External users should not see the change.

using IIS ARR 2.5 on windows 2012 R2 server.

I am a newbie on IIS ARR. 

Can this be done?

Thanks in advance.

Cannot connect to website by IP Address

$
0
0

Hello, I host websites on a IIS server on my laptop which was running Windows 8. Everything was working fine until I updated OS to Windows 8.1.

Now I cannot connect to the websites locally on my own PC. If I type localhost instead then I get the webpage. The webpage is accessible from other PCs on the LAN.

I tried Appcmd.exe and the result is:

SITE "Default Web Site" (id:1,bindings:http/192.168.100.13:80:,state:Started)
SITE "ftp" (id:2,bindings:ftp/192.168.100.13:21:,state:Unknown)
SITE "test1" (id:3,bindings:http/192.168.100.13:30000:,state:Started)

I 'll be grateful if  anybody can help sort out the problem.

Install Azure Powershell Without Latest Emulators

$
0
0

Hi,

I work on software that does not yet work with the version 2.3 Azure emulators. When I try to install Windows Azure Powershell, it attempts to install these emulators without warning. There is no indication that they are required.

Is it possible to install Azure Powershell without installing the 2.3 emulators?

Viewing all 27852 articles
Browse latest View live




Latest Images