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

Using IIS SMTP Relay to Exchange Online Smarthost- E-Mails randomly do not transfer

0
0

For our legacy applications we have an IIS7 SMTP virtual server running on IIS6 Manager.

At random times, it seems that the SMTP virtual server will stop functioning properly.

By this, I mean that emails which are sent through the application will suddenly stop, and not continue to the Smarthost. There are no error messages in the logs. The emails simply seem to.... stop.

Sometimes restarting SMTP or IIS helps, sometimes it doesn't.

Sometimes it's one or two emails, sometimes it becomes a series of 10-20 emails in a row.

Mail flow is legacy application --> IIS1 --> IIS2 --> Exchange Online Smarthost.


IIS8.5 on AD Domain 550 Error

0
0

We have a running IIS 8.5 on Server 2012. We needed to add a new user so created the AD account, created a folder on the FTP server and gave the new user full access rights to the new folder. We can connect using the users credentials, however, when uploading files, we get a 550 Permission denied error. We can connect through a local workstation and perform any file management job (create, delete, new folder, etc.) It's only on the FTP connection that access is restricted, and only for this new user. Other ftp users are still functional. I have double checked folder permissions and also checked that the new user had ownership of the new folder. Any ideas?

Thanks, Robert

server static content and ARR on same machine

0
0

On one machine, I setup a website to serve static file, binding to http://*:80, and ARR to route dynamic request /api/* to a server farm.

On visiting http://localhost/api/*,  iis would still consider this is a static content request, and return 404.

Using .htacess to do the 301 rewrite

0
0

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

From:http://www.parts-dell.cc

IIS setup for integrated security to sql

0
0

Hi, 

I'm trying to use integrated security on my sites to connect to their respective databases.

Currently we are looking at setting up one domain user per site/database.

I have it working  by setting the app pool identity to the user which has authentication to the database but with the number of site on our servers this would not be viable to have an application pool per site.

So i'm trying to work out if there was another way that i could link the domain user to the site instead of using an application pool i tried to set the Anonymous Authentication to the domain user but this does not work any help would be greatly appriciated

Windows authentication issue in IIS

0
0

Hi,

We have deployed an application in IIS and enabled windows authentication. Our infra team has to remove one of the domain controllers used by this application for windows authentication. If they remove that, then no user will be able to log into the application. They request us to use alternate domain controller for this. But, we haven't specified anywhere on which domain controller to use in application. The IIS by default uses the domain controller which they want to decommission.Can someone please help me whether we can manually make IIS to use different domain controller? The application uses localsystem identity.

Request Execution Time counter ( Total ) evaluation of performance in multiple sites/app

0
0

Hello, when measuring / monitoring the Request Execution Time for a ASP.NET app  ,  in a server running multiple sites,  we might check the time for the specific application pool , or the _Total_ 

If we have 10 websites, and response is 1000 ms on each of them,  Total will be 10000 ms.   

That doesn't mean any of the request  will be 'queued ' and take so long , correct ?  

I'm asking this as our hosting service provider is raising alerts due to high request Exec time, but if I check individual sites, the response is fine for me. 

In other words, my question is , is the _Total Request Exec Time a value to consider as global performance in IIS , or does make more sense I watch single application ?

In any case, it seems I should at least increase the threshold for the  _Total.   3 s is too low.  Thanks for your suggestions IIS experts ! :) 

Disabling Postbacks from changing URLs to lowercase. Unable to determine where to put in Web.config

0
0

I'm having the issue where when clicking on a button to cause a postback, the URL changes all uppercase letters to lowercase letters.

I aim to fix this. A helpful solution I found on StackOverflow shows how this is done. But in the process, it does not tell me where to put the <rules> at in the Web.config.

I only know <rules> are to be placed / nested inside the <system.Webserver> tags, but I don't know what else do I need to wrap around the <rules> so it is valid?

Currently, this is my <system.Webserver> configurations from the Web.config:

<system.webServer><validation validateIntegratedModeConfiguration="false"/><modules><remove name="ScriptModule"/><add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></modules><handlers><remove name="WebServiceHandlerFactory-Integrated"/><remove name="ScriptHandlerFactory"/><remove name="ScriptHandlerFactoryAppServices"/><remove name="ScriptResource"/><add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add
            name="ScriptHandlerFactoryAppServices"
            verb="*"
            path="*_AppService.axd"
            preCondition="integratedMode"
            type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></handlers><directoryBrowse enabled="true"/></system.webServer>

So, what exactly do I need to put, to replace the <UNKNOWN_TAG> tag below, so I can disable converting uppercase letters in the URLs to lowercase letters? The <rules> tag is copied over from the linked StackOverflow post above.

<system.webServer><!-- ... Other tags. --><UNKNOWN_TAG><rule name="LowerCaseRule1" stopProcessing="true"><match url="[A-Z]" ignoreCase="false"/><action type="Redirect" url="{ToLower:{URL}}"/><conditions logicalGrouping="MatchAny"><add input="{REQUEST_FILENAME}" pattern="\.aspx$"/><add input="{REQUEST_FILENAME}" pattern="\." negate="true"/></conditions></rule></UNKNOWN_TAG><!-- ... Other tags --></system.webServer>

Thanks.


What other Script Languages do the IIS supports?

0
0

As pointed out above, what other Script Languages do the IIS supports? Google is giving me a hard time tracking down the information on this, because the search term, "script languages" gives other non-IIS results.

I only know by default, it supports VBScript.

PHP captcha on the website not showing

0
0

Fairly simple, just as I said the Image for captcha is not showing up on the website... I believe the problem is that it may be running as a 64bit program... it needs to be running as a 32 bit but php has been updated and I beleive it is a 32 bit

WSUS IIS Issue

0
0

G'day,

I'm running an offline WSUS Server 2012 VM which has until now functioned relatively well.  After the last import Computers are not longer reporting as Client Web Services (and the Web.Config and Client.asmx files specifically) are creating errors.  If I entirely remove and reinstall IIS and WSUS I get an error 12022 Client Web Services not working in event viewer which isn't the most useful error.  In the IIS console if I try to check any options uner WSUS Administration - Client Web Services I get an error message saying "there was an error while performing this operation. error: configuration file is not well-formed xml".  If I change the the web.config file out with an older version the error goes away and I can change settings in the IIS console, but in event viewer under IIS-Configuration - Administration I get a series of Warnings that IIS is  "Unable to find schema for config section 'system.serviceModel/serviceHostingEnvironment'.  This section will be ignored" but for almost every line of the config file, including system.serviceModel/tracking system.serviceModel/extensions etc

There was a problematic update released last year (3159706) but after doing the post install steps everything worked fine, until now.  Has anyone ever encountered issues like these preventing Computers from reporting to WSUS?  Trying to connect viahttp://url:8530/clientwebservice/client.asmx returns 500 - Internal Server Error and the intepub logs have 500 19 50 * from workstations trying to connect to client.asmx

UserName (cs-username) is always blank

0
0

I am not able to get the Advanced Logging feature to log any username information. I have tested on a simple site with Basic Authentication and on a MOSS site with Windows Authentication, the cs-username field always shows up as only a hyphen. If I set a default value for the field, it does show up in the logs. In all cases, the username information is logged in the normal logs, just not in the advanced logs.

Any ideas?

Font with defect asp.net

0
0

I have a website

I visual studio and server IIS, is looking good (WS2008) but in the custumer server the font is looking different

For example:

  •  The word "Academic" looks squeeze, like normal.
  • in their server that word looks "A cademic"

and there are more word with that behavior.

Their server is (WS 2012) running in IIS.

Accidentally deleted Sharepoint Administration Site

0
0

Recently, I accidentally deleted the Sharepoint Administration Site from IIS 8.5 (Server 2012 R2). I tried restoring IIS using the following command

appcmd restore backup "PreWebDeploy"

Then, I receive an error message "ERROR ( message:Cannot find BACKUP object with identifier "PreWebDeploy". )"

I went back to confirm the backup was spelled correctly using the command
appcmd list backup
and it listed my backups. They were spelled correctly. I tried with quotes and without. No difference.

Does anyone know how I can restore IIS or maybe re-create the sharepoint administration site?

URLRewrite


web deploy max web site size

0
0

I have been packaging up several web sites using web deploy. On one site, I received a message stating the site is too large. What is the maximum site size that can be packaged? How do package a site and migrate it if this is the case? 

webdav + iis manager user auth?

IIS Rewrite module XSD IntelliSense Schema for Visual Studio 2015 / 2017

0
0

