473,387 Members | 1,722 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,387 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 3384
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.