.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

Bug report: MouseMove on document fails over disabled objects.

Posted By:      Posted Date: September 18, 2010    Points: 0   Category :ASP.Net
I found a bug in the event handler code of the client library related to document-mousemove and disabled DomElements. Steps to reproduce: 1. Add an input button to the page and disable it:               <input type="button" id="Button1" value="Button 1" disabled="disabled" />  2. Attach a mousemove event to the document in the init event of the application:              Sys.Application.add_init(function() { $addHandler(document,'mousemove',function(e) { }); }); 3. Run the page in IE and move the mouse over the disabled button. An exception is thrown:             Microsoft JScript runtime error: Sys.ArgumentException: Value must be a DOM element. Parameter name: element This problem occurs because the event target is not null, but an empty object. The DomEvent handler tries to get the location of the element, but fails when it realizes that this is not a DomElement (Since MSAJAX doesn't check for argument types in non-debug mode, it there tries to get a property of the object that doesn't exist which fails too). Because of IE's buggy mouseover/out eventhandlers, attaching a mousemove event to the document is

View Complete Post

More Related Resource Links

Search does not find text in Word document stored in document library on a Report Center site within



We have a document library on a site created off of the Report Center site template. We uploaded a Word 2007 document with the word zebra in the text. Using the search bar at the top of the page we selected This list: Our document library and searched for zebra. We received no results.

We tested the same thing on another site (site template Team site) within the same site collection and search worked fine.

Does the Report Center search function differently then the search functionality on the Team site?

Tamara Bredemus SharePoint Minion...working up to Maven

Local Report - nested objects



I trying to use Object data source for my local report. But the problem is that the datasource is having nested objects and I am not able to access the properties of the nested object.

I tried using =Fields!HomeAddress.Value.Zip as mentioned on this site


but couldn't get it working. Its returns #Error for this field.

I am using visual studio 2010 for developing this report

Please help.






SQL Server 2008 installation fails There was an error generating the XML document. Error code 0x84B

My system config: window XP - SP3 4 GB RAM, I have VS2008 with SP1, VS2010 Ultimate installed First when I tried to install SQL 2008 R2 Dev edition I got an error saying vs2008 SP1 was not installed, infact I had the SP1 installed in my m/c.  I did reinstalled the SP1 and tried to install SQL again. while in the final installation process I got the error  "Setup has encountered the following error: There was an error generating the XML document. Error code 0x84B10001." I uninstall the SQL server again to remove the files which were created from Unsuccessful installation I removed the register entry as suggested by this forum. reinstalled but no chance, I have tried all the option which I can get know in web. Please help me. here is the log files details  Exception type: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException 2010-08-26 14:54:53 Slp:     Message: 2010-08-26 14:54:53 Slp:         There was an error generating the XML document. 2010-08-26 14:54:53 Slp:     Stack: 2010-08-26 14:54:53 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject(String rootPath, Object objectToSerialize, Boolean saveToCache) 2010-08-26 14:54:53 Slp:   &nb

Cannot add SQL Server 2008 R2 Report items to SharePoint Server 2010 document library

Using account which is the primary parent site administrator, can upload RDS and RDL files to the document library (however, cannot open report). User is also a domain admin with SA on the database instances. Cannot add Report Data Source with "New Document" icon. The permissions granted to user '[domain]\[user]' are insufficient for performing this operation. Under "Site Settings", "Managed Shared Schedules" fails with same error. Attempting to deploy from BIDS results in the same permissions error. Sharepoint Server 2010, Report Server 2008 R2. RS and SP databases hosted on remote server (SQL Server 2008 R2). All connections (SharePoint services, RS services, users) except SQLAgent authenticating to remote SQL Server with Kerberos (all SPNs look correct). Single site, site collection "/". Document directory called "Reports". Windows Integrated Security (Negotiate). How would I troubleshoot/solve problem?

Content Query Web Part (CQWP) fails to show picture items from a document/picture library in an anon

I have a Picture Library and am trying to use the CQWP to display a list of items in the library.  The web part shows the items fine in authenticated mode, but it fails to show the items to anonymous users. The error log message is: Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb web, DataRow row, String strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, String fileRefColumnRef, String progIdColumnRef, String fsobjTypeColumnRef, String permMaskColumnRef)     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute()     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData()     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) I'm running SP 2010.  I've tried various scenarios including: 1. Using the default publishing template. 2. Using the blank site template with publishing and lock down features enabled. 3. Us

Edit Document disabled

Hello I have Sharepoint 2010 installed. I uploaded a word document to a page, but I'm not able to edit that document. The Edit document button is disabled and when I hover over it it says I don't have the permissions. This is a test environment and I'm the only user on this machine. I have full access to the central administration site and I'm using the same account on the Team Site I'm building. So what do I need to do? Also, this is not the only button that is disabled. Publish, Unpublish, Approve/Reject, etc.. are all disabled. Thank you Abdallah El-Chal, PMP, ITIL, MCTS

Document Set - Problem when uploading multiple files with "Launch forms in a dialog" disabled

Hello, Has anyone come across this before? I have a basic document library for which I have enabled "Allow management of content types" and disabled "Launch forms in a dialog".  Both of these settings are in the "Advanced Settings" page.  Also, the document library does not have versioning enabled and check out is not required. I added the OOTB "Document Set" content type to this document library and allowed OOTB "Document" content type documents in this document set.  This document set does not have any default content. The issue arises after I upload multiple files and click the "Done" button.  After I do this, the browser redirects to the top level of the site!  For example, if I uploaded to my document set at http://server/sites/anyname/doclib, I am redirected to http://server/. This issue has come up in both a standard server and an enterprise server. Steps to repeat issue: Create a document set Open the document set Select "Upload Multiple Documents" Drag and drop or browse for files Click "OK" Click "Done" Actually, this issue also occurs when "Launch forms in a dialog" is enabled.  In this case, you just have to navigate to the upload form directly (with all the necessary query string parameters, of course). Has anyone else seen this issu

