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

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Creating a new site partially works, _layouts path not mapped?

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :SharePoint


My first post here, so please point in the direction of the right forum if I've mis-posted or correct me if I've done something wrong!

I have SP2010 Foundation running on Windows 7.  All seems to work fine until I try to create a new site (I'm on the root site -> Site Actions -> New Site).  The site creates ok (I can navigate to the new subsite and, for example, trying a blog site, create posts, view posts and so on), however when I go to Site Actions -> Site Settings, I get a blank screen.  If I attempt to use the URLs of other pages I get the standard error page inviting me to set CustomErrors=Off/RemoteOnly.

Unfortunately, I can't find a web.config to set CustomErrors in (root site is already Off).  Looking in the SP2010 diagnostic log, there's a couple of non-descript errors (searching hasn't helped much alas): Unknown SPRequest error occurred. More information: 0x80070002 (request URL: Request (POST:http://artemis:80/_layouts/newsbweb.aspx) - which makes sense)

I've disabled UAC and run IE as Administrator (as per other forum suggestions, although I don't really understand why running IE as Administrator would help).  I've also tried to create the site using the ServerOM, but I get the same symptoms.

I was wondering if perhaps a path mapping in IIS hasn't happened, but I'm not sure whe

View Complete Post

More Related Resource Links

Creating a user friendly alias for the website path


 Hello mates,

I am hosting my ASP.NET application on a Windows 2003 Server.

To browse to my application one has to type the path :http://serverName/applicationName

I want users to only type  applicationName on the web adress area.I believe there is something to do with alias and CNAME on DNS records that can adress this.

Any help on how to go about doing this will be highly appreciated.

Programmatically creating a SharePoint Site based on user input


I am working on developing a “Create Website Wizard” for SharePoint 2007 that would do the following (I am simplifying a little for the sake of this post):


1.      Take user input as follows:



Product Code:

Category (I, II, III):

The category will be a choice field (radio buttons or a dropdown)

C# - Creating web client for automating user activity on a HTTPS site

I've been wracking my brain for a couple of weeks on this.  I need to create a web client (I don't want to use the webBrowser control because I need this to be as lightweight as possible) to log in to a secure web site, and then effectively click links and fill in fields to get the data that would normally be displayed in the web browser.  I'm then going to parse the data and perform other actions with it. I have been working with HttpWebRequest and HttpWebResponse and many permutations of suggestions I have found while Googling my issue, but I can't get rid of my problem:  Sometimes when I effictively click the ultimate link that I need to click to get to my data, I get what I am looking for.  However, MOST of the timel, I get a response page that tells me my connection timed out and that I need to log in again.  I have tried messing with cookies and such, but to no avail. I know it's good form to post my code, but it is so sloppy and screwed up right now from tweaking this and trying that, that I'd rather not take the approach of fixing what's there, rather I'd like to start with solid, clean code to begin with. Your help will be greatly appreciated. Thanks, ALo

Creating a new root Site Collection using a custom site definition file (ONET.XML)

