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

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

What does emit debug information when publishing web site do ?

Posted By:      Posted Date: October 14, 2010    Points: 0   Category :ASP.Net

 hello. what exactly selecting emit debug information when publishing web site do ?

if i select this can i see error variable names  at stack trace ?

View Complete Post

More Related Resource Links

ASP.NET: Collect Customer Order Information on an Internet Site Using XML and Web Forms


XML has quickly become the new data structure standard for everything from database access to cross-platform computing. XML is typically considered to be a vehicle for data exchange, dynamic data presentation, and data storage. However, the potential of XML far surpasses those limited applications. This article examines one new use: the gathering of data across a number of forms in an ASP.NET Beta 1 framework application. The sample program is a Web app used for ordering pizza. It uses ASP and C# to gather order information and then stores it in XML. To build the application, several concepts are explained, including data collection, order persistence using cookies, grouping input forms, and formatting the data for display.

Jeff Jorczak

MSDN Magazine September 2001

Publishing SharePoint Site


I have published a sharepoint website that I created but I now have the following problem:

  • from the internal network, everything works fine..
  • from the external network (via web):

  1. the People Picker web part does not work (error in WebForm_DoCallBack)
  2. The "assigned to" field is empty, but when I see the source code, the users are there. They are just not displayed.
Can anyone help me. Thanks in advance..

SharePoint 2010 Publishing Site : Operation is not valid due to the current state of the object.

  I think as usual, the new version of SharePoint 2010 has a lot of problems. the below messege appear in a publushing site (FBA) enabled and when I try to access the pages list or even approve a page of accessing the SiteCollectionImages list and ......... etc every link produce the below error. I'm very frustrated with 2010.  Server Error in '/' Application. <nativehr>0x8107058a</nativehr><nativestack></nativestack>Operation is not valid due to the current state of the object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack></nativestack>Operation is not valid due to the current state of the object. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x8107058a): <nativehr>0x8107058a</nativehr><nativestack></nativestack>Operation is not valid due to the current state of the object.] Microsoft.SharePoint.Library.SPR

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? 

How to add List item in search results for anonymous in a publishing site?

Hi all,   For now, results in Library (document set or not) are shown and the link is the binary file. This is ok. But for list, anonymous users can't view results. As logged in I see the items in the AllItems.aspx page. How could I allow this result to be viewed by anonymous users too?      Thank you,   Benoit Pironet

Publishing Site as www.contoso.com

Hello, I am looking to make a publishing site the web site for the company. When I go to www.contoso.com it will take me to the normal Moss 07 portal and not the publishing site. Where is the setting for me to make the publishing site as the default web site? -IRXFIRE

How do I delete the 'Home' tab from the top nav for a publishing site?

I have a request to remove the 'Home' tab from the top navigation for a publishing site.  I can see how to add new ones and remove them but there is no way to remove the root 'Home' tab from the site navigation settings page.Thanks...

unable to create site collection using publishing - collaboration portal

i am facing problem creating site collection using publishing - collaboration portal template. i am getting the below error: Event log message was: 'The site template was not provisioned successfully. Delete this site collection in Central Administration, and then create a new site collection.'. Exception was: 'Microsoft.SharePoint.WebPartPages.WebPartPageUserException: This page has encountered a critical error. Contact your system administrator if this problem persists. at Microsoft.SharePoint.ApplicationRuntime.SafeControls.IsSafeControl(Type type, String& unsafeErrorMessage)    at Microsoft.SharePoint.WebPartPages.TypeCache.get_Item(Type type)    at Microsoft.SharePoint.WebPartPages.WebPart.WriteXmlGlobal(Boolean disableSafeControlsCheck)    at Microsoft.SharePoint.WebPartPages.BinaryWebPartSerializer.Serialize(PersonalizationScope scope)    at Microsoft.SharePoint.WebPartPages.BinaryWebPartSerializer.get_Links()    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartToStore(WebPart webPart, Int32 viewId, String viewGuid)    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartInternal(SPSupersetWebPart superset, Boolean throwIfLocked)    at Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager.AddWebPartInternal(WebPart webPar