how to merge contents of a form library and picture library into a report (word or pdf) document

Hi all           I want to generate a report  containing data from a form library and pictures from a picture library. I am able to generate ms word report from data filled in form library using http://www.bizsupportonline.net/infopath2007/convert-infopath-form-into-word-2007-document-xslt-c-sharp.htm . . But now actually i need to merge images from a picture library into that word  document . thnxs 

lalith: Please help i am crying from past 1week : problem is: Report from 'DISCO Document' is 'Ro


The document at the url http://spd:16841/_vti_bin/UserGroup.asmx was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'http://spd:16841/_vti_bin/UserGroup.asmx' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'DISCO Document' is 'Root element is missing.'.
- Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.


one of biggest sad in my life is above error which i am not getting correct solution from microsoft.

Report always fails, need description


OK, this may sound like a total noob question:

I'm not too familiar with SSRS.  I've created stored procedures for report data sources, and I've built and deployed a few reports over a year ago.  Other than that, I haven't used it much.  Now we have a report that seems to always fail.  It is part of the CRM application, and was not created by us.  We are using SQL Sentry to monitor that server, so that's how I realized it was failing.  However, I can't figure out why it's failing.  I need to be able to see some detailed info regarding the failure (i.e. the kind of info one might see in a job failure step from SQL agent).  I'm not really sure how to proceed.  If someone could point me in the right direction, that would be great. 



Programmatically generating html report using ReportExecutionService class fails


Hello All,

I am utilizing the ReportExecutionService class in MSRS 2008 to programmatically generate reports in a .NET Windows program. I have two Web References, one for ReportingService2005.asmx and one for ReportExecution2005.asmx. I am using ReportExecution2005 namespace to instantiate the ReportExecutionService object.

The problem is that generating report content using the ReportExecutionService.Render method is not working consistently. It works a few  times and then throws a 
"Client found response content type of '', when expected 'text/xml'. This is happening for reports that worked great on a prior test (same report name, same path, same parameters). Does anyone know if I need to change any settings in SSRS to correct this issue. Below is the code

ReportExecutionService res = new ReportExecutionService();
res.Timeout = System.Threading.Timeout.Infinite;
res.Url = url.vvlu_char_vlu_cd.ToString();

res.Credentials = System.Net.CredentialCache.DefaultCredentials;
// Render arguments
byte[] result = null;
string reportPath = @"../../../Stuff";
ExecutionInfo ei = new ExecutionInfo();
ExecutionHeader eh = new ExecutionHeader();
res.ExecutionHeaderValue = eh;

string format = "HTML4.0";
string devInfo = @"<DeviceInfo><Toolbar>False</Tool

Status of Accessing Nested Objects in Data Source of Local Report Does Not Function


We recently upgraded out platform to .NET 4.  We are also using Microsoft Reporting dlls.  Unfortunately, we found that the upgrade broke all of our reports.  Researching the cause, we found this article:


It seems that this issue has been open for some time now and I have not seen a good workaround (except for the shim class which is not really feasible for us).  Can I please get a status update for this?  Is there some other type of resolution?

Thank you,

Benjamin Strum 

Ben Strum

Fixed Headers and Document Map behavior on Report Manager



We have created a simple SSRS 2008 R2 report with document map on it. Also the report has the 'Repeat header rows on each page' and 'Header should remain visible while scrolling' features on.

When this report is deployed to report manager, we are seeing some unexpected behaviour that we would like to fix.

Basically, when you click on different items on the document map - the first few records in the report got hidden behind the  "fixed header data". Then we have to scroll up to see all the records. (The same question was asked back in 2006 by someone.. But no answers.. http://www.bigresource.com/Tracker/Track-ms_sql-ErXx27Zc/)

Please help us out. Thank you!


How to show a "document map" in reporting services 2005 report viewer


Hi there,

I am wondering how to show a "document map" in reporting services 2005 report viewer. Under


it is stated that there should be a document map icon that I can click on to show my report map but this icon does not exist. Is there anything I have to do to enable it?

Best wishes



Generate report on all empty folders in document libraries


I would like to perform a scan of all my document libraries in my site collection to determine which folders are empty and therefore can be safely removed.  Is there any built-in functionality in SharePoint 2007 that would allow me to do this?


Document Library Synchronisation with Outlook 2007 - Subfolder Synchronisation Fails


Hi there!

We have a document library of about 2 GB (approx. 3000 files) with nested subfolders (migrated to MOSS 2007 from a fileserver). Generally we have no problem to take all files offline (after selecting "Mark to download" in Outlook 2007). Also new files are taken offline without any problems automatically.

But when we create a new subfolder within the document library those new subfolders and files are not synced to Outlook. The users then have to manually right-click on the document library in Outlook and select "Mark to download" again. After a click on "Send/Receive" all the new folders and files are synced.

Is there a way to make sure, that also new subfolders are synced automatically?

Thanks in advance!




Versioning being disabled by itself in one document library

Hi All,

am currently facing an issue on a document library.

My document lib has more than 2000 items and has versioning enabled. Some how the version settings are changing automatically. I mean the versioning is being disabled by itself.

This is happening only on this library all other libraries in the site and site collection are working fine.

Im using  WSS 3.0.

Can any one help with this.

Thanks in advance,
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