Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Custom Service Application on Application Server creating Sub Sites

$
0
0

Hello,

I am working on  Custom Service Application .

So now my Farm is as follows –

1 Web Front End
1 Application Server
1 Database Server

Services enabled on Web Front End –
1. Central Administration
2. Microsoft SharePoint Foundation Incoming E-Mail
3. Microsoft SharePoint Foundation Web Application
4. Microsoft SharePoint Foundation Workflow Timer Service

Services enabled on Application Server –
1. All Service Application
2. My Custom Service Application

Now, I have Custom Solutions (wsp) which gets deployed at Web Application Level and Custom Service Solution (wsp) gets deployed at Farm Level. in one of my solution (wsp) I have custom web templates, Master Pages, Page Layouts and that solution gets deployed at Web Application Level

In my Custom Service Application which gets executed on Application Server I have a logic which creates Sub Site. But while creating Sub Site it says Web Template not available and this is because Microsoft SharePoint Foundation Web Application Service is not enabled on Application Server. If I execute same code via PowerShell on WFE machine it works.

Could you guide me in a manner that, My Custom Service Application on my Application Server will create Sub Site using custom Web Template.

Thanks in advance.

Regards,
Piyush


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>