.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Uh oh, this is not good...

Posted By:      Posted Date: October 15, 2010    Points: 0   Category :ASP.Net

I recently was forced into moving up the chain from having a web application targeting framework 2.0 to framework 3.5--my pc's hd crashed and i was presented by my company's desktop IT folks with Win7 instead of XP Pro--I was running reportviewer 2005 reports and couldn't edit them so I just took the plunge. 

My previous environment was vwd2005 and am now using full blown vs2010 (as per Win7).  The web site is running on 2 load balanced IIS 6 machines that use sql server 2000 for sessionState.  I'm now seeing why it is a bad idea to be forced into such a situation without much ability to prepare for the fallout.  Prior to migration to 3.5 the web application ran for the most part without problems--a necessary tweak here and there.  Since then, I've gotten alot of errors on pages/controls that never had a problem previously and I am entirely at a loss as to what is going on with this application. That said, on to the problem.

I have several pages that are throwing errors.  The errors do not always occurr and they seem to occurr at random times of day--and seemingly regardless of user load.  When the error on a particular page does occurr, a user experiences the error, use the back button and will retry as many as 3 times before the page runs as intended as if nothing was wrong. 

View Complete Post

More Related Resource Links

Good way to do a Many-to-Many relationship?


I've used the automatic  Many-to-Many generation as described here: http://msdn.microsoft.com/en-us/library/dd742359.aspx

But that doesn't seem to allow a quantity to be attached to orders (in the example it would be courses). I have many customers and many products, I would like a customer to be able to order more than one product. Right now I get a grid of checkboxes. I would like instead a field where I could enter a number. 

Is this possible?

{ End Bracket }: What Makes A Good Software Tester?


In this month's installment, James McCaffrey talks about the qualities and skills he looks for when searching for great software testers.

Dr. James McCaffrey

MSDN Magazine December 2008

{ End Bracket }: What Makes Good Code Good?


When MSDN Magazine asked me to write a page on something I care about, I said, "You mean, like abolishing taxes, car phones, and SUVs?" Alas, they meant something to do with programming. Well! After pondering, I realized that something I care about is writing good code.

Paul DiLascia

MSDN Magazine July 2004

Is DD as good as it looks?



I only just came across DD, and am impressed with what I see at first glance.

However, having been stung in the past by new MS technologies that look like they will save time, I am interested to know if DD is really as good as it looks. Sure, I had a working site up in minutes, and I can see how to do some configuration, but are there any issues people have found further down the road?

Basically, is it as good as it looks? Thanks for any comments.

What is a good example Dynamic Data application?


I'm giving a demonstration of Dynamic Data to a bunch of geeks in two weeks time. I'm looking for a simpe, but comprehensive data model to build the application on. I basically just want to register the model and demonstrate the application, as built (scaffolded) without any customisation, to start with, demonstrating list and detail/edit/insert views, and how table relations are handled.

I'd like to avoid one of the standards, i.e. the Customer->Order-OrderItem models, and try something that would be of interest to geeks. Maybe a Srum project tracker, an or a bug tracker, something like that.

Any suggestions please?

This was originally asked by myself on StackOverflow at: http://stackoverflow.com/questions/3536803/what-is-a-good-example-dynamic-data-application

Good html design software



I've been using visual studio for ages and find it quite cumbersome to produce snappy aspx pages.

I'm wondering if anyone recommends from a developers perspective a nice product to handle the graphical html generation?


Good news for those of you who get "Unable to make the session state request to the session state se


Dear all,

Due to the known problem of session variables getting lost if using InProc-server during frequent changes in development, I had to choose between SQL and ASP.NET State server, so I opted for the second. Initially, all fine, but after using it for a few days, I started to get this error:

 Server Error in '/cv2' Application.
Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same.  If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.  If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '' as the server name.
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.Web.HttpException: Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the clie

Download the "Good, Better, Best" White Paper for SharePoint 2010

This paper shows how two products, Microsoft Office and Microsoft SharePoint, contribute to the powerful architectural design of the Microsoft Business Productivity Infrastructure (BPI).

Is CTP4 good enough to be used in production code



Can we use CTP4 in production code?

When will it be included in .net framework 4.0?

i need a good function that will validate an email adress

i need a function that will check whether a string input is a valid email adress or not thnx a lot

Is it a good practice to use DataContract attributes on business entities

Hi Folks, Currently I am developing a framwork for travel industry and finally my framework will expose its operations in the form of WCF Service. I was wondering if it is a good idea to decorate your entities and class with DataContract attributes. I know this is required if you want your classes/fields to be serialized/deseralized.  However, by Adding these attributes mean you are making your entities service specific which I believe not a good idea. Service and domain specific entities should be seperate. One solution to this would be to make DTOs and decorate them with these attributes and this make sense as core purpose of these DTOs is serialization and deserialization. What can be other options....? Please share your thoughts. Thanks, Naeem

How good is SQL Server Express?

I'm thinking of using SQL Server Express for hosting a bunch of my web applications. How secure is Express and will it handle some basic web applications? I'm guessing that total number of users per day (accessing my web applications) are probably less than a thousand. Last thing, what are the limitations of Express? It's free, correct?

Any good Approval-type workflow tutorials for VS 2010?

Greetings.  I'm looking for some good tutorials (or books) on creating SharePoint 2010 Approval workflows in Visual Studio 2010.  I've spent a few hours digging through the search results on bing/google, but almost all of the examples (including content from Microsoft) show a very simple workflow in Visual Studio 2010 that doesn't contain approval steps.  I am looking for a more comprehensive tutorial on how to build a workflow that contains approval steps and evaluates the column values (i.e. evaluate a list column  if(Total Cost > 10000)) to determine branching.  InfoPath integration is a bonus but not required.  Anyone have any good links with solid tutorials?  Thanks in advance.

Who can come up with a good SSIS solution to this problem?

Test your SSIS optimization skills on this problem: http://ask.sqlservercentral.com/questions/17499/phil-factor-speed-phreak-challenge-6-the-stock-exchange-order-book-state-problem Johan Åhlén http://blogical.se/blogs/jahlen  

Best JavaScript Practices...also some good tutorial sources

Is it better/more popular to have your JavaScript code integrated in your .aspx page, or in a separate .js file?  I know that html code, as well as JavaScript, can get pretty extensive, so it's always nice to keep code in a separate file. What do you recommend?  What are the syntax differences with each? Are there any good online sources for learning/perfecting javascript as it applies to ASP.NET?  Thanks in advance. :)

Tips on Posting Good Questions

Here are a few suggestions that make it sure you get the best answer to your question as quickly as possible: Search for your question on the forums or in Visual Studio's help system first -- it's likely someone may have already answered your question, and you won't have to waste time waiting for it to be answered again Post in the correct forum (see below) -- since the experts in various subject matters tend to stick to the set of forums that focus on those topics, a question about the C# yield keyword posted in the Common Language Runtime forum will likely take a lot longer to be answered than the same question in the C# Language forum. Make sure your title summarizes the specific problem you have --  since we try to answer the maximum number of questions we can with our time, we often skim through question subjects to quickly find the ones that we know the answers to.  A question with a title of "Urgent! Help needed!" is not as likely to get answered as a question with a title of "How do I use the BinaryFormatter with IIS".  A more specific, detailed title is far more likely to get a response than a general one.  Give details about your problem --  rather than "When I call Process.Start I get an exception, please help", provide the exception type, message, and call stack.  If possible pro
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend