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

C#

 
AnswerRe: seeting the background color of a Windows Form Pin
Larantz27-Oct-06 9:01
Larantz27-Oct-06 9:01 
GeneralRe: seeting the background color of a Windows Form Pin
Rocky#27-Oct-06 9:11
Rocky#27-Oct-06 9:11 
AnswerRe: seeting the background color of a Windows Form Pin
BoneSoft27-Oct-06 10:19
BoneSoft27-Oct-06 10:19 
QuestionC# 2.0 DataBinding using the BindingSource in user controls Pin
rajat_tandon200027-Oct-06 8:46
rajat_tandon200027-Oct-06 8:46 
QuestionSql Server connection [modified] Pin
Chris Morgan27-Oct-06 7:08
Chris Morgan27-Oct-06 7:08 
AnswerRe: Sql Server connection Pin
Dustin Metzgar27-Oct-06 8:33
Dustin Metzgar27-Oct-06 8:33 
GeneralRe: Sql Server connection Pin
Chris Morgan27-Oct-06 8:51
Chris Morgan27-Oct-06 8:51 
GeneralRe: Sql Server connection Pin
Dustin Metzgar27-Oct-06 9:05
Dustin Metzgar27-Oct-06 9:05 
This just sounds odd. I'm assuming that the 1.1 code works on a remote machine but the 2.0 code does not. Which rules out the possibility that there's a problem with the network setup. But the 2.0 code works on a local SQL server. If it works locally and not remotely, then the first thing to check is that the network and firewall are all set up correctly.

Faced with the problems you have, I would try to reduce everything to the least common denominator. Create a small console app that just runs simple code like this:
using (SqlConnection connection = new SqlConnection(connectionString))
{
    connection.Open();
    Console.WriteLine("ServerVersion: {0}", connection.ServerVersion);
    Console.WriteLine("State: {0}", connection.State);
}

Then just run it both locally and remotely for 1.1 and 2.0. Then I'd add little pieces from the SQL connection code of your app until I found what broke.

I'm not sure that any of this is helping, but good luck.



GeneralRe: Sql Server connection Pin
Chris Morgan27-Oct-06 9:32
Chris Morgan27-Oct-06 9:32 
GeneralRe: Sql Server connection Pin
Dustin Metzgar27-Oct-06 9:51
Dustin Metzgar27-Oct-06 9:51 
GeneralRe: Sql Server connection Pin
Dustin Metzgar27-Oct-06 10:06
Dustin Metzgar27-Oct-06 10:06 
GeneralRe: Sql Server connection Pin
Chris Morgan27-Oct-06 13:20
Chris Morgan27-Oct-06 13:20 
GeneralRe: Sql Server connection Pin
Dustin Metzgar27-Oct-06 13:43
Dustin Metzgar27-Oct-06 13:43 
AnswerRe: Sql Server connection Pin
Rob Graham27-Oct-06 10:28
Rob Graham27-Oct-06 10:28 
QuestionObject to IntPtr... Pin
Shy Agam27-Oct-06 6:31
Shy Agam27-Oct-06 6:31 
AnswerRe: Object to IntPtr... Pin
Guffa27-Oct-06 7:07
Guffa27-Oct-06 7:07 
GeneralRe: Object to IntPtr... Pin
Shy Agam27-Oct-06 7:17
Shy Agam27-Oct-06 7:17 
GeneralRe: Object to IntPtr... Pin
led mike27-Oct-06 7:31
led mike27-Oct-06 7:31 
GeneralRe: Object to IntPtr... Pin
Shy Agam27-Oct-06 7:41
Shy Agam27-Oct-06 7:41 
GeneralRe: Object to IntPtr... Pin
led mike27-Oct-06 7:46
led mike27-Oct-06 7:46 
GeneralRe: Object to IntPtr... Pin
Eric Dahlvang27-Oct-06 8:12
Eric Dahlvang27-Oct-06 8:12 
GeneralRe: Object to IntPtr... Pin
Shy Agam27-Oct-06 8:27
Shy Agam27-Oct-06 8:27 
AnswerRe: Object --> IntPtr... Pin
ednrgc27-Oct-06 7:35
ednrgc27-Oct-06 7:35 
QuestionNewbie in need of webcam/capture/video overlay help Pin
edwa582327-Oct-06 6:18
edwa582327-Oct-06 6:18 
AnswerRe: Newbie in need of webcam/capture/video overlay help [modified] Pin
Larantz27-Oct-06 9:52
Larantz27-Oct-06 9:52 

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.