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

HTTP error 405.0- Method Not Allowed “invalid method (HTTP verb)” when POSTing a form


FTP Errors, help

$
0
0

I have just set up a FTP server in IIS 8.5 on my Windows Server 2012 R2 machine.

With FileZilla when I try connect to the local IP (10.0.0.4) with my username and password on port 21, it will connect just fine, But when I try to connect on the external IP I get this error

Server sent passive reply with unroutable address. Using server address instead

Here is the full log

Status: Disconnected from server
Status: Connecting to 191.23x.xx.111:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Connected
Status: Retrieving directory listing...
Status: Server sent passive reply with unroutable address. Using server address instead.
Command:    LIST
Response:   150 Opening BINARY mode data connection.
Error:  Connection timed out after 20 seconds of inactivity
Error:  Failed to retrieve directory listing
Status: Disconnected from server
Status: Connecting to 191.23x.xx.111:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Connected
Status: Retrieving directory listing...
Status: Server sent passive reply with unroutable address. Using server address instead.
Command:    LIST
Response:   150 Opening BINARY mode data connection.
Error:  Connection timed out after 20 seconds of inactivity
Error:  Failed to retrieve directory listing

Where it hangs on

Server sent passive reply with unroutable address. Using server address instead.

for a bit of time before it fails

Erreur on display report with crystal report & Asp.net

$
0
0

Hello,

I'm developping a web site with Asp.net web forms and crystal reports 

my problem is the reports are shown correclty when run application on the localhost but they not worked when I publish the web site on widnows server 2008 R2 

this a capture for the error

http://www.hostingpics.net/viewer.php?id=997724Sanstitre.png

MSDeploy Error_Connection_Terminated

$
0
0

I have been getting the error "Error_Connection_Terminated" when trying to deploy a site to my localhost from the developer command prompt using MSDeploy and I am at the end of my rope trying to figure out whats causing it, the error is pretty ambiguous as to what the problem actually is. I've set privileges for the deploy folder correctly and I have restarted the Web Deployment Agent Service numerous times in the services window. I have gone over many solution's already posted on the net but to no avail as none of them deal with using the developer command prompt and instead only offer solution's by using visual studio itself.

Would anyone with experience with MSDeploy or IIS, be able to shed some light or advise on how to solve this.

the error states "Error_Connection_Terminated Error: Unexpected end of file has occurred. The following elements are not closed: results. Line 1, position 550. Error count: 1."

Could not open connection to localhost

$
0
0

Hi

after clone my Windows VM' (Windows server 2008r2) into new storage i had some issues

when i am trying to browse to localhost i am getting blank page with error, when i am trying to telnet localhost 80 i getting msg the connection to the host failed...

i already check anything like: host file, netsh winsock reset, flushdns, netsh int ip reset, iisreset and all things that i was able to think on...

but still i am not able to browse to localhost and because of that my token application is not working

someone maybe have idea what can be issue and how can i solve it?

Eliran

Errors are not written in log file

$
0
0
I've setup a site in IIS 7 windows 2008 server now I get the following error. I like to know what the issue is by looking in the "event viewer" (eventvwr) and in IIS Log file. In both the issues is not written. The last updated time of the log is at 2PM while it's 4PM. Are those logs not written to the Eventvwr and IIS log?

please advice how to trace the detail error in event

IIS Problem Outside Network

$
0
0

Hi There,

First, I'm not an IIS Expert so It can be a very stuppid question ;). We use in our company a ASP.NET web application and Internally there's no problem accessing it. I normally login to the webpage and I access without any problem at all. Externally I can only access the same page if I'm using a old IE browser and in Compatibility mode. This seems to be a problem with IIS configuration. Does anybody had this problem before with IIS?

Thanks in advance,

iis logs user agent fields blank on some entries

$
0
0

Hello,

We created a site where we show 6000 entries in the logs for one day, about 3500 have the cs-user-agent field blank. 

The remaining records show a similar number -   _ga=ga1.2.345.2344;+_gat=1   (we are using google analytics). 

the IIS server is behind a ISA server, why would the field be left blank?  if the field is blank does it mean google will not get the correct results?

Any help would be appreciated, Thanks


IIS 8.5 Windows Authentication Hangs

$
0
0

Hello Gurus,

This is my first posting and also I am new to IIS - your help will be very much appreciated.
I have been working on this issue quite a bit and hit to the point I don't know how to proceed the diagnose from here. In a short, the issue is that Windows authentication hangs at IIS during the process all the sudden at some timings in a day.

[Servers]
IIS 8.5 hosting WCF on Win2012R2, AppPool: v4.0, Integrated, running with a domain service account identity (SPN registered for Kerberos authentication), Windows Authentication (Kernel-mode, NTLM/Negotiate)
SQL Server 2012

[Consumer/Client]
Windows form application developed with .NET Framework4 vb, HTTP endpoints SSL/TLS - basicHttpBinding

[System Structure]
Consumer(Client PC) - IIS Server - SQL Server

[Issue Description]

  • Windows Authentication (either Negotiate/NTLM) hangs all the sudden during the process at IIS, several times a day.  Request hung are verified from Worker Process as with a big TimeElapsed value "Url: /MyService.svc Verb:POST Client IP: xx.xx.xx State: AuthenticateRequest, ModuleName: ServiceModel-4.0"
  • Sometimes it resumes working fine after a while, and other times app pool needs to be restarted.
  • IIS does not reply with HTML response to client after receiving challenge response from client (1.Client anonymous request -> 2.IIS rejects with 401, IIS sends challenge to Client -> 3.Client sends challenge response -> 4.IIS stops working)
  • Looking into WireShark trace log and compare it with normal case, it is observed that IIS does not even try to TCP to SQL server for proceeding authentication while it always does when authentication succeeds.
  • As for FRT output, the process ends right before setting response header and no error/warning is thrown. *Log attached at the bottom - sorry for a long snippet

I have been wondering if it is to do with our network router or even DCs (...or?)? But I have no clue from here how I could verify the root cause. Any help/advice would be very much appreciated.

Many thanks in advance!

SKC

------- FRT output Start-------------------------
37. -AUTH_START
38. -AUTH_END

41. -AUTH_START
42. -AUTH_REQUEST_AUTH_TYPE

43. -AUTH_SUCCEEDED
45. -AUTH_END

67. -FILTER_AUTH_COMPLETE_START
68. -FILTER_AUTH_COMPLETE_END

69 NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"
70 NOTIFY_MODULE_START ModuleName="DefaultAuthentication", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="true"
71 AspNetPipelineEnter Data1="System.Web.Security.DefaultAuthenticationModule"
72 AspNetPipelineLeave Data1="System.Web.Security.DefaultAuthenticationModule"
73 NOTIFY_MODULE_END ModuleName="DefaultAuthentication", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"
74 NOTIFY_MODULE_START ModuleName="ServiceModel-4.0", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="true"
75 AspNetPipelineEnter Data1="System.ServiceModel.Activation.ServiceHttpModule"
76 GENERAL_READ_ENTITY_START
77 GENERAL_READ_ENTITY_END BytesReceived="570", ErrorCode="The operation completed successfully. (0x0)"
78 GENERAL_REQUEST_ENTITY Buffer="<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><ActivityId CorrelationId="f64aee0e-1e9c-4620-a185-3b9d7e377eb8" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">1a5a474a-ee28-4246-80b6-b0554ac364be</ActivityId></s:Header><s:Body>.......</s:Body></s:Envelope>"
79 NOTIFY_MODULE_COMPLETION ModuleName="ServiceModel-4.0", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", CompletionBytes="570", ErrorCode="The operation completed successfully. (0x0)"

=====[Cut-off Here when authentication fails, below when it succeeds]==================

