.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

protocol version is not supported

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :.NET Framework
 
Hi, I encountered an exception when running an application on Windows 7: the code: skt = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); skt.Connect(ipAddress, 7000); threw  "procotol version is not supported" exception. The same application runs correctly on Windows XP. Is there any settings I need to do on Windows 7, or I need to change my C# code?   Thanks a lot!


View Complete Post


More Related Resource Links

Error with .net Framework 1.1 installation (This is not supported for 64-bit version of xp (although

  
My laptop is currently using vista business 64bit. I've tried everything, the windows redistributable, the sp1 patches, even the slipstream, nothing works, I still get the "This is not supported for 64-bit version of xp" error. there is no previous version of framework 1.1 installed in my laptop. Currently my laptop has .net 3.5 installed only.

Tried:
http://www.vistaheads.com/forums/microsoft-public-windows-vista-general/5829-net-framework-1-1-vista-x64-anyone.html
http://social.answers.microsoft.com/Forums/en-US/vistaprograms/thread/2c495640-56cd-44b7-a369-a61d6a5ffc39
http://forums.techarena.in/windows-software/1183887.htm <-- slipstream

Hardware: Lenovo t500 laptop with
4gig ram
duo core 2.55ghz
fully updated windows vista business 64-bit

Vista Framework Cleanup tool Log: (tried removing framework 1.1 and reinstall, still the same error not compatible with xp)

[06/18/09,18:48:35] Beginning of new cleanup utility session
[06/18/09,18:48:35] Build created on December 22, 2008
[06/18/09,18:48:35] Detected operating system: Windows Vista (x64)
[06/18/09,18:48:35] Install state for .NET Framework 1.0: not installed.
[06/18/09,18:48:35] Install state for .NET Framework 1.1: not installed.
[06/18/09,18:48:35] Install state for .NET Framework 2.0: installed with service

About TDS protocol version in SQL2008

  

Hi guys,

i need the exact version of tds (Tabular Data Stream) used in SQL2008 .

I know that in SQL 2000 is TDSv7 but i don't know which is in SQL2008.

Thanks in advance.


ccproj is not supported by this version of visual studio

  

When I tried to open an existing solution of mine in Visual Studion 2010, I found this message. Azure'name of the project.ccproj' cannot be opened as the type 'ccproj' is not supported by this version of visual studio.

I found that after installation of 'Windows Azure tools for Microsoft Visual Studio 2010' it worked fine.

Again, if you are using a different version and opening a project created on a different version please check for the right version.

The one i used was

http://www.microsoft.com/downloads/details.aspx?FamilyID=5664019e-6860-4c33-9843-4eb40b297ab6&displaylang=en


Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime.

  
I'm attempting to write a WCF service in VS 2010 which will use the SPSite Class to create a web.

The code works fine.

The problem is testing it using the WCF Test Client.  I keep getting the error "Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime."  My framework is set to 3.5. and the target CPU is set to "Any CPU".

So, what's causing the error?  Is it becuase of the WCF Test Client is running in .Net 4.0 or something.

I can take the same code and test it fine in VS 2008.

Thanks in advance.

PlatformNotSupportedException: Microsoft SharePoint is not supported with version 4.0.30319.1 of the

  

PlatformNotSupportedException: Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime.

You read a lot on the internet about this: http://vspug.com/sharedpoints/2010/10/

Not being able to use .NET 4.0 assemblies is understandable when your have a webpart and sharepoint refers to your project.

But when you are referring to SharePoint it should not matter, it works perfectly in 2007, so why not 2010???

I need .NET 4 (discovery and such) in this project, so I need another solution than just downgrading the target framework


trying to call a web service with credentials gives me 505: HTTP Version Not Supported

  

I am trying to call an webservice from .net code.  I believe the webservice is java based.  If I visit the WSDL, I see this "WSDL created by Apache Axis version: 1.2".

 

When I call the web service with no credentials, I get the error 401: Unauthorized.

When I call the web service with credentials I get the error 505: HTTP Version Not Supported

401 Error:

SearchService svc = new global::Search.SearchService();
svc.Url = svcAddress;
SearchRequest req = new SearchRequest();
SearchResponse resp = svc.search(req);
 //The request failed with HTTP status 401: Unauthorized.


505 Error:

SearchService svc = new global::Search.SearchService();
svc.Url = svcAddress;
SearchRequest req = new SearchRequest();
svc.Credentials = new System.Net.NetworkCredential("user", "pass");
SearchResponse resp = svc.search(req);
//The request failed with HTTP status 505: HTTP Version Not Supported.

 

Also I have tried adding all of the following:

            svc.SoapVersion = System.Web.Services.Protocols.SoapProtocolVersion.Default;

            svc.SoapVersion = System.Web.Services.Protocols.SoapProtocolVersion.Soap

Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime.

  

Hi,

I'm attempting to write a WCF service in VS 2010 which will use the SPSite and other classes to add the users into the SPGroup.

When I run this service it gives me an error "Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime." I hace already the target framework as .Net 3.5.

Please provide me the solution of this scenario.

Thanks and Regards

Harsh


'TDS Protocol stream is not valid' error when running SQL Server 2008 with jdbc driver of version

  

I am using SQL Server 2008 on Windows Server 2008 R2 and one of our servers running as a windows service (on Windows Server 2008 R2) contacts the SQL Server 2008 in a timely fashion to get some information. During one of these runs, we encountered the following error logs in the service logs and thereby we took a hit in serving client requests. The jdbc jar that is used for database connectivity is of version 3.0 (sqljdbc.jar).

 

I can provide more details on this issue. Can someone please let us know why this can be occurring ? Just so you know, the set of errors repeats itself after sometime although on a different JDBC Connection (with different ConnectionID). We have a reconnection algorithm running in case the JDBC Connection is lost for some reason (but I would be surprised if this issue relates to the re-connect algorithm).

 

INFO   | jvm 1    | 2011/02/28 22:26:54 | Feb 28, 2011 10:26:54 PM com.microsoft.sqlserver.jdbc.TDSParser throwUnexpectedTokenException
INFO   | jvm 1    | 2011/02/28 22:26:54 | SEVERE: TDSReader@4686d ( ConnectionID:25 TransactionID:0x0000000000000000): FetchBufferTokenHandler: Encountered unexpected TDS_RET_STAT (0x79)
INFO   | jvm 1    | 2011/02/28 22:26:54 | Feb 28, 2011 10:26:54 PM com.microsoft.sqlserver.jdbc.TDSReade

Is jQuery 1.4.1 still the latest VS 2010 supported version?

  

Has Microsoft ever updated the supported version of jQuery? More specifically, does SP1 bring along a new version of jQuery with complete IntelliSense support?


ASP.NET 4.0: WebForm Routing (quick n dirty version)

  
One of the things we're adding in ASP.NET 4.0 is built-in support for using Routing together with WebForms. Now, I'm totally aware that this is possible to do already and that a number of people have posted ways of doing this with the Web Routing feature which shipped with ASP.NET 3.5 SP1. We're just adding some features to make it easier to do

how to create a mobile version of a website?

  

 how to create a mobile version of a website?
Is there any server support needed?
How does the browser detect whether the url is accessed via mobile device or a PC?


Practical OData: Building Rich Internet Apps with the Open Data Protocol

  

See how you can build Rich Internet Applications that take advantage of the OData protocol to creatively interact with Silverlight, PowerPivot, SQL Server, SharePoint, the Windows Azure platform, "Dallas" and more.

Shayne Burgess

MSDN Magazine June 2010


Coding Tools: Improved Support For Parallelism In The Next Version Of Visual Studio

  

We take a look at planned support for parallel programming for both managed and native code in the next version of Visual Studio.

Stephen Toub and Hazim Shafi

MSDN Magazine October 2008


Team System: Team Foundation Server Version Control

  

In this new column, Brian Randell begins his long look at how to extend and enhance Visual Studio Team System.

Brian A. Randell

MSDN Magazine January 2007


Security Briefs: Using Protocol Transition-Tips from the Trenches

  

Now that Windows Server 2003 is widely deployed, Keith Brown addresses questions from readers who are trying to use protocol transition to build secure gateways into their intranets.

Keith Brown

MSDN Magazine January 2007


C++ at Work: Web Version Checking, Adding Sound to an App

  

This month: CWebVersion revisited using HTTP instead of FTP, and adding sounds to an MFC-based app.

Paul DiLascia

MSDN Magazine May 2006


XML in Yukon: New Version Showcases Native XML Type and Advanced Data Handling

  

The next version of Microsoft SQL Server, code-named "Yukon," represents quite a few steps forward in the evolution of XML integration. Yukon supports native storage of XML data using the XML data type, which makes it possible to run native queries on XML data using the emerging industry standard XQuery language. Data integrity of the XML data type can be enforced through schema validation and XML-based check constraints, and special indexes can be defined that help speed up queries. In addition, Yukon has the built-in ability to expose its data through Web services. This article discusses these and other XML features of Yukon.

Bob Beauchemin

MSDN Magazine February 2004


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend