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


Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Asad Ali
Fauzul Azmi
Post New Web Links

CSS not working on hosted site.

Posted By:      Posted Date: September 17, 2010    Points: 0   Category :SharePoint
 
Hi, I was wondering if someone could help me understand why I cannot get CSS to work on a hosted site? I am using SPD 2010, Windows Server 2008, and IE-8. After putting my CSS script inside the PlaceHolderTitleAreaClass in the Master Page, I referenced it from a td on the edit template(DVWP template provided by SP for inline editing). SharePoint Designer will render the border color while previewing the template, however, the browser will not render the border color when logged in to my hosted site. The same procedure will work in a browser when I logged in to my development machine instead. Would CSS be server side code, and be blocked by the hosted site? I also tried an older version of the Master Page, and built a DVWP page from it. The results were the same. Thank you for your help!


View Complete Post


More Related Resource Links

It's possible to using sharepoint services 3.0 hosted site without authentication login ?

  
It's that any way to able user read / write by without login authentication for sharepoint services 3.0. because i'm having problem when external user need to access to our sharepoint pages, but their can login to it.

SharePoint 2007 Expiration Policy Not working : Access denied for the site

  

I have a SharePoint 2007 List with Expiration Enabled in Information and Policy Management. I have a datatime column ExpiryDate which i used in Expiration. On Expiration I have chose to delete the item. Through Central Admin I run the expiration by clicking "Process Expired Items now" button. I got the following error in the Windows event viewer.

Expiration Service for site http://md-rmanimaran failed.

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

EventID: 5016

Category: Information Policy Management 

Where I need to specify the login details to get rid of this error? Anybody Please help..

Thanks

R.Manimaran

 


javascript not working in iframe on remote site

  
<html> <body style="background-color: White;"> <form name="ctl01" method="post" action="adv_links_addbycustomer.aspx" id="ctl01"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/</div> <div> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/dfdafa" /> </div> <div style="background-color:White;"> <span id="lblMsg" class="ErrorText" style="font-weight:bold;"></span> <center> <span id="Label1" style="font-size:X-Small;font-weight:bold;">Valid Urls</span> <select name="DropDownList1" id="DropDownList1" style="background-color:#EFEFEF;border-color:#898989;border-width:1px;border-style:Solid;font-size:8pt;padding:0px;"> <option value="0"> - Select - </option> <option value="http://www.fha-home-loans.us/index.htm">http://www.fha-home-loans.us/index.htm</option> <option value="http://www.fha-home-loans.us/jumbomortgage/apply.htm">http://www.fha-home-loans.us/jumbomortgage/apply.htm</op

SharePoint Search not working on one site collection

  
I am running into some weird behavior with how SharePoint is crawling site/list data.  Let's say our main intranet site is http://www.intranet.com: Most of our older sites are setup with URLs like http://www.intranet.com/sites/sitename .  Crawling is working fine on these sites and I can execute a search and find all of the results I would expect.  At some point recently (before I joined this firm), they made a decision that all new sites would have the URL http://www.intranet.com/SiteDirectory/sitename .  Any sites which fall into this bucket are not being crawled, it would seem. If I check Central Adman>Shared Services>Search Administration, I can see that the first content source being crawled is http://www.intranet.com so I would imagine this crawl should pick up anything under /SiteDirectory/ but it is not.  I also checked the Crawl Settings on this page and it is set to "Crawl everything under the hostname for each start address".  Lastly, I see that there were only 21 errors in the last full crawl but none of these errors apply to a /SiteDirectory/ site. In short, what could be causing the crawl to apparently skip all of the sites within /SiteDirectory/ and how can this best be fixed?

New SP 2010 Installation - Can't Get User Profiles / Outlook / My Site stuff working.

  
Hello,   I have a new SP 2010 Installation. I did NOT set it up in Standalone mode. My users can log in and create their own My Sites. They can edit them, add content, etc. When using Outlook 2010, they add one another in the People Pane. It shows up under My Site > My colleagues that they are connected. However, in Outlook, the MySite icon in the People Pane has a red X on it. I thought that User Profile Sync Service might be the culprit after reading through various blogs. However, if I go to Central Administration > Manage Profile Service : User Profile Service Application... if I click Configure Synchronization Connections, the page comes up - "The query returns nothing." I try to click "Create New Connection"... I get an error message - Cannot navigate to the requested page while User Profile Synchronization is running. Please wait for the current Synchronization to finish.   OK - I thought that the query returned no results. I don't see the service running... can someone point me in the right direction?

When Upgraded a site from Wss 3.0 to Sharepoint foundation 2010, subsites are not working

  
HI ALL, I recently migrated an old Sharepoint site from WSS 3.0 to Sharepoint foundation 2010. There were no problems during the upgrade and the stsadm command displayed the message that upgrade completed successfully. However when I am accessing the sub-sites from outside the server, I am able to see the content, but when I go to Site Settings, I get an error "File not found". Also the Views for the sub-sites are not working. However on accessing the sub-sites from the Server everything is working fine. Can anyone please help me?  

SharePoint My Site is not Working anymore

  
Dear All, I do not know what happened but currently our SharePoint MySite keeps prompting for domain account/password. I tried to key-in my user/password but it doesn't work it just keep prompting. This is the history: Last time we have the My Site up and running but we disabled it due to low volume of usage. After enabling the My Site again, the site is not running anymore. It keeps prompting the domain username/password and will not re-create the site again. (because we have deleted the users' site) Please advise. Thank you.   Best Regards,   Jimmy

SharePoint 2010 Claims Based Authenticaton site working but search is broken

  
Hi, I have SP 2010 sucessfully installed on a Windows 2008 R2 server with SQL Server 2008 R2.  I created local machine accounts for the following: MACHINE\mssqlservice MACHINE\sp_admin MACHINE\sp_search MACHINE\sp_farms I have setup 2 sites with public facing internet access as well as local sites. I have CBA working properly on both sites from both public and private access. My problem is that when I go to search, I am constantly redirected to an error page. I have checked all SP services on the server and they are all running as MACHINE\mssqlservice That account has proper access to all sites as well as all DB's. My search is crawling and I get one error from a long named PDF file in my site, which is OK.   My questions is if my CBA is working fine and my search is crawling, why I am not getting a results page when I search from the sites:   Here is the error I get:   Error Internal server error exception:   Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 5a03b730-42c2-48c9-a220-3b9d052481de Date and Time: 9/9/2010 4:45:07 PM   I am kind of stuck at this point and am not sure how to proceed.  Any help would be appreciated.        --TR

Retract custom master page feature and all site pages stop working

  
There is a requirement to apply custom branding on personal sites in a SP 2010 project. For this I have created a feature which uploads and applies the custom master page on creation of any new personal sites.   I have stapled this feature (using feature stapling concept) to the “SPSPERS” (personal site) site definition. The custom master page is displayed on the creation of new personal sites. On feature deactivation, I am looping through all the personal sites (as the feature is deployed on a team site) and pointing the master URL back to v4.master. But when I retract the solution and browse to the personal site, I am getting a “404 File not found” error.  But am able to view the settings page by typing the URL.   I activated the publishing features and looked at the master page applied to the personal site. It was pointing to v4.master.   Any help on this is appreciated. Regards, Neha

Retract custom master page feature and all site pages stop working

  
I have stapled this feature (using feature stapling concept) to the “SPSPERS” (personal site) site definition. The custom master page is displayed on the creation of new personal sites. On feature deactivation, I am looping through all the personal sites (as the feature is deployed on the root site) and pointing the master URL back to v4.master. But when I retract the solution and browse to the personal site, I am getting a “404 File not found” error.  But am able to view the settings page by typing the URL.   I activated the publishing features and looked at the master page applied to the personal site. It was pointing to v4.master. Any help on this is appreciated. Regards, Neha    

