468,321 Members | 1,849 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

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 3098
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Softer | last post: by
1 post views Thread by Andrew McNab | last post: by
reply views Thread by camaro77 majau via DotNetMonster.com | last post: by
14 posts views Thread by David W. Fenton | last post: by
5 posts views Thread by Brock | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by howard w | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.