Browse by Tags

I was investigating a scenario in which someone was seeing thousands of hits to the destination location of an RSS Viewer Web Part. They had the Feed Refresh Interval set to 120 minutes, and increasing the value did not seem to reduce the number of requests hitting the RSS Feed page. We were able to...

When you setup SQL Server Reporting Services [SSRS] in SharePoint Integrated mode , browsing http://servername/ReportServer will show you a directory listing view of SharePoint Site Collections that is security trimmed to you. However, there are some downsides to this view. Users can probe through the...

Here’s the situation, SSL is setup to terminate at the load balancer. Sticky sessions are setup as well, so once you hit a particular WFE, your future requests are routed to the same box. The problem is that there is not an easy way to validate that the sites are responding from a client...

A customer was browsing their SharePoint site and randomly seeing a white page with "An Unexpected Error Has Occurred" in black, unformatted text being returned [your text may vary]. If you run across this, it indicates that the Error.aspx page threw an exception while processing. The Error.aspx page...

Working with one of my customers and they were wanting to setup an email notification on a custom site that was originally based on a blog site. The notification needed to be sent whenever someone created/modified a post or a comment associated with the post, and the alert needed to be based on the Categories...

Randomly users start receiving "white screen" responses when browsing a SharePoint site. They essentially browse a URL and the response completes (IE shows Done in the status bar), but the response is an empty HTML page. We found that this would only happen to a single server at a time and the symptom...

I was recently working with someone that was leveraging the AJAX Extension and the Control Toolkit and they were running into an issue where a customer's environment was causing issues making requests to ScriptResource.axd. Since they couldn't change the environment, they needed to reference the .js...

Issue - Random FileNotFoundException when browsing ASP.Net 2.0 application. An event similar to the following will be logged in the event viewer. The file name in the exception is typically different every time:
Exception message: Could not load file or assembly 'App_Web_-a8debde, Version=0.0.0.0...

This sample was a result of an idea from Kent Post at Akamai. He was wanting to be able to launch a process on a remote server and get real-time updates in the browser. In this case, we focused on running WinPE scripts to build ISO's on the server. The WinPE scripts can take a long time to process, and...

This is my third mobile post this week! This one was tricky to track down so hopefully this will save someone some time. The symptom you see is that users get the following exception. If you're using ASP.NET 2.0, we would log this to the Event Viewer by default thanks to Web Events:
Exception...

When you make a request to an ASP.NET based site, the browser's capabilities are determined by the <browserCaps> section in the 1.x Framework and the .browser files in the 2.0 framework. Knowing which capabilites that ASP.NET is using to render the page can be especially important in mobile applications...

When developing Mobile ASP.NET apps, it is useful to test the application across a variety of devices if the site is going to be posted to the internet. ASP.NET Mobile controls rely on adapters to handle rendering on the different devices. In order to hit the different adapters to ensure your page will...

I was recently working with JavaScript and ran into some weird things I hadn't ran into before. While I'm sure the JavaScript masters of the world already know all about this stuff, hopefully this post can keep others from pulling out too much hair. The first one deals with scoping:
If you don’t explicitly...

Trying to catch back up on my blogging, I have a list of topics to post on, just haven't had time to get to them. I wrote this article over a month ago...figured I would link it up from here.
The default web part catalogs that are shipped with ASP.Net require you to configure the list of web parts...

We've seen a few of these issues come through lately andwanted to get something posted so people can find it.
If you created a custom account to run the process that ASP.NET is running in, you may encounter the following exception:
System.InvalidOperationException: Mutex could not be...

Finally got around to getting a clean install of Vista Beta 2 on my laptop and of course the first thing I install is Visual Studio 2005 and IIS 7 to see how the Local IIS option is going to play with the newly revamped IIS. Well, if you choose the default options, this is the message you get when selecting...

If you change the version on the ASP.NET tab that comes with the 2.0 Framework, the entire W3SVC process restarts. If you make this type of change during a maintenance window, the impact may not be too bad, but if you have multiple application pools in IIS and need to make this type of change during...

The HttpOnly attribute has been added to the Session cookie generated by ASP.NET 2.0. This value is hardcoded and cannot be changed via a setting in the application. While this is documented as a breaking change in the breaking changes document (linked below), it's not clear the types of symptoms you...

In 1.1, we used the requireSSL attribute to ensure that the FormsAuthentication cookie has the secure attribute set. In 2.0, if you have requireSSL set, we'll remove the cookie from the incoming request if the web server receives the cookie over a non-secure connection.
Client --> SSL --> Device...

If you're using the new menu control that ships with ASP.NET 2.0 and SSL Termination/Acceleration, you will run into this issue. The behavior the end users will see is a warning in the browser stating something similar to:
This page contains both secure and nonsecure items. Do you want to display...

Ran across this the other day and thought someone else may find it useful. Javascript for the ASP.Net 2.0 controls is typically generated by a request to webresource.axd. For example when you add a menu control, you see the following in the page:
<script src="http://blogs.msdn.com/myapp/WebResource...

There was a design change to the web sites in Visual Studio 2005 in which properties for custom base page classes are not parsed at design time. The result of this change is that the properties are not displayed in the Properties pane and you cannot debug any design time based code in your base class...

One of the more difficult issues to troubleshoot deal with 2 users seeing each others data when they shouldn't be able to. ex. User1 sees User2's data. Most of the time while troubleshooting, you find that the problem reproduces if two people submit the form at the same time from different machines....