I saw this problem reported on a Windows 2000 Server (IIS 5.0), I’ve not checked if the same could also happen on IIS 6/7… The application is build on classic ASP pages and the error appeared about once per day on a test server; when browsing the user got a message reading "unable to create new session" (rough translation from Italian), and when this happens the only solution was to reset IIS (while in that status, even static HTML content was not served). Interestingly the Event Log showed quite a few entries like the following: Event Type: Warning Event Source: COM+ Event Category: Activation Event ID: 4238 Date: 03/07/2007 Time: 11.05.49 User: N/A Computer: xxxxxxxx Description: COM+ has determined that your machine is running very low on available memory. In order to ensure proper system behavior, the activation of the component has been refused. If this problem continues, either install more memory or increase the size of your paging file. Memory statistics are: dwMemoryLoad = 98 dwTotalPhys = 536358912 dwAvailPhys = 9453568 dwTotalPageFile = 1945448448 dwAvailPageFile = 48668672 dwTotalVirtual = 2147352576 dwAvailVirtual = 405975040 Server Application ID: {3D14228D-FBE1-11D0-995D-00C04FD919C1} Server Application Name: IIS Out-Of-Process Pooled Applications This turned out to be…
-
-
Visual Studio debugger conflicts on port 80
I personally got this problem on my laptop a while ago where IIS and Skype where involved, and even if this time the customer reported two different applications involved (Visual Studio 2005 and Cisco IP Communicator), the symptoms where the same: with Visual Studio 2005 and Cisco IP Communicator running ad the same time, he was unable to debug his web application with the message “Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server“. If he stopped the IP Communicator the problem went away; clearly a conflict between IIS and Cisco Communicator. Just to be sure we had a look at “netstat -a -b”, and found (as expected) that both applications were listening on the HTTP port TCP computername:http computername.domain.com:0 LISTENING 492 [inetinfo.exe] TCP computername:http computername.domain.com:0 LISTENING 3872 [Communicator.exe] Since I don’t know how Cisco IP Communicator works (and we can’t support third party apps anyway), we decided to change the IIS port to 81, but this time the customer was getting “Unable to start debugging on the web server. Unable to connect to the web server. Verify that the web…
-
Driver’s SQLAllocHandle on SQL_HANDLE_DBC failed
Another weird one I got this afternoon. A colleague from the Sql team asked my help about what looked an authentication problem is customer’s web application, while trying to connect to a Lotus Notes database: in short, the customer was developing his application with Visual Studio 2005 and was testing it with Cassini, and everything looked fine, but as you can guess the problem arose when he deployed the site on his test IIS. They got the error [IM005] Driver’s SQLAllocHandle on SQL_HANDLE_DBC failed. The first thought was about a permission problem, since as you may know one of the main differences between IIS and Cassini is that the latter is essentially a process which runs in the context of the account logged on the machine, while IIS is a service which runs under different accounts but with lower privileges. Ok then, to verify this hypotheses we made a quick change to the <processModel> section to have the worker process running under the customer’s account instead of the default ASPNET (he was testing on his local IIS 5.1 on XP). Well… same problem. So that could not be a security problem, ASP.NET was running as an administrator… ? The error…
-
Unable to “InitializeSecurityContext”?
Sometimes having fortune at your side can really save you the day (to say the least), and in developer support it can save you hours (of not days) of troubleshooting… With this premise, a couple of weeks ago I was helping a colleague from the Sql Server support team whom was struggling with an authentication problem one of his customers was having with Reporting Services: basically IIS was prompting them to login to access the application, but even entering the correct credentials those were refused, and after three strikes they were redirected to the standard 401 (unauthorized) page. While waiting for some logs I requested to the customer, I was building a repro for another customer I had at the same time (with a completely different problem, that was a weird runtime exception I’ll likely write about in another post), and one of the requisites was to have the application pool running under a domain account instead of the default NETWORK SERVICE: well… I got the same problem reported by the first customer! ? It worth mentioning that I was also using Integrated Authentication for the virtual directory, and interestingly, the problem disappeared if I was using a local account…
-
Google uses .NET…?!?
Have a look at this link: https://survey.google.com/wix/p0986235.aspx Uhm… let’s have a look at the source HTML of the page, and we’ll not find the “_VIEWSTATE” hidden field (it should be there also if we disable the viewstate in the @Page directly and for every control in the page) and the “__DoPostBack” Javascript method to submit the form… ? I may be completely wrong, they could have removed the unused _viewstate hidden field on the server right before sending the html stream to the client, but why? Just to save 2-3 Kb? Don’t know… sounds like a “trick”… maybe they just wanted to check the reaction about the file extension… ? Just to be clear: I don’t find anything wrong with it, just fun ? What do you think? Carlo
-
Channel9 speaks Italian
A few weeks after the Italian MS bloggers have joint in a (for the moment) small community and started promote their content, today I’ve been told that Channel9 started hosting non-English content, and guess what…? The first video of this series (in the home page ?) is in Italian! ? They’ll interview Italian people working in Redmond, of course talking about technology; in this first video Vittorio Bertocci interviews Mauro Ottaviani and they talk about WCF and performance. So, if you can read Italian keep an eye on https://channel9.msdn.com/tags/Italia? Carlo
-
Blog addict?
Uhm… should I try to improve or somehow “worsen” this figure? ?? Carlo