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

TrackIT Help Desk

$
0
0

Hello, when trying to use track it web, the IIS logs show this error message  "Application pool 'TrackItWeb' is being automatically disabled due to a series of failures in the process(es) serving that application "  Im not sure what the issue is.  Its helpdesk software


CMS Umbraco wiht IIS 8

$
0
0

Error CMS Umbraco when I run it in  the browser.

The route URL cannot start with a '/' or '~' character and it cannot contain a '?' character. Parameter name: routeUrl

Hi, I am having problems with the installation of Umbraco 6.0 in IIS8 on Windows Server 2012. Also, I proved Umbraco 4.1 with the same result "The route URL cannot start with a '/' or '~' character and it cannot contain a '?' character" Any idea? Is Umbraco compatible with IIS8?

 

 

IIS 7 Access and Asp error http 500

$
0
0

Hi,

I am getting error 500 when i try to connect with MS Access with asp 4.5 in windows 8. Simple asp is running successfully but while connection i am getting error. In Data Source i installed 32bit drivers. so its not appearing in admin tools. (using MS Access 2007)

Guide me to slove this error

IIS 7.5 - PHP-FCGI Question

$
0
0

HI, I'm running a Server 2008 R2, IIS 7.5, PHP 5.2.17-nts, Fast CGI, with one site using wordpress and I'm currently stress testing the site using WCAT 6.3

My spec INTEL XEON CPU E3-1220V2 @ 3.10 GHZ with 4GB of RAM, 256GB SSD

I've use Windows System Resource Manager to limit each php-cgi to use only 10% cpu, and set it as a managing policy and restarted the server.

If I set the virtual clients to 4,  the existing each of the php-cgi processes will consume 20-25% cpu, which cause 100% cpu utilization in the process explorer. 

If I set the virtual clients to 50, w3wp.exe will spawn more processes to cater for the connections, and each php-cgi process will consume around 5-10%, but will still cause 100% cpu utilization.

Is this how php-cgi should behave? always taking all remaining cpu to do their work?

And from the results above, does that mean my server is not powerful enough?

Either workspace is not initialized yet or it is closed

$
0
0

Hi,

I am getting error "Either workspace is not initialized yet or it is closed" on IIS server 7.5

I have just migerate MyWebBuild from one server to another.

Please resolve this error

Thanks

Blank page on Browse

$
0
0

Hi all,

I'm deeply confused and I was wondering if anyone could help. I've set up plenty of copies of IIS before and never had too much trouble, but now I'm totally stumped.

A client has provided us with a laptop on which we've set up our web app to run locally. The problem is, when browsing to it all that's returned is a blank page.

I thought it must be a problem with our application, but just to be sure, I tried to browse to iisstart.htm. Unfortunately, that was a blank page too. The documents do exist, I can open them by double clicking, and it appears as expected. So C:\inetpub\wwwroot\iisstart.htm opens fine in the browser, http://localhost/iisstart.htm does not.

I then thought it must be an issue with the permissions of the folder. As such I added Everyone with Full Control, just as a start point to see it working, before setting the real permissions. Nope. Still blank.

Next guess was to rerun aspnet_regiis. Still blank.

Did a system restore and reinstalled everything. Still blank.

I've checked the application logs and the IIS logs but there's nothing in there.

Custom errors are off, friendly http error messages are off.... But there's nothing there at all, just a blank white screen.

I have no idea how to proceed... Any suggestions?

Either way, thanks for reading my tale of woe!

Shared IIS - Pool Recycling causes Error 1325

$
0
0

Hi, as I solved one issue I am back with another piece.

I found that pool recycling causes Error Event ID 1309, with that text:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 31.5.2013 8:39:35
Event time (UTC): 31.5.2013 6:39:35
Event ID: 58b10f60943943feb895ff9643fd763a
Event sequence: 33642
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT-1-130144410084179546
    Trust level: Full
    Application Virtual Path: /
    Application Path: \\XXXXXX\XXX
    Machine name: XXXXXXX
 
Process information:
    Process ID: 13896
    Process name: w3wp.exe
    Account name: XXXXXX\XXXXXXX
 
Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
   at ASP.global_asax.Application_End(Object sender, EventArgs e)

 
 
Request information:
    Request URL:  
    Request path:  
    User host address:  
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: XXXXXXX
 
Thread information:
    Thread ID: 106
    Thread account name: XXXXXXX
    Is impersonating: False
    Stack trace:    at ASP.global_asax.Application_End(Object sender, EventArgs e)
 
 

Followed with this error:



An unhandled exception occurred and the process was terminated.

Application ID: DefaultDomain

Process ID: 13896

Exception: System.AppDomainUnloadedException

Message: Attempted to access an unloaded AppDomain.

StackTrace:

So I have created a minidump and found this:

ErrorIn w3wp__DefaultAppPool__PID__13044__Date__05_31_2013__Time_08_39_44AM__756__First chance exception 0XE0434352.dmp the assembly instruction atkernel32!RaiseException+39 in C:\Windows\System32\kernel32.dll fromMicrosoft Corporation has caused a CLR Exception on thread9 with the following error information:
Type:System.Globalization.CultureNotFoundException
Message:Culture is not supported.

This exception originated from mscorlib_ni+fbf3f8.
Review the faulting call stack for thread 9 to determine root cause for the exception.


Please follow up with vendor Microsoft Corporation for problem resolution concerning the following file:C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\4f52500ab48877b85e71430f4f46670f\mscorlib.ni.dll.

And thread 9 contains this:

Thread 9 - System ID 13108

Entry pointw3tp!THREAD_MANAGER::ThreadManagerThread
Create time5/31/2013 8:39:43 AM
Time spent in user mode0 Days 0:0:0.78
Time spent in kernel mode0 Days 0:0:0.187




.NET Call Stack

