Quantcast
Channel: Troubleshooting
Viewing all 1814 articles
Browse latest View live

UrlScan & IIS Configurations and Settings

$
0
0

Hi,

Pardon me if I am posting to the wrong section of the forum, but I am facing an issue with getting UrlScan and IIS settings to work properly. 

I have configured UrlScan to "UseAllowVerbs=1" and the verbs that are allowed is as followed:

  • Get
  • Head
  • Post
  • Put
  • Options

Then whenever I setup RequestFiltering in IIS, the website fails to load. 

  1. Does UrlScan takes precedent in this case or?
  2. Is configuration done on the UrlScan adequate and will pass the penetration test even though configuring of the Verbs on IIS is avoided?

Cheers.


What's the meaning of "Cannot Read/Write protected memory"?

$
0
0

Hello all:

I tried the codes below in my cmd:

msdeploy -verb:sync -source:package="C:\Users\ARAXI\Desktop\Backup_20141208053157\IIS\IIS.zip",encryptPassword=a5ha5vf4.0wx -dest:webserver,computername=IPPSAT1RED2K8 -disableRule:IISConfigFrom64To32

And it gave me this:

An error occured when the request was processed on the remote server, Attempted the read or write protected memory, this is often indication that other memory is corrupt.

So what's wrong with my arguments?


Again I found an interesting thing——If I commented the below things out, it can work successfully:

1) <section name="httpErrors" allowDefinition="Everywhere" overrideModeDefault="Allow" allowLocation="true" type="" MSDeploy.MSDeployKeyAttributeName="name" />

2) all of the section under 1), the sample is:
<section name="system.webServer/httpErrors" overrideMode="Inherit" MSDeploy.MSDeployKeyAttributeName="name">
…………
</section>

Is that bug of msdeploy2 from http://forums.iis.net/t/1175950.aspx ?

So I DON'T want to do so, what I want is to keep all of these things and let msdeploy can automatically import things. So how?

Microsoft Internet Information Services 8.5

$
0
0

I get blank page when I browse published website

Does below logs enough shows to trouble sheet?

#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2014-12-08 22:23:42
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2014-12-08 22:23:42 10.15.18.146 GET /ACC - 80 - 10.15.18.146 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 301 0 0 1624
2014-12-08 22:23:42 10.15.18.146 GET /ACC/ - 80 - 10.15.18.146 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 200 0 0 15
2014-12-08 22:23:42 10.15.18.146 GET /favicon.ico - 80 - 10.15.18.146 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64;+Trident/7.0;+rv:11.0)+like+Gecko - 404 0 2 0
2014-12-08 22:24:17 10.15.18.146 GET /favicon.ico - 80 - 10.15.18.146 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64;+Trident/7.0;+rv:11.0)+like+Gecko - 404 0 2 0

application caching issue

$
0
0

Hi,

We have an .net application which has strange behaviour around caching. So I want to investigate caching for this application.

Within in IIS configuration, there is no caching rules for this site. Output caching feature is blank.

Can anybody please point me in correct direction where to start investigation?

Thanks

Manan

Viewstate verification failed. Reason: The viewstate supplied failed integrity check

$
0
0

We are on web farm, using Server 2012 R2 and .NET 4.5. Intermittently getting following error - (Specially in morning time)

Can anyone help me here? I go thru online blogs and they either talk about MAC view state (different error message), or generating a machine key online and used it in web.config... (but thats for 1.1... not sure it could fix 4.5 errors)

Event code: 4009
Event message: Viewstate verification failed. Reason: The viewstate supplied failed integrity check.
Event time: 11/21/2014 10:05:06 AM
Event time (UTC): 11/21/2014 4:05:06 PM
Event ID: a0f04f2667f441f88f099f5c9c2dbedb
Event sequence: 2027
Event occurrence: 1
Event detail code: 50203
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT/PT-1-130610419397184833
    Trust level: Full
    Application Virtual Path: /PT
    Application Path: C:\Web\
    Machine name: V7-WEB1
 
Process information:
    Process ID: 13164
    Process name: w3wp.exe
    Account name: IIS APPPOOL\ProductionAppPool5
 
Request information:
    Request URL: http://ss.mob.com/EK/Default.aspx?Action=Start
    Request path: /EK/Default.aspx
    User host address: 104.199.90.5
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: V7-WEB1\Administrator
 
