.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

javascript not working in sharepoint Public IPhosted site ?

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



Can AnyBody guide me why Javascript is not functioning in my hosted site with Public IP and i had 3rd party tools using the javascript which they were displaying but functionality.


Pls help me to resolve this !!!!

Thanks in Advance !!! Cheers !!! Praveen Mandalapu

View Complete Post

More Related Resource Links

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




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?

How do I publish public facing SharePoint site(on internet)?

I developed public facing SharePoint 2010 portal publishing website using Window Server 2008 R2 and SharePoint 2010 Server and SPD 2010 on my computer. I have custom master page, page layout, css…. I want to publish it(on the internet).  I want to know cheap host and domain name service provider Company and steps to do it. I’ appreciate any advice in advance.

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

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.




Sharepoint Site Usage not working after virtualizing server



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

Map a sharepoint public site with 2 public urls


Hi all,

I have created a sharepoint publishing site and extended it to a internet zone with annonymous access. Now I am able to see my site as http://www.mysite.com. Now I have 2 problems.

1. Client also want to see site even if anyone types http://mysite.com .

2. Also there is a requirement to run site with url http://www.mysite.org.  I have tried to do it with Alternet Access mapping but this is not working.

Thanks in advance,

Gaurav Dixit


Sharepoint site randomly stops working


Hi.  We have a SPS 3.0 site running on Server 08 R2 which in turn runs on an ESX 4.0 host.  We have a mix of remote and local users and this issue only seems to apply to local users (Ones directly connected to our internal network).

What happens is randomly, they try to go to our Sharepoint site and they get a Website cannot be found error in IE.  If they leave it for a half hour or so it just starts working again.  It is a strange and annoying problem that we have been unable to solve so far.  There is nothing in the main event logs (ie. App, System, etc).  We get users to let us know as close to the minute as possible when the site stops working and we cannot locate anything at those times.

The Operating systems range from XP SP3 to Windows 7.  It also occurrs when using IE8 as well as several newer versions of Firefox.

We are still able to ping the internal IP of the site when this issue is occuring, but are not able to contact it via HTTPS.

Can anyone help us by giving us somewhere to start in troubleshooting this issue further?


Login check Using javascript for sharepoint site


Hi ,

          I am supposed to create new userid and password in sharepoint domain. There may be many login users. i need to check the login using javascript in ascx control. Can anyone tell me how to do this?

FYI ...If i have five userlogins ..then the 5 users can be able to login by this page. after the login it should be redirect to some other page too.

Thanks In Advance

Varathan GS

Sharepoint 2010 Search this site not working


I have a 6 server farm.   2 App servers for indexing and 3 Web Front ends setup to crawl as well.     I can search if I go to the sites/search pages but just doing a search on the home page using the search box on the top of the page I am getting 0 results.   Also if I search on a list/library I am getting 0 results.    Anyone have the same issue and no how to resolve.   I have over 16000 items in the index.   



Search option is not working in collaboration site in Sharepoint 2007 ?



   I have create collaboration site In this site out search option given error message,  But in Administrator page search working properly.  How to solved this in sharepoint 2007 ?




Search option is not working in collaboaration site in Sharepoint 2007 ?



        Search option is given error message in collaboration site but   good working in Administrator page ?

How to work search option in Collaboration site.



SharePoint 2010 site not working unless I use FQDN


Hello all.  I've got a SharePoint 2010, Windows 2008 R2 set up here.

One of the developers did this

I installed the pdf icon into the server. I went into the templates folder for images and added the .gif and then I modified the DOCICON.xml file to add the key value pair. I was supposed to restart the server afterward. That's when I created that problem.

He then went in and stop/started this

Microsoft SharePoint Foundation Web Application

Nowe can only connect with this  http://SITE.domainname   if we try and connect via the short name  http://SITE  then I get the IIS7 "welcome" page.

When I ping SITE and Site.FQDN I get the same IP (servers) so DNS looks good.

I go into IIS7

Sharepoint default search not working for a site

Hello All,

I am facing an issue in the search of a sharepoint 2007 site whose zone is Internet.
The default sharepoint search is not working. When i crawl the content source I get a warning which says "The specified address was excluded from the index. The crawl rules may have to be modified to include this address. (The item was deleted because it was either not found or the crawler was denied access to it.)".

Please anyone let me know how to do this. This is on our production server.

I appreciate all responses.

Thank You,

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