473,402 Members | 2,053 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,402 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 3386
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.