Click here to Skip to main content
15,902,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: Printing any file using Shell Pin
Nader Elshehabi19-May-06 11:34
Nader Elshehabi19-May-06 11:34 
GeneralRe: Printing any file using Shell Pin
emran83419-May-06 21:52
emran83419-May-06 21:52 
GeneralRe: a question about SQL Pin
emran83420-May-06 20:03
emran83420-May-06 20:03 
GeneralRe: a question about SQL [modified] Pin
Nader Elshehabi21-May-06 11:27
Nader Elshehabi21-May-06 11:27 
GeneralRe: a question about SQL [modified] Pin
emran83425-May-06 13:13
emran83425-May-06 13:13 
AnswerRe: a question about SQL [modified] Pin
Nader Elshehabi28-May-06 5:05
Nader Elshehabi28-May-06 5:05 
GeneralRe: a question about SQL [modified] Pin
emran83428-May-06 18:09
emran83428-May-06 18:09 
AnswerRe: a question about SQL [modified] Pin
Nader Elshehabi29-May-06 13:22
Nader Elshehabi29-May-06 13:22 
Dear Emran, I'm realy happy to help you, please don't be so sensitive, you're NOT bothering me at all.

For the loading problem, I feel it's not the SQL timeout, I really doubt it. Do you make any other connections? like using sockets? any other procuders that uses timeout, like browser component?, try to debug your application to that timeout exception, and trace its source. You should make sure that it's SQL timeout before tapering with the connectionstring. Also you said that the old value is 15 seconds. Does your application throws that exception after 15 seconds of loading, or more? or less?? Such answers may help you identifying the source of the exception.

Anyway, if you want to change the Timeout of your connection, don't do it directly from your application's config file, as it changes by building your app. Do it by changing the connection string as follows:
1- Right click on the project's name in the solution explorer.
2- Click on properties
3- Click on the settings tab (located to the left usually)
4- You should see your connection string to the right. When you click on it, a small button with three dtos on it "..." should appear at the right end of the field, click on that button.
5- On the dialog that shows up click on "Advanced" button
6- A property page should appear. Shearch for the timeout property and change it to the value that suits you.

If that solves your problem, then thank God, but if not, try to post me more of your loading code in your constructor and FRAME_LOAD event handler. Also post the Call stack of your exception, so that we could trace the source of the timeout, as I'm not convinced that the problem is in the SQL timeout.

If you have ANY question at ANY time, don't think twice. Post it, or even send it to me as an email, OK?;) I'm waiting for your reply to see if this works out.

QuestionHow to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 12:53
TinaQ16-May-06 12:53 
AnswerRe: How to preserve line feed character in C# TextBox ? Pin
Office Lineman16-May-06 13:06
Office Lineman16-May-06 13:06 
AnswerRe: How to preserve line feed character in C# TextBox ? Pin
Christian Graus16-May-06 13:16
protectorChristian Graus16-May-06 13:16 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 13:48
TinaQ16-May-06 13:48 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
Christian Graus16-May-06 14:00
protectorChristian Graus16-May-06 14:00 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 14:08
TinaQ16-May-06 14:08 
QuestionHow to stop service from being stopped Pin
DUKEMAN16-May-06 11:22
DUKEMAN16-May-06 11:22 
AnswerRe: How to stop service from being stopped Pin
martin_hughes16-May-06 12:26
martin_hughes16-May-06 12:26 
AnswerRe: How to stop service from being stopped Pin
Albert Pascual16-May-06 12:55
sitebuilderAlbert Pascual16-May-06 12:55 
GeneralRe: How to stop service from being stopped Pin
DUKEMAN16-May-06 21:29
DUKEMAN16-May-06 21:29 
GeneralRe: How to stop service from being stopped Pin
thrakazog17-May-06 6:26
thrakazog17-May-06 6:26 
GeneralRe: How to stop service from being stopped Pin
Nader Elshehabi22-May-06 1:31
Nader Elshehabi22-May-06 1:31 
QuestionC# preprocessor variable for CLR version Pin
Rei Miyasaka16-May-06 11:09
Rei Miyasaka16-May-06 11:09 
AnswerRe: C# preprocessor variable for CLR version Pin
Nader Elshehabi16-May-06 11:57
Nader Elshehabi16-May-06 11:57 
GeneralRe: C# preprocessor variable for CLR version Pin
Rei Miyasaka16-May-06 12:01
Rei Miyasaka16-May-06 12:01 
GeneralRe: C# preprocessor variable for CLR version Pin
Nader Elshehabi16-May-06 12:12
Nader Elshehabi16-May-06 12:12 
GeneralRe: C# preprocessor variable for CLR version Pin
Rei Miyasaka16-May-06 12:19
Rei Miyasaka16-May-06 12:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.