Not able to generate proxy for the service hosted on IIS, but working on Dev Web Server?

  
Hi, I have tried to host WCF on the IIS, it browsed sucessfully using the path http://localhost/WCF/Service1.svc but when tried to generate proxy using SvcUtil, it generated the following message. Bus the same when tried from the development server is working file. c:\Program Files\Microsoft Visual Studio 9.0\VC>svcutil.exe http://localhost/WCF /Service1.svc?wsdl Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152] Copyright (c) Microsoft Corporation.  All rights reserved. Attempting to download metadata from 'http://localhost/WCF/Service1.svc?wsdl' us ing WS-Metadata Exchange or DISCO. Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152] Copyright (c) Microsoft Corporation.  All rights reserved. Error: Cannot obtain Metadata from http://localhost/WCF/Service1.svc?wsdl If this is a Windows (R) Communication Foundation service to which you have acce ss, please check that you have enabled metadata publishing at the specified addr ess.  For help enabling metadata publishing, please refer to the MSDN documentat ion at http://go.microsoft.com/fwlink/?LinkId=65455. WS-Metadata Exchange Error     URI: http://localhost/WCF/Service1.svc?wsdl     Metadata contains a reference that cannot be resolved: 'http:

How to find out how many users logged onto a sharepoint hosted site?

  

We have a sharepoint hosted site that is accessible to users externally. 

Sometimes whenever we need to  release some updates, we would like to do it when there is no user browsing the site.

Are there are any tools available? If not, can we write any scripts or code?

Please suggest.


SharePoint Search not working on my site

  

hi all,

i included a search control on my highly customized site that until now has not had search on it.  Simple Delegate control for the small search box.   By default it shows the drop down list with "this site" as the default.  that is fine.  I type sometihng in and get 0 results. 

all my lists are set up to be searched, my "search settings" in the site collection are set to "Do not use custom scopes".  I can't really see any other search settings. 

IS there something i need to do to get my site indexed?  i only have site collection admin on this particular collection, the actual SP environment is huge and all other areas search pretty well, unfortunately i am no admin on any of those areas and have limited access.

any help appreciated.

tia,

mcm


mcm

Publishing Site - Edit page not working

  

Hello

I'm creating a WCM site with custom master pages and page layouts. I'm using PublishingControls HTMLEditor (i was originally using Telerik Rich Text Editor and it dint work too) to facilitate content authors to enter content and publish it. But when i click edit page the publishing console is appearing but no the HTML editors.

Any ideas?


Regards
NLV
Visit SharePoint User group - India

Sharepoint Site Usage not working after virtualizing server

  

Hi

I just virtualized(vmware) both front and backend server for Sharepoint  2007 . The issue I'm having is that my Sharepoint Site Usage pages are no longer showing results. 

I tried giving WSS_ADMIN_WPG ans WSS_WPG Full control of the logs folder but still no luck.C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS

I noticed the following 2 event id errors on my front end server

Source: Office Sharepoint Server

Event ID 7888

runtime exception was detected. Details follow.

Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Techinal Details:

System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)

at Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns)

at Microsoft.SharePoint.SPWeb.GetSiteData(SPSiteDataQuery query)

at Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteData(CachedArea cachedArea, SPWeb web, SPSiteDataQuery query)

For more information, see Help and Support Center at

Site Usage Reports web User Interface not working

  

When we go to a subsite of a web application, we get the message: "No data is available for this report. Usage analysis might have been enabled recently, or there might have been insufficient usage to report in any values for the report"

We have followed the instructions to configure the site usage reports on the farm and have checked to see whether the reports feature is activated etc. We do have the logs folder location at default path and have ensured the wss_adm groups have the appropriate permission. We also have logs turned on at the iis web app area.

This problem is farm wide and occurs on the different web applications we have in the farm.

so plz any help???


Site Usage Reports web User Interface not working

  

When we go to a subsite of a web application, we get the message: "No data is available for this report. Usage analysis might have been enabled recently, or there might have been insufficient usage to report in any values for the report"

We have followed the instructions to configure the site usage reports on the farm and have checked to see whether the reports feature is activated etc. We do have the logs folder location at default path and have ensured the wss_adm groups have the appropriate permission. We also have logs turned on at the iis web app area.

This problem is farm wide and occurs on the different web applications we have in the farm.

so plz any help???


Categories: 
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