ViewStateException information:
    Exception message: Invalid viewstate.
    Client IP: 104.199.90.5
    Port: 15059
    User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:33.0) Gecko/20100101 Firefox/33.0
    PersistedState: /wEPDwULLTE0Nzg3Mjc4MTEPFgIeE1ZhbGlkYXRlUmVxdWVzdE1vZGUCARYCAgEPFgIeDGF1dG9jb21wbGV0ZQUDb2ZmFhACAw8PFgIeBFRleHQFCVZlci4gOS4zMWRkAgkPDxYCHgtOYXZpZ2F0ZVVybAUeaHR0cDovL3d3dy5wdXRuYW1jb3VudHlyMS5uZXQvFgIeB29uQ2xpY2sFR0phdmFTY3JpcHQ6d2luZG93Lm9wZW4oJ2h0dHA6Ly93d3cucHV0bmFtY291bnR5cjEubmV0LycpOyByZXR1cm4gZmFsc2U7FgJmDw8WAh4ISW1hZ2VVcmwFC1BDaW5zaS5qcGVnZGQCCw8PFgIfAgURUHV0bmFtIENvdW50eSBSLUlkZAIPDxYCHgVzdHlsZQU5dGV4dC1hbGlnbjpjZW50ZXI7d2lkdGg6OThweDtiYWNrZ3JvdW5kLXJlcGVhdDpuby1yZXBlYXQ7FgICAQ8PZBYCHgdPbkNsaWNrBTBmbl9jaGFuZ2VCYWNrZ3JvdW5kKCdTdGFmZkxvZ2luJyk7IHJldHVybiBmYWxzZTtkAhEPFgIeB1Zpc2libGVoFgICAQ8PFgIfCGgWAh8HBTFmbl9jaGFuZ2VCYWNrZ3JvdW5kKCdQYXJlbnRMb2dpbicpOyByZXR1cm4gZmFsc2U7ZAITDxYCHwhoFgICAQ8PFgIfCGgWAh8HBTJmbl9jaGFuZ2VCYWNrZ3JvdW5kKCdTdHVkZW50TG9naW4nKTsgcmV0dXJuIGZhbHNlO2QCIw8PFgIfCGhkZAIlDxYCHwJlZGQZgIjMjt88BFNyiJnKmRNdyp9ZDEgrIKWK5xYSGMh0vQ==
    Referer: https://ss.mob.com/EK/Default.aspx?Action=Start
    Path: EK/Default.aspx
 
Custom event details:

IIS7 although installed but not showing in Windows Service Manager

$
0
0

This is real and I skimmed through all internet but looks like no one had ever faced this problem ..

IIS7 installed on Windows Server 2008 .. iisreset works fine.. portal coming up .. its just that IIS service is not visible in windows service manager.. UIPODetect.exe also there under C:\Windows\System32.\...

any idea gurus?

Regards

IIS MIME Types installed, but WMV uploads as application/octet-stream

$
0
0

Hello

When uploading movie files (WMV, MOV etc) via our classic ASP app using Persits ASP Upload, the content type is showing as application/octet-stream instead of video/x-ms-wmv.  Why?

All mime types are installed and present in IIS Manager at the server and site levels.

This functionality works as expected on Windows 2003.

Inetmgr window crashing when click on webserver name

$
0
0

Hi

My sites are not working on the webserver, so I tried to open the Inetmgr windows and click on Webserver name, the window closed. Not sure how to fix this

Can anyone help here

What I do is

Start-Run-type inetmgr.exe and the IIS manager window opened. When I move my selection to the webserver name from Start page, the window closed

No logs on eventvwr and no error

Need experts help here


Error 500.0 with code error 0x8007000d in IsapiFilterModule

$
0
0

I've publish a simple MVC 4.0 Application Web in a IIS 8.0 (Windows Server 2012). But when I try to browse it, I find an error 500.0.

This is the detailed description log from FailedReqLogFiles:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>

  <EventID>0</EventID>

  <Version>1</Version>

  <Level>3</Level>

  <Opcode>16</Opcode>

  <Keywords>0x100</Keywords>

  <TimeCreated SystemTime="2014-10-15T13:04:30.109Z"/>

  <Correlation ActivityID="{00000000-0000-0000-1400-0080000000EB}"/>

  <Execution ProcessID="180" ThreadID="3956"/>

  <Computer>VSVR2012EN</Computer>

</System>

<EventData>

  <Data Name="ContextId">{00000000-0000-0000-1400-0080000000EB}</Data>

  <Data Name="ModuleName">IsapiFilterModule</Data>

  <Data Name="Notification">536870912</Data>

  <Data Name="HttpStatus">500</Data>

  <Data Name="HttpReason">Internal Server Error</Data>

  <Data Name="HttpSubStatus">0</Data>

  <Data Name="ErrorCode">2147942413</Data>

  <Data Name="ConfigExceptionInfo"></Data>

</EventData>

<RenderingInfo Culture="fr-FR">

  <Opcode>MODULE_SET_RESPONSE_ERROR_STATUS</Opcode>

  <Keywords>

   <Keyword>RequestNotifications</Keyword>

  </Keywords>

  <freb:Description Data="Notification">SEND_RESPONSE</freb:Description>

  <freb:Description Data="ErrorCode">The data is invalid.

