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

HTTP Error 404.0 - Not Found -IIS8

$
0
0

Hi,

Custom404 Redirecting is Successfully Redirecting in local system, But its not Working in Server(windows server 2012, IIS8),

Here is my code:

<customErrors mode="On" defaultRedirect="~/not-found"><error statusCode="404" redirect="~/custom404" /><error redirect="~/not-found" statusCode="403"/></customErrors>

Please help me how to Solve this,

Here I'm Attaching Error Screen Shot,

Thanks & Advance

Ajay

Custom404


IIS got Crashed in the Production server

$
0
0

Dear experts,

IIS got crashed in the production server twice. This is happening quite frequently once is a day and then got auto restarted. How i could solve this problem. please advise and share the troupleshooting tips/option/tools to find out the root cause to resolve this problem.

Thanks.

Getting 404 Error IIS 8

$
0
0

Hi,

Custom404 Redirecting is Successfully Redirecting in local system, But its not Working in Server(windows server 2012, IIS8),

Here is my code:

<customErrors mode="On" defaultRedirect="~/not-found"><error statusCode="404" redirect="~/custom404"/><error redirect="~/not-found" statusCode="403"/></customErrors>

Please help me how to Solve this,

Here I'm Attaching Error Screen Shot,

Thanks & Advance

Ajay

PHP memory_limit Setting

$
0
0

I used the Web Platform Installer to install PHP (and PHP Manager) on IIS 7.5 on Windows 2008 R2.  My system has 8GB ram.  I want to set the PHP memory_limit setting to 6G.  However, after doing that, PHP stops working.  If I try to view phpinfo() in PHP Manager, it fails.  In fact, if I set it to 4G or higher ti fails.  If I keep it under 4G its fine.   What is my max limit?  

Thanks

Rick

Webservice not accessible in IIS 7.5, on IIS8 Express it does

$
0
0

I am having problem accessing a webservice (asmx) from a phonegap application. It works fine when I run it via IIS Express and when deployed to Elastic Beanstalk EC2 server on Amazon Web Services. 

Today I wanted to use IIS 7.5 on Windows 7 in order to work with IIS instead of the Express version. I can access  the webservice in the browser when I write:

http://192.168.1.3/ImageWebService.asmx/PolicyGenerator?fileName=test.jpg

However, when I try to access it from the app on the phone it just goes to the error callback with "error" in the textStatus argument with not detailed information about the error in the errorThrown argument.

Again, when I run the same .NET application on IIS8 Express and access it from the phone on the network the webservie runs perfectly, it's only when I try to do it with IIS7.5 that I get this issue.

Update: In the IIS logs I can see that when I access the webservice directly from the browser it returns 200 OK and when I access it from the phone I get error 500. Here are the lines from the log

2014-03-09 13:02:45 192.168.1.3 GET /ImageWebService.asmx/PolicyGenerator - 80 - 192.168.1.3 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/34.0.1847.45+Safari/537.36 500 0 0 9493
2014-03-09 13:02:55 192.168.1.3 GET /ImageWebService.asmx/PolicyGenerator fileName=test.jpg 80 - 192.168.1.3 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/34.0.1847.45+Safari/537.36 200 0 0 211

The first is a POST request, whether the one that I put in the browser is GET request. The value to the webservices is passed ok and as I said it works on IIS Express withotu an issue, so this might be a problem with the IIS configuration I assume.

Help will be greatly appreciated. Thanks guys.

application pool and error message 503

$
0
0

Hi,

on my site there was an error message 503...

I checked the logs: There were 5 warnings and 1 error message.

When I restart the application pool of my website (was arrested)

Lorsque j'ai redémarrer application pool de mon site (qui était arrêté), My Web site works.

But I want to know why It was stopped and what I have to do so that it does recur

Thanks

Here is log :

1- ------------
<Provider Name="Microsoft-Windows-WAS"
<EventID Qualifiers="32768">5011</EventID>

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

2- ------------
<Provider Name="Microsoft-Windows-WAS"
<EventID Qualifiers="32768">5011</EventID>
A process serving application pool 'prionseneglise.www.ca' suffered a fatal communication error with the Windows Process Activation Service.
The process id was '3184'. The data field contains the error number.

3- ------------
<Provider Name="Microsoft-Windows-WAS"
<EventID Qualifiers="32768">5009</EventID>
A process serving application pool 'prionseneglise.www.ca' terminated unexpectedly. The process id was '4036'.
The process exit code was '0xc0000005'.

4- ------------
<Provider Name="Microsoft-Windows-WAS"
<EventID Qualifiers="32768">5009</EventID>
A process serving application pool 'prionseneglise.www.ca' terminated unexpectedly.
The process id was '916'. The process exit code was '0xc0000374'.

5- ------------
<Provider Name="Microsoft-Windows-WAS"
<EventID Qualifiers="32768">5009</EventID>
A process serving application pool 'prionseneglise.www.ca' terminated unexpectedly.
The process id was '3608'. The process exit code was '0xc0000374'.


and here is Error -------------------------
<Provider Name="Microsoft-Windows-WAS"
<EventID Qualifiers="49152">5002</EventID>
Application pool 'prionseneglise.www.ca' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

Edmastery Down

Error In IIS when ever i star My Website

$
0
0

Whenever i start my Website THe application pool Gets Stopped but when i change them to local Service in App poll they work .

I am getting Below error :

 System

  - Provider

   [ Name]  Microsoft-Windows-IIS-W3SVC-WP
   [ Guid]  {670080D9-742A-4187-8D16-41143D1290BD}
   [ EventSourceName]  W3SVC-WP
 
  - EventID 2276

   [ Qualifiers]  49152
 
   Version 0
 
   Level 2
 
   Task 0
 
   Opcode 0
 
   Keywords 0x80000000000000
 
  - TimeCreated

   [ SystemTime]  2014-02-26T18 
   EventRecordID 11912
 
   Correlation
 
  - Execution

   [ ProcessID]  0
   [ ThreadID]  0
 
   Channel Application
 
   Computer Mycomputer.com 
   Security
 

- EventData

   05000780


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

Binary data:


In Words

0000: 80070005   


In Bytes

0000: 05 00 07 80 


IIS Admin service not starting

$
0
0

IIS Version: IIS 7

OS - SBS 2008

We are unable to start IIS Admin services and getting following errors.

 We tried starting IIS Admin service but got following error.

 Windows could not start the IIS Admin Service on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code -2146893818.
 
 Also, getting error 7024 - The IIS Admin Service service terminated with service-specific error 2148073478 (0x80090006).

We restored metabase backup, checked C23 machine key and its permission. We used process monitor, rebooted the server but no luck.

Please help.......

IIS7 site from NAS Fileserver (linux)

$
0
0

Simple question (?) really, can you use IIS7 to host a website running from a share on your NAS fileserver? (linux based)
I've goolged around and found many people asking the same quesiton but no actual solid answers.

It seems no website works without the site folder having the "IIS_IUSRS" read permission to it, but since my fileserver is based on linux I cannot add this local user account from my IIS7 server permission to this share, so is there a work around to this problem?

Although it's technically possible to configure on my NAS to authenticate shares access via an AD service, the whole point of having a NAS is for an uninterrupted seperately operating file server, not needing to rely on a windows server to be operational 24/7... if I need to setup an AD server just to get IIS7 working with NAS (linux) then I might as well just use windows fileserver instead, but this is far more costly to set up.  (and my NAS is already configured for ZFS, so the transition would be painfully slow having to create a new raid5 volume with new disks, copying over TB's of data etc...)

Surely there is a simple solution to this seemingly simple question? :)

Website only visible internally, set with external ip

$
0
0
we have just changed the dns for our domain:

www.nootie.co.uk

within iis we have configured the bindings and the permissions and internally we can see the website.

However if we view the website on an external internet connection the sit times out and it cant make a connection.

pinging and trace routes all seems to be working fine but the website wont load, just times out.

for some more information please see : http://www.dnsstuff.com/tools#dnsReport|type=domain&&value=nootie.co.uk

Win2k8R2/IIS http file download 3 times slower than ftp file download

