Deploy Web Application To A Sharepoint 2010 Site Using WSP

Aug 2, 2010

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.

View 1 Replies


Similar Messages:

Web Forms :: Deploy Web Part To Remote Sharepoint Site In Visual Studio 2008

Apr 17, 2010

I used to deploy developed web parts to a remote sharepoint site by Build->Deploy menu inside Visual Studio 2008 months ago ( I am not a regular web part developer). My network engineer also asked me how to deploy web parts without stsadm commands. anyway now I can't. Visual Studio keeps complaining that the specified site doesn't have sharepoint site contained. "No SharePoint Site exists at the specified URL."

After googling, it is said web parts can't be deployed to remote sharepoint sites from visual studio. Only can to local site. However I did it before. Visual Studio 2008 service pack or hot fix made this feature (remote deploy) removed? Or is there any workaround?

View 1 Replies

Deploy Application In The Same Website As Sharepoint

Jul 15, 2010

I am trying to deploy the Bugtracker.NET tool [URL], which is a normal ASP.NET 2.0 application, into the default web site of an IIS which already has Sharepoint installed in it. The OS is Windows Server 2008 R2, IIS 7.5 and Sharepoint Services 3.0. The question is that when I execute the application, I get a NullReferenceException because HttpContext.Current.Session is null, and I think that this could be due to a problem with the configuration of the web site, as the application runs perfect in web sites with no Sharepoint installed.

I already know that Sharepoint customizes the web site with handles, modules and so on, that all applications in the web site inherit, modifying their behavior. I have already given to the ASP.NET application Full trust level, enabled Anonymous authentication and InProc session state, but I am still getting that HttpContext.Current.Session is null. Even changing the app pool from Wss3AppPool to DefaultAppPool does not succeed. Maybe someone could tell me which settings do I need to tweak in the web site in order to avoid this exception.

View 1 Replies

C# - Adding New Option In Sharepoint 2010 Site Actions?

Mar 8, 2011

I 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.....?

View 1 Replies

How To Share Authentication Context Between A SharePoint 2010 Site And Applications

Aug 13, 2010

Is 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?

View 2 Replies

VS 2010 How To Integrate Application To Sharepoint 2010

Sep 18, 2011

how to integrate my asp.net application to sharepoint 2010?

View 3 Replies

Sharepoint - Display An Excel 2010 Document In A Web Application?

Jul 12, 2010

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 Replies

Configuration :: Deploy VWDE 2010 Application To Shared Host?

Jun 19, 2010

I have a single contact.aspx application I want to use on a web host but am confused with the publish feature in VWDE 2010. I can't run any commands or packages and was hoping just to upload the .aspx and .cs files and have jit compile to run them.

Why does VWDE 2010 create a .dll and .pdb in the bin folder of my project? I thought the Express versions of VS didn't produce DLLs? On previous editions of VWDE all I needed to do was copy the .aspx and .aspx.cs pages to the host.

View 1 Replies

Visual Studio :: 2010 Deploy MVC 2.0 Web Application To A Windows 2003 Server With IIS6

Nov 11, 2010

I'm trying to deploy my MVC 2.0 web application to a Windows 2003 server with IIS6, and can't find the means to do it. I read about clicking Build/Deploy, but I don't have this showing on my menu, and I have the professional version.

View 1 Replies

Error: "Could Not Load Type 'Microsoft.SharePoint.WebControls.SPGridView" SharePoint 2010

Jun 15, 2010

Following 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)

View 1 Replies

Configuration :: Deploy A .NET 4 Site To Upgrade An Existing .NET 1.1 Site?

Oct 3, 2010

I am neither a server administrator nor very knowledgable about how to configure IIS, so I have the following problem:

My client hosts their public website from their own internal server running Server 2003 with IIS 6. The current website is a .NET 1.1 application configured as a website in IIS. Within this site a separate virtual directory configured as an application runs a separate .NET 1.1 app that serves as their online webstore.

I've been tasked with upgrading the website (not the webstore) to .NET 4 and getting it installed and working on their server. My initial plan was to simply change the existing websites home directory to the new home directory from the IIS admin console and be done, but then I read that this would break the application directory that hosts their online store because .NET 1.1 applications cannot be nested within .NET 4 applications. Can anyone confirm this?

View 3 Replies

Deploy MVC Without Having To Take Down The Whole Site?

Jan 22, 2010

So lets say I want to make a change to some content on one of my views for my MVC project. Something really simple like taking out a sentence or adding a period or something. So from what I see, I have to republish the entire site, then take down the whole site and replace it with the newly publish set. I was wondering if there was a way, if I make a change to a single page's content that I could just replace the single page, without having to replace the entire site. I remember in web forms I could replace a single page if I made a change.

View 2 Replies

Deployment - How To Deploy Web Site

Dec 29, 2010

I have an ASP.Net website that I built in a computer science class. I built it in Visual Studio and the solution is on my local drive. How would I deploy this to a real website?

