473,320 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

P2P::System.Net.Peer2Peer error

Hi
I have been installed Longhorn, alfa version from PDC 2003. I tryed to install Visual Studio 8.0 "Whidbey", version Beta March 2004, under Longhorn and doesen't work. :
I instaled Whidbey under XP and works well

In .Net Framework 1.2 from Longhorn there is a namespace called System.Net.PeerToPeer in \Windows\Microsoft.Net\Windows\v6.0.4030\System.Ne t.PeerToPeer.dl

Whidbey come with .Net Framework 2.0, but System.Net.PeerToPeer no longer exist. :

I have copied System.Net.PeerToPeer.dll under XP, I start a basically C# project in Whidbey and added System.Net.PeerToPeer.dll as reference=>Compiled and run => all works well
I added following code on Form1_Load() method

System.Net.PeerToPeer.Cloud c = System.Net.PeerToPeer.CloudWatcher.GetGlobalCloud( )

Compiled => This warning
Priority = "Normal", Category = "Warning", Default order = "0", , Description = "Reference to type 'System.Collections.Generic.List' claims it is defined in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.40301\msc orlib.dll', but it could not be found", File = "c:\Work\p2p\dll\System.Net.PeerToPeer.dll", , (null) = "10",

Files mscorlib.dll and System.Net.PeerToPeer.dll are both there

Run=>An exception

Exception:[System.TypeInitializerException] {"The type initializer for 'System.Net.PeerToPeer.CloudManager' threw an exception."
Data: {System.Collections.ListDictionaryInternal
HyperLink:nul
InnerException: {"Could not load type 'System.Collections.Generic.List' from assembly 'mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."
Message:"The type initializer for 'System.Net.PeerToPeer.CloudManager' threw an exception.
Source: "System.Net.PeerToPeer
StackTrace: " at System.Net.PeerToPeer.CloudManager.GetGlobalCloud(
at System.Net.PeerToPeer.CloudWatcher.GetGlobalCloud(
at P2PChat.Form1.ResolveInPnrp(String PeerName) in c:\\work\\whidbey\\p2pchat\\p2pchat\\form1.cs:line 5
at P2PChat.Form1.Form1_Load(Object sender, EventArgs e) in c:\\work\\whidbey\\p2pchat\\p2pchat\\form1.cs:line 3
at System.Windows.Forms.Form.OnLoad(EventArgs e
at ...et
TargetSite: {System.Net.PeerToPeer.Cloud GetGlobalCloud()

I specify that System.Net.PeerToPeer.dll have following informations
Runtime Version: 1.2.3070
Specific Version: Fals
Strong Name: Tru
Version: 6.0.4051.

I think it search for mscorlib.dll version 1.2? Did it

Could someone help me? Any help would be apreciate

However if I try to add System.Net.PeerToPeer as reference in VS 2003 and same code I've got this exception
An unhandled exception of type 'System.TypeLoadException' occurred in system.windows.forms.dl
Additional information: Error: Signature has invalid ELEMENT_TYPE_* (element type: 0

Thanks for any help!
Nov 22 '05 #1
3 3379
The System.Net.PeerToPeer.dll is only available in the PDC release of
Longhorn. To be able to use this functionality, for now you are limited to
using the environment .Net Framework provided by Longhorn PDC release. The
binaries (.Net Framework and System.Net.PeerToPeer.dll) are strongly
dependent on the versions and will not work if they are mismatched- so
please try to use the LH PDC release as is.

Please let us know if you continue to have problems with it.

Geogy

--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Softer" <so****@infoiasi.ro> wrote in message
news:D9**********************************@microsof t.com...
Hi!
I have been installed Longhorn, alfa version from PDC 2003. I tryed to
install Visual Studio 8.0 "Whidbey", version Beta March 2004, under
Longhorn and doesen't work. :(
I instaled Whidbey under XP and works well.
In .Net Framework 1.2 from Longhorn there is a namespace called
System.Net.PeerToPeer in
\Windows\Microsoft.Net\Windows\v6.0.4030\System.Ne t.PeerToPeer.dll

Whidbey come with .Net Framework 2.0, but System.Net.PeerToPeer no longer
exist. :(

I have copied System.Net.PeerToPeer.dll under XP, I start a basically C#
project in Whidbey and added System.Net.PeerToPeer.dll as
reference=>Compiled and run => all works well.
I added following code on Form1_Load() method:

System.Net.PeerToPeer.Cloud c =
System.Net.PeerToPeer.CloudWatcher.GetGlobalCloud( );

Compiled => This warning:
Priority = "Normal", Category = "Warning", Default order = "0", ,
Description = "Reference to type 'System.Collections.Generic.List' claims
it is defined in
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.40301\msc orlib.dll', but it could
not be found", File = "c:\Work\p2p\dll\System.Net.PeerToPeer.dll", ,
(null) = "10",

Files mscorlib.dll and System.Net.PeerToPeer.dll are both there.

Run=>An exception:

Exception:[System.TypeInitializerException] {"The type initializer for
'System.Net.PeerToPeer.CloudManager' threw an exception."}
Data: {System.Collections.ListDictionaryInternal}
HyperLink:null
InnerException: {"Could not load type 'System.Collections.Generic.List'
from assembly 'mscorlib, Version=2.0.3600.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'."}
Message:"The type initializer for 'System.Net.PeerToPeer.CloudManager'
threw an exception."
Source: "System.Net.PeerToPeer"
StackTrace: " at System.Net.PeerToPeer.CloudManager.GetGlobalCloud( )
at System.Net.PeerToPeer.CloudWatcher.GetGlobalCloud( )
at P2PChat.Form1.ResolveInPnrp(String PeerName) in
c:\\work\\whidbey\\p2pchat\\p2pchat\\form1.cs:line 52
at P2PChat.Form1.Form1_Load(Object sender, EventArgs e) in
c:\\work\\whidbey\\p2pchat\\p2pchat\\form1.cs:line 33
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at ...etc
TargetSite: {System.Net.PeerToPeer.Cloud GetGlobalCloud()}

I specify that System.Net.PeerToPeer.dll have following informations:
Runtime Version: 1.2.30703
Specific Version: False
Strong Name: True
Version: 6.0.4051.0

I think it search for mscorlib.dll version 1.2? Did it?

Could someone help me? Any help would be apreciate!

However if I try to add System.Net.PeerToPeer as reference in VS 2003 and
same code I've got this exception:
An unhandled exception of type 'System.TypeLoadException' occurred in
system.windows.forms.dll
Additional information: Error: Signature has invalid ELEMENT_TYPE_*
(element type: 0x

Thanks for any help!

Nov 22 '05 #2
The System.Net.PeerToPeer.dll is only available in the PDC release of
Longhorn. To be able to use this functionality, for now you are limited to
using the environment .Net Framework provided by Longhorn PDC release. The
binaries (.Net Framework and System.Net.PeerToPeer.dll) are strongly
dependent on the versions and will not work if they are mismatched- so
please try to use the LH PDC release as is.

Please let us know if you continue to have problems with it.

Geogy

--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Softer" <so****@infoiasi.ro> wrote in message
news:D9**********************************@microsof t.com...
Hi!
I have been installed Longhorn, alfa version from PDC 2003. I tryed to
install Visual Studio 8.0 "Whidbey", version Beta March 2004, under
Longhorn and doesen't work. :(
I instaled Whidbey under XP and works well.
In .Net Framework 1.2 from Longhorn there is a namespace called
System.Net.PeerToPeer in
\Windows\Microsoft.Net\Windows\v6.0.4030\System.Ne t.PeerToPeer.dll

Whidbey come with .Net Framework 2.0, but System.Net.PeerToPeer no longer
exist. :(

I have copied System.Net.PeerToPeer.dll under XP, I start a basically C#
project in Whidbey and added System.Net.PeerToPeer.dll as
reference=>Compiled and run => all works well.
I added following code on Form1_Load() method:

System.Net.PeerToPeer.Cloud c =
System.Net.PeerToPeer.CloudWatcher.GetGlobalCloud( );

Compiled => This warning:
Priority = "Normal", Category = "Warning", Default order = "0", ,
Description = "Reference to type 'System.Collections.Generic.List' claims
it is defined in
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.40301\msc orlib.dll', but it could
not be found", File = "c:\Work\p2p\dll\System.Net.PeerToPeer.dll", ,
(null) = "10",

Files mscorlib.dll and System.Net.PeerToPeer.dll are both there.

Run=>An exception:

Exception:[System.TypeInitializerException] {"The type initializer for
'System.Net.PeerToPeer.CloudManager' threw an exception."}
Data: {System.Collections.ListDictionaryInternal}
HyperLink:null
InnerException: {"Could not load type 'System.Collections.Generic.List'
from assembly 'mscorlib, Version=2.0.3600.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'."}
Message:"The type initializer for 'System.Net.PeerToPeer.CloudManager'
threw an exception."
Source: "System.Net.PeerToPeer"
StackTrace: " at System.Net.PeerToPeer.CloudManager.GetGlobalCloud( )
at System.Net.PeerToPeer.CloudWatcher.GetGlobalCloud( )
at P2PChat.Form1.ResolveInPnrp(String PeerName) in
c:\\work\\whidbey\\p2pchat\\p2pchat\\form1.cs:line 52
at P2PChat.Form1.Form1_Load(Object sender, EventArgs e) in
c:\\work\\whidbey\\p2pchat\\p2pchat\\form1.cs:line 33
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at ...etc
TargetSite: {System.Net.PeerToPeer.Cloud GetGlobalCloud()}

I specify that System.Net.PeerToPeer.dll have following informations:
Runtime Version: 1.2.30703
Specific Version: False
Strong Name: True
Version: 6.0.4051.0

I think it search for mscorlib.dll version 1.2? Did it?

Could someone help me? Any help would be apreciate!

However if I try to add System.Net.PeerToPeer as reference in VS 2003 and
same code I've got this exception:
An unhandled exception of type 'System.TypeLoadException' occurred in
system.windows.forms.dll
Additional information: Error: Signature has invalid ELEMENT_TYPE_*
(element type: 0x

Thanks for any help!

Nov 22 '05 #3
The System.Net.PeerToPeer.dll is only available in the PDC release of
Longhorn. To be able to use this functionality, for now you are limited to
using the environment .Net Framework provided by Longhorn PDC release. The
binaries (.Net Framework and System.Net.PeerToPeer.dll) are strongly
dependent on the versions and will not work if they are mismatched- so
please try to use the LH PDC release as is.

Please let us know if you continue to have problems with it.

Geogy

--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Softer" <so****@infoiasi.ro> wrote in message
news:D9**********************************@microsof t.com...
Hi!
I have been installed Longhorn, alfa version from PDC 2003. I tryed to
install Visual Studio 8.0 "Whidbey", version Beta March 2004, under
Longhorn and doesen't work. :(
I instaled Whidbey under XP and works well.
In .Net Framework 1.2 from Longhorn there is a namespace called
System.Net.PeerToPeer in
\Windows\Microsoft.Net\Windows\v6.0.4030\System.Ne t.PeerToPeer.dll

Whidbey come with .Net Framework 2.0, but System.Net.PeerToPeer no longer
exist. :(

I have copied System.Net.PeerToPeer.dll under XP, I start a basically C#
project in Whidbey and added System.Net.PeerToPeer.dll as
reference=>Compiled and run => all works well.
I added following code on Form1_Load() method:

System.Net.PeerToPeer.Cloud c =
System.Net.PeerToPeer.CloudWatcher.GetGlobalCloud( );

Compiled => This warning:
Priority = "Normal", Category = "Warning", Default order = "0", ,
Description = "Reference to type 'System.Collections.Generic.List' claims
it is defined in
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.40301\msc orlib.dll', but it could
not be found", File = "c:\Work\p2p\dll\System.Net.PeerToPeer.dll", ,
(null) = "10",

Files mscorlib.dll and System.Net.PeerToPeer.dll are both there.

Run=>An exception:

Exception:[System.TypeInitializerException] {"The type initializer for
'System.Net.PeerToPeer.CloudManager' threw an exception."}
Data: {System.Collections.ListDictionaryInternal}
HyperLink:null
InnerException: {"Could not load type 'System.Collections.Generic.List'
from assembly 'mscorlib, Version=2.0.3600.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'."}
Message:"The type initializer for 'System.Net.PeerToPeer.CloudManager'
threw an exception."
Source: "System.Net.PeerToPeer"
StackTrace: " at System.Net.PeerToPeer.CloudManager.GetGlobalCloud( )
at System.Net.PeerToPeer.CloudWatcher.GetGlobalCloud( )
at P2PChat.Form1.ResolveInPnrp(String PeerName) in
c:\\work\\whidbey\\p2pchat\\p2pchat\\form1.cs:line 52
at P2PChat.Form1.Form1_Load(Object sender, EventArgs e) in
c:\\work\\whidbey\\p2pchat\\p2pchat\\form1.cs:line 33
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at ...etc
TargetSite: {System.Net.PeerToPeer.Cloud GetGlobalCloud()}

I specify that System.Net.PeerToPeer.dll have following informations:
Runtime Version: 1.2.30703
Specific Version: False
Strong Name: True
Version: 6.0.4051.0

I think it search for mscorlib.dll version 1.2? Did it?

Could someone help me? Any help would be apreciate!

However if I try to add System.Net.PeerToPeer as reference in VS 2003 and
same code I've got this exception:
An unhandled exception of type 'System.TypeLoadException' occurred in
system.windows.forms.dll
Additional information: Error: Signature has invalid ELEMENT_TYPE_*
(element type: 0x

Thanks for any help!

Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Softer | last post by:
Hi I have been installed Longhorn, alfa version from PDC 2003. I tryed to install Visual Studio 8.0 "Whidbey", version Beta March 2004, under Longhorn and doesen't work. : I instaled Whidbey under...
1
by: Andrew McNab | last post by:
Hi, i don't think i'm in the right place but I'd like to know if the namespace supports peer-to-peer connections. I've successfully made socket connections with web servers but i was wondering if...
0
by: camaro77 majau via DotNetMonster.com | last post by:
Sorry by my english but i'm from spain. I have a problem and after search by the web i have know that is due by framework. The message is : setup error "failed to load ressouces from resource...
1
by: Vladimir Kiselyov | last post by:
Hello, All. It is required to make one-sided Remote Administration (Point-to-MultiPoint), with coding of data, Working on P2P system (for access with any client with installed Software) through...
14
by: David W. Fenton | last post by:
I'm no stranger to this error message, but I have a client who is experiencing it, but, fortunately, without any actual data corruption, and it's driving them made. Their inability to grasp that...
1
by: BobAchgill | last post by:
Is there a simple yet powerful class (Free or purchase) that would let me say in my VB . Net program "Go get me this filename.xxx" and the P2P method would go find the fastest available copy of...
0
by: Seth Thibodeaux | last post by:
I have built a Windows Service that connects to Sql Server 2000 Reporting Services via its Web Service interface for the purpose of generating reports. Intermittently, calls made to the Web Service...
1
by: relisoft | last post by:
SEATTLE, Washington. - July 12, 2006: Reliable Software® announces the upcoming release of Code Co-op® version 5.0. Code Co-op is an affordable peer-to-peer version control system for distributed...
1
by: verycunfusednewuser | last post by:
I've spent hours researching online, but nothing works, so if someone could help me out, i would really appreciate it. I have windows xp, and installed visual studio 2008 pro, along with SQLServer...
5
by: Brock | last post by:
I'm trying to view a Crystal Report that is in the same project folder as my .aspx page that I have to hold the reportViewer... I get the following error. Any Ideas?? Server Error in...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.