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

Debug Diagnostics 1.2 does not work for IIS 7.5

$
0
0

Hi!

I'm trying to debug a nasty application pool crash. All I get is the following:

A process serving application pool 'PlutoAppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '2192'. The data field contains the error number.

Even if I have VS2012 attached and setup to break on any exception nothing happens except that VS2012 is shutdown brutally and immediately. So, I installed DebugDiag Tool 1.2 and configured a crash rule according to the instructions but when my application crashes no dumps are created. Rather annoying since this crash happens once every one or two days so it's a slow process to debug.

Any ideas?

 

/Måns


Event ID:1027(Time out expired) In IIS 7 due to which applications cannot be accessed. Can any one give a soln to this.

$
0
0

Hi,

I get the below error message:

Log Name: Application
Source: .NET Runtime
Date: 5/17/2013 3:33:22 AM
Event ID: 1027
Task Category: None
Level: Error
Keywords: Classic
User: N/A

pplication: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to stack overflow.

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1027</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-05-17T07:33:22.000Z" />
<EventRecordID>844618</EventRecordID>
<Channel>Application</Channel>

<Computer>xxx.com</Computer>
<Security />

</System>
<EventData>
<Data>Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to stack overflow.
</Data>
</EventData>
</Event>

 

Priority of IIS Managed Modules

$
0
0

Hi,

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++), but I cannot use this way (since I cannot install a native module on my IIS).

I don't have access to the list of all modules, so I cannot use the <modules> section of the web.config to re-order modules.

I'm looking for a way to set the module priority within the initialization section of the module itself.

Thanks in advance for any help

HTTP Service won't start because of digital signature

$
0
0

Hi everybody,

 

We have a Windows Server 2008 machine that it's HTTP service won't start (resulting thatw3svc won't start resulting that IIS won't start). We ran "net start http" and the following error message appears... "System error 577 has occurred. Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.".

This server has windows update up to date and its antivirus definitions are up to date. We ranWindows System File Checker (sfc /scannow) but didn’t found any problem with the OS system. We also restarted the server.

We haven't reinstall the Web Server (IIS) and/or Application Server roles in Server Manager because this machine has MOSS (Microsoft Office SharePoint Server 2007) and Microsoft CRM 4.0.

Any recommendation will be appreciated.

Jorge.

 

.NET 4.0 page refreshes when it should cause a postback when running through IIS 7.5

$
0
0

I have a website configured in IIS 7.5 for my .net 4.0 web app. Its app pool user is configured to use .net 4 and integrated managed pipeline mode. It is using windows authentication and all other authentication methods are disabled. I'm running windows 7 ultimate. All authentication modules are installed. I can browse to the site and it correctly authenticates me and displays the default.aspx page.

The problem is, when i do anything that causes a postback, it doesn't do a postback -- it just refreshes the page. For example, i have a drop down list that does an auto post back on selected index changed. when i select something in that DDL, it just refreshes the page. I can attach a debugger to the ie browser, and i hit the break point in the page load event. Page.IsPostback is false. If I run fiddler, i see the request results in a 200 and behaves as if i just refreshed the page.

However, if i launch the site through VS 2010 which bypasses IIS and uses the ASP.NET Development Server (url is http://localhost:3911/Default.aspx), everything works as expected. The web control actually posts back (page.ispostback is true when i'm debugging).

I've never seen anything like this.. anyone know what could cause this? I'm not sure what it is, but i get the sense that I have something misconfigured in IIS.

Here are some IIS logs. the first GET is a 401 which is the first request which would have tried anonymous credentials which are disabled.. the 2nd GET would have been when it sent windows auth credentials. The 304 is a css file - that's expected. then the next two POSTS are when i caused what should have been a post back. They resulted in the page just refreshing. Again, everything works as expected when running through visual studio.. This only happens through IIS.

2011-03-09 22:00:30 10.2.4.105 GET / - 80 - 10.2.4.105 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+Media+Center+PC+6.0;+InfoPath.3) 401 1 2148074254 2271
2011-03-09 22:00:38 10.2.4.105 GET / - 80 [MyDomain]\[MyUserName] 10.2.4.105 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+Media+Center+PC+6.0;+InfoPath.3) 200 0 0 124
2011-03-09 22:00:38 10.2.4.105 GET /css/main.css - 80 [MyDomain]\[MyUserName] 10.2.4.105 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+Media+Center+PC+6.0;+InfoPath.3) 304 0 0 15
2011-03-09 22:00:54 10.2.4.105 POST / - 80 [MyDomain]\[MyUserName] 10.2.4.105 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+Media+Center+PC+6.0;+InfoPath.3) 200 0 0 15
2011-03-09 22:00:58 10.2.4.105 POST / - 80 [MyDomain]\[MyUserName] 10.2.4.105 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+Media+Center+PC+6.0;+InfoPath.3) 200 0 0 0