Office Sharepoint Server Publishing Infrastructure is missing in site collection feature SharePoint

I was trying to activate the Office Sharepoint Server Publishing Infrastructure feature in the site collection features but the feature is simply not there. Is this option not available in SharePoint Foundation 2010?

Can't inherit default page layout on a publishing site?

  Hi,   Implementing SharePoint for the first time.   We've got a page layout that we want to use as a default. We've got it set as the default in the top site in the site collection. However, when I create a Publishing Site with Workflow, it doesn't default to using the right layout, despite the fact the sub-site's Site Settings / Page Layouts show that it it set to inherit the default page layout from its parent.   Oddly, when I create another type of site, e.g. a Blank Site, it does inherit the default layout.   Any suggestions?   :|Ben      

Publishing features for Blog Site?

Just want check and see if anybody sees any issues with enabling publishing features for a blog site.  Thanks in advance for any feedback.

Using ScriptSrc to reference a javascript on publishing site breaks the Asset Picker dialog?


I'm using a site scoped feature to add a reference to jquery.js:


After activating the feature for a publishing site I no longer can insert a picture from Sharepoint. The Asset Picker dialog throws a script error when I select an image:

Line: 3377
Char: 5
Error: 'style' is null or not an object'
Code: 0
Url: http://www.mysitename.com/_layouts/1033/cmssitemanager.js 

My workaround is to add the .js reference directly in the masterpage instead, that does not affect the Asset picker. The error is easilly reproduced on my development server + a production server. I'm hoping anyone else has solved the issue because I would really like to use the cool ScriptSrc also for publishing sites.


Activating Publishing Infrastructure at the Site Collection level


My task is to my company's branding solution to two new sites. I can upload the solution but I cannot activate it. I can't activate it because SharePoint Publishing is turned off on the sites. When I attempt to turn on SharePoint Publishing, I get this error:

The feature being activated is a Site scoped feature which has a dependency on a Site Collection scoped feature which has not been activated. Please activate the following feature before trying again: SharePoint Server Publishing Infrastructure f6924d36-2fa8-4f0b-b16d-06b7250180fa
The Site scoped feature being activated has a dependency on hidden Site scoped feature 'FeatureDefinition/22a9ef51-737b-4ff2-9346-694633fe4416' (ID: '22a9ef51-737b-4ff2-9346-694633fe4416'). Hidden features cannot be auto-activated across scopes. There may be one or more visible Site scoped features that auto-activate the dependent hidden feature.

I can't seem to locate the Publishing Infrastructure feature. The Site Collection List provides information about each site collection but no access to their features. How do I turn on Publishing Infrastructure?

Publishing Portal Missing Team Site Template



I created a new site collection and set the root site as a publishing portal.  I then went into "manage site features" under "Site Actions" and activated the "Team Collaboration Lists" feature.  However I cannot find the "Team Site" template when I try to create a new site.  Is there a feature I'm missing? 



custom publishing site definition


What to do , so that  custom   site definition tab  should appear at site collection level only?

What to do , so that  custom   site definition tab  should appear at subsite level only?

what to do , so that particular site definition tab should not appear at particular subsite level at all.

Rich text editor for Title field in Publishing site


I have one French publishing site. I want to set one page title like this: see BOTOX trademark here . To show title like this i need to put tag like Product <sup>MC</sup> . Problem is, if i put above tags in title text box at the time of page creation then page title showing Product <sup>MC</sup> not  like above site.


Regards, Sandip Patil, .Net,Sharepoint Developer www.worldofsharepoint.com

Publishing site to Sharepoint WebServer from VS 2010


Hi All,

I am new to SharePoint. Started playing with SharePoint 2010 & VS2010 Premium on Windows Server 2008 R2.

Here is my doubt:

I have created a custom STS web site in VS 2010. Now I want to host it on that site on SharePoint Web Server(IIS 7.5). But when I am trying to publish from VS 2010 it shows following error: "Visual Web Developer does not support creating Web sites on a SharePoint Web server".

Can you please help on this issue.

thanks in advance.


Rupak Sarkar
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