$
0
0

We have a Windows 2008 R2 server running in a VM.  When downloading a large zip file from the server via HTTP it takes 3 times longer than downloading the same file via FTP.

What could cause HTTP to be so much slower and what can be adjusted to make it faster?

How to increase the running time of a process at the server

$
0
0

Hi, I want to make a report web service.   The report is created by Latex, a usefull document complier, which is installed on the server, and all the works need running at the server, not the client. The following is the function to creat a new process at server to load the compiler in the webpage(C#): 

public void ReportCompiler()
{
   Process process = new Process();
   ProcessStartInfo pStartInfo = new ProcessStartInfo();
   pStartInfo.FileName = @"D:\Program Files\MikTex 2.9\miktex\bin\x64\xelatex.exe";//the directory of xelatex.exe at server
   pStartInfo.Arguments = "--interaction=errorstopmode --sysctex=-1 " + mapDirctory + @"\reportfolder\report\tex";
   pStartInfo.WorkingDirctory = mapDirectory + "\\reportfolder";//directory at server
   pStartInfo.UseShellExecute = false;
   pStartInfo.CreateNoWindow = true;
   process.StartInfo = pStartInfo;
   process.Start();
   process.WaitForExit();
   process.Close()
}

All the works do well in the debug mode, but it some times fails after being published on the website. If the compilling time is short, for example, in a minute or so, it does well. However, if the compilling time is long, which means the report may be a little large,  the process will be killed by the server, and the work fails.  It seems that the server limits the running time of the process.

Then, how can I increase the permitted time of the process at the server? 

    

IIS 7 .ASPX script Error, Works with Domain Admin and Server local Admin

$
0
0

Hello Forums,

I am looking for any assistance with a head scratching issue.

A third party company has a Webserver / Java embeded App reached by a launching a TS App then choosing the embeded Java App.

It connects to an Onbase server and runs the IIS website / login verification/ etc and presents the embedded java App.

1 - It will work from any Domain Admin account

2 - It will work from a local Administrator account on the TS server that is not part of the domain

3 - It will not work for a domain user even if the domain user is part of a group given local administrator access on the TS Server

It most likely is something in AD Security or IIS security that needs to be assigned for the execution

The IIS appears to allow for any authenticated user for security on the web site config

The error I get is:

Object expected

Code: 0

URL: http://bconbase01/PentaWorkbenchProd/rdPage.aspx?pentaConn=PentWorkbenchProd&SecureKey=xxxxxxxxxx&rdMobile=False&allowPentaNav=True

We have only done testing with AD permissions for the last couple of weeks trying to fix this.  We have matched IE security settings with the default Domain Admins and a Domain Test user.  These errors still exist.

Is there some default IIS AD settings or IIS settings that maybe the programmer is not accounting for as they do not work with Terminal Server Applications.  This environment has been in place for 4 years.  They just added the IIS 7 Web and Java workbench application.

Servers 2008 R2 IIS 7

TS Server 2008 R2

Any assistance would be most helpful and I would be most appreciative.  Thank You !

Nothing is sent when sending data from windows mobile 6.1 to IIS 7.5 using client PC

$
0
0

Hi;

I am using tipically what is explained in this link as my main target is to "Upload files from windows mobile 6.1 to a server using iis7.5 using client computer" but nothing is sent to the server.

http://msdn.microsoft.com/en-us/library/aa446517.aspx

1)I removed WebDev from the "Turn features on or off" in windows 7 as some articles mentioned on the web

2)I unchecked "envoke handler only ..." in StaticFile in Handling Mapping module in iis 7.5

The result is "Upload Successfully" but nothing is changed in the server side

The question is how to upload text file for example from windows mobile 6.1 to IIS 7.5 successfully and the file is really uploaded?

Please I need an urgent help

BR;


Web deployment task failed. Max number of connections

$
0
0

On a new Windows 2012 Server installation we have got the following error when users did Web Publish from Visual Studio 2012:

Web deployment task failed. (The maximum number of connections for this site has been exceeded.Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEEDED_MAX_SITE_CONNECTIONS.) 

It occurred when a number of Web deployments had been done. IIS restart did not remove the error. Restart of server did remove the error for some time before it occurred again.

The reference to the Learn More link does not list this error.

Any suggestions?

Thanks.

 

Network Service Identity Issue

$
0
0

We have an ASP.NET site on a network load balancer. The site is on a Windows 2008R2 server and IIS 7.5. It is set-up with an application pool same name on both nodes and network service identity set. Windows authentication is enabled and I have moved up NTLM above negotiate. The weird thing is the site works on one of the nodes i.e.:http://web0102dev.corp.xx.com/icc and from the balancer url:http://web01dev.corp.xx.com/icc but it does not work from web0101dev url:http://web0101dev.corp.xx.com/icc

I checked the IIS settings on both nodes and everything looks exactly the same but when launching from web0101dev it does not seem to be able to authenticate the user from active directory. The error I get is that I am not authenticated from the application. I checked with Fiddler to see what the detailed error message is and this is what it displays:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><title>401 - Unauthorized: Access is denied due to invalid credentials.</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>401 - Unauthorized: Access is denied due to invalid credentials.</h2><h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3></fieldset></div></div></body></html>

The interesting thing is if you browse to the url from the web0101dev server, there is no issue! It will go to the home page with no errors.

Any ideas?

Anonimus authentication in iis 8.5

$
0
0

could you please explain me, how to organize the anonimus authentication in iis 8.5. when i chose Authentication Type - anonimus (only anonimus,other types is swetched off) , it doesn't works and every time asks my users creds.... 

html link to file download gives error 502

$
0
0

I'm just trying to link to a file for users to download. simple strait forward link.

http://www.somedomain.com/file.exe

I'm useing IIS 7 on windows 2008 web server.

IIS just sits there and after some time 3 or 4 maybe 5 minutes it returnes this

502 - Web server received an invalid response while acting as a gateway or proxy server.

Any help would be great.

Thanks in advance.

WinHTTP Web Proxy Auto-Discovery Service service logs 7449 entries in IIS Logs every 1 hour 7 minutes

$
0
0

This is interesting (and annoying) issue, which has been going on for a few months with no understanding on why it is happening.

From my research, the IIS logs on Windows Server 2008 R2 which also hosts Exchange 2010 has grown to around 40MB each day, luckly there is ample space on the system drive to copy with this.

The WinHTTP Web Proxy Auto-Discovery Service service starts every 1 hour and 7 minutes.
3 seconds later after starting the following is recorded in IIS logs:

2014-03-03 08:21:39 ipaddress POST /Autodiscover/Autodiscover.xml - 443 - ipaddress - 401 0 0 0
2014-03-03 08:21:39 ipaddress POST /Autodiscover/Autodiscover.xml - 443 - ipaddress - 401 1 2148074254 0
2014-03-03 08:21:39 ipaddress POST /Autodiscover/Autodiscover.xml - 443 DOMAIN\SERVERNAME$ ipaddress - 200 0 0 31

[ ipaddress, is the local ip address of the server ]

Followed by the same three lines 2483 times in 2 minutes.

2014-03-03 08:21:41 ipaddress POST /EWS/Exchange.asmx - 443 - ipaddress Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.5472) 401 0 0 0

2014-03-03 08:21:41 ipaddress POST /EWS/Exchange.asmx - 443 - ipaddress Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.5472) 401 1 2148074254 0

2014-03-03 08:21:41 ipaddress POST /EWS/Exchange.asmx - 443 DOMAIN\SERVERNAME$ ipaddress Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.5472) 200 0 0 889

Why is the WinHTTP Web Proxy Auto-Discovery Service trying to hammer our Exchange Server every 1 hour 7 minutes.
We have no proxy server (see below) and our Exchange Server is 2010 SP3 with Update Rollup 2.

C:\>netsh winhttp show proxy

Current WinHTTP proxy settings:

    Direct access (no proxy server).

Any advice on stopping the WinHTTP Web Proxy increasing the IIS Logs would be appreciated.

Kind Regards

fossehs

Viewing all 1814 articles
Browse latest View live


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