Web Forms :: Using SqlProfileProvider With Sharepoint 2010?
Mar 21, 2011using SqlProfileProvider with sharepoint 2010
View 2 Repliesusing SqlProfileProvider with sharepoint 2010
View 2 RepliesFollowing error comes when creating a WebPart In sharePoint 2010 Server.
Web Part Error: Unhandled exception was thrown by the user code wrapper's Execute method in the partial trust app domain: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.TypeLoadException: Could not load type 'Microsoft.SharePoint.WebControls.SPGridView' from assembly 'Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. at ListMenuSample.ListMenuSample.ListMenuSample.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.ExecuteHttpRequest(SPUserCodeWebPartHttpRequestContext webPartExecutionContext, SPUserCodeWebPartHttpResponse httpRequestResponse) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.Execute(SPUserCodeExecutionContext executionContext) at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)
how to integrate my asp.net application to sharepoint 2010?
View 3 RepliesI am currently working on creating a ModalPopUp for SharePoint Web Part.I am facing compatibility issues with ModalPopupExtender (with IFrame).
What are the other options available in SharePoint 2010 or ASP.NET for getting a Modal Popup?
Note: I have tried ModalPopupExtender and OpenModalDialog.
Is a sharepoint 2007 webpart likely to work on 2010 without any modification? If not, what are the main areas that would require modification?
View 3 RepliesI've searched some FREE Controls, Templates, WebParts, Themes for SharePoint 2010, and its really hard to find good and free examples. Turned back into StackOverFlow and there is no Community Wiki for it. I want to open a Community Wiki about All Free SharePoint 2010 Controls, Templates, Themes, WebParts, etc... to collect them all in one topic.For example, there is a site about MOSS 2010 Free Controls in here. This site containt most MOSS versions controls, web parts. I want SO Users to add most usefull web sites for SharePoint 2010 Developers such as Free controls, themes, tools, etc.
View 1 RepliesI am working on SharePoint 2010. I need to send email with attachments using aspx and c# code.
how to do this?
Suppose I created a custom web application that consists of: several assembly DLLs: web app, business logic, data services multiple aspx pages and ascx custom controls that use them custom configuration section custom HTTP module. More or less the usual stuff. I would like to deploy it to a particular sharepoint site under a certain subfolder. So if I access my sharepoint site via [URL] (because I'm not using sites/some_site) I'd like my application to be available under [URL]
I could manually add a virtual folder (not application because I would need to access some Sharepoint site's data) to my sharepoint site in IIS and manually edit site's web.config file to register my HTTP module and add my custom configuration section as well either putting my DLLs into GAC or put them in the _app_bin (so I don't have problems with CAS), but I don't think that's a good thing to do, because this web application may get deployed in an environment where this shouldn't/couldn't be possible. So I figured I could build a WSP using Visual Studio 2010 and deploy it that way. But I don't have enough experience doing that.
I created a new sharepoint 2010 project. Is there a way I could add all non-executable application files (aspx, ascx) at once? I've seen the advanced tab of the WSP package where I can add my DLLs either to bin folder or GAC. I don't know whether I would also have to add any safe control and register certain classes?So I suppose I need some pretty detailed and explanatory guidance here.
I would like to create and deploy an ASP.NET web form on SharePoint server which can create document in SharePoint list (or library). Since I'm not experienced in both these technologies so would appreciate if someone guides me to the right tool. Should I use Visual Studio or SharePoint designer ? Also, I was reading an article on MSDN about "Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder". Is it the best practise or should I go with webpart/solution based deployment?
View 1 RepliesI've tried to use Ajax Control Tool Kits on SharePoint 2010 Web Site, but Im having some trouble with registration. I've searched a lot on google for a solution. I've found some ways, but my problem is not solved. When I open my web site, still getting registration error.The problem is registration of Ajax Tool Kit. Here is my steps.1 - Downloaded Ajax Control Tool Kit latest version.2 - Added following line to my page
<%@ Register Assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
3 - Added following line to my master page (v4.master)
<%@ Register Assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
4 - Replaced this tag
<asp:ScriptManager>
with
<ajaxToolkit:ToolkitScriptManager>
but problem not solved.. Still getting same registration error. I need your suggestions about implementing Ajax Control Tool Kits on Share Point 2010.
I am having issues with the AjaxControlToolkit.I started with the 3.5 version and backed up hoping for some love but I am still stuck in quiet desperation trying to meet my impossible deadline.I have changed my masterpage to use the ControlToolkitScriptmanager.System.Web.Extensions references v3.5.0.0 throughout the config.Version of the toolkit referenced in the VS2010 webpart project verified as 3.0.30930.28736
The issue is that no matter what control or extender I try to use I receive the following error:
The base class includes the field '(control/extender name)', but its type (AjaxControlToolkit.(control/extender)) is not compatible with the type of control (AjaxControlToolkit.(control/extender)).
If it would help I would post the entire web.config.If anyone has a working setup with a version of the toolkit I would love to get a copy!I will have to get Silverlight going next.
GAC:Microsoft (R) .NET Global Assembly Cache Utility.Version 4.0.30319.1
Copyright (c) Microsoft Corporation.All rights reserved.
The Global Assembly Cache contains the following assemblies:
ajaxcontroltoolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL
Number of items = 1
--
MasterPage (excerpt):
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %>
[code]...
Environment:Visual Studio 2010 SharePoint 2010 (clean install) Windows Server 2008R2
As part of our branding of Sharepoint 2010, we'll be modifying some custom HTML menu's based on database and user permissions.
To do this, we are looking at the use of code-behind in a custom Sharepoint 2010 master page.
The only reference I can find to creating a code-behind file for sharepoint 2010 is this blog post series. The issue I have with this is that it's using the Visual Studio 2010 Sharepoint integration, which has the genius feature of requiring a local instance of an entire Sharepoint site. This isn't something that I can do/get.
This is the MSDN for code-behind master pages in Sharepoint 2007. I'm assuming it's similar but I can't find anywhere that describes it as such.
Is deploying a code-behind for a custom master page the same as in Sharepoint 2007 or does anyone have any experience doing this?
I have the following code which works well on my local machine, but when I deploy it to Sharepoint 2010 the jquery doesnt work... the calender control doesnt pop up when the web page is added to Sharepoint.
[Code]....
We have to integrate an SSRS report in sharepoint.When we will click on the report it should open in a custom aspx page and not under Report viewer.
View 1 RepliesI am working on sharepoint server 2010. I want to add an option to
Site
Librart Tools ribbon
Documents
Share & Track
By default a link called "E-mail a Link". How can i add custom link by using feature enabling programatically.....?
I am wanting to display an excel 2010 document in an asp.net web application. This document uses the new slicer functionality which I want to be available to the user.I know that excel 2010 docs can be used within sharepoint by inserting a web part which uses exceservices.But can it be achieved without sharepoint? Or can it be achieved using the the excelservices API to get the document from shreapoint and then somehow get it to the browser in .net?
View 1 RepliesI have an asp.net web project which uses a SqlProfileProvider for membership structure,i am calling that project A .Can i use that membership from another asp.net project, project B ?I've tried same connectionstring on project B, but i am getting LoginError with asp.net Login control.But if i try call a member with code on project B, as follows;
MembershipUser oneUser = Membership.GetUser("a user name from project A");
it works. and it shows me that connectionstrings and other membership params work on B.But if i use standart Login control on a page, it falls to LoginError method.
I am trying to integrate an existing asp.net application with sharepoint 2010. I would like to be able to have a logged in user on the application access a document library via an Iframe on the sharepoint 2010 site. I want to use FBA on sharepoint. Is it possible to share the membership database from the asp.net application with sharepoint? If not, what would be the best way to accomplish this?
View 1 RepliesIs it possible to share the claims based authentication of a logged in Sharepoint 2010 user with a separate Asp.net application?
The following article describes how it was done using Sharepoint 2007 and forms authentication through forms auth and sharing machine keys etc however I cannot find any information regarding the external application consuming the claims authentication that is now used in Sharepoint 2010?
I have a good amount of knowledge in the ASP.NET Webforms and MVC worlds. Shortly I will be tasked with implementing custom web applications with Sharepoint. I have great flexibility with this project (i.e - I can use custom web apps outside of Sharepoint if that's possible) but like most projects the most limiting factor I have to deal with is time.
Here are some questions that come to mind:
Can I easily integrate a custom MVC project into Sharepoint 2010? What are the pros and cons if I can? Same as #1 only with Webforms. If #1 and #2 are not viable solutions, can I easily create custom web applications within the Sharepoint world? What will the learning curve be with my background? I understand developers can now use Windows 7 to deliver Sharepoint 2010 solutions. It looks like I can use a trial of Microsoft Sharepoint Foundations 2010. If that's correct, are there any development differences or gotchas I need to be aware of before digging into the Foundation version? I don't want to get up to speed on Foundation and then find out that the Server edition (the version that will be deployed) is vastly different.
This query related to SharePoint Designer / XSLT List Form Webpart Customization in SharePoint designer 2010
I am using SharePoint designer 2010 to design my page.
I am trying to add list and customize it.
Following is customization task.
in my list I have two columns Title and Short Description . when I add list on my test page it show one by one following manner.
[code]
Problem is I want show it following manner .
[code]
How I Customize it ? I tried almost options from ribbon but didn't success.
If I use System.Web.Profile.ProfileManager.GetAllProfiles, I get all profiles for users that have logged in since I implemented saving a custom profile item. A few problems I need to solve.
1) when I use the GetAllProfiles method listed above, the custom profile items are not available. For the current user, I can get the value using HttpContext.Current.Profile.Item("MyCustomItem"). I need to be able to get to all the profile items programmatically.
2) I also need to programmatically create profile items for other users (a migration to this format).
3) I cannot get to the items like the documentation says like Profile.MyCustomItem.
I want to make my visualwebpart to communicate with other webparts like (Provider and Consumer) I am thinking can I make my VisualWebPart which has a ascx file which is drived from UserControl, can I make it a Provider or a Consumer. I am adding these webparts on Sharepoint 2010 webpartpage.
View 3 RepliesIn MOSS 2007, we could update the tag's callstack attribute to true and then customerrors mode to "Off" to see the actual error behind the 'An unexpected error has occurred' message. Does it apply on SharePoint 2010 as well ? I tried it but I get the following error:
Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.
Details: To enable the details of this specific error message to be viewable on the local server machine, create a tag within a "web.config" configuration file located in the root direc...
I'm trying to edit the CSS file of the "My Profile" page on my SharePoint 2010 solution. I need to change some colors and position of some elements. On my little research here, i found 2 ways to do it:
1º - Editing the mysite.master file
2º - Editing the portal.css on the root folder of the project.
I'm a little afraid of these methods because on the first, i'm not sure if the changes will be applied to the already existing pages, or if it'll be aplied just the the paged created after the changes are made. And on the second case, i'm really afraid of changing the core files of sharepoint (specially because i'm new to sharepoint).