80 GENERAL_SET_RESPONSE_HEADER HeaderName="Content-Length", HeaderValue="356", Replace="false"
81 AspNetPipelineLeave Data1="System.ServiceModel.Activation.ServiceHttpModule"
82 GENERAL_SET_RESPONSE_HEADER HeaderName="Content-Type", HeaderValue="text/xml; charset=utf-8", Replace="true"
83 NOTIFY_MODULE_COMPLETION ModuleName="ServiceModel-4.0", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", CompletionBytes="0", ErrorCode="The operation completed successfully. (0x0)"
84 NOTIFY_MODULE_END ModuleName="ServiceModel-4.0", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_FINISH_REQUEST"
85 NOTIFY_MODULE_START ModuleName="AspNetFilterModule", Notification="LOG_REQUEST", fIsPostNotification="false"
86 NOTIFY_MODULE_END ModuleName="AspNetFilterModule", Notification="LOG_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
87 NOTIFY_MODULE_START ModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotification="false"
88 NOTIFY_MODULE_END ModuleName="CustomLoggingModule", Notification="LOG_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
89 NOTIFY_MODULE_START ModuleName="DynamicIpRestrictionModule", Notification="END_REQUEST", fIsPostNotification="false"
90 NOTIFY_MODULE_END ModuleName="DynamicIpRestrictionModule", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
91 NOTIFY_MODULE_START ModuleName="ScriptModule-4.0", Notification="END_REQUEST", fIsPostNotification="false"
92 AspNetPipelineEnter Data1="System.Web.Handlers.ScriptModule"
93 AspNetPipelineLeave Data1="System.Web.Handlers.ScriptModule"
94 NOTIFY_MODULE_END ModuleName="ScriptModule-4.0", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
95 NOTIFY_MODULE_START ModuleName="Session", Notification="END_REQUEST", fIsPostNotification="false"
96 AspNetPipelineEnter Data1="System.Web.SessionState.SessionStateModule"
97 AspNetPipelineLeave Data1="System.Web.SessionState.SessionStateModule"
98 NOTIFY_MODULE_END ModuleName="Session", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
99 NOTIFY_MODULE_START ModuleName="Profile", Notification="END_REQUEST", fIsPostNotification="false"
100 AspNetPipelineEnter Data1="System.Web.Profile.ProfileModule"
101 AspNetPipelineLeave Data1="System.Web.Profile.ProfileModule"
102 GENERAL_SET_RESPONSE_HEADER HeaderName="Content-Type", HeaderValue="text/xml; charset=utf-8", Replace="true"
103 NOTIFY_MODULE_END ModuleName="Profile", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
104 NOTIFY_MODULE_START ModuleName="ClientLoggingHandler", Notification="END_REQUEST", fIsPostNotification="false"
105 NOTIFY_MODULE_END ModuleName="ClientLoggingHandler", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
106 NOTIFY_MODULE_START ModuleName="ManagedPipelineHandler", Notification="END_REQUEST", fIsPostNotification="true"
107 GENERAL_SET_RESPONSE_HEADER HeaderName="Content-Type", HeaderValue="text/xml; charset=utf-8", Replace="true"
108 AspNetEndHandler
109 NOTIFY_MODULE_END ModuleName="ManagedPipelineHandler", Notification="END_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"
110 NOTIFY_MODULE_START ModuleName="ApplicationInitializationModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
111 NOTIFY_MODULE_END ModuleName="ApplicationInitializationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
112 NOTIFY_MODULE_START ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
113 NOTIFY_MODULE_END ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
114 NOTIFY_MODULE_START ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
115 NOTIFY_MODULE_END ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
116 NOTIFY_MODULE_START ModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
117 NOTIFY_MODULE_END ModuleName="DigestAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
118 NOTIFY_MODULE_START ModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
119 GENERAL_SET_RESPONSE_HEADER HeaderName="Persistent-Auth", HeaderValue="false", Replace="false"
120 NOTIFY_MODULE_END ModuleName="WindowsAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
121 NOTIFY_MODULE_START ModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
122 NOTIFY_MODULE_END ModuleName="BasicAuthenticationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
123 NOTIFY_MODULE_START ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
124 GENERAL_SET_RESPONSE_HEADER HeaderName="X-Powered-By", HeaderValue="ASP.NET", Replace="false"
125 NOTIFY_MODULE_END ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
126 NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
127 NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
128 NOTIFY_MODULE_START ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
129 DYNAMIC_COMPRESSION_START
130 DYNAMIC_COMPRESSION_SUCCESS
131 DYNAMIC_COMPRESSION_DO OriginalSize="356", CompressedSize="315"
132 DYNAMIC_COMPRESSION_END
133 NOTIFY_MODULE_END ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
134 NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
135 NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
136 NOTIFY_MODULE_START ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
137 GENERAL_NOT_SEND_CUSTOM_ERROR Reason="SETSTATUS_SUCCESS"
138 NOTIFY_MODULE_END ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
139 NOTIFY_MODULE_START ModuleName="DynamicIpRestrictionModule", Notification="SEND_RESPONSE", fIsPostNotification="false"
140 NOTIFY_MODULE_END ModuleName="DynamicIpRestrictionModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
141 HTTPSYS_CACHEABLE HttpsysCacheable="false", Reason="VERB_NOT_GET", CachePolicy="NO_CACHE", TimeToLive="0"
142 GENERAL_FLUSH_RESPONSE_START
143 GENERAL_RESPONSE_HEADERS Headers="Content-Type: text/xml; charset=utf-8 Content-Encoding: gzip Vary: Accept-Encoding Server: Microsoft-IIS/8.5 Persistent-Auth: false X-Powered-By: ASP.NET "
144 GENERAL_RESPONSE_ENTITY_BUFFER Buffer="%1F%8B%08"
145 GENERAL_RESPONSE_ENTITY_BUFFER Buffer="%E8%FF%01dL%B2Rd%01"
146 GENERAL_FLUSH_RESPONSE_END BytesSent="826", ErrorCode="The operation completed successfully. (0x0)"
147 GENERAL_REQUEST_END BytesSent="826", BytesReceived="3777", HttpStatus="200", HttpSubStatus="0"
------- FRT output End-------------------------

iis works remotely, but not localy

$
0
0

I have astrange problem.
  On WindowsServer2008 R2 I haveseveralsites,all workon the network,butif I connect to the serveron itsbrowserdo not work, they giveallthe same error:
Server TimeOut

Thank you
Alessandro

discover endpoints

$
0
0

I cannot communicate with my WCF service hosted under IIS 7 on a server. I suspect I am not specifying the endpoint separately.

Is there a tool I can run that will reveal the endpoints of the services? I can remote into the service and access IIS and the physical paths.

Thanks

SQL dependency error

$
0
0

I'm using sql dependeny to see the changes in db table and push notification to users(signalR):

https://msdn.microsoft.com/en-us/library/62xk7953%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

This sql dependency works with service broker queue.

I have install web site on my IIS 8 (beside default one) and test it. Everything worked with test domain and test database(copy of production). Then I set up domain name which previously show to default site to show on new web site and in config set connection to production database and everything stop working. On sql server I got hundreds of uncommitted transactions, on web site i get javascript errors like my library is not defined ("Ext is not defined"),.... From event log i get this error:

3005 
   An unhandled exception has occurred. 
   15.9.2015 17:39:14 
   15.9.2015 15:39:14 
   03a0709e2a684122a9fa13e47672f744 
   1 
   1 
   0 
   /LM/W3SVC/1/ROOT-101-130868051546780412 
   / 
   C:\APP\myApp\ 
   MYSQLSEREVR 
   7016 
   w3wp.exe 
   MYDOMAIN\user.name
   InvalidOperationException 
   Failed to map the path '/'. at System.Web.Configuration.ProcessHostConfigUtils.MapPathActual(String siteName, VirtualPath path) at System.Web.Configuration.ProcessHostMapPath.MapPathCaching(String siteID, VirtualPath path) at System.Web.Configuration.ProcessHostMapPath.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath path) at System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String& locationSubPath, String& configPath, String& locationConfigPath, IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams) at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle) at System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel webLevel, ConfigurationFileMap fileMap, String path, String site, String locationSubPath, String server, String userName, String password, IntPtr userToken) at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)  
   http://myApp/signalr/negotiate?clientProtocol=1.5&connectionToken=Wd8y17bNkn7lYC/KWr612d/gbcIu4Mv/oPdtNkSddbsigvJiL3XMshOE5p8GzbybGp6yKSijgF5x03OWy+oZoiJxdXIyG9rmzIBnvonbJxmBhEBWOJYVao+HWRh3CctsQr1HmYsVJMCpDOZmuaM1lw==&connectionData=[{"name":"stockalignmenthub"}]&_=1442331554547 
   /signalr/negotiate 
   10.50.84.213 
   False 
   MYDOMAIN\user.name 
   49 
   MYDOMAIN\user.name
   False 
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)  

Any idea what is could be?



ARR on a Webfarm

$
0
0

Hi Guys,

I'm pretty hopeless at the moment. I hope you guys can help me.

I have two Webservers running 2012 R2 with ARR 3.0

ARR is installed on the first one with shared configuration.

I just want to use ARR as a load balancer to share the performance between these two servers. but all I get at the moment is:

is 400.605 maximum rforwards reached.

It doesn't matter if I exclude the Server with the ARR instance from the farm and only use one.

Has anyone an idea? 

thanks

BR

IIS on Windows 10

$
0
0

Hi

I have installed IIS on Windows 10 and am running into a problem with the applicationpool identity. I can change it to any of the built-in accounts, but when trying to change to a custom account, I experience an error saying: "Keyset does not exist (Exception from HRESULT: 0x80090016).

Any ideas for how to solve this?

Thanks

Lars

IIS 7.5, after adding IIS, pages seem to keep getting reloaded