Been following around a lot of outdated sites on fixing the DotNetConfig.xsd file to have the <rewrite> tag added in. That's for fixing the IntelliSense. All of the threads point to the following site:

Visual Studio XML IntelliSense for URL Rewrite 2.0

However, with the installation of Visual Studio 2015, the DotNetConfig.xsd is actually split into 5 different files, DotNetConfig20.xsd, DotNetConfig30.xsd, DotNetConfig35.xsd, DotNetConfig40.xsd, and DotNetConfig45.xsd. Which one to convert / modify, I have no idea.

The comments section is not explaining clearly on what XSD file to modify for VS2015 and VS2017 (presumably).

However, I only know for a fact that I need to modify:

var vs9CommonTools = shell.ExpandEnvironmentStrings( "%VS90COMNTOOLS%" );

to

var vs9CommonTools = shell.ExpandEnvironmentStrings( "%VS140COMNTOOLS%" );

In order to apply to Visual Studio 2015. This line of code is in the UpdateSchemeCache.js file that comes with the ZIP file linked in the blog page above.

I'm just going to rewrite all of the DotNetConfigXX.xsd, where XX is 35, 40, and 45. 20 and 30 do not have support for <rewrite>, as the script cannot find the <system.webServer> element.

Oh well.

ModSecurity on IIS 8.5

0
0

I hope someone can help me out here. The ModSecurity forum is not very active, and I'm hoping someone here can provide me with some direction. I install the prerequisites and then installed ModSecurity via an msi. I even reattempted the installation in verbose mode to see if I was missing something, but in all cases, things seem to go OK. I'm able to put "SecRule ARGS "zzz" phase:1,log,deny,status:503,id:1" into the modsecurity.conf file, and when I attempt to pull up the web page using http://localhost/?a=zzz, I do get a 503 error message. It's at least partially working. 

I'm not able to log into the web site, though. There is some fairly expensive off the shelf software that uses IIS, and I'm not able to get logged in. There are 4 log entries when I log in, but one of the following is repeated twice. The problem appears to be that the directories c:\inetpub\temp\global and \ip do not exist, so it's not a simple permissions problem. I've tried to manually create these directories, but this doesn't help. Can anyone please give me some direction? Thanks

<div class="markdown_content">

====== #1 ======
The description for Event ID 1 from source ModSecurity cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

[client 192.168.102.1:47251] ModSecurity: collections_remove_stale: Failed to access DBM file "C:/inetpub/temp/global": Access is denied. [hostname "ARCH-SRV"] [uri "/ao2016/globalajaxengine/aoajax.ashx?ids=*&flts=0&SnName=user_ajax&refreshParam=30.138179430896656&param1=4.382920643111279"][unique_id"17870283327848579102"]
====== /#1 ======
====== #2 ======
The description for Event ID 1 from source ModSecurity cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

[client 192.168.102.1:47251] ModSecurity: collections_remove_stale: Failed to access DBM file "C:/inetpub/temp/global": Access is denied. [hostname "ARCH-SRV"] [uri "/ao2016/default.aspx"][unique_id "17870283327848579103"]
====== /#2 ======
====== #3 ======
The description for Event ID 1 from source ModSecurity cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

[client 192.168.102.1:47251] ModSecurity: collections_remove_stale: Failed to access DBM file "C:/inetpub/temp/ip": Access is denied. [hostname "ARCH-SRV"] [uri "/ao2016/default.aspx"] [unique_id "17870283327848579103"]
====== /#3 ======

</div>

 

Machine.config not read/used

0
0

I have a situation with two identical application (web) servers under a load balancer (fail over)

On both servers the same web applications are installed and the same IIS site configuration is used (actually I used an export and import to achieve this, with a rename the IP adres in the config).

On one of the servers I get the following error message when accessing a web service (while there is such a section in the machine.config)
"The configuration section 'protocolMapping' cannot be read because it is missing a section declaration"
So apparently on this server, the machine.config is not read.

I checked the access rights for C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config and I think they are configured correctly (read permission for IIS-IUSRS).

Does anyone
1) know what might be possible causes?
2) know how to analyze this issue?

I know how to work-arround this issue to make the web applications work, that is not te problem, but I want to have both application servers operate in an identical way.

Thanks in advance!

Viewing all 27852 articles
Browse latest View live




Latest Images