(0x8007000d)</freb:Description>

</RenderingInfo>

<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">

  <EventGuid>{002E91E3-E7AE-44AB-8E07-99230FFA6ADE}</EventGuid>

</ExtendedTracingInfo>

</Event>

The ApplicationPool used is a V4.0 Integrated with ApplicationPoolIdentity.

Any ideas? When I change the identity of the AppPool to administer account, I don't get the error... but I don't understand, why?

When IIS will refresh the cache on server side?

$
0
0

I got a problem with this, we develop a website with different appearance using different style sheet, but when i overwrite one style sheet to another of the same name, when i use chrome to GET the style (http:/localhost/template.css), but it's still the old one

Error when loading nopCommerce from IIS throught Visual Studio into the browser as a Web Site

$
0
0

Hi

I have downloaded nopCommerce and saved it under Visual Studio / project. I have opened it with the help of the meny "Open Web Site" into Visual Studio. This worked fine, no errors. When I used "F5" to build the application nopCommerce and present it as a Web Site into the browser, I got the following error in the browser: .

<div class="content-container">

HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

</div> <div class="content-container"><fieldset style="margin:0px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background:transparent;">

Most likely causes:

  • A default document is not configured for the requested URL, and directory browsing is not enabled on the server.

</fieldset></div> <div class="content-container"><fieldset style="margin:0px;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background:transparent;">

Things you can try:

  • If you do not want to enable directory browsing, ensure that a default document is configured and that the file exists.
  • Enable directory browsing.
    1. Go to the IIS Express install directory.
    2. Run appcmd set config /section:system.webServer/directoryBrowse /enabled:true to enable directory browsing at the server level.
    3. Run appcmd set config ["SITE_NAME"] /section:system.webServer/directoryBrowse /enabled:true to enable directory browsing at the site level.
  • Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is set to true in the site or application configuration file.

I have been in the IIS manager and enabled the "DirectoryBrowse" and I have put in different default documents, but still I do get the same error. . One problem is that I do not know what the requested URL (the default document) is in nopCommerce?

Do you know what I shall use as default document?

The last point above: Verify that the .................. Are you able to tell me where I do find that file and how to handle the file?

Other ideas to solve the problem?

Thanks for your help.

Regards

Egil Ryengen

IIS stops responding at random times

$
0
0

I have a new install of Windows Web Server 2008 R2 and IIS 7.5. Now. several times a day, IIS stops responding (can't open any web sites; timeout) and later on, it's up and running again. Interesting thing: when it's not responding, I can Remote Desktop to the server and once I do this, the IIS immediately goes back to normal behavior (start responding).

i cant change my permalink

$
0
0

hi i am a new in wordpress so didnt change my permalink because i dont know about seo now i want to change my permalink for seo but my website www.dumlr.com shows me 404 error so how to  solve this problem?  

i want to do my permalink as www.dumlr.com/ post name 

Page Not Found Error.

$
0
0

I've just set up a web site in IIS 8 on a Windows Server 2012 box.

I am able to hit the site when accessing it from another machine, however when I try to browse from IIS, 127.0.0.1 or localhost on the machine, I am getting a 404 page not found error.

Any idea of what to look for?

Thanks.

An error occurred while communicating with the remote host. The error code is 0x800704CD.

$
0
0

We have recently migrated our application server to "Windows 2008 R2". We started receiving the following event log. After analysing we found that the issue is occurring when we use "Response.Redirect". We never has this issue before. Any help would be greatly appreciated.

Error Message:An error occurred while communicating with the remote host. The error code is 0x800704CD.

StackTrace:   at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async)

   at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal)

   at System.Web.Hosting.ISAPIWorkerRequest.FlushResponse(Boolean finalFlush)

   at System.Web.HttpResponse.Flush(Boolean finalFlush)

   at System.Web.HttpResponse.Flush()

   at System.Web.HttpWriter.Write(String s)

   at System.Web.UI.HtmlTextWriter.Write(String s)

   at System.Web.UI.Page.RenderViewStateFields(HtmlTextWriter writer)

   at System.Web.UI.Page.BeginFormRender(HtmlTextWriter writer, String formUniqueID)

   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)

   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)

   at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)

   at System.Web.UI.Control.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)

   at System.Web.UI.Page.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Additional Info:Unhandled Exception


Migration from IIS 7 to IIS 8.5

$
0
0

Hi Team,

I am currently migrating application from IIS 7 to IIS 8.5 using Webdeploy 3.5. However, I am getting the below error message when importing the application on destination server. Details fof the servers below. Please help in fixing the below issue.

Source : Windows 2008 R2

Destination: Windows 2012 R2

I followed the belown thread but no luck.

http://www.iis.net/learn/publish/troubleshooting-web-deploy/web-deploy-error-codes

