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


Top 5 Contributors of the Month
SP
satyapriyanayak
Subhransu Sekhar Jena
abhays
DotnetUser
Post New Web Links

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

Posted By:      Posted Date: November 20, 2010    Points: 0   Category :SharePoint
 
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.



View Complete Post


More Related Resource Links

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


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


Why is it looking for: Microsoft.SharePoint.Search version 14.0.0.0 when I'm installing SharePoint

  
I had SharePoint 2010 installed on Windows 2008R2 test box. I then upgraded it to a DC, and it broke SharePoint. In the meantime, I was asked to put SharePoint 2007 on, as a non-Microsoft SharePoint add-on that we want to test is not yet compatible with SharePoint 2007. I have removed every trace of SharePoint 2010 that I can find, but I am running into difficulties with configuraing SharePoint 2007. It installs successfully, but when it reaches task 2 of the SPTCW it fails. The error is: An exception of type System.IO.FileNotFoundException was thrown. Additional exception information: Could not load file or assembly 'Microsoft.SharePoint.Search, Version 14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.   I know enough to know that it seems to be looking for SharePoint Search from 2010, but I have removed all traces of 2010. I'm guessing that there is a DLL or something that is from 2010 that hasn't been written over when installing SharePoint 2007, and it's calling for the Microaoft.SharePoint.Search.   I've been into c:\windows\assembly\GAC_MSIL and there is no evidence of a Microsoft.SharePoint.Search   I am hoping that I don't have to rebuild the server, but I'm pretty stuck now. I've spent 2 days on the whole SharePoint nightmare.

My Site Issue: "The evaluation version of Microsoft Office SharePoint Server 2007 for this server ha

  

Hi Guys,

when i opened my site am getting following error, but moss 2007 server is Licensed Verison.

 

Thanks  Advanced.

 

 


Your backup is from a different version of Microsoft SharePoint Foundation -- Sharepoint 2010

  

I made a backup of SharePoint farm from 2010 and tried to restore on a dev server and kept getting this error.  I looked at the versions of SharePoint on both servers, and they were identical:  14.0.4763.1000

I'm posting this although it is not a question, but a statement that might help someone else.  It took a while to notice that there had been an upgrade on the original server that the new dev box did not yet have... not an SP, but more like a hotfix type upgrade.

In Central Admin, go to "Upgrade and Migration".  Click on "Check product and patch installation status".  Scroll down the page of results and see if there are any links to updates that have been installed on the original server that are not on the new server, or vice-versa.  I did find a link on my original server.  Clicking on it opened the update page, so I copied the URL, went to my dev server, opened that page and installed the update, and voila!


Could not load file or assembly 'Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, Pu

  

Hello, I installed smartpart and I created a usercontrol, single one, and then I want to test the user control before using it in sharepoint, so I created a webpage and dragged the user control, when I press F5, I got this strange error never seen.

 

 

 Could not load file or assembly 'Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. An attempt was made to load a program with an incorrect format.

 

 

I commented the following web.config lines but that didn work

 

<!--<SafeControl Assembly="Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Search.WebControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" />

<SafeControl Assembly="Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Search.Internal.WebControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" />-->

I am not even

SP2010 Configuration Error: MicroSoft.SharePoint.SPException Language Not Supported

  

I am facing "MicroSoft.SharePoint.SPException: Language not supported" error while configuring through SP Products configuration wizard. The solution suggested to this issue in different forums is to add 1033 entry in the registry. For me it already exists. Even then, it generated the error. Any suggestions?

 

-K


Why does Microsoft not provide a user friendly version of MS SharePoint similiar to the old Share Po

  

Back in the early days of MS SharePoint you could install SharePoint Team Services on any computer that had the capacity to run Windows XP or Windows 2000 Server.  It was a straight forward app with it's own data engine which didn't require the installation/hassle of installing MS SQL Server.

For those of us who are running MS apps/OS such as Windows Home Server we are finding that you have to either build or purchase something equivalent to a HP Media Server EX490/495 to be able to use MS SharePoint Services 3.0 or MS SharePoint Foundation.

For home user/small business users why not provide a version MS SharePoint that is more user friendly for the everyday Windows 7 end user who is using Win 7 Pro or better?  I can install the old SharePoint Team Services from my old Office 10 Pro CD and get it to work in a Virtual PC Win XP environment on Windows 7 Pro but then have to perform a lot of tasks to get it talk outside the Virtual PC environment and make it accessible to other Win 7 users.

With every good app Microsoft comes out with, they seem to develop it to the extent that you have to be a Microsoft geek just to use it.  I have lost numerous customers who were using MS Sharepoint solutions in the past because they are SMALL businesses and do not have the luxury or budget to be purchasing QUAD core servers, Win Server 2008 - R2, MS S

Where can I find 32bit version of Microsoft.SharePoint.Search.dll?

  

Hi,

I'm trying to develop some PSI Extensions for use on our corporate network. However, I cannot copy the above DLL from the server to my development machine as it is a 64bit server!?! We don't have a 32bit instalation package to extract a 32bit version from...

Is there anywhere I can get a copy of the 32bit version so I can do some local development and succesfully build my assembly?

Any help greatly appreciated...

Regards,

TartanBono


TartanBono

My Site not accessible, getting error "The evaluation version of Microsoft Office SharePoint Server

  


Hi,
I am facing this problem from last couple of days and I am not able to figure out the root cause or find some solution. When I try to access My Site. It gives "The evaluation version of Microsoft Office SharePoint Server 2007 for this server has expired" error.

I tried creating different web application for my site, and created the root site collection by selecting MySite Host template. After site collection creation when tried accessing it ended up in same error. but when i tried creating site collection of different template it worked. Only for My Site I am getting that error.

I have tried all options mentioned in the below URLs. still not able to resolve.

http://www.folin.se/index.php/2007/10/15/the-evaluation-version-of-microsoft-office-sharepoint-server-2007-for-this-server-has-expired/michaelfolinse

http://blogs.msdn.com/b/joelo/archive/2008/01/02/evaluation-version-expired-but-not-really.aspx

http://blogs.pointbridge.com/Blogs/ayyapusetty_raja/Pages/Post.a

Microsoft SharePoint Online Standard Developer Guide

  
Developers Guide for SharePoint Online (Standard Offer). Microsoft® Office SharePoint® Online is a collection of Web-based tools and technologies built on Microsoft Office SharePoint Server 2007 that help you store, share, and manage digital information within your company. This white paper describes the customization (or extensibility) capabilities that are supported with the Standard offering of SharePoint Online

System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Excel cannot open or save any mo

  

Hello good people, 

I have this beast as an error. Did my research and found some posts here as well but did not do any good for me. 

Here is what I did. I had an error regarding issue rights with COM objects so I gave access rights under component services for Microsoft Excel application now I am getting this error. 

Here is some information regarding this

1. Gave rights to ASPNET and network service to my web app directory to try to fix this error. 

2. The exact same process works on my Windows 2003 server and my Windows 7 development machine. I am trying to get this going on a different windows 2003 machine that is outside of our domain.

3. Developing on windows 7 64 bit with office 2010 installed. Also excel 2010 is installed on my Web server

4. Here is the code that is causing the error: The last line is causing the error.:

GC.Collect();
            MyXl = new Microsoft.Office.Interop.Excel.Application();
            MyXl.Visible = false;
            
            MyWb = (Microsoft.Office.Interop.Excel._Workbook)(MyXl.Workbooks.Add(Missing.Value));
            int test = 0; 
            MySheet = (Microsoft.Office.Interop.Excel._Worksheet)MyXl.ActiveSheet;
            if (reader.HasRows)
            {
                int InRow = 2; 
                for (int i = 0; i < Nu

Microsoft .NET: Implement a Custom Common Language Runtime Host for Your Managed App

  

While most application developers may not need to write a custom host, understanding what is involved provides a great deal of insight into the architecture of the CLR. After covering how the CLR is started and loaded into a process, how to set the available configuration options, and how a host defines application domains, this article explains how to design a custom host. Important concepts include making the right decisions about the application domain boundaries for the host, configuring them correctly, loading and executing user code, and resolving references to assemblies. Setting security policy and unloading application domains as the application shuts down are also explained.

Steven Pratschner

MSDN Magazine March 2001


"This server is not supported. Only servers up to Microsoft SQL Server 2005 are supported"

  

Hi,


I am getting the following error when i want to add a remote connection in the Server explorer:

'This server is not supported. Only servers up to Microsoft SQL Server 2005 are supported'


what can be the problem. On Microsoft site i saw, you need to install following update: 'Microsoft Visual Studio 2005 Service Pack 1 Update for Microsoft SQL Server 2008 Support'

But i have a Microsft SQL Express Server 2005 SP3...


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