Session Expired

$
0
0

Hello,

 

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.

Can anyone help me with that? It is a windows server 2008 R2 standard machine.

TIA

Marcos

View Log Files

$
0
0

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 %SystemDrive%\inetpub\logs\LogFiles considering the number of sites we have. Or is there any easier way to navigate to the log folder?

The "there was an error while performing this operation" message

$
0
0

Hi - 

Still trying to come up to speed with IIS, and have managed to deploy 3 different web apps on our server:  One .NET 2.0, two different .NET 4.0. 

The server runs Windows Server 2008 R2, Service Pack 1.

The apps were built in VS 2012 and deployed via "Web Deploy Package".  These run as expected.   

Now, the app that runs on .NET 2.0 was originally written in VB back in the day.  We want to update it, so have ported all of the code to C# and built it on .NET 4.0.  We created a Web Deploy Package and deployed.  No problems there.

But for this app, when you click ANY of the configuration icons under either ASP.NET, IIS, or Management (ie., "Authentication"), a dialog pops up with this message:

There was an error while performing this operation.
Details:

Filename: \\?\C:\inetpub\wwwroot\AsicOP/WO1.3\web.config
Error: Cannot read configuration file

Did a lot of searching and found a lot of references to permissions problems.  Unfortunately, this isn't the case with this guy - All our permissions seem to be working fine.  

Also - If we build the new app to target .NET 2.0 and deploy it, it works fine - We don't get the "there was an error..." dialog.  

We could just stick with 2.0, but think it'd be better if we could move forward.

Suggestions?

In advance, thanks!

Scott Osborn


cache-control IIS8 always set to private

$
0
0

I tried changing the common headers to Expire webcontent immediately. Cache-control still shows up as a private in fiddler.

I tried setting a custom header of name:Cache-Control and value: no-cache at which point fiddler shows Cache-Control:private,no-cache

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

Any suggestions?

Web app logs me in as anonymous?

$
0
0

Hi guys, I have an intranet site that automatically detects who logs in... however, I have ASP.NET impersonation on (set to authenticated user) as well as Windows authentication turned on. I have anonymous authentication disabled. Yet when I still access the page it says login failed for user NT AUTHORITY/ANONYMOUS LOGON.

I just don't get why it sees me as anonymous? Obviously the site works if it can tell who is logged in. Do you guys know where I should start looking? Thank you.

A process serving application pool '' suffered a fatal communication error with the Windows Process Activation Service

$
0
0

Hello Team,

I have a Windows Server 2008 Enterprise edition 32 bit with IIS7.Where I have configured a website which was working fine but from last month in Event Viewer System tab showing warning

"A process serving application pool 'news' suffered a fatal communication error with the Windows Process Activation Service. The process id was '13120'. The data field contains the error number."

Source:WAS

Event ID:5011

Kindly help me regarding to resolve the issue.

Thanks

Troubleshooting 500 Error

$
0
0

I'm having major problems uploading files and I don't understand the logged error from a 500 Internal Server Error.

This is the error logged in W3SVC12:

2013-05-23 12:45:46 W3SVC12 DSVR017177 213.171.205.235 POST /account/test/server/php/ - 80 - 88.202.236.161 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.31+(KHTML,+like+Gecko)+Chrome/26.0.1410.64+Safari/537.31 PHPSESSID=d828b568c8c122e45b4b376ff1287a74;+__atuvc=0%7C13%2C0%7C14%2C0%7C15%2C0%7C16%2C18%7C17;+__utma=11234787.1386610922.1366208206.1369298491.1369306266.65;+__utmc=11234787;+__utmz=11234787.1366208206.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) http://www.free2read.co.uk/account/test/ www.free2read.co.uk 500 0 2147500037 1572 7786458 105114


2013-05-23 12:46:03 W3SVC12 DSVR017177 213.171.205.235 POST /account/test/server/php/ - 80 - 88.202.236.161 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.31+(KHTML,+like+Gecko)+Chrome/26.0.1410.64+Safari/537.31 PHPSESSID=d828b568c8c122e45b4b376ff1287a74;+__atuvc=0%7C13%2C0%7C14%2C0%7C15%2C0%7C16%2C18%7C17;+__utma=11234787.1386610922.1366208206.1369298491.1369306266.65;+__utmc=11234787;+__utmz=11234787.1366208206.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) http://www.free2read.co.uk/account/test/ www.free2read.co.uk 500 0 2147500037 1572 8804902 123031

If somebody could help me understand what this means, that would be great. I've been trying to resolve this issue since last Friday.

A little background on the issue:

I'm writing a file upload script, and this error occurs on 10MB+ files most of the time. Occasionally the file gets through but mostly I receive the 500 error. The PHPINI file has the following attributes set:

max_execution_time 300
max_file_uploads 20
max_input_time 600
memory_limit 128M
post_max_size 70M
upload_max_filesize 50M
upload_tmp_dir C:\Windows\Temp\

The file uploads to the Temp directory but crashes out 500 before moving the file to the correct directory. I've tried various different scripts, domains, client machines and it always crashes out. If I upload it from remote connection to the server it uploads fine.


Please help!


Thanks.

Shared IIS configuration - domail account

$
0
0

Hi,

I am (almost) new into IIS and web and I found a problem I am unable to solve on my own.

I have build a web farm (building the second right now), and I found an error with shared IIS configuration. We have 2 IIS servers with shared IIs configuration on the third, SQL server, permissions are correct because if I want to change the configuration there is no problem from one server (primary). Once I will try to do the very same thing from the second server, it writes that I have no permission to do that. Considering that this is domain account what access the shared configuration, its very strange.

I am running: IIS 7.0 on NLB cluster (2 IIS, 1 SQL), all in our company domain, 1 application under DefaultAppPool with NetworkService priviledge (default?). Our web is running under domain account which has extra access to our website folder and sharedIIS folder. 

Can someone help me and tell me what I am doing wrong?

Thank You,

Mira.

Problem faced after installing SSL certificate.

$
0
0

Hi, I faced issue after installing SSL certificate.

Our SSL certificate was expired May 22, 2013 & I install renewed SSL certificate May 20, 2013 (LB & all webservers) & binding also on that day. I faced problem May 22, 2013.

Before sites works with url  https://weburl/sitename but now this URL could not work it gave error Unable to connect/Internet Explorer cannot display the webpage. I triedhttps://weburl/sitename/ it works without “/“ not work.  I check one by one all applications URL and found only redirect URL have issue. If application on Webserver 1 & webserver 2 work without “/ “  but redirect URL need“/”.

Our Applications work:

  1. We have two version of Application some Application running on Two webservers connected with LB and some on 3rd Webserver (Windows 2008 R2) we redirect that URLs from Webserver 1 & webserver 2 to Webserver 3.
  2. Load balancer (Linux) with two web servers (Windows 2008 R2)

I could not found issue. Please help me how I fix this issue.

Is this issue in LB or Webserver?

Authentication error in IIS7

$
0
0

Hello, newbie to IIS and web development so I apoligize in advance if my terminology is off a bit.

I am experiencing some issues migrating some applications/sites from a Windows 2000 server/IIS5 to a Windows 2008 server/running IIS7.

 Currently there are only two applications I am trying to migrate, so far I have successfully migrated one and it is running perfectly but the other app is giving me a headache.

Specs:

XML application, ASP.NET v4.0/ASP.NET v4.0 Classic application pool, Windows Authentication/Basic Authentication.

Errors:

Depending on the application pool that i'm using i get two different errors (sort of). If I run the application with v4.0 I simply get a 401: Unauthorized Server error in "/Application" Application.

When using the v4.0 classic I recieve the same 401 Error the first time I run it but every attempt following the initial run I get a

Object reference not set to an instance of an object.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

I'm thinking it has something to do with my access, but I have full permissions to all the files needed to run the app?

Any ideas?


IIS 7.5 HTTP Dynamic Compression file size

$
0
0

After installing modules and configuring all stuff for dynamic compression I've got some problems with compressing dynamically generated by Classic ASP responses:

  1. minFileSizeForComp do absolutely nothing. In IIS said it is in bytes, in MSDN it is in KiB, but 500 bytes is still less than 2700 bytes or KiB and should not be compressed, but it was.

  2. IIS don't use compression to big files. Upper limit is 4,0 MiB - 6 bytes = 4194298 bytes (established empirically). One byte more and compression does not work. Failed Request Tracing contains DYNAMIC_COMPRESSION_DO (and other stuff) for 4194298 bytes response and do not for 4194298 + 1 bytes response.

Here's some of my settings:

system.webServer/httpCompression/dynamicCompressionBufferLimit = 65536

system.webServer/httpCompression/minFileSizeForComp = 2700 (bytes or KiB, I think first)

system.webServer/asp/limits/bufferingLimit = 16777216 (16 MiB)

www.example.com/exchange

$
0
0

Hi Folks,

There has been a setting change which has changed the behavior of "http://www.example.com/exchange" and now I get an error:

Directory Listing Denied

This Virtual Directory does not allow contents to be listed.

I don't know what setting changed for IIS to cause this.

Thanks for the help,

Chris.

IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

$
0
0

This is IIS 7 in Windows Vista Ultimate. The web site is stopped and when I try to start it the error message (in subject) appears.

In EventLog(System) I get the following following errors:

Source: HttpEvent

Msg: Unable to bind to the underlying transport for [::]:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.

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

 Source: IIS-W3SVC

Msg: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/ for site 1. The site has been disabled. The data field contains the error number.

I'm at a loss. I have no clue as to what is wrong. Any help would be greatly appreciated.

Error 500.19 Error Code: 0x8007000d Config source -1: 0:

$
0
0

 I am having problems installing Drupal 7.0. However I think it is an IIS problem.

When I execute the install program: http:\\myweb\Drupal-7.0\install.php I get an error 500.19 Internal Server error.

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

The detail of the error are:

Detailed Error information:
Module: IIS Web Core
Notification: Begin Request
Handler: Not yet determined
Error Code: 0x8007000d
Requested URL: http://localhost/myweb/drupal-7.0/install.php
Physical path: c:\inetpub\wwwroot\myweb\drupal-7.0\install.php
Login Method: Not yet determined
Login User: Not yet determined
Config Error
Config File: \\?
\C:\inetpub\wwwroot\myweb\drupal-7.0\web.config

Config Source:
-1:
0:

Drupal has its own web.config file (listed below). If I edit it to introduce a deliberate error (mis-matching tags)   the two lines in error and an explanation of the error is shown under the 'Config source' heading.

If I comment out everything except the configuration and system.webserver tags I get the same error (Config source -1: 0:).

Editing out more, or deleting this web.config file I get the error 404 Not found.

I am running IIs7 on Windows 7 Ultimate and granted full permission to the inetpub folder according to the post by Thomad on http://forums.iis.net/t/1147354.aspx.

The error message suggests that the error is on lines -1 and 0. I have run the drupal web.config file through an XML verifier/syntax checker and it checks out ok. There is nothing before the <?xml tag, and nothing after the last closing tag.

Can you help please!

Web.config: (in the c:\inetpub\wwwroot\myweb\Drupal-7.0\ folder)

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <!-- Don't show directory listings for URLs which map to a directory. -->
    <directoryBrowse enabled="false" />
    <rewrite>
      <rules>
        <rule name="Protect files and directories from prying eyes" stopProcessing="true">
          <match url="\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$" />
          <action type="CustomResponse" statusCode="403" subStatusCode="0" statusReason="Forbidden" statusDescription="Access is forbidden." />
        </rule>
        <rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">
          <match url="favicon\.ico" />
          <action type="CustomResponse" statusCode="404" subStatusCode="1" statusReason="File Not Found" statusDescription="The requested file favicon.ico was not found" />
        </rule>
        <!-- Rewrite URLs of the form 'x' to the form 'index.php?q=x'. -->
        <rule name="Short URLs" stopProcessing="true">
          <match url="^(.*)$" ignoreCase="false" />
          <conditions>
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
            <add input="{URL}" pattern="^/favicon.ico$" ignoreCase="false" negate="true" />
          </conditions>
          <action type="Rewrite" url="index.php?q={R:1}" appendQueryString="true" />
        </rule>
      </rules>
    </rewrite>

    <httpErrors>
      <remove statusCode="404" subStatusCode="-1" />
      <error statusCode="404" prefixLanguageFilePath="" path="/index.php" responseMode="ExecuteURL" />
    </httpErrors>

    <defaultDocument>
      <!-- Set the default document -->
      <files>
        <remove value="index.php" />
        <add value="index.php" />
      </files>
    </defaultDocument>
  </system.webServer>
</configuration>
 

 

IIS not picking up the changes in first deployment

$
0
0

I am facing very strange issue. I have googled a lot but nothing is related to my issue.

Whenever I deploy new version in IIS it is not picking the latest changes no mater what I do. Recycle the pool , reset the website .

IIS only picks changes if I deploy again with some changes.

for example: deployment A contains this:

printf("abc");

It will not reflect in IIS.

now when I will deploy deployment B with following changes:

printf("abc"); printf("xyz");

It will pick the deployment A . deployment B will be still unpicked by the IIS. as soon as I deploy deployment C , deployment B will be picked.

Hence , every time in order to reflect changes in IIS , I need to deploy two time. one with real changes and the next with dummy change.

I discussed this with my Server department but they are totally blank about it. Google is not helpful too. finally I am here. help will be highly appreciated.

Viewing all 1814 articles
Browse latest View live


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