-----------------------------------------

Microsoft.Web.Deployment.DeploymentDetailedException: The versions of the .NET Framework Configuration Provider (machineConfig64) are different on the source (2.0) and destination (4.0).  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.

   at Microsoft.Web.Deployment.FrameworkMismatchRuleHandler.ThrowIfSourceAndDestVersionsDontMatch(DeploymentObject source, Version sourceVersion, Version destVersion)

   at Microsoft.Web.Deployment.FrameworkMismatchRuleHandler.ThrowIfSourceAndDestinationAttributeDontMatch(DeploymentObject source, DeploymentObject destination, String attributeName)

   at Microsoft.Web.Deployment.DeploymentSyncContext.HandleUpdate(DeploymentObject destObject, DeploymentObject sourceObject)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject)

   at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId, String syncSessionId)

   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)

   at Microsoft.Web.Deployment.UI.InstallProgressWizardPage.OnWorkerDoWork(Object sender, DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

-------------------------------------------------------------------------------------------------------

CSS broken until AppPool Recyle

$
0
0

Hello, wondering if any of you came across this issue and how you resolved it. Randomly the site becomes slow and loses the "css". The application looks funny and you cannot continue to use it. The way we solve it is by reseting the application pool.  This happens mostly during morning hours, it does not happen during peak usage hours.

Any ideas?

.net 3.5, Integrated (same issue in classic)

iis 8.5 (same issue in 7 and 7.5)

OS W2012 R2(same issue in W2008R2).

3rd party control: ComponentArts Web UI

Microsoft NLB (3 servers)

The memory and CPU does not vary during the issue

Any ideas would help

HttpStatus 500 ErrorCode 0xff

$
0
0

Hi all,

Recently I set up IIS on my Windows 8.1 machine; all was fine, I could view index.html just fine.

Today I installed PHP 5.6, but when I tried to view index.php, which contains:

<?php
    phpinfo();
?>

I get Http Error 500.0 - Internal Server Error

I have set up a tracing rule for this error, and here is what I get:

CGI Error

I have installed the latest C++ redistributes, runtime files, .net framework 4.5. 

Does anyone have any suggestions to help me fix this issue?

Server CPU usage 100% during machine performance test.

$
0
0

Server CPU usage 100% during machine performance test.

I had tested the server machine performance. cpu usage was high 100%.
I'm using database pool of 32~64 count
I can't understand that situation.

I called simple page below.

*. page description(Pseudocode)
======================================

Page_Load()
{  
  string strRet = Database Call Result
  Response.clear(); 
  Response.Write(strRet);
  Context.ApplicationInstance.CompleteRequest();
} 

======================================
*. Test Server specifications
======================================
CPU : INTEL Xeon CPU E5-2407 2.20GHz (4 process)
RAM : 4GB
OS : Windows Server 2008 R2 64bit
IIS : 7.5
Test Tool : MS Web Application Stress Tool
======================================

*. Test Result
======================================
Number of hits:               51140
Requests per Second:          2591.51
---------------------------------------

Socket Statistics
---------------------------------------
Socket Connects:              51202
Total Bytes Sent (in KB):     15750.62 Bytes
Sent Rate (in KB/s):    798.16
Total Bytes Recv (in KB):     11936.00
Bytes Recv Rate (in KB/s):    604.85
---------------------------------------

Socket Errors
---------------------------------------
Connect:                      0
Send:                         0
Recv:                         0
Timeouts:                     0
---------------------------------------

Script Settings
---------------------------------------
Number of threads:            1000
Test length:                  00:00:20
Warmup:                       00:00:00
Cooldown:                     00:00:00
Use Random Delay:             No
Follow Redirects:             No


---------------------------------------
Page Summary
---------------------------------------
Hits      TTFB Avg  TTLB Avg  Auth      Query    
=============================================
51140     356.96    356.96    No        Yes
======================================

The simple page was responded requests per second that about 2591.
just only one called response time is 0.00156s ~ 0.002s.

I added thread count of stress test tool.
but, I got the same result(requests per second)

I can't understand that result...
Why cpu usage 100%?
Why doesn't the throughput increase despite increase thread?
What is cause that bottleneck?

Thank you for reading.Smile

IIS only Working Locally except for default site

$
0
0

IIS is only Working Locally except for default site works by IP

IIS only Working Locally except for default site http://63.141.229.138/

well i setup @ 63.141.229.139 for my domain thisisknuckles.com  in dns zone file which is correct

the IP  63.141.229.139 is pingable but doesnt load my site... what could be wrong??? port 80 is open firewall is off and this server is in a datacenter.

Anyone who can figure this out will get free web hosting from me on my linux server.

Regards,

Homie

Viewing all 1814 articles
Browse latest View live


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