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

C#

 
GeneralRe: Invalid Padding when decrypting Pin
Hristo-Bojilov18-Aug-09 7:21
Hristo-Bojilov18-Aug-09 7:21 
GeneralRe: Invalid Padding when decrypting Pin
musefan18-Aug-09 7:23
musefan18-Aug-09 7:23 
AnswerRe: Invalid Padding when decrypting Pin
musefan19-Aug-09 1:29
musefan19-Aug-09 1:29 
QuestionHow to identify the active tab in IE? Pin
Jacobb Michael18-Aug-09 6:22
Jacobb Michael18-Aug-09 6:22 
Questionsort list Pin
nikhil123418-Aug-09 5:13
nikhil123418-Aug-09 5:13 
AnswerRe: sort list Pin
Hristo-Bojilov18-Aug-09 5:46
Hristo-Bojilov18-Aug-09 5:46 
AnswerRe: sort list Pin
Luc Pattyn18-Aug-09 13:19
sitebuilderLuc Pattyn18-Aug-09 13:19 
QuestionGetting Authentication Failure error message. Pin
V K 218-Aug-09 5:10
V K 218-Aug-09 5:10 
I am getting mscorlib:Authentication Failure error message when I open my application. The below piece of code executes while my application opens.

I am not understanding why this error is coming up.

private void InitializeRemoting(out int RemotingPortNumber)
{
// Establish server channel sink provider
BinaryServerFormatterSinkProvider svrSinkProvider = new BinaryServerFormatterSinkProvider();

svrSinkProvider.TypeFilterLevel = TypeFilterLevel.Full;

// Create and register tcp server channel to listen on a port.
m_serverChannel = new TcpServerChannel( "ITViewAppOperations",0,svrSinkProvider);

ChannelServices.RegisterChannel(m_serverChannel,true);

string PortNumberString = m_serverChannel.GetChannelUri().Split(':')[2];

RemotingPortNumber = Convert.ToInt32(PortNumberString);

// Register "BridgeFactory.rem" as singleton well know service types.
WellKnownServiceTypeEntry entry1 = new WellKnownServiceTypeEntry(typeof(IdeWMBridge).FullName,
typeof(IdeWMBridge).Assembly.FullName, // "AA.IDE.IdeWmBridge" "IdeWMBridge.rem",WellKnownObjectMode.Singleton);

RemotingConfiguration.RegisterWellKnownServiceType(entry1);

// Get remoting singleton bridge instance.
m_ideWmBridge = (AA.IDE.WMBridge.Common.IaaIdeWmBridge)Activator.GetObject(
typeof(AA.IDE.IdeWmBridge.IdeWMBridge),
"tcp://localhost:" + RemotingPortNumber + "/IdeWMBridge.rem");
SetLifetime(m_ideWmBridge, TimeSpan.FromDays(365 * 100));
m_ideWmBridge.IdeProxy = m_ideProxy;
}


private void SetLifetime(object obj, TimeSpan LeaseTime)
{
((ILease)((MarshalByRefObject)obj).GetLifetimeService()).Renew(LeaseTime);
}


Please let me know if anyone knows the solution.
AnswerRe: Getting Authentication Failure error message. Pin
Saksida Bojan18-Aug-09 7:12
Saksida Bojan18-Aug-09 7:12 
AnswerRe: Getting Authentication Failure error message. Pin
Luc Pattyn18-Aug-09 13:20
sitebuilderLuc Pattyn18-Aug-09 13:20 
Question[Message Deleted] Pin
VengefulSakhmet18-Aug-09 5:06
VengefulSakhmet18-Aug-09 5:06 
AnswerRe: SQL Query of HKEY_LOCAL_MACHINE Pin
riced18-Aug-09 6:39
riced18-Aug-09 6:39 
AnswerRe: SQL Query of HKEY_LOCAL_MACHINE Pin
Dave Kreskowiak18-Aug-09 7:12
mveDave Kreskowiak18-Aug-09 7:12 
QuestionCheck when webservice method is completed Pin
kstxx18-Aug-09 4:26
kstxx18-Aug-09 4:26 
AnswerRe: Check when webservice method is completed Pin
Pete O'Hanlon18-Aug-09 4:34
mvePete O'Hanlon18-Aug-09 4:34 
GeneralRe: Check when webservice method is completed Pin
kstxx18-Aug-09 4:40
kstxx18-Aug-09 4:40 
QuestionIContainer Confusion Pin
Xmen Real 18-Aug-09 3:39
professional Xmen Real 18-Aug-09 3:39 
AnswerRe: IContainer Confusion Pin
Henry Minute18-Aug-09 4:52
Henry Minute18-Aug-09 4:52 
GeneralRe: IContainer Confusion Pin
Xmen Real 18-Aug-09 7:19
professional Xmen Real 18-Aug-09 7:19 
QuestionHow to define a bitmap at varible Pin
Ronenb18-Aug-09 2:53
Ronenb18-Aug-09 2:53 
AnswerRe: How to define a bitmap at varible Pin
Luc Pattyn18-Aug-09 3:08
sitebuilderLuc Pattyn18-Aug-09 3:08 
AnswerRe: How to define a bitmap at varible Pin
Hristo-Bojilov18-Aug-09 3:46
Hristo-Bojilov18-Aug-09 3:46 
AnswerRe: How to define a bitmap at varible Pin
Henry Minute18-Aug-09 5:07
Henry Minute18-Aug-09 5:07 
QuestionInstallation Error C# apps setup in 64 bit OS? Pin
Tridip Bhattacharjee18-Aug-09 2:33
professionalTridip Bhattacharjee18-Aug-09 2:33 
AnswerRe: Installation Error C# apps setup in 64 bit OS? Pin
stancrm18-Aug-09 3:24
stancrm18-Aug-09 3:24 

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.