View 3 Replies

Can Login To Sharepoint From .NET Site

Aug 19, 2010

I have a preexisting asp.net site that uses forms authentication. I am setting up a Sharepoint 2007 site on the same box. I would like to use my existing asp.net site authentication and once logged in provide a link to the sharepoint site that has the user auto-logged in.It doesn't matter to me if Windows or Forms auth is used. I tried a couple different things to pass credentials through the response, but was unable to obtain success. Has anyone done anything similar. The tutorials for configuring forms auth on sharepoint just seem over the top and quite unreasonable.

View 2 Replies

WebMatrix :: Deploy C# Site To IIS7?

Jul 30, 2010

how to deploy a WebMatrix c# site to IIS7?

View 8 Replies

Configuration :: Deploy FTP Site In IIS7

Oct 20, 2010

We have the requirement to set up the Web site and FTP site on IIS7. We have registered a domain for hosting the application
[URL] If I need to set up the Web site and FTP site on same Web server with the same Domain name, how can I do that. My DNS has mapping for [URL]. Do I need to have the DNS record for FTP in the DNS server. This depends on if your customer wants people to FTP to [URL] or [URL]or [URL]. If they want [URL] then you'll need another entry in DNS. You just need to add a new alias record in DNS that resolves the same IP as www to ftp. Do I need to take any extra steps to configure same Domain name in IIS7 for Web site and FTP site. I would assume that as long as IIS is set to listen to all IP addresses you should be good to go. Can I configure the web site in IIS 7 as [URL] You want to force people who browse to the default name of [URL] to be redirected to [URL]? Setup two websites on IIS - one for [URL]and one for [URL] where the real content lives. On the [URL] use IIS7's redirect feature to force all requests to [URL] See: [URL]

View 1 Replies

Configuration :: Deploy Site Into Subfolder?

May 14, 2010

I've been working on site for a client who has just informed me (having completed the work) they want to deploy the site into a subfolder of their exiting domain. The site uses a number of class files in the App_code folder and as well as references to several XML files and and siteMap that uses localised urls for navigation. Obviously all of this stops working as soon as you put it in a sub folder. Is there any way I can configure the site to treat the sub folder it will be placed in as the root?

View 3 Replies

VS 2010 - Deploy Code To A Server

Feb 20, 2012

I have recently been dropped into the ocean known as ASP.NET. Here are my questions:

1.) I am trying to deploy my code to a server. I read there are a few different ways to do this but I will stick with the simple way for now. The way I am deploying is to remote into the server and copy my files(with a copy paste) and placing them on the server. My question is do I put the files on the server in the virtual directory or on the real directory that it points to?

2.) When I deploy my files are the changes recognized automatically or do I need to issue a command to IIS?

View 4 Replies

Add Already Developed Aspx Page In Sharepoint Site?

Apr 8, 2010

I have the .aspx page wich is already developed in VS 2008 with its code behind. page name is say login.aspx.

Also have another page in same scenario after login this second page will appear. ok ?

I want to embed/ add this already developed aspx page to above team site.

View 3 Replies

Configuration :: Deploy Application That Uses Application Services Membership Provider

Aug 25, 2010

Apologies if this seems obvious, but after a week searching I can't find a clear answer to my problem.

I have developed an application in Visual Web Developer 2010 Express that uses the asp.net application services membership provider. It works well in development on my machine (data in the ASPNETDB.MDF database).

I packaged my application and deployed the relevant files with FTP to my shared hosting provider.

I took a copy of the ASPNETDB.MDF and restored it to the SQL Server 2008 on my shared hosting. I can connect to this through the Database Explorer in Visual Web Developer, but it doesn't contain any schema or data.

I know once I have the database in production I will have to make sure the connection string in web.config is poiting to it, but I don't know how to get the DB to production in the first place.

View 2 Replies

C# - Modal Dialog - SharePoint 2010?

Jun 22, 2010

I 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.

View 4 Replies

Web Forms :: Using SqlProfileProvider With Sharepoint 2010?

Mar 21, 2011

using SqlProfileProvider with sharepoint 2010

View 2 Replies

.net - Migrating SharePoint 2007 To 2010?

Jun 29, 2010

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 Replies

Configuration :: Deploy Web Site On Windows Server 2003?

Nov 28, 2010

I want to deploy asp.net 4.0 web site on windows server 2003, Now I already have a classic asp site running on it. Would there be any problem if I install .net 4.0 framework for my new site. Will the existing site (the one in classic asp) be affected?

View 2 Replies

VS 2012 - Deploy Partner Supplied Site To Web Server

Aug 1, 2013

a partner has sent over a old school web service to instal on one of our webservers. I cant open the project since its been precompiled, how do i deploy that to my webserver (IIS 7.5 on 2012)? what do i need to copy or is there a way to suck it in from the files in IIS?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved