Click here to Skip to main content
15,914,419 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Getting error in compare datareader value and string value Pin
Blue_Boy29-Apr-08 23:03
Blue_Boy29-Apr-08 23:03 
QuestionHow to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
Piyush Vardhan Singh29-Apr-08 22:51
Piyush Vardhan Singh29-Apr-08 22:51 
AnswerRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
eyeseetee29-Apr-08 22:54
eyeseetee29-Apr-08 22:54 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
Piyush Vardhan Singh29-Apr-08 23:16
Piyush Vardhan Singh29-Apr-08 23:16 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
eyeseetee29-Apr-08 23:18
eyeseetee29-Apr-08 23:18 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
Piyush Vardhan Singh29-Apr-08 23:28
Piyush Vardhan Singh29-Apr-08 23:28 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
eyeseetee29-Apr-08 23:47
eyeseetee29-Apr-08 23:47 
GeneralRe: How to handel this(The channel 'tcp' is already registered.) Exception in remotin Pin
Piyush Vardhan Singh30-Apr-08 0:08
Piyush Vardhan Singh30-Apr-08 0:08 
CLient


Dim serverProv As New BinaryServerFormatterSinkProvider
serverProv.TypeFilterLevel = Runtime.Serialization.Formatters.TypeFilterLevel.Full
Dim clientProv As New BinaryClientFormatterSinkProvider
'Dim props As IDictionary = New Hashtable
props = New Hashtable
props("port") = 0
RemoteChannel = New TcpChannel(props, clientProv, serverProv)
ChannelServices.RegisterChannel(RemoteChannel, True)
RODemo = Activator.GetObject(GetType(RemoteObject.DemoObject), "tcp://localhost:40011/Test")
Dim mRemoteObjectEventHelper As New RemoteObject.RemoteObjectEventHelper(RODemo)
AddHandler mRemoteObjectEventHelper.RemoteStatusObjectEvent, AddressOf HandleTheEvent


Server

BotCollection = New Collection()
Dim serverProv As New BinaryServerFormatterSinkProvider
serverProv.TypeFilterLevel = Runtime.Serialization.Formatters.TypeFilterLevel.Full
Dim clientProv As New BinaryClientFormatterSinkProvider
'Dim props As IDictionary = New Hashtable
props = New Hashtable

props.Remove("port")
props("port") = 40011
RemoteChannel = New TcpChannel(props, clientProv, serverProv)

ChannelServices.RegisterChannel(RemoteChannel, True)
RemotingConfiguration.RegisterWellKnownServiceType(GetType(RemoteObject.DemoObject), "Test", WellKnownObjectMode.Singleton)
RODemo = Activator.GetObject(GetType(RemoteObject.DemoObject), "tcp://localhost:40011/Test")
RODemo.Initiator = "Server"
Dim mRemoteObjectEventHelper As New RemoteObject.RemoteObjectEventHelper(RODemo)
AddHandler mRemoteObjectEventHelper.RemoteObjectEvent, AddressOf HandleTheEvent
AddHandler mRemoteObjectEventHelper.RemoteSDObjectEvent, AddressOf ShutHandleTheEvent
AddHandler mRemoteObjectEventHelper.RemoteStatusObjectEvent, AddressOf FindBotStatusEvent
AddHandler mRemoteObjectEventHelper.RemotegetStatusObjectEvent, AddressOf getBotStatusEvent

Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com



Question"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Pro Pin
1.21 Gigawatts29-Apr-08 22:50
1.21 Gigawatts29-Apr-08 22:50 
AnswerRe: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Pin
eyeseetee29-Apr-08 22:54
eyeseetee29-Apr-08 22:54 
GeneralRe: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Pin
1.21 Gigawatts29-Apr-08 22:57
1.21 Gigawatts29-Apr-08 22:57 
GeneralRe: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Pin
eyeseetee29-Apr-08 23:16
eyeseetee29-Apr-08 23:16 
GeneralRe: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Pin
1.21 Gigawatts29-Apr-08 23:39
1.21 Gigawatts29-Apr-08 23:39 
QuestionCalendr in pop up window: javascript error Pin
rahul.net1129-Apr-08 22:20
rahul.net1129-Apr-08 22:20 
AnswerRe: Calendr in pop up window: javascript error Pin
Vasudevan Deepak Kumar29-Apr-08 22:22
Vasudevan Deepak Kumar29-Apr-08 22:22 
GeneralRe: Calendr in pop up window: javascript error Pin
rahul.net1129-Apr-08 22:36
rahul.net1129-Apr-08 22:36 
QuestionCalling Javascript on Body onload Pin
dwadasi29-Apr-08 22:02
dwadasi29-Apr-08 22:02 
AnswerRe: Calling Javascript on Body onload Pin
Vasudevan Deepak Kumar29-Apr-08 22:23
Vasudevan Deepak Kumar29-Apr-08 22:23 
AnswerRe: Calling Javascript on Body onload Pin
Guffa29-Apr-08 23:25
Guffa29-Apr-08 23:25 
QuestionCHALLENGING QUESTING FOR PROGRAMMERS - String to Textbox in C#.NET?? [modified] Pin
Karan_TN29-Apr-08 21:47
Karan_TN29-Apr-08 21:47 
AnswerRe: String to Textbox in C#.NET?? Pin
Blue_Boy29-Apr-08 21:49
Blue_Boy29-Apr-08 21:49 
QuestionRe: String to Textbox in C#.NET?? Pin
Karan_TN29-Apr-08 21:55
Karan_TN29-Apr-08 21:55 
AnswerRe: String to Textbox in C#.NET?? [modified] Pin
Blue_Boy29-Apr-08 22:54
Blue_Boy29-Apr-08 22:54 
AnswerRe: String to Textbox in C#.NET?? Pin
eyeseetee29-Apr-08 22:06
eyeseetee29-Apr-08 22:06 
QuestionRe: String to Textbox in C#.NET?? Pin
Karan_TN29-Apr-08 22:13
Karan_TN29-Apr-08 22:13 

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.