Function
System.Globalization.CultureInfo..ctor(System.String, Boolean)
System.Web.HttpServerUtility.CreateReadOnlyCultureInfo(System.String)
System.Web.UI.Util.IsCultureName(System.String)
System.Web.Compilation.StandardDiskBuildResultCache.FindSatelliteDirectories()
System.Web.Compilation.BuildManager.PrecompiledAppRuntimeModeInitialize()
System.Web.Compilation.BuildManager.Initialize()
System.Web.Compilation.BuildManager.InitializeBuildManager()
System.Web.HttpRuntime.HostingInit(System.Web.Hosting.HostingEnvironmentFlags, System.Security.Policy.PolicyLevel, System.Exception)
System.Web.Hosting.HostingEnvironment.Initialize(System.Web.Hosting.ApplicationManager, System.Web.Hosting.IApplicationHost, System.Web.Configuration.IConfigMapPathFactory, System.Web.Hosting.HostingEnvironmentParameters, System.Security.Policy.PolicyLevel, System.Exception)
System.Web.Hosting.HostingEnvironment.Initialize(System.Web.Hosting.ApplicationManager, System.Web.Hosting.IApplicationHost, System.Web.Configuration.IConfigMapPathFactory, System.Web.Hosting.HostingEnvironmentParameters, System.Security.Policy.PolicyLevel)
System.Web.Hosting.HostingEnvironment.Initialize(System.Web.Hosting.ApplicationManager, System.Web.Hosting.IApplicationHost, System.Web.Configuration.IConfigMapPathFactory, System.Web.Hosting.HostingEnvironmentParameters, System.Security.Policy.PolicyLevel)
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(System.String, System.Web.Hosting.IApplicationHost, System.Web.Hosting.HostingEnvironmentParameters)
System.Web.Hosting.ApplicationManager.CreateObjectInternal(System.String, System.Type, System.Web.Hosting.IApplicationHost, Boolean, System.Web.Hosting.HostingEnvironmentParameters)
System.Web.Hosting.ProcessHost.StartApplication(System.String, System.String, System.Object ByRef)
DomainNeutralILStubClass.IL_STUB_COMtoCLR(IntPtr, IntPtr, IntPtr ByRef)


Full Call Stack

FunctionArg 1Arg 2Arg 3Arg 4Source
kernel32!RaiseException+3900000000`023cc0d000000000`0000000100000000`ff32148000000000`ff322120
clr!RaiseTheExceptionInternalOnly+36300000000`ff32212000000001`9f41e168000007fe`f14c100000000000`ff322120
clr!IL_Throw+14600000000`ff321e3800000000`ff3216f800000000`ff31fdd800000000`ff3213f0
mscorlib_ni+fbf3f800000000`ff3216f800000000`ff32148000000000`7c74520100000000`00000000
System_Web_ni+8fe76e00000000`ff32148000000000`ff32148000000000`0000000000000000`00000000
System_Web_ni+8d64fa00000000`ff310d9000000000`ff2b000000000000`0000000000000000`023ceeb0
System_Web_ni+d3fc7800000000`ff30206000000000`0000000000000000`01e1b9e800000000`01e1ba70
System_Web_ni+8d99a700000001`7f3eebb800000000`0000000000000000`ff30124c00000001`9f2bfda4
System_Web_ni+d3f84000000001`7f3eebb800000000`0000006700000000`0000000000000000`00000000
System_Web_ni+24202b00000000`0000000600000000`0000000600000000`56e9ace000000000`00000000
System_Web_ni+20943600000001`9f47f03800000000`0000000000000000`0000000000000000`00000000
System_Web_ni+20738400000001`9f4747d000000001`9f478a0800000001`9f47a12000000001`9f47a158
System_Web_ni+206f3600000001`9f4747d000000001`9f478a0800000001`9f47a12000000001`9f47a158
clr!CallDescrWorker+84000007fe`f152f6d000000000`0000000f000007fe`f14c100000000000`00000000
clr!CallDescrWorkerWithHandler+a900000000`01e1c8c0000007fe`0000000600000000`0000000000000000`12121200
clr!DispatchCallDebuggerWrapper+74ffffffff`0000000000005fef`02b72542000007fe`f547e8b000000000`01e1c2d8
clr!DispatchCall+c500000000`01e1c80800000000`0000000500000000`0000000000000000`00000000
clr!CrossDomainChannel::MarshalAndCall_Wrapper+40200000000`0000000000000000`0237987000000000`1546498000000000`01e1e680
clr!MakeCallWithAppDomainTransition+b800000000`0000000200000000`0000000000000000`01e1c7d800000000`01e1e910
clr!CrossDomainChannel::MarshalAndCall+5b7000007fe`ec84b838000007fe`f4ed1bc800000000`0000000100000000`01e1e820
clr!CrossDomainChannel::ExecuteCrossDomainCall+5100000000`023bfbc000000000`0000000000000000`01e1eba000000000`00000001
clr!CrossDomainChannel::CheckCrossDomainCall+f500000000`01e1eae800000000`01e1eae000000000`15431f2800000000`023cc0d0
clr!CTPMethodTable::OnCall+c300000001`9f2ba44800000001`9f476e6800000000`01e1ec2000000001`9f2ba448
clr!TransparentProxyStub_CrossContext+6400000001`9f476e6800000001`9f2b997800000001`9f2ba44800000001`9f476ea0
System_Web_ni+205d6400000001`9f2b997800000001`9f2ba35000000001`9f2ba44800000000`00000000
System_Web_ni+204c2500000001`9f2b997800000001`9f2ba35000000001`9f2ba44800000000`00000000
System_Web_ni+204ba200000001`9f2b997800000001`9f2ba35000000001`9f2ba44800000000`00000000
System_Web_ni+204ab800000001`9f2b997800000001`9f2ba35000000001`9f2bdab000000001`9f2ba448
System_Web_ni+9d74ea00000001`9f2b6cf800000001`9f2ba35000000001`9f2ba39000000000`01e1ef78
System_Web_ni+9d490200000000`0221ffa000000000`022e709000000000`022e40f000000000`01e1f5d8
clr!COMToCLRDispatchHelper+4e00000000`023cc0d000000000`0000000100000000`01f41800000007fe`f4ee6f39
clr!COMToCLRWorkerBody+1ca00000000`00000000000007fe`ec9d3b9000000001`9f2b6cf800000000`01e1f520
clr!COMToCLRWorkerBody+d600000000`01e1f52000000000`01f4180000000000`0000000000000000`772b9915
clr!COMToCLRWorkerDebuggerWrapper+2200000000`0000000000000000`01f417b800000004`03c8000700000000`00000000
clr!COMToCLRWorker+5ba00000000`023cc0d000000000`01e1f52000000000`0000000000000000`00000000
clr!GenericComCallStub+5700000000`0221ffa000000000`022e709000000000`022e40f000000000`01e1f5d8
webengine4!W3_MGD_APP_CONTEXT::CreateAppDomain+8200000000`01ab17c000000000`0000000100000000`0000000000000000`00000000
webengine4!W3_MGD_APP_CONTEXT::OnApplicationStart+aa00000000`0000000000000000`0225e0d800000000`0000000000000000`022ef3d0
iiscore!memcmp+1f000000000`03300000000007fe`0000000200000000`0000014000000000`00000150
iiscore!memcmp+565100000000`0012eb0000000000`0000000000000000`0000000100000000`022ed408
iiscore!W3_APPLICATION::ResolveModules+2b00000000`00000000000007fe`fac41b1c00005fef`0a8d22b100000000`01e1f810
iiscore!memcmp+6a9b000007fe`fc0064f800000000`00000004000007fe`fbfd877c00000000`00000000
iiscore!W3_CONTEXT::SetupStateMachinePhase2+3b300000000`022ed40800000000`022ed40000000000`022ed498000007fe`fc0064f8
iiscore!W3_CONTEXT::SetupStateMachine+b4000000000`022ed40000000000`022ed40000000000`0000000000000000`00000001
iiscore!W3_MAIN_CONTEXT::OnNewRequest+1b400000000`000c25f000000000`0000000000000000`0000000100000000`002f2a28
w3dt!UL_NATIVE_REQUEST::DoWork+12600000000`000c25f000000000`0000000100000000`0000000100000000`0000051e
w3dt!OverlappedCompletionRoutine+1c00000000`000c25f000000000`0000000000000000`01911e00000007fe`fca00000
w3tp!THREAD_POOL_DATA::ThreadPoolThread+d000000000`0000000000000000`0000051e00000000`022ec7e8000007fe`fc0e1080
w3tp!THREAD_MANAGER::ThreadManagerThread+5d00000000`0000000000000000`0000000000000000`0000000000000000`00000000
kernel32!BaseThreadInitThunk+d00000000`0000000000000000`0000000000000000`0000000000000000`00000000
ntdll!RtlUserThreadStart+1d00000000`0000000000000000`0000000000000000`0000000000000000`00000000



