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

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

Time outs .....making sense of all options

Posted By:      Posted Date: October 18, 2010    Points: 0   Category :SharePoint

I am running across some session time outs in infopath and on occassion timeouts with sharepoint in general.  So doing some research I have only confused myself more.  So I ask to help provide some light on how to mesh all the different configuration settings together.

SharePoint Farm environment info:  All servers are server 2008 x64 OS, IIS 7, MOSS 2007 x64 enteprise sp2 with august cu, sql server 2008 x64.  all have latest patches and updates.

so trying to mesh together timeouts in general with features, webparts, form services, reporting services, excel services and all other items that can/do timeout

More Related Resource Links

Making Sense of ASP.NET Paths

ASP.Net includes quite a plethora of properties to retrieve path information about the current request, control and application. There's a ton of information available about paths on the Request object, some of it appearing to overlap and some of it buried several levels down, and it can be confusing to find just the right path that you are looking for.

real time reporting options

We have a client with real time reporting requirement. Up to 1 hour lag   time is allowed. Is log shipping an option? Please advise.

Storing signed documents and making time-based triggers


My boss wants me to create a workflow in SP 07 that will accomplish the following:

1.  Have a list of documents (mix of .pdf, .xls, and .doc) a new customer must e-sign (e-sign is already implemented).  Signed documents will then be archived under that customer's name so that an employee can select their name from a list to review the docs.

2.  Automatically create triggers that will email or notify managers when that customer has been with us for 30 days and 60 days.

I've watched quite a few videos on SP workflows and document management, but I haven't got a grasp on the best way to go about this, so I have a few questions:

1.  Can I achieve these requirements by using out-of-the-box workflows or other SP features?  Or will this require using creating a custom WF from VS or SPDesigner?  If creating a custom WF in VS is required, I am proficient with c#, so coding won't be an issue.

2.  How best approach this?  No need to go into great detail (unless you want to).  A high-level overview of what features and steps you would use would help out tremendously.

Thanks in advance.

why is that when i insert images tooltips take longer to load, also, Pop-up time-outs, can this be c


Why is that when i insert images the pop-ups take longer to load!?

I'm using an image that show's a question mark for tooltips (only 7Kb in size), the idea is you hover above the image and a tooltip appears giving information regarding the adjacent question (i'm developing an accident tracking system, so some questions relate to working lost days and i want to give users an explanation as to why i'm asking for certain information)

As i say, with each image i add the tool tips seem to take longer to appear?!

Also, is there a way of adjusting how long the tool tips appear for?

Can you delay making a control active for a certain amount of time?


I have created an Orientation Form with several views using buttons to change views for users to go in and read the material. What I would like to do is force a user to remain in a certain module(view) for a certain period time before a button would show to go back to the main page of the form. This would force someone from just going in and going back to check off they have completed it. Currently right now when a user goes in and reads the material the button is there that says "Return to Orientation" upon that button press it set the fields value to activate the completed check box and checks it.  Can this be done with just rules or will this require code?

What I was thinking was creating a hidden field with the current time when the entrance button is pressed then some how writing a rule to wait however many minutes to set another field to activate the button. But thats where I'm stumped don't know what the logic is to write the rule.

Round off time to the nearest minute

How would you round this up to the nearest minute? There isn't a built in function to do this so you have to use a little bit of maths to get there. There are 60 seconds in a minute. We already have 38 seconds on the clock. So we need to add on 60 - 38 = 22 more seconds.

Making Ajax Callbacks to the Server Using jQuery with ASP.NET

In the first part of this article series I introduced jQuery's functionality and how it provides a rich client side programming model. This time around I'll expand on these concepts and show you how you can use jQuery in combination with ASP.NET using it as an AJAX backend to retrieve data. I'll also discuss how you can create ASP.NET controls and otherwise interact with jQuery content from ASP.NET pages in WebForms.

jQuery is just a JavaScript library so it will work seamlessly with ASP.NET both from page code as well as through backend driven code using the Page.ClientScript object or ScriptManager. You can use jQuery on its own as a client side and Ajax library that communicates with ASP.NET or you can use jQuery in combination with ASP.NET AJAX. The two actually complement each other quite well as jQuery provides functionality that the ASP.NET AJAX library does not and vice versa. For the most part the interaction between the two libraries is trouble free except for a few very rare edge cases.

Performance Tests: Precise Run Time Measurements with System.Diagnostics.Stopwatch

