All Forumshttp://forums.iis.net/default.aspxAll ForumsThu, 23 May 2013 02:20:26 -0400urn:uuid:00000000-0000-0000-0000-000000000000urn:uuid:00000000-0000-0000-0000-000002051151http://forums.iis.net/p/1198911/2051151.aspx/1?+Publishing+point+is+in+use+Reset+it+on+the+server+"Publishing point is in use. Reset it on the server." <p><span style="text-decoration:line-through">I am running IIS 7.5, IIS Media Services 4.0 on the server.&nbsp; On my desktop, I am using Expression Encoder 4 Pro SP1.&nbsp; I am finding that whenever there is any hiccup, the encoder is generating the error &quot;Publishing point is in use. Reset it on the server.&quot;&nbsp; I have found the setting restartOnEncoderReconnect and have placed this within my .isml file.&nbsp; Unfortunately, I am finding that if I stop the encoding server and then attempt to reconnect, I continue to to get the error message &quot;Publishing point is in use. Reset it on the server.&quot;&nbsp; Any thoughts on what else I can do to fix this problem?</span></p> <p><span style="text-decoration:line-through"><br> </span>I found this blog post that explained what to do: <a target="_blank" href="http://blogs.msdn.com/b/expressionencoder/archive/2011/02/02/10124054.aspx"> http://blogs.msdn.com/b/expressionencoder/archive/2011/02/02/10124054.aspx</a><span style="text-decoration:line-through"><br> </span></p> <p>Wally</p> 2013-05-21T18:12:53-04:002013-05-21T18:12:53.247-04:00urn:uuid:00000000-0000-0000-0000-000001954820http://forums.iis.net/p/1171047/1954820.aspx/1?ARR+2+0+response+headers+for+a+302+Response+are+getting+changed+in+reverse+proxy+ARR 2.0 response headers for a 302 Response are getting changed in reverse proxy. <p>I m trying to write a reverse proxy to an application deployed on a webserver. Everything looks to be working fine. </p> <p>The issue is with the response headers returned from the web server is getting altered through the proxy server. Don't know how? </p> <p>&quot;<strong>Reverse rewrite host in in response headers&quot; option is enabled</strong>. </p> <p>Let me try to explain again. If we try to acces the appserver url from a client browser directly it works correctly.</p> <p>For example:</p> <p><a href="http://appserver.com/login.aspx">http://appserver.com/login.aspx</a></p> <p>Since, we need to have the https request to access the login page. A 302 response will be&nbsp;send to the client browser with the new url in response location header as <a href="https://appserver.com/login.aspx"><strong>https</strong>://appserver.com/login.aspx</a>. Things work correctly here.</p> <p>As we&nbsp;are putting a reverse proxy server to our application. So the new url to access the same login page is.</p> <p><a href="http://proxyserver.com/login.aspx">http://proxyserver.com/login.aspx</a></p> <p>And now the 302 response will be&nbsp;send to the client browser with the new url in response location header as <a href="http://proxyserver.com/login.aspx"><strong>http</strong>://proxyserver.com/login.aspx</a>&nbsp;instead of <strong><a href="https://proxyserver.com/login.aspx">https://</strong><u><font color="#0000ff">proxyserver.com/login.aspx</a></font></u>. So the login page dont appear.</p> <p>Host names are getting updated in the location header, but the protocols is not retained (return from the appserver). :-(</p> <p>&nbsp;</p> 2010-08-30T11:09:23-04:002010-08-30T11:09:23.64-04:00urn:uuid:00000000-0000-0000-0000-000002051210http://forums.iis.net/p/1198930/2051210.aspx/1?SERVER+SIDE+INCLUDE+PHPSERVER SIDE INCLUDE PHP <p>i'm new to php and iis .</p> <p>my question is that how can I include any php script to every .php file on my root folder without using the include function.</p> <p>eg. using append in .htaccess on apache server.</p> <p></p> 2013-05-23T04:53:16-04:002013-05-23T04:53:16.36-04:00urn:uuid:00000000-0000-0000-0000-000002051176http://forums.iis.net/p/1198917/2051176.aspx/1?Cannot+edit+word+file+in+FTPCannot edit word file in FTP <p>Dear all,</p> <p>i have a problem about FTP in Server 2008 R2</p> <p>after i open word or excel in ftp via internet explorer 8 or 9 it show FTG log on</p> <p>i insert my username and pass and then i edit file word and save it</p> <p>but word file don't update follow i edit it show old modified date not last update.</p> <p>i think FTP protect file for edit, or not </p> <p><img src="http://images.temppic.com/22-05-2013/images_vertis/1369207846_0.23157900.jpg" height="257" width="303"></p> <p></p> 2013-05-22T07:36:22-04:002013-05-22T07:36:22.18-04:00urn:uuid:00000000-0000-0000-0000-000002051208http://forums.iis.net/p/1198929/2051208.aspx/1?cache+control+IIS8+always+set+to+privatecache-control IIS8 always set to private <p>I tried changing the common headers to Expire webcontent immediately. Cache-control still shows up as a private in fiddler.</p> <p>I tried setting a custom header of name:Cache-Control and value: no-cache at which point fiddler shows Cache-Control:private,no-cache</p> <p>I've ruled out any code setting the header because i tried this on two sites on the same server, one of which is pretty much all static content with no code. Definitely no code touching any http headers. And it still wont let me set cache-control:no-cache</p> <p>Any suggestions?</p> 2013-05-23T01:18:21-04:002013-05-23T01:18:21.74-04:00urn:uuid:00000000-0000-0000-0000-000002051207http://forums.iis.net/p/1198928/2051207.aspx/1?I+m+a+bit+lost+I'm a bit lost! <p>I have been studying a course which requires me to use WebMatrix. But, I'm so lost.</p> <p>I have to create a dynamic website, which inclues a public area, which people can go on and look at the products and the backend, where the store owner can go on and upload new images. How do I create the upload page? I was playing around with it and found in the database part that I can set up a new MySQL database, is this what I do?</p> <p>Also, I have to create an intranet. I have no idea how to do this... obviously. Anywyay, I have created the forms and such in HTML, I just don't know how to do the rest. The rest being an intranet for employees to go on and order office supplies and such, which then send an email to their manager. The manager can approve or decline these orders, if they get approved they are then sent to the correct person to buy these products. An email will also be sent out to employees advising them of the decision. The manager also needs to be able to add a new employee to the intranet.</p> <p>I have asked my teacher... but it didn't help, or I wouldn't be asking here. Thanks!</p> 2013-05-22T23:44:19-04:002013-05-22T23:44:19.03-04:00urn:uuid:00000000-0000-0000-0000-000002051206http://forums.iis.net/p/1198927/2051206.aspx/1?The+there+was+an+error+while+performing+this+operation+messageThe "there was an error while performing this operation" message <p>Hi -&nbsp;</p> <p>Still trying to come up to speed with IIS, and have managed to deploy 3 different web apps on our server: &nbsp;One .NET 2.0, two different .NET 4.0.&nbsp;</p> <p>The server runs Windows Server 2008 R2, Service Pack 1.</p> <p>The apps were built in VS 2012 and deployed via &quot;Web Deploy Package&quot;. &nbsp;These run as expected. &nbsp;&nbsp;</p> <p>Now, the app that runs on .NET 2.0 was originally written in VB back in the day. &nbsp;We want to update it, so have ported all of the code to C# and built it on .NET 4.0. &nbsp;We created a Web Deploy Package and deployed. &nbsp;No problems there.</p> <p>But for this app, when you click ANY of the configuration icons under either ASP.NET, IIS, or Management (ie., &quot;Authentication&quot;), a dialog pops up with this message:</p> <p style="padding-left:30px">There was an error while performing this operation. <br> Details:</p> <p style="padding-left:30px">Filename: \\?\C:\inetpub\wwwroot\AsicOP/WO1.3\web.config <br> Error: Cannot read configuration file</p> <p>Did a lot of searching and found a lot of references to permissions problems. &nbsp;Unfortunately, this isn't the case with this guy - All our permissions seem to be working fine. &nbsp;</p> <p>Also - If we build the new app to target .NET 2.0 and deploy it, it works fine - We don't get the &quot;there was an error...&quot; dialog. &nbsp;</p> <p>We could just stick with 2.0, but think it'd be better if we could move forward.</p> <p>Suggestions?</p> <p>In advance, thanks!</p> <p>Scott Osborn</p> <p></p> 2013-05-22T22:32:37-04:002013-05-22T22:32:37.67-04:00urn:uuid:00000000-0000-0000-0000-000002051205http://forums.iis.net/p/1198926/2051205.aspx/1?Another+can+t+retrieve+directory+in+IIS+7+over+FTP+but+with+a+twist+Another "can't retrieve directory in IIS 7 over FTP", but with a twist! <p>Hi All,</p> <p>I am one of those people having issues getting ftp to work right but I think I have a different twist to it. &nbsp;First off I will give you some back ground. &nbsp;We use FTP over IIS 7 to automate some file transfers at night. &nbsp;Right now this is working fine for about 10 client systems. &nbsp;These client systems are spread scross the globe and are all running Server 2008. &nbsp;These clients are all either systems we own or are hosted at co locations. &nbsp;The clients use windows firewall (the hosting company set them up this way). &nbsp;The server also uses widows firewall but also sits behind a Cisco ASA 5505. &nbsp;All of these clients are working.</p> <p>Recently it was decided that we willstart moving servers up to AWS (Amazon Web Services). &nbsp;We started by moving a test system up there to make sure everything works and all issues can be resolved when we start moving the rest of the systems there. &nbsp;So far everything but one critical service is working fine... our process of using FTP to move some files from this client to the server. &nbsp;This new client runs Server 2012 and is not a physical machines but an AWS instance (as mentioned just a bit ago). &nbsp;When connecting form this client to the FTP server, we can change directories and see where we are using pwd and even create new directories so we know the control port is up. &nbsp;However nothing else will work, 'dir', 'get', 'put', they all stall out. &nbsp;I have been on just about eveyr forum I could find to try and figure out the problem. &nbsp;I have opened all the ports in all the right directions. &nbsp;I have even removed all blocks and turned off all firewalls, except for the ASA, I am not allowed to put the ftp server in front of it, but that is also a moot point as the ASA is configured to allow all traffic in and out, since we use windows firewall to allow and block spcific traffic. &nbsp;Even with all this, the problem persists. &nbsp;I am justabout at my wits end as this is not making ay sense to me having removed what I thought were all places that could be blocking access. &nbsp;Is there anything I may be overlooking in this situation, regardless of how small it may seem? &nbsp;</p> 2013-05-22T20:54:32-04:002013-05-22T20:54:32.087-04:00urn:uuid:00000000-0000-0000-0000-000002051202http://forums.iis.net/p/1198924/2051202.aspx/1?Reintalled+IIS+7+html+files+okay+aspx+pages+404Reintalled IIS 7 / html files okay / aspx pages 404 <p>Luckily this is a test server, but I uninstalled Sharepoint Foundation 2010 from the system since it was hogging the port 80... but, as usual not everything was removed... the Site was still listed in IIS 7. At this time I decided to just do a clean slate, removed all the roles for Application Server and IIS, and then reinstalled them... and IIS still showed the same virtual directories as before...</p> <p>I was able to remove 'site2' and am now concentrating on getting the default website up and running. I am able to get to the IIS default web page, and I can get to the virtual directory home page (default.html), but all aspx pages are coming up with a 404 not found page....</p> <p>What am I missing?</p> <p>Thanks!</p> 2013-05-22T19:23:39-04:002013-05-22T19:23:39.537-04:00urn:uuid:00000000-0000-0000-0000-000002051203http://forums.iis.net/p/1198925/2051203.aspx/1?Configure+IIS+to+handle+vCardConfigure IIS to handle vCard <p>Hi,<br> <br> I have adopted some old C# (ASP.NET) code that generates a string for VCARD and prints it to the page (Response.Write). On an old server (IIS 6) this works fine, it produces a VCARD-file to download. However, on a newer server (IIS 7.5) the same code only produces the VCARD-string as plain text on the page, it doesn't produce the file to download.</p> <p>Somebody mentioned to me something about having to configure ISAPI filters in IIS to make this work, but I can't seem to figure out what/where/how :)</p> <p>Can anyone help me out?</p> <p>Thanks!</p> 2013-05-22T19:26:24-04:002013-05-22T19:26:24.043-04:00urn:uuid:00000000-0000-0000-0000-000002050927http://forums.iis.net/p/1198810/2050927.aspx/1?Priority+of+IIS+Managed+ModulesPriority of IIS Managed Modules <p>Hi,</p> <p>is it possible to set the priority of a module created with .NET? I know it is possible for a module created with native code (C/C&#43;&#43;), but I cannot use this way (since I cannot install a native module on my IIS).</p> <p>I don't have access to the list of all modules, so I cannot use the &lt;modules&gt; section of the web.config to re-order modules.</p> <p>I'm looking for a way to set the (managed) module priority within the initialization section of the module itself.</p> <p>Thanks in advance for any help</p> 2013-05-17T12:34:34-04:002013-05-17T12:34:34.627-04:00urn:uuid:00000000-0000-0000-0000-000002051200http://forums.iis.net/p/1198923/2051200.aspx/1?Classic+ASP+form+with+AttachmentClassic ASP form with Attachment <p>Good Day Everyone,</p> <p><br> I am trying to build a classic .asp form to streamline some of our companies submissons.&nbsp; Can anyone suggest a very basic form or inform me on how I can get the end user to submit an attachment through a form?</p> <p>I am a bit lost with .asp.&nbsp; I have more experience with other scripting languages but .asp is french to me.</p> <p>Heres the catch, I do not want to to save to the server.&nbsp; Is it possible to submit the form as an email directly to me with the attachment?</p> <pre class="prettyprint">&lt;html&gt; &lt;head&gt; &lt;title&gt;form to email script&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div align=&quot;center&quot;&gt; &lt;form method=&quot;POST&quot; action=&quot;formTest_validate.asp&quot; name=&quot;form1&quot; enctype=&quot;multipart/form-data&quot;&gt; &lt;h2&gt;Name&lt;/h2&gt;&lt;br /&gt; &lt;input type=&quot;text&quot; name=&quot;name&quot;&gt;&lt;br /&gt; &lt;h2&gt;Email Address&lt;/h2&gt;&lt;br /&gt; &lt;input type=&quot;text&quot; name=&quot;email&quot;&gt;&lt;br /&gt; &lt;h2&gt;Message&lt;/h2&gt;&lt;br /&gt; &lt;textarea name=&quot;message&quot;&gt;&lt;/textarea&gt;&lt;br /&gt; &lt;input type=&quot;file&quot; name=&quot;File1&quot; runat=&quot;server&quot;&gt;&lt;br /&gt; &lt;input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Submit&quot;&gt;&lt;input type=&quot;reset&quot; name=&quot;Reset&quot; value=&quot;Reset&quot;&gt; &lt;/form&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;</pre> <p>Here is the validating and email submission.<br /><br /></p> <pre class="prettyprint">&lt;%@ Language="VBscript" %&gt; &lt;% Option Explicit %&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Message Sent&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;% Dim name, email, message, myMailObj, binaryData name=request.form("name") email=request.form("email") message=request.form("message") binaryData = objUpload("File1").BLOB &amp; ChrB(0) Set myMail=CreateObject("CDO.Message") 'Set NewMailObj=Server.CreateObject("CDONTS.NewMail") 'NewMailObj.From = "youremail@random.com" myMailObj.From = "youremail@random.com" 'NewMailObj.To = "youremail@random.com" myMailObj.To = "youremail@random.com" 'NewMailObj.Subject = "New message sent.." myMailObj.Subject = "New message sent.." 'NewMailObj.Body = "the name you entered was " &amp; name &amp; _ myMailObj.Body = "the name you entered was " &amp; name &amp; _ "&lt;br&gt;the email was " &amp; email &amp; _ "&lt;br&gt;the message was " &amp; messagemyMail.Configuration.Fields.Update set rset = server.createobject("ADODB.RECORDSET") rset.fields.append "File1", 205, LenB(binaryData) rset.open rset.addnew rset.fields(0).AppendChunk binaryData binaryData = rset.fields("File1").value Const cdoContentDisposition = "urn:schemas:mailheader:content-disposition" Const cdoBase64 = "base64" Dim attach : Set attach = myMail.Attachments.Add attach.ContentMediaType = "application/octet-stream" attach.ContentTransferEncoding = cdoBase64 attach.Fields(cdoContentDisposition).Value="attachment;filename=""File1""" attach.Fields.Update Dim oStreamOutput: Set oStreamOutput = attach.GetDecodedContentStream oStreamOutput.Write binData oStreamOutput.Flush myMail.Send set myMail=nothing myMailObj.BodyFormat = 0 myMailObj.MailFormat = 0 myMailObj.Send Set myMailObj = nothing Response.write "The email was sent." %&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p>Can someone help?&nbsp; What am I missing? Can you point me in the right direction?</p> <p></p> <p>Regards,</p> <p>-Aaron</p> <p>p.s. The attachments can be text or image files.</p> 2013-05-22T18:36:15-04:002013-05-22T18:36:15.79-04:00urn:uuid:00000000-0000-0000-0000-000002051199http://forums.iis.net/p/1198922/2051199.aspx/1?REVERSE+PROXYREVERSE PROXY <p>Hi, i have an issue trying to reproduce an on-demand video from &quot;server1&quot; using a reverse proxy. &quot;server1 is where the video is, i configure &quot;server2&quot; as a reverse proxy so i call <a href="http://&quot;server2&quot;/&quot;directory&quot;/&quot;video&quot;,">http://&quot;server2&quot;/&quot;directory&quot;/&quot;video.html&quot;,</a>, it opens the html page but doesn´t reproduce the video, the rule is set, and i detect log files calling server 1 trought server 2, does any one know whats happening?...</p> 2013-05-22T18:11:49-04:002013-05-22T18:11:49.82-04:00urn:uuid:00000000-0000-0000-0000-000002051198http://forums.iis.net/p/1198921/2051198.aspx/1?IIS+Media+4+1+Live+StreamingIIS Media 4.1 Live Streaming <p>We are wanting to upgrade our current Server 2008r2 web servers that have Windows Media Services running to Server 2012 with IIS Media Services 4.1 for our meetings which we live stream from our servers.</p> <p>We have a physical encoder that the current Windows Media looks at.</p> <p>Is it possible to use this encoder and not EE 4 Pro to do live streaming?</p> <p>I've never used IIS Media Services before and Windows Media Services I configured based off previous settings...so both are fairly new to me.</p> <p>&nbsp;</p> <p>Thanks much</p> <p>&nbsp;</p> <p>Josh</p> 2013-05-22T18:08:47-04:002013-05-22T18:08:47.54-04:00urn:uuid:00000000-0000-0000-0000-000002049847http://forums.iis.net/p/1198014/2049847.aspx/1?+Ruslany+Add+Slash+Rule+doesn+t+work+in+my+environment"Ruslany Add Slash Rule" doesn't work in my environment <p style="background:#dddddd">I can't get the 'Ruslany add slash' rule to work in my environment.</p> <p style="background:#dddddd">- all traffic comes into an ARR server in the DMZ</p> <p style="background:#dddddd">- URL rewrite (not redirect)&nbsp;rules on the ARR server rewrite <a href="http://deptname.mysite.com">http://deptname.mysite.com</a> to <a href="http://internal.mysite.com/deptname"> http://internal.mysite.com/deptname</a> .</p> <p style="background:#dddddd">- a &quot;Ruslany Add Slash Rule&quot; is on the ARR server, at the top of the rules&nbsp;list.</p> <p style="background:#dddddd">- the'internal.mysite.com' site is in a protected DMZ area (a different server than the ARR server), and contains the actual content</p> <p style="background:#dddddd">But with the &quot;Ruslany Add Slash Rule&quot; to add a slash, <a href="http://deptname.mysite.com">http://deptname.mysite.com</a> does not get rewritten to <a href="http://internal.mysite.com/deptname/">http://internal.mysite.com/deptname/</a> .&nbsp; And <a href="http://deptname.mysite.com/sectioname">http://deptname.mysite.com/sectioname</a> (without trailing slash) doesn't get rewritten to <a href="http://internal.mysite.com/deptname/sectionname/">http://internal.mysite.com/deptname/sectionname/</a> (with trailing slash).</p> <p style="background:#dddddd">This URL does work <a href="http://deptname.mysite.com/sectionname/"> http://deptname.mysite.com/sectionname/</a> (with trailing slash) does get rewritten to <a href="http://internal.mysite.com/deptname/sectionname/">http://internal.mysite.com/deptname/sectionname/</a> .</p> <p style="background:#dddddd">I have tried numerous variations on the 'add slash' rule:</p> <ul> <li>&lt;div style=&quot;background: #dddddd;&quot;&gt;&nbsp;I have put the 'add slash' rule at the top of the URL rewrite rules on the internal.mysite.com IIS site.&lt;/div&gt; </li><li>&lt;div style=&quot;background: #dddddd;&quot;&gt;I have tried setting the &quot;Ruslany Add Slash Rule&quot; to enable or disable 'stop processing'.&lt;/div&gt; </li><li>&lt;div style=&quot;background: #dddddd;&quot;&gt;I have put the rule at the server level and site levels on the ARR server and the internal.mysite.com IIS site level (with only one enabled at the same time)&lt;/div&gt; </li></ul> <p style="background:#dddddd">Nothing works. A URL without the trailing slash results in a 404. And haven't been able to set up a Failed Request Tracing Rule that will catch the problem (without getting tons of FRT, since this is a live site).</p> <p style="background:#dddddd">This is on Server 2008, IIS 7.5, fully patched.</p> <p style="background:#dddddd">How can I make this work?</p> <p style="background:#dddddd">Thanks...Rick...</p> 2013-05-10T18:26:43-04:002013-05-10T18:26:43.71-04:00urn:uuid:00000000-0000-0000-0000-000002051195http://forums.iis.net/p/1198920/2051195.aspx/1?View+Log+FilesView Log Files <p>Wondering why our View Log Files... link under each website (IIS 7.5 Server 2008 R2) is greyed out? It's a pain to find site id and look in&nbsp;%SystemDrive%\inetpub\logs\LogFiles considering the number of sites we have. Or is there any easier way to navigate to the log folder?</p> 2013-05-22T14:28:05-04:002013-05-22T14:28:05.837-04:00urn:uuid:00000000-0000-0000-0000-000002051186http://forums.iis.net/p/1198918/2051186.aspx/1?iis+7+logging+2008+server+r2iis 7 logging 2008 server r2 <p>I have http logging installed and I am not able to establish logging in the features veiw of IIS manager. Any ideas?</p> 2013-05-22T11:51:57-04:002013-05-22T11:51:57.037-04:00urn:uuid:00000000-0000-0000-0000-000002048345http://forums.iis.net/p/1197289/2048345.aspx/1?IIS+8+0+ASP+NET+4+0+4+5+in+Full+trust+on+shared+webhosting+IIS 8.0: ASP.NET 4.0+ (4.5) in Full trust on shared webhosting? <p>I'm not sure whether to post this question here or over there @asp.net. Nowadays more and more .NET website applications are unable to function in a (modified) medium trust .NET webhosting environment. Like some Umbraco extensions, Orchard CMS (since 1.6), other CMS-s, and so on.</p> <p>I read something about changes to Security and Code Access Security in 4.0&#43;:</p> <ul> <li><a href="http://msdn.microsoft.com/en-us/library/fkytk30f.aspx" title="Security in the .NET Framework" target="_blank">Security in the .NET Framework</a> </li><li><a href="http://msdn.microsoft.com/en-us/library/dd233103(v=vs.110).aspx" title="Security Changes in the .NET Framework" target="_blank">Security Changes in the .NET Framework</a> </li><li><a href="http://msdn.microsoft.com/en-us/library/ff527276(v=vs.110).aspx" title="Summary of Changes in Code Access Security" target="_blank">Summary of Changes in Code Access Security</a> </li></ul> <p>does this mean we no longer have to set up a (modified) medium trust configuration file on .NET 4.0&#43; (4.5), on Windows Server 2012 / IIS 8.0? Eventhough I would prefer to do so...</p> 2013-04-25T13:44:05-04:002013-04-25T13:44:05.367-04:00urn:uuid:00000000-0000-0000-0000-000002049951http://forums.iis.net/p/1198057/2049951.aspx/1?SMTP+send+emails+problemSMTP - send emails problem <p>Hi all</p> <p>Not sure whether is right forum to ask....&nbsp;</p> <p>I am trying to resolve the problem with SMTP. When we're trying to send an email using our Web application it fails with error: &quot;The server response was: 5.7.1 Unable to relay for &lt;some email address&gt;&quot;. The application is installed on IIS7 of Windows Server 2008 R2, but SMTP is on the Windows Server 2003 and IIS6. I have already read through recommendations what to do with this error and did the following:</p> <p>1. SMTP Server does not have any restrictions - it is our testing SMTP. Relay option has the All computers allows and &quot;All except the list below&quot; option list is empty</p> <p>2. Windows Server 2008 internal firewall has the port 25 opened</p> <p>3. Application pool is running under domain user, which has Admin rights on both machines.&nbsp;</p> <p>4. I also wrote the Windows client application and run it from Web Server, where the Application sits. It has the same code and settings, but works ok and manages to send the email.&nbsp;</p> <p>It looks like the IIS7 or Web application has some restrictions or settings, which does not allow the emails to go out :( Do you have any idea, where I can have a look.</p> <p>Thanks in advance for your help</p> <p></p> 2013-05-14T01:18:57-04:002013-05-14T01:18:57.037-04:00urn:uuid:00000000-0000-0000-0000-000002051094http://forums.iis.net/p/1198898/2051094.aspx/1?Session+ExpiredSession Expired <p>Hello,</p> <p>&nbsp;</p> <p>I have a trick situation in one of my company's IIS. It expires the session really quickly and randonly when the Session State is set to In Process or State Server, but it works fine when it is set to SQL Server.</p> <p>Can anyone help me with that? It is a windows server 2008 R2 standard machine.</p> <p>TIA</p> <p>Marcos</p> 2013-05-20T20:37:52-04:002013-05-20T20:37:52.713-04:00