Exception Information

In w3wp__DefaultAppPool__PID__13044__Date__05_31_2013__Time_08_39_44AM__756__First chance exception 0XE0434352.dmp the assembly instruction atkernel32!RaiseException+39 in C:\Windows\System32\kernel32.dll fromMicrosoft Corporation has caused a CLR Exception on thread9 with the following error information:

Type:System.Globalization.CultureNotFoundException
Message:Culture is not supported.


This exception originated from mscorlib_ni+fbf3f8.

Module Information

Image Name:C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\4f52500ab48877b85e71430f4f46670f\mscorlib.ni.dllSymbol Type:PDB
Base address:0x00000000`00005a4dTime Stamp:Thu Sep 06 07:52:34 2012
Checksum:0x00000000`00000000Comments:Flavor=Retail
COM DLL:FalseCompany Name:Microsoft Corporation
ISAPIExtension:FalseFile Description:Microsoft Common Language Runtime Class Library
ISAPIFilter:FalseFile Version:4.0.30319.296 (RTMGDR.030319-2900)
Managed DLL:FalseInternal Name:mscorlib.dll
VB DLL:FalseLegal Copyright:© Microsoft Corporation. All rights reserved.
Loaded Image Name:mscorlib.ni.dllLegal Trademarks:
Mapped Image Name:C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\4f52500ab48877b85e71430f4f46670f\mscorlib.ni.dllOriginal filename:mscorlib.dll
Module name:mscorlib_niPrivate Build:DDBLD538
Single Threaded:FalseProduct Name:Microsoft® .NET Framework
Module Size:18.47 MBytesProduct Version:4.0.30319.296
Symbol File Name:c:\symcache\mscorlib.pdb\421E599E4DFC495AB136388E11E01F001\mscorlib.pdbSpecial Build:&

Any help appretiated, thanks.

Mira

Script stops responding until mouse is moved..

$
0
0
I have a strange issue I've never run into before. I've got a windows 7 vps with iis7 and php installed. Also using sql server 2008. Most scripts seem to run fine, but I have one that sits on a text field and scans barcode after barcode. It may take 20 mins - 1 hour to finish a load, perhaps more. It will scan for a while, but it'll get to a point which seems to vary and stop responding partially. One time we got to 130 scans, one time 600 and various in between. It'll still scan and clear the text field like it's supposed to, but it won't increment the counter, and it won't update the SQL table. It will start responding again if the mouse is moved or clicked. This has been tested on thin clients which will be running the web app as well as a laptop using the same type of scanner. This happens on firefox and we haven't been able to reproduce it on IE yet so I wonder if it is connected. The thin clients run firefox 3.6.12 and the laptop has firefox 4.

IIS 7 packet analysis Ms Network Monitor

$
0
0

hi all,

i am try to troubleshoot the site on a IIS server, page running .net 4.5 and it communicate with an sql 2008 server,

during problematic moments i capture packets from iis server and db server for further analysis

the problem is that i get to many 404 and 500 during problematic moments

communications from sql to iis server and vice versa seems to be ok, no tcp retrasmitions etc

i have many tcp retrasmitions from iis to web clients, i saw the 404 and 500 errors on Network Monitor the same time, can i see somehow the substatus for this errors? etc 500.11 like? i think this will help me understad if the errors comes from a problem on the network or the application (net)? i am a sys admin so my programming skills are very limited...

general speaking, is there any case that network can cause these problems or when we get 400 and obove errors are strictly from the application ?

any tips for troubleshooting using Ms Network Monitor?

 

thank you all

Failed request tracing truncated buffer

$
0
0

Hi,

I am hunting some error on my websites, I decited to enabled Failed request tracing, everything works fine, but when I open the XML log file almost every GENERAL_RESPONSE_ENTITY_BUFFER ends with TRUNCATED... so the response is not complete in the log file, and I need to see the complete response.

I also tried to set maxLogFileSizeKb to 2048. But I got still TRUNCATED data in GENERAL_RESPONSE_ENTITY_BUFFER.

Does any one know, where is the problem ?

Thanks, with regards Pavel Tupec

HTTP-Error 502.2 - Bad Gateway

$
0
0

Hello everyone,

Let me start by saying I'm not very familiar with these kind of things.

But here is my problem, and I hope you can help me.

I'm trying to set up a forum for someone (SMF). He has a dedicated server where he wants the forum hosted. And I managed to come pretty far. basicly I'm done setting up IIS 7.5 and adding handlers for PHP etc.

But now when I run install.php (which will initiate the setup for the forum) I get the following error:

HTTP-Error 502.2 - Bad Gateway

Description: The specified CGI application did not return a complete set of HTTP headers.

(This could have something to do with PHP-CGI)

I know I'm not giving you loads of information, but that's because like I mentioned earlier. I'm not very good with all this :S.

If you need any more info. Feel free to ask. And if you could add how I obtain that info, that would be great.

Thank you in advance.

ApplicationPoolIdentity IIS 7.5 to SQL Server 2008 R2 not working.

$
0
0

I have a small ASP.NET test script that opens a connection to a SQL Server database on another machine in the domain. It isn't working in all cases. 

Setup:

IIS 7.5 under W2K8R2 trying to connect to a remote SQL Server 2008 R2 instance. All machines are in the same domain.

Using the ApplicationPoolIdentity for the web site it fails to connect to the SQL Server with  the following:

 Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

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.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

However if I switch the  Process Model Identity to NETWORK SERVICE or my domain account the database connection is successful.

I've granted the <domain>\<machinename>$ access in SQL Server. 

I am not doing any sort of authentication on the web site, it is just a simple script to open a connection to a database to make sure it works. 

 I have Anonymous Authentication enabled and set to use the Application pool identity.

 How do I make this work? Why is the ApplicationPoolIdentity trying to use ANONYMOUS LOGON? Better yet, how do I make it stop using Anonymous logon?

incorrect apppool selected

$
0
0

Hi All

Im in the process of repairing my server from a virus attack. One of the problems Im having is my exchange server.

When I run the exchange best practice analyser, I get A warning stating incorrect apppool selected, sbs web workplace apppool is selected for virtual directory on root"/LM/W3SVC/3/ROOT/OAB". it is recomended that you select application pool DefaultAppPool.

One of the reasons Im asking this is, my client computers under RWW can't send EMail, The mail that is sent goes directly into the draft folder and not to the outboox.

From what Im understanding is, how do you change an apppool from one apppool to another.

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.

Print ticket service failed to bind to printer Win 32 Error

$
0
0

Mike Feng over at the .Net libraries forum has asked me to repost my question on this forum, so here it is.......

I have fully functioning and stable XPS creation (.Net 4) and printing (.Net 4.5)  server side web services, however I do have one issue. I also have an admin web site (asp.net mvc 4 on IIS7.x) that iterates through my client's print servers, extracting the print queues and retrieving the print capabilities (queue.getprintcapabilitiesasxml) which are then deposited in an SQL database for print job use. This site is run when support adds or removes printers or changes printer drivers on print servers so that the tray namespaces and URIs are always correct for each printer.

The issue is this...When I run this admin code from VS2010 (.Net 4) on my desktop (win 7 x64)everything works correctly and I receive all the printer information I require, however when I deploy to IIS (7.5 2008 R2) and run the site, one print server (virtual 2008 R2) reports that "Print ticket service failed to bind to printer Win 32 Error: Unknown printer driver" for the printers I'm targeting (Sharp printers). As stated, this print server is virtual whereas the others are real and Sharp printers exist on the other print servers. I thought this might be a permissions issue so I tried running the site's app pool identity as my own domain account, which didn't work, so I tried impersonation and that didn't work. The virtual print server flat out refuses to pass info back to the IIS server but will happily pass it back to my desktop (all other things being equal). I'm at a bit of a loss on how to investigate this, so I'm asking for help here.

 UPDATE: The server in question is 32 bit 2003 virtual, however the printing web service that talks to it is .Net 4.5 anyCPU and is able to modify create job scoped, tray targeted user print tickets on that server using the namespace and URI data without issue.

 

It is only when queue.getprintcapabilitiesasxml on the admin service is called do I have issues, so it is kinda wierd that one service wont give the data but another service can use the data to manipulate tickets. Both services are on the same IIS server but under different host headers.

I still haven't tried Mike's response below as I'm not on site.

He's given me the response below, which I've yet to try, however if anyone can provide any extra info I'd appreciate it.....

I would like to suggest you to enable 32bit application on 64bit IIS: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/405f5bb5-87a3-43d2-8138-54b75db73aa1.mspx?mfr=true 

And for further more information, please try IIS forum: http://forums.iis.net/  Since this issue is more related to IIS setting.


Application pool on IIS7.0 stopped automatically.

$
0
0
Dear Experts, I am using Windows 2008 web edition server for our production environment. We are also using win 2003 server for production. I am facing issue in IIS7 on windows 2008 server of our websites. Application Pool stopped automatically. We are using DefaultApplicationPool for all 5 virtual directories. We have separated each module into virtual directory. Its working fine in 2003 server. It is ASP.Net 2.0 websites. I found error Connection_Abandoned_By_ReqQueue in Http Error log in system 32. I have restarted once again its working fine. But application pool stopped again. Can anyone help me regarding this. Regards, Prasath

Posting this for 5th time, why is there no Save button here. i keep losing my post

$
0
0

Posting this for 5th time, why is there no Save button here. i keep losing my post.

I have to be quick if you hit the wrong button, the page reloads to a 404 error and your long post is gone. how frustrating

anyway please help

APPlication Catalog website cannot connect to Applcation Server

Here are the logs.  This has been going on ever since the beginning when I installed COnfigMgr.  I posted over there but this seems to be an IIS specific issue, the only other option is a SQL Server issue.  So quickly, i will repost the logs and wait for response.  if you need more info i would be happy to give it to you I just dont want to have to post this all over again because the page reloads if I hit a hotkey by accident.

 

web.config:<?xml version="1.0" encoding="UTF-8"?> <configuration>  <configSections>   <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">   <section name="Microsoft.ConfigurationManager.SoftwareCatalog.Website.PortalClasses.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="true" />    <section name="Microsoft.ConfigurationManager.SoftwareCatalog.Website.WebControls.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="true" />   </sectionGroup>  </configSections>  <system.diagnostics>   <sources>    <source name="System.ServiceModel" switchValue="Warning" propagateActivity="true">     <listeners>      <add name="SmsXmlFileTrace" type="Microsoft.ConfigurationManagement.AdminConsole.SmsTraceListener.SmsXmlWriterTraceListener, AdminUI.SmsTraceListener" initializeData="ServicePortalWebSite.svclog" registryKeyName="SMS\PORTALWEB\Logging" />     </listeners>    </source>    <source name="ServiceCatalog" switchValue="Information">     <listeners>      <add name="SmsFileTrace" type="Microsoft.ConfigurationManagement.AdminConsole.SmsTraceListener.SmsTextWriterTraceListener, AdminUI.SmsTraceListener" initializeData="ServicePortalWebSite.log" registryKeyName="SMS\PORTALWEB\Logging" />      <add name="SmsEventTrace" type="Microsoft.ConfigurationManagement.AdminConsole.SmsTraceListener.SmsEventLogTraceListener, AdminUI.SmsTraceListener" initializeData="ServicePortalWebSite" eventTypeToLog="Critical" />     </listeners>    </source>   </sources>  </system.diagnostics>  <system.web>   <trust level="Full" legacyCasModel="false" />   <globalization uiCulture="auto" culture="auto" />   <identity impersonate="false" />   <!-- Ensure FIPS compliance-->   <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="HMACSHA256" />   <webServices>    <protocols>     <remove name="Documentation" />    </protocols>  </webServices>   <compilation debug="false">    <assemblies>     <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />    </assemblies>   </compilation>   <authentication mode="Windows">   </authentication>   <customErrors mode="RemoteOnly" defaultRedirect="default.aspx?Error=Error">   </customErrors>   <pages validateRequest="true">    <controls>     <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />     <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />    </controls>   </pages>   <!-- Set thresholds for view service requests.  -->   <httpRuntime executionTimeout="60" maxRequestLength="4096" />   <!-- We use session state in process with a timeout of 60 minutes -->   <sessionState mode="InProc" cookieless="UseCookies" cookieName="SCCM_SessionId" timeout="60" allowCustomSqlDatabase="false" regenerateExpiredSessionId="true">   <providers>     <clear />    </providers>   </sessionState>   <httpCookies httpOnlyCookies="true" />  </system.web>  <system.webServer>   <httpProtocol>    <customHeaders>     <add name="x-content-type-options" value="nosniff" />    </customHeaders>   </httpProtocol>  <validation validateIntegratedModeConfiguration="false" />   <security>    <requestFiltering>     <requestLimits maxAllowedContentLength="30000000" />     <hiddenSegments>      <add segment="logs" />     </hiddenSegments>    </requestFiltering>   </security>  <defaultDocument enabled="true">    <files>     <!-- Remove first in case the value is already defined in higher level  -->     <remove value="default.aspx" />     <add value="default.aspx" />    </files>   </defaultDocument>  </system.webServer>  <system.serviceModel>  <behaviors>    <endpointBehaviors>     <behavior name="endpointCredentialsBehavior">      <clientCredentials type="Microsoft.ConfigurationManager.SoftwareCatalog.Website.PortalClasses.Connection.SCCMClientCredentials, Microsoft.ConfigurationManager.SoftwareCatalog.Website.PortalClasses, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">       <serviceCertificate>        <authentication certificateValidationMode="PeerTrust" />       </serviceCertificate>      </clientCredentials>     </behavior>    </endpointBehaviors>   </behaviors>  <bindings>    <wsHttpBinding>     <binding name="SecureBinding_IApplicationOfferService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="5000000" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="false">      <readerQuotas maxDepth="32" maxStringContentLength="1048576" maxArrayLength="1048576" maxBytesPerRead="4096" maxNameTableCharCount="16384" />      <security mode="Message">       <message clientCredentialType="Certificate" />      </security>     </binding>    </wsHttpBinding>   </bindings>   <client>    <endpoint address="http://CryptoCenter1.GibbonsResearch.local:80/CMApplicationCatalogSvc/ApplicationOfferService.svc" behaviorConfiguration="endpointCredentialsBehavior" binding="wsHttpBinding" bindingConfiguration="SecureBinding_IApplicationOfferService" contract="IApplicationOfferService" name="SecureBinding_IApplicationOfferService" />    <endpoint address="http://CryptoCenter1.GibbonsResearch.local:80/CMApplicationCatalogSvc/DeviceManagementService.svc" behaviorConfiguration="endpointCredentialsBehavior" binding="wsHttpBinding" bindingConfiguration="SecureBinding_IApplicationOfferService" contract="Microsoft.ConfigurationManagement.DeviceManagementPortal.IDeviceManagementService" name="SecureBinding_IDeviceManagementService" />   </client>  </system.serviceModel>  <appSettings>   <add key="CertThumbprint" value="03 e2 56 99 bd 57 88 97 0f 9a 57 45 e9 fe bd d0 b7 43 0e 76" />   <add key="AllowSelfSignedCerts" value="true" />  </appSettings>  <applicationSettings>   <Microsoft.ConfigurationManager.SoftwareCatalog.Website.WebControls.Properties.Settings>   <setting name="BrandingString" serializeAs="String">     <value>JG Network Security</value>    </setting>    <setting name="ThemeHexValue" serializeAs="String">     <value>FF1BA1E2</value>    </setting>   </Microsoft.ConfigurationManager.SoftwareCatalog.Website.WebControls.Properties.Settings>  <Microsoft.ConfigurationManager.SoftwareCatalog.Website.PortalClasses.Properties.Settings>    <setting name="WriteableDirectory" serializeAs="String">     <value>~\Content\Images\AppIcons</value>    </setting>    <setting name="IconExpireDays" serializeAs="String">    <value>7</value>    </setting>    <setting name="MaxInitCache" serializeAs="String">     <value>20</value>    </setting>    <setting name="UseAppCache" serializeAs="String">     <value>False</value>    </setting>   </Microsoft.ConfigurationManager.SoftwareCatalog.Website.PortalClasses.Properties.Settings> </applicationSettings>     <connectionStrings>         <remove name="ConfigMgr Database Connection" />     </connectionStrings> </configuration>

 

next application catalog website log (only botton part) it is very long and repeats

Server stack trace:    at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)    at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)    at System.ServiceModel.Security.TlsnegoTokenProvider.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout)    at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

Exception rethrown at [0]:    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)    at System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)    at Microsoft.ConfigurationManager.SoftwareCatalog.Website.PortalClasses.Connection.DefaultApplicationOfferService.Open()    at Microsoft.ConfigurationManager.SoftwareCatalog.Website.Global.Application_Start(Object sender, EventArgs e)System.Net.WebException: The remote server returned an error: (500) Internal Server Error.    at System.Net.HttpWebRequest.GetResponse()    at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) [1, PID:13172][06/04/2013 01:41:03] :AppCacheableBase - configured writable app directory set to: C:\Program Files\SMS_CCM\CMApplicationCatalog\Content\Images\AppIcons [1, PID:13172][06/04/2013 01:41:03] :ASP.NET application cache will NOT be used (either cache dir not found, asp.net cache is not set, or cache setting in web.config is <= 0 [14, PID:13172][06/04/2013 02:41:00] :SoftwareCatalog website - application instance dispose ... [14, PID:13172][06/04/2013 02:41:07] :No cached apps to serialize (caching not enabled or no apps in cache) [14, PID:13172][06/04/2013 02:41:07] :SoftwareCatalog website stop ... [14, PID:13172][06/04/2013 02:41:07] :SoftwareCatalog website - application instance dispose ... [1, PID:10520][06/04/2013 02:41:08] :SoftwareCatalog website start ... [1, PID:10520][06/04/2013 02:41:09] :DefaultApplicationOfferService - retrieving client proxy using endpoint SecureBinding_IApplicationOfferService [1, PID:10520][06/04/2013 02:41:09] :FindCertificate - Found certs via FindByThumbprint, count = 1 [1, PID:10520][06/04/2013 02:41:09] :DefaultApplicationOfferService - opening channel via client proxy [1, PID:10520][06/04/2013 02:41:14] :Exception caught during warmup call [1, PID:10520][06/04/2013 02:41:14] :System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<html>     <head>         <title>The protocol 'http' is not supported.</title>         <style>          body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}          p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}          b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}          H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }          H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }          pre {font-family:"Lucida Console";font-size: .9em}          .marker {font-weight: bold; color: black;text-decoration: none;}          .version {color: gray;}          .error {margin-bottom: 10px;}          .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }         </style>     </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/CMApplicationCatalogSvc' Application.<hr width=100% size=1 color=silver></H1>

            '.

Server stack trace:    at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)    at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)    at System.ServiceModel.Security.TlsnegoTokenProvider.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout)    at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

Exception rethrown at [0]:    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)    at System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)    at Microsoft.ConfigurationManager.SoftwareCatalog.Website.PortalClasses.Connection.DefaultApplicationOfferService.Open()    at Microsoft.ConfigurationManager.SoftwareCatalog.Website.Global.Application_Start(Object sender, EventArgs e)System.Net.WebException: The remote server returned an error: (500) Internal Server Error.    at System.Net.HttpWebRequest.GetResponse()    at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) [1, PID:10520][06/04/2013 02:41:15] :AppCacheableBase - configured writable app directory set to: C:\Program Files\SMS_CCM\CMApplicationCatalog\Content\Images\AppIcons [1, PID:10520][06/04/2013 02:41:15] :ASP.NET application cache will NOT be used (either cache dir not found, asp.net cache is not set, or cache setting in web.config is <= 0 [39, PID:10520][06/04/2013 03:41:09] :SoftwareCatalog website - application instance dispose ... [39, PID:10520][06/04/2013 03:41:17] :No cached apps to serialize (caching not enabled or no apps in cache) [39, PID:10520][06/04/2013 03:41:18] :SoftwareCatalog website stop ... [39, PID:10520][06/04/2013 03:41:18] :SoftwareCatalog website - application instance dispose ... [1, PID:10580][06/04/2013 03:41:23] :SoftwareCatalog website start ... [1, PID:10580][06/04/2013 03:41:23] :DefaultApplicationOfferService - retrieving client proxy using endpoint SecureBinding_IApplicationOfferService [1, PID:10580][06/04/2013 03:41:23] :FindCertificate - Found certs via FindByThumbprint, count = 1 [1, PID:10580][06/04/2013 03:41:24] :DefaultApplicationOfferService - opening channel via client proxy [1, PID:10580][06/04/2013 03:41:28] :Exception caught during warmup call [1, PID:10580][06/04/2013 03:41:29] :System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<html>     <head>         <title>The protocol 'http' is not supported.</title>         <style>          body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}          p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}          b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}          H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }          H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }          pre {font-family:"Lucida Console";font-size: .9em}          .marker {font-weight: bold; color: black;text-decoration: none;}          .version {color: gray;}          .error {margin-bottom: 10px;}          .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }         </style>     </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/CMApplicationCatalogSvc' Application.<hr width=100% size=1 color=silver></H1>

            '.