Using Powershell, I am trying to deploy the our custom solution to SP 2010.  The script is doing the following: Deleting the web application using Remove-SPWebApplication Creating a new web application using New-SPWebApplication Adding and deploying a series of WSP files (one of which has the site definition file in it) using Add-SPSolution and Install-SPSolution Create a root site collection based on the site definition file provided in the WSPs using New-SPSite I get the error "WARNING: Template is not found and is not applied." When I run Get-SPWebTemplate, my site definition does not show up. I saw this: http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/5ea46e07-a4b0-4bab-b698-9b6eeb695607 but I want a solution that does not involve me reloading a DLL, as, I feel there is something else I am forgetting. I have also tried: IISReset Resetting the timer service Cleaning the Cache (as described here: http://support.microsoft.com/kb/939308) Nothing seems to work.  Does anyone have any ideas?

Publishing site template saved using /_layouts/savetmpl.aspx

A trick we used in MOSS 2007 doesn't seem to work in SharePoint 2010 although it seemed to work for someone who asked the same question in this forum.  We know publishing site do not have the "Save as site template" as an option in the site settings so we used <site>/_layouts/savetmpl.aspx to save the site template.  Unfortunately, new site created using the saved template is throwing a 404 error.  And the site was actually created (can see in View All Site Content).  We need to be able to easily create sub-sites with the same look and feel and set of document libraries/lists.  Any advice? 

In Sharepoint 2007 while creating a group "Give Group Permission to this Site" section is missing

I have a strange anamoly in Sharepoint 2007 but I am guessing I am missing some minor step since I am new to Sharepoint. I am trying to create a new group which I have done before successfully. 1.On the home page of the site,  I click Site Actions, point to Site Settings, and then click People and Groups. 2.On the New menu, I click New Group. 3.Type a name for the group, and then type a brief description of the group's attributes in About Me. 4.I change the owner of the group or click Browse to find an individual's account name. 5.In the Group Settings section, I click the options to specify who can see the members of this group and who can add or remove members. 6.In the Membership Requests section, I click the options (No, No) and no email address entered Here is the problem part: I am supposed to see  the "Give Group Permission to this Site section"  but I see only Create and Cancel buttons.   Can you please help why I do not see  "Give Group Permission to this Site section". Is there another way to assign group permission?

Creating a Resource Reservation Site - suggestions on how to accomplish

After some suggestions here for solutions. We upgraded from SharePoint 2007 to SharePoint 2010, and the RoomEquipmentReservations.wsp template stopped working. We knew it might happen - so no shock there. We need a way of allowing staff to view and reserve resources (such as ICT Rooms, Digital Cameras). I have tried using a group calendar, but this has two major issues: I can find no way of having all of the resources shown when the site is accessed, the user has to add them in. When you click a resource after adding them in, it thinks you want to book all of the resources shown. To summarise what we are trying to achieve: A calendar style list showing all resources and any bookings for those resources (gantt style?) The ability to have the user click a free slot on the calendar above and be asked to enter other information about the booking. Once a booking is made, the user who created it. Any suggestions on how best to make all of this happen? As an aside: anyone know if MS are going to be recreating the 40 application templates for SharePoint 2010? Thanks. Craig.

Help with creating graphs in a site page from figurative data in custom list

Guys Can anyone provide me with someone help please? I need to be able show a graphs/line format in a web part of a site page on my SP 2010 site. I want to use some changing figurative data that is contained within a custom list change a the line/pie chart graph on the fly that is located within a chart/line graph in a site page. Basically when the data in the custom list gets changed by my resources I want to be able to see the changes in the graph almost like a live dashboard. I would be very greatful for some help. Note: I am not a coder nore do I ever claim to be, but if I could get a step by step guide on how to achieve this then I would be very greatful. I have a good understanding of SP but I am not to the coder. I able to supply the list if necessary and if someone could provide me with the code/or if code is not necessary for this task then please can you advise how? Many Thanks Mike Gowlett PMP P2P (MCSE, MSP, Old School :-) 

RenderAction failing in site.master, but works in a view

Hi, I have a master page into which I'm inserting a 'Search' partial view, which I've called 'pSearch.ascx'. I need to pass in a model to make some data available to pSearch, so I am using RenderAction from the site.master page, which then should call a [ClientActionOnly] Action on the 'Home' controller, called SearchPartial(), which in turn returns the pSearch view.Code from site.master:    <% Html.RenderAction("SearchPartial", "Home"); %>Code from HomeController.cs: (the method is virtual because I'm using T4MVC in the project)        [ChildActionOnly]        public virtual ActionResult SearchPartial()        {            return View(MVC.Curious.Views.pSearch);        }This is the error: "No route in the route table matches the supplied values."However, when I remove this line from site.master & insert the IDENTICAL RenderAction() call into one of my view pages, it works fine.I've been pulling my hair out, trying permutations of how it's called and different approaches, but can't work this one out, particularly because it works in a view page based on site.master, but not in site.master itself.Can anyone suggest why it wouldn't

Creating and sharing new sharepoint site to internet, limiting user access

I am a new hire into an existing business as I.T. I know the networking, I know the computers. The owner now wants me to learn Sharepoint among some other things. They currently use WSS 3.0. I have been reading up on this for the last month. I think I am ready to extend the current site to make it an Internet site so the employees can login. Some other things we would like to do I have read up on and it looks like they can be done, things such as inventory tracking in collaboration with QuickBooks and creating a website / portal for clients to have a unique login on and can see the status of their jobs in custom SharePoint lists. As far as I can tell the clients need an AD account. However, apart from that I am not sure what to do. A little background.  The company has multiple clients, and we ship things out daily to those clients.  We use Sharepoint to track the status of the jobs as they progress through the stages ultimately going to delivery. There is one common page that lists all the jobs by all clients that is updated constantly. We would like to allow multiple (different) clients/logins and have a page customized for each client.  For example, you are a client and go to www.companyname.com/sharepointsite.html.  From there you would get to a portal page with a login. Once logged in you will be presented with the Shar

Error Creating Site Collection

Hello, I have created a basic claims-based web app in SharePoint 2010. When I try to create a Site Collection, after filling out all the details, I get the following error:   Error  Cannot complete this action. Please try again.  Troubleshoot issues with Microsoft SharePoint Foundation.  Correlation ID: 349b9ae9-7bda-41eb-921a-87974afb289c    I have tried ever which way to try and get it to work, but am still stuck. Any ideas as to why I can't create a Site Collection? Thanks!

Error when creating site collection through programmatically?

hi all, When i am creating SharePoint Site collection through programmatically i am getting an error message. i am using below code...   using (SPSite site = new SPSite("http://servername:7853/")) {   using (SPWeb web = site.OpenWeb()) {   SPWebApplication oweb = web.Site.WebApplication; site.AllowUnsafeUpdates = true;   SPSiteCollection sitecol = oweb.Sites;   SPSite site1 = oweb.Sites.Add("sites/DemoSiteCol", "DemoSiteCol", "Welcome to the Client SiteCol",1033, "STS#0", "Domian\\user", "display name", "user@domian.com");//here i am getting the error message as "Object refernce not set to an instance of an Object". oweb.Update(); } Please tell me why i am getting the error message.... thanks in advance.....

which one is better site template or site collection template for creating site collection?

hi all, i want to create site collection by using custom template. So I created one site and i saved as a template and i want to use this site template to create site collection...can we use site template  or site collection template to create site collections? what is the difference between site template and site collection template? please advise me which one is better..... thanks in advance...

Cannot see top link bar when creating a Web Database site

Hi, I am new to Sharepoint 2010 and am very keen to start using the new Web Database site templates such as Asset Web Database and Issue Web Database. I am able to create these without issue however once i build and navigate to these sites i lose the top link navigation bar. For other sites such as Team Site this is not problem and the navigation site remains. Does anyone have any suggestions on how to show this navigation bar for these site templates?

Creating image based site navigation using standard sitemap

I know how to create a normal menu and change them the way i want using css, but I dont know how to use images instead of text.I want to make it look cooler using images so in order to do that, I haven't got any ideas at all :(I have seen many websites on internet like this and I dont think its a difficult thing to do for some of you here.Could you please guide me or show me the way forward ? Thanks. 

Calendar overlay only works on list calendar in team site?

Currently, I have a site collection with a top-level site and 7 sub-sites (all on an equal level just below the top-level site). I have created a calendar at each site.  On the top-level site, I've used calendar overlay to add the 7 sub-site calendars to its calendar.  It works just great! But if I try and edit the main page of the top-level site to add that calendar as a list item on the page, or as a web part (rather than having the user have to click on the Calendar under the Lists in the Navigation) - the overlay doesn't show up on the calendar. Why won't it work when I edit the home page and try and add it a web part or as an "existing list"? I get no errors regarding this - it just doesn't work!  Frustrating!!! Thanks in advance!

File Not Found While creating a Site

Hi All , I created a site collection using a Explicit managed path and it is working fine , where as when i try to create a sub site under the same I am getting file not found exception , can anybody suggest as how to go about the issue . Regards Srujan.Nsrujan
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