$
0
0

Hi,

We have deployed a web application to our dev server, using IIS7.5. Everything worked fine until this week, after we added SSL.

Now, the site is very slow on all browsers, plus due to the latency, it causes several pages not working correctly.

We logged into the server, and watched the Worker Process for this site; it seems that sometimes, the page keep getting reloaded.

We understand that SSL will slow the site down, but don't understand why pages seem to get reloaded, in many cases. However, some times it seems to work at normal speed; but mostly much slower.

Anyone has similar experience? Or can point out why the pages get reloaded?

Also - we already doubled the RAM and doubled the CPU for this server - it does not seem to make any difference.

Anyone has any suggestions of what we should be doing to improve the performance?

Note: we do use SSL for the whole site, and that is a requirement.

Thanks,

CLaudia


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.

 

ASP.Net raises error when switching language to Vietnamese

$
0
0

Environment: OS Windows 2008 R2 Sp1, IIS 7.5, Application Pool CLR .Net 4 x64.

Our production site is ASP.net web site (not web application), it supports 6 languages with UI Culture as follows: en-US, ja-JP, th-TH, zh-CN, zh-TW, ko-KR, and vi-VN. The site works perfectly with all languages except Vietnamese. Sometimes, when we change language to Vietnamese, some pages throw exception 

 System.InvalidOperationException: Collection was modified; enumeration operation may not execute. 
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 
at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark) 
at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark) 
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark) 
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark) 
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) 
at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) 
at Resources.Lang.get_noofticket() 

Looking at the error message, we understand that the error occured when Resource.Lange.get_nooticket() was called and method thrown the exception was System.Reflection.RuntimeAssembly _nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean, Boolean).Resource.Lang is global resource file. 
We found nothing "special" about Vietnamese resource files except some keys missing in Vietnamese resource files. However, from what I know, it cannot be the problem, because ResourceManager can automatically switch to default culture (English) to get resource value. Moreover, it does not happen frequently, we don't know how to reproduce. 

We also have report from dump file as follows:

KERNELBASE!RaiseException+39 
MSVCR100_CLR0400!CxxThrowException+81 
clr!AssemblySpecBindingCache::AssemblyBinding::ThrowIfError+38 
clr! ?? ::FNODOBFM::`string'+6f100 
clr!AssemblySpec::LoadDomainAssembly+129 
clr!AssemblySpec::LoadAssembly+1b 
clr!AssemblyNative::Load+26a 
[[HelperMethodFrame_PROTECTOBJ] (System.Reflection.RuntimeAssembly._nLoad)] System.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMarkByRef, Boolean, Boolean, Boolean) 
mscorlib_ni!System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(System.String, System.Globalization.CultureInfo, System.Version, Boolean, System.Threading.StackCrawlMark ByRef)+ee 
mscorlib_ni!System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(System.Globalization.CultureInfo, System.Threading.StackCrawlMark ByRef)+d7 
mscorlib_ni!System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(System.Globalization.CultureInfo, System.Collections.Generic.Dictionary`2<System.String,System.Resources.ResourceSet>, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)+e2 
mscorlib_ni!System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)+268 
mscorlib_ni!System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean)+23 
mscorlib_ni!System.Resources.ResourceManager.GetString(System.String, System.Globalization.CultureInfo)+13c 
Resources.Lang.get_noofticket()+5b 
Fanex.Age.UI.Reports.Winloss.WinlossDetailMaster_ExcelContents_Block.get_s32()+28 
Fanex.Age.UI.Reports.Winloss.WinlossDetailMaster_ExcelContents_Block.ToString(System.Text.StringBuilder ByRef)+3ce 
Fanex.Age.UI.Reports.Winloss.WinlossDetailMaster_Template.ToString(System.Text.StringBuilder ByRef)+40d 
Fanex.Age.UI.Reports.Winloss.WinlossDetailMaster_Page.RenderContent(System.Web.UI.HtmlTextWriter)+1fa 
Fanex.Age.UI.TplPage.Render(System.Web.UI.HtmlTextWriter)+293 
System_Web_ni!System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)+149a 
System_Web_ni!System.Web.UI.Page.ProcessRequest(Boolean, Boolean)+c1 
System_Web_ni!System.Web.UI.Page.ProcessRequest()+77 
System_Web_ni!System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)+a7 
System_Web_ni!System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+255 
System_Web_ni!System.Web.HttpApplication.ExecuteStep(IExecutionStep, Boolean ByRef)+10a 
System_Web_ni!System.Web.HttpApplication+PipelineStepManager.ResumeSteps(System.Exception)+6d9 
System_Web_ni!System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, System.AsyncCallback)+85 
System_Web_ni!System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)+2c6 
System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)+3bf 
System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)+22 
System_Web_ni!DomainNeutralILStubClass.IL_STUB_ReversePInvoke(Int64, Int64, Int64, Int32)+51 
clr!UMThunkStubAMD64+77 
webengine4!W3_MGD_HANDLER::ProcessNotification+79 
webengine4!W3_MGD_HANDLER::DoWork+310 
webengine4!RequestDoWork+42d 
webengine4!CMgdEngHttpModule::OnExecuteRequestHandler+24 
iiscore!NOTIFICATION_CONTEXT::RequestDoWork+233 
iiscore!NOTIFICATION_CONTEXT::CallModulesInternal+174 
iiscore!NOTIFICATION_CONTEXT::CallModules+25 
iiscore!W3_CONTEXT::DoWork+34d 
iiscore!W3_CONTEXT::IndicateCompletion+8c 
webengine4!W3_MGD_HANDLER::IndicateCompletion+59 
webengine4!MgdIndicateCompletion+22 
clr!DoNDirectCall__PatchGetThreadCall+7b 
System_Web_ni!DomainNeutralILStubClass.IL_STUB_PInvoke(IntPtr, System.Web.RequestNotificationStatus ByRef)+57 
[[NDirectMethodFrameStandalone] (System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion)] System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, System.Web.RequestNotificationStatusByRef) 
System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)+4f4 
System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)+22 
System_Web_ni!DomainNeutralILStubClass.IL_STUB_ReversePInvoke(Int64, Int64, Int64, Int32)+51 
clr!UM2MThunk_WrapperHelper+4b 
clr!UM2MThunk_Wrapper+90 
clr!Thread::DoADCallBack+127 
[[ContextTransitionFrame]] 
clr!UM2MDoADCallBack+9e 
clr!UMThunkStubAMD64+273 
webengine4!W3_MGD_HANDLER::ProcessNotification+79 
webengine4!ProcessNotificationCallback+43 
clr!UnManagedPerAppDomainTPCount::DispatchWorkItem+181 
clr!ThreadpoolMgr::NewWorkerThreadStart+2e5 
clr!ThreadpoolMgr::WorkerThreadStart+3b 
clr!Thread::intermediateThreadProc+7d 
kernel32!BaseThreadInitThunk+d 
ntdll!RtlUserThreadStart+1d 

We did try to read source code of mscorlib but System.Reflection.RuntimeAssembly._nLoad led us to  a dead-end. Why the issue just occurs with Vietnamese language?  

I would greatly appreciate it if you kindly give me some clues to resolve this issue. 

IIS Application Pool - Error

$
0
0

Hi Team,

We are sometimes facing one issue in Production server. We are not able to open the page and we get "System.Runtime.InteropServices.COMException" error. This is resolved after recycling the IIS application pool. But again the issue occurs after sometime.  There is no such issue in development server.  Code is same in both Dev and Prod environments . We have used Visual studio 2010  and WCF for development.Please suggest.

Process Start in IIS

$
0
0

Want to execute a exe within Application directory, in Dev system it works fine. In IIS, it is not executed, I have tried below points:

  • set default application pool to local system
  • set defualtpool, NETWORK_SERVICE, Everyone access to exe
  • Enabled 32 bit application to application pool

Server Version : Windows Server 2012

IIS Version: IIS 8.0

p.StartInfo = new ProcessStartInfo();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.FileName = System.AppDomain.CurrentDomain.BaseDirectory.ToString() + "wkhtmltopdf\\wkhtmltopdf.exe";      
string arg1 = "";
arg1 = "www.google.com" + " test.pdf";
p.StartInfo.Arguments = arg1;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.StartInfo.CreateNoWindow = true;
p.Start();          
p.WaitForExit(60000);
p.Close();
p.Dispose();

Bala

Collect automatic Crash dump of an IIS worker process in Windows server 2012

$
0
0

hi all,

like we had WER, windows error reporting feature in windows server 2008 to create automatic crash files for iis process and this feature is not present in win server 2012.

i have windows server 2012 server with iis 8 so how can i make full crash dump file if IIS w3wp process using a script or automated tool ?

kindly advise.

thanks

Viewing all 1814 articles
Browse latest View live


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