Server stack trace:    at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)    at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)    at System.ServiceModel.Security.TlsnegoTokenProvider.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout)    at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)    at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

Exception rethrown at [0]:    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)    at System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)    at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)    at Microsoft.ConfigurationManager.SoftwareCatalog.Website.PortalClasses.Connection.DefaultApplicationOfferService.Open()    at Microsoft.ConfigurationManager.SoftwareCatalog.Website.Global.Application_Start(Object sender, EventArgs e)System.Net.WebException: The remote server returned an error: (500) Internal Server Error.    at System.Net.HttpWebRequest.GetResponse()    at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) [1, PID:10580][06/04/2013 03:41:29] :AppCacheableBase - configured writable app directory set to: C:\Program Files\SMS_CCM\CMApplicationCatalog\Content\Images\AppIcons [1, PID:10580][06/04/2013 03:41:29] :ASP.NET application cache will NOT be used (either cache dir not found, asp.net cache is not set, or cache setting in web.config is <= 0 [19, PID:10580][06/04/2013 04:20:30] :SoftwareCatalog website - application instance dispose ... [19, PID:10580][06/04/2013 04:20:51] :No cached apps to serialize (caching not enabled or no apps in cache) [19, PID:10580][06/04/2013 04:20:52] :SoftwareCatalog website stop ... [19, PID:10580][06/04/2013 04:20:52] :SoftwareCatalog website - application instance dispose ...

 

ServicePortalwebsite service log: clips of errors

<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"><System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>131075</EventID><Type>3</Type><SubType Name="Error">0</SubType><Level>2</Level><TimeCreated SystemTime="2013-06-02T06:36:28.0726161Z" /><Source Name="System.ServiceModel" /><Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /><Execution ProcessName="w3wp" ProcessID="17500" ThreadID="1" /><Channel/><Computer>CRYPTOCENTER1</Computer></System><ApplicationData><TraceData><DataItem><TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain>/LM/W3SVC/1/ROOT/CMApplicationCatalog-1-130146285795938445</AppDomain><Exception><ExceptionType>System.ServiceModel.ProtocolException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '&amp;lt;html&amp;gt;

 

Basically it just says that the server returned a 500 error

Heres the applicationportalwebsitesvc log error clips:

   at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)    at System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) </StackTrace><ExceptionString>System.InvalidOperationException: The protocol 'http' is not supported.</ExceptionString></Exception></TraceRecord></DataItem></TraceData></ApplicationData></E2ETraceEvent><E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"><System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>131075</EventID><Type>3</Type><SubType Name="Error">0</SubType><Level>2</Level><TimeCreated SystemTime="2013-06-04T08:18:48.7104706Z" /><Source Name="System.ServiceModel" /><Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /><Execution ProcessName="w3wp" ProcessID="14000" ThreadID="5" /><Channel/><Computer>CRYPTOCENTER1</Computer></System><ApplicationData><TraceData><DataItem><TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain>/LM/W3SVC/1/ROOT/CMApplicationCatalogSvc-2-130148075251041751</AppDomain><Exception><ExceptionType>System.InvalidOperationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The protocol 'http' is not supported.</Message><StackTrace>   at System.ServiceModel.Activation.HostedTransportConfigurationManager.InternalGetConfiguration(String scheme)

   at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)    at System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) </StackTrace><ExceptionString>System.InvalidOperationException: The protocol 'http' is not supported.</ExceptionString></Exception></TraceRecord></DataItem></TraceData></ApplicationData></E2ETraceEvent><E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"><System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>131075</EventID><Type>3</Type><SubType Name="Error">0</SubType><Level>2</Level><TimeCreated SystemTime="2013-06-04T08:18:48.7104706Z" /><Source Name="System.ServiceModel" /><Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /><Execution ProcessName="w3wp" ProcessID="14000" ThreadID="5" /><Channel/><Computer>CRYPTOCENTER1</Computer></System><ApplicationData><TraceData><DataItem><TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain>/LM/W3SVC/1/ROOT/CMApplicationCatalogSvc-2-130148075251041751</AppDomain><Exception><ExceptionType>System.InvalidOperationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The protocol 'http' is not supported.</Message><StackTrace>   at System.ServiceModel.Activation.HostedTransportConfigurationManager.InternalGetConfiguration(String scheme)

 

 at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object state)</ExceptionString></Exception></TraceRecord></DataItem></TraceData></ApplicationData></E2ETraceEvent><E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"><System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>131074</EventID><Type>3</Type><SubType Name="Error">0</SubType><Level>2</Level><TimeCreated SystemTime="2013-06-02T03:08:21.0468826Z" /><Source Name="System.ServiceModel" /><Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /><Execution ProcessName="w3wp" ProcessID="4592" ThreadID="5" /><Channel/><Computer>CRYPTOCENTER1</Computer></System><ApplicationData><TraceData><DataItem><TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.EventLog.aspx</TraceIdentifier><Description>Wrote to the EventLog.</Description><AppDomain>/LM/W3SVC/1/ROOT/CMApplicationCatalogSvc-1-130145728852389572</AppDomain><ExtendedData xmlns="http://schemas.microsoft.com/2006/08/ServiceModel/DictionaryTraceRecord"><CategoryID.Name>WebHost</CategoryID.Name><CategoryID.Value>5</CategoryID.Value><InstanceID.Name>WebHostFailedToProcessRequest</InstanceID.Name><InstanceID.Value>3221356547</InstanceID.Value><Value0>System.ServiceModel.Activation.HostedHttpRequestAsyncResult/48397273</Value0><Value1>System.InvalidOperationException: The protocol 'http' is not supported.

 

 