Everybody who does performance optimization stumbles sooner or later over the Stopwatch class in the System.Diagnostics namespace. And everybody has noticed that the measurements of the same function on the same computer can differ 25% -30% in run time. This article shows how single threaded test programs must be designed to get an accuracy of 0.1% - 0.2% out of the Stopwatch class. With this accuracy, algorithms can be tested and compared.

Date and Time Functions in SQLSERVER

Date and time functions allow you to manipulate columns and variables with DATETIME and SMALLDATETIME data types.

1 DATEPART Function
2 DATENAME Function
3 DAY, MONTH, and YEAR Functions
5 DATEADD Functions
6 DATEDIFF Function
7 More SQL Server Functions

Data Types - Date and Time in SqlServer

Date and time values can be stored with either the DATETIME or SMALLDATETIME data type. The difference between the two is that SMALLDATETIME supports a smaller range of dates and does not give the same level of precision when accounting for time. The DATETIME data type can hold values from January 1st of 1753 to December 31st of 9999. The time is stored to the 1 three hundredths of a second and each value takes up 8 bytes of storage. The SMALLDATETIME data type can hold values between January 1st 1900 and June 6th of 2079. The time is tracked to the minute and each value takes up 4 bytes of storage. The majority of business applications can live happily with SMALLDATETIME, however, if you are in an environment where each second matters or you need to make estimates to the distant future (or past) then you have to resort to DATETIME. If you fail to specify the time when inserting a value into a DATETIME or SMALLDATETIME column, a default of midnight is used. If you fail to specify the date portion the default of January 1, 1900 is used.

How to programmatically add controls to Windows forms at run time by using Visual C#

Create a Windows Forms Application
Start Visual Studio .NET or Visual Studio 2005 or a later version, and create a new Visual C# Windows Application project named WinControls. Form1 is added to the project by default.
Double-click Form1 to create and view the Form1_Load event procedure.
Add private instance variables to the Form1 class to work with common Windows controls. The Form1 class starts as follows:

.NET 4 Web Application Startup Time

I was chatting with Jonathan Hawkins and some of the folks on the ASP.NET team about performance and Jonathan mentioned the startup time for large ASP.NET applications is improved on .NET 4. There are some improvements in the CLR and in ASP.NET itself that helped. If you have a giant app, you should do some tests.

Built-in Functions - Date and Time Functions

Date and time functions allow you to manipulate columns and variables with DATETIME and SMALLDATETIME data types.

Essential SQL Server Date, Time and DateTime Functions

The essential date and time functions that every SQL Server database should have to ensure that you can easily manipulate dates and times without the need for any formatting considerations at all.

Date/Time Conversions Using SQL Server

There are many instances when dates and times don't show up at your doorstep in the format you'd like it to be, nor does the output of a query fit the needs of the people viewing it. One option is to format the data in the application itself. Another option is to use the built-in functions SQL Server provides to format the date string for you.

Date and Time Data Types and Functions

The following sections in this topic provide an overview of all Transact-SQL date and time data types and functions. For information and examples that are common to date and time data types and functions

What Do the Different Printer Options using Windows Mobile Pocket Pc

Select Printer Options:
bullet Printer: Select the printer to print to. Some printer selections work for a variety of printers, such as the "HP PCL" selection which prints to most Hewlett Packard DeskJet, LaserJet and compatible printers.
bullet Port: Select between Infrared, Bluetooth, Network printing and Serial (COM1-COM8). Most Windows CE devices only have Infrared and COM1 and need special attachments to use the other selections. USB printing and printing across an ActiveSync connection to a desktop printer is not supported.
NOTE: On many Pocket PC devices, you CANNOT use the serial and infrared ports at the same time. This means that if your device is connected to your desktop PC using the serial Sync cable, the Infrared port will not work. You must disconnect the serial connection to use Infrared printing.
bullet Color/Mono: Select Monochrome (Black & White) if your printer is not a color printer (or if you wish to print in mono). If your printer has color capabilities AND has a black ink capability, select "4-Color CMYK". If your printer cannot hold both color ink and black ink at the same time, select "3-Color CMY".
bullet Paper Size: Select paper size for use. You can choose "Custom" and then set special paper sizes in the "Custom Paper" Width and Height boxes. For printers that use "roll" paper, you can set a maximum paper height of 22 inches.

More Settings O
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