So basically im thinking the protocol HTTP is not supported means that SQL cannot connect to my web app with http, how do i configure this ASP.Net ConfigMgr Applcation Portal and the PortalWebSVC to connect to the local SQL server database (full version of SQL 2012) on same server with database name CONFIGMGR.

please help thousand ice cream cones to the answer

 

 

 

Intermittent error reading Web.config in an IIS hosted WCF web service

$
0
0

Hi,

 

We've developed a WCF web service and hosted it in IIS versions 6 and 7 in Windows Server versions 2003 R2 and 2008 R2. After a random moderately long interval of correct running, every new request raises an exception. The exception is always of type System.Configuration.ConfigurationErrorsException, and references a custom section created by us and configured in Web.config; the inner exception can be of two shapes:

-- An error occurred creating the configuration section handler for ...: Object reference not set to an instance of an object.

-- An error occurred creating the configuration section handler for ...: Index was outside the bounds of the array.

Although the message is different, the stack trace is almost the same (same objects, lines, ...)

Example:  

Inner Exception  ---------------  Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089  Message : Object reference not set to an instance of an object.  Source : System.Configuration  Help link :  Data : System.Collections.ListDictionaryInternal  TargetSite : Boolean Contains(System.String)  Stack Trace :    at System.Configuration.ConfigurationPropertyCollection.Contains(String name)     at System.Configuration.ConfigurationPropertyCollection.Add(ConfigurationProperty property)     at ServiceTranslationSettings.ServiceProcessor`1..ctor() in C:\Projects\TFS\CORE v3.0\Provisioning\ServiceTranslationSettings\ServiceProcessor.vb:line 10     at ServiceTranslationSettings.ServiceProcessorCollection`1.CreateNewElement() in C:\Projects\TFS\CORE v3.0\Provisioning\ServiceTranslationSettings\ServiceProcessorCollection.vb:line 29     at System.Configuration.ConfigurationElementCollection.CallCreateNewElement()     at System.Configuration.ConfigurationElementCollection.OnDeserializeUnrecognizedElement(String elementName, XmlReader reader)     at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader reader, Boolean serializeCollectionKey)     at System.Configuration.ConfigurationElement.DeserializeElement(XmlReader reader, Boolean serializeCollectionKey)    at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionImpl(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader)     at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.CreateSectionWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader)     at System.Configuration.RuntimeConfigurationRecord.CreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader)     at System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader, String filename, Int32 line)

Line 10 of that file contains (Visual Basic):

        Me.Properties.Add(New ConfigurationProperty("ServiceName", GetType(String), Nothing))

 

The wrapping exception shows that the error is raised as a result of our service implementing class's asking ConfigurationManager for the custom section configuration.

Example:

Type : System.Configuration.ConfigurationErrorsException, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Message : An error occurred creating the configuration section handler for ServiceReader.Settings: Index was outside the bounds of the array.

Source : System.Configuration

Help link :

BareMessage : An error occurred creating the configuration section handler for ServiceReader.Settings: Index was outside the bounds of the array.

Filename : web.config

Line : 332

Errors : System.Configuration.ConfigurationException[]

Data : System.Collections.ListDictionaryInternal

TargetSite : System.Object EvaluateOne(System.String[], System.Configuration.SectionInput, Boolean, System.Configuration.FactoryRecord, System.Configuration.SectionRecord, System.Object)

Stack Trace :    at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)

   at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)

   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)

   at System.Web.Configuration.HttpConfigurationSystem.GetApplicationSection(String sectionName)

   at System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName)

   at System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey)

   at System.Configuration.ConfigurationManager.GetSection(String sectionName)

   at ServiceTranslationSettings.ServiceReaderConfigurationSection.GetConfig()

 

What makes us doubtful that the problem is caused by an error in our code is that this happens after long periods of smooth run with the same web.config and the same operations invoked.

 

We've seen there are more people out there facing similar problems but, apart from a Commerce Server fix (obviously inapplicable to our deployment), there is no known solution.

 

Can you help us?

 

Thank you very much.

Application pool suffered a fatal communication error

$
0
0

Hi,

We have four sharepoint servers (2 web x 2 app) and i noticed since last week new warning event ID 5011 (Source WAS) show up every 1 minute.

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

ofcourse the Sharepoint Web goes down and i have to force the app pool to start again or restart the serverFrown

- i noticed there is no clear or easy way to fix this, i am not a .NET or IIS expert but i disabled the app pool fail protection to minimise the impact of this issue "hope this is correct action" but i am afraid the servers hangout !

- Anyway i also noticed i should use debug tool to trace this issue and i downloaded "Debug Diagnostics Tool 1.2" but i am not sure how to use it.

I Appreciate some help to fix this issue ASAP Cry

Problem deploying ASp.net on IIS7.5 @ Win2k8R2

$
0
0
<div>

Hi,

   I need to deploy a legacy ASP.Net 1.1 application on IIS7.5 running on a Windows Server 2008 R2. I followed the steps mentioned at http://blogs.iis.net/bills/archive/2008/06/02/installing-asp-net-1-1-with-iis7-on-vista-and-windows-2008.aspx and successfully installed ASP.Net 1.1 and created application pool for ASP.Net1.1. Unfortunatly, i am encountering the following error as i try to access the application.

Fatal Error ownz you ! by s4r4d0

Checked EventViewer but no error listed there. Have tried every possible way i know but no luck. I would really appreciate the help of the esteemed members.

Thanks,

Alia

</div>
Viewing all 1814 articles
Browse latest View live