.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

usb device is not working properly after reconnecting.

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :Windows Application

Hi All

I am using card reader, it works fine when I connect it first time but when I reconnect it after disconnecting it then some time it works some time it doesn't in XP sp3.


View Complete Post

More Related Resource Links

Discussion board template of SharePoint 2007 not working properly


Use case 1 – Discussion board to suggest change to documents

 User adds a suggestion. The discussion board needs fields like module name, document name, section name and reason for a change etc.


 Problem 1 – When I try to add fields to the discussion board – When a user wants to post a reply to a suggestion, user screen shows the new item form and all fields instead of just a reply or comment field. Need help how can I ensue user only sees reply or comment field?


 Problem 2 – If I make these changes in the discussion board template through SharePoint designer 2007 and later if we plan to upgrade to SP 2010. Do I have to redo the changes I did on old discussion board or will upgrade take care of migration of the changes to new discussion board template available with SP 2010? 




can anyone tell me why setInterval is not working properly i want to display the time every seconds,

setInterval is suppose to execute the script every second there getting the most uptodate time of day , but it does not update it stays the same
      <script type="text/JavaScript">

          function interval() {
              setInterval("time()", 1000);
          function time() 
              var d = new Date();
              var time = d.getHours();
              var time2 = d.getMinutes();
              var time3 = d.getSeconds();

              document.write(" : ");
              document.write(" : ");
  // -->
      <input type="button" OnClick="interval()" value="Click Me!"/>


Check In / Check Out not working properly

At various points during the day, I check back in the master and CSS files I've been working on.  However, it doesn't show them as checked in ... they are still flagged with green check in SP Designer.   And what is more confusing, sometimes I can't save anything because it says that it is checked out.  But I'm the one who checked it out.  And it thinks it is checked in.  So I try to check it out again, and it won't let me check it out. The only way I got around this yesterday was to rename the master file.  Then rename it back to it's original name. Suggestions?

AsyncPattern is not working properly.

Hi all I have a WCF service which has two methods. [ ServiceContract]   public interface IAsyncInterface { [ OperationContract(IsOneWay = true)]   void Submit(CurrentJob currentJob); [ OperationContract(IsOneWay = true)]   void Execute(AsyncExecInstance exec, AsyncRequest request);       ///Async Call [ OperationContract(IsOneWay = true,AsyncPattern=true)]   IAsyncResult BeginSubmit(CurrentJob currentJob, AsyncCallback callback, object state);   void EndSubmit(IAsyncResult ar); [ OperationContract(IsOneWay = true,AsyncPattern=true)]   IAsyncResult BeginExecute(AsyncExecInstance exec, AsyncRequest request, AsyncCallback callback, object state);   void EndExecute(IAsyncResult ar); } My client is a windows service. i have 2 seperate threads for calling these 2 methods. So these 2 methods will be called parallelly. if i call this methods 15 times at a time all the 15 requests are giving to my WCF service. The first 8 requests are processing very fastly and i am getting result. after that the service is not at all responding. But the WCF service is still active. Some time though i submitted 15 request to service some of the requests are not processing. I set concurrency mode as multiple and MaxConcurrentCalls=50. That means it should handle 50 requests at the same time right? Can

mantenace plan is not properly working

hi, maintenance plan is not working it skip 20% database backup , not showin error id

Task scheduler and System.IO.File.WriteAllText() not working properly

I have a simple console application that has this in mainline:  Console.WriteLine(System.String.Format("the current directory is: {0}", System.IO.Directory.GetCurrentDirectory())); System.IO. File.WriteAllText(@"test.txt", "new contents");   Console.ReadLine(); I compile this in VS 2010 and copy the EXE to a directory named "c:\test".  When I run this code in two different OS's via "Task Scheduler" and "Scheduled Task" I get different results.   In Windows Server 2003 R2 "Scheduled Task" this code will create a file as I would expect, c:\test\test.txt with the proper contents written to it.  When I run this same code on Windows 2008 R2 (64 bit version) "Task Scheduler" it writes the expected contents to an unexpected location, c:\C:\Windows\SysWOW64\test.txt. In both environments if I run the exe's from a command line, it writes to c:\test\test.txt as I would expect. As I understand it, if you don't fully qualify the file name in the first parameter of the WriteAllText method it will write the contents to the file in the directory of the executable however this seems to break down when running in the Windows 2008 Task Scheduler.  I know I can fully qualify the file name or put the expected path in a

User Control Validation is not working properly

In my Website I have header control (header.ascx) and footer control (footer.ascx)In header.ascx one textbox and one button is there. Textbox meant for accepting search string.In footer.ascx one textbox and one button is there. Textbox meant for accepting Email-Id.Now in validation of header.ascx I had done blank checking by JavaScript. And in validation of footer.ascx  I had done blank-checking and e-mail checking by javascript.In both the control the textbox and the button both resides under Panel control whose DefaultButton property set to the respective button ids. So that if User write write something and press ENTER key from keyboard then it should do whatever respective Button_Clicks will do.Now My problem is suppose I place the mouse cursor in footer.ascx's textbox and press the ENTER key it validates properly but after that if I place the cursor inheader.ascx's textbox and press the ENTER then it is not working. Again If I do the opposite then also first one will fire but in case of second it is not firing .......

SharePoint 2010 Personal View not working properly.


Hi All,

I created three personal view in SharePoint 2010, it's not working properly as we want, when we are changing view from one to another, list data is display as newly selected view in view dropdown, but view name is not getting change. 


I created view List Users, List Company, List City. when we a trying to change view from List Users to List Company it's showing data for list company but view name is still showing List Users. same happing with List City.


Any suggestions are welcome.


Ajax MaskedEditExtender mask not working properly after turning off readonly



I ran into a strange issue with the AJAX MaskedEditExtender control, the extender is used with the Mask="99/99/9999" and MaskType="Date". Initially when the page loads the textbox was set to readonly using textbox.Attributes.Add("readonly", "readonly") in the codebehind. After the page loads if the user clicks on a certain button it would change the textbox to editable using javascript code: textbox.readOnly = false. The strange thing is after that if you start typing in the textbox you can see the entire mask (__/__/____) shifting to the right as you type. For example it looks something like this: 09__/__/____ instead of the normal 09/__/____.

If the textbox was never set to readonly in the first place this behavior won't happen. So it seems something got messed up when changing from readonly to not. I was able to reproduce this in a barebone aspx page with just the textbox, the mask extender, and a button that when clicked turning off the textbox's readonly. Anyone knows how I can fix this?

I'm using Ajax toolkit v3.0.30512


get() method of Jquery not properly working in IE



 I used get method for getting JSON data from .aspx page.This JSON data for chart application which show monthly records.For selecting month I used dropdown and defaultly I set current month chart.But for showing previouse month records in chart   i want to select the  previouse month but chart not shows selected Month record rather than it shows default record.

CAML RichText site column provision not working properly


I have used the following CAML declaration in a feature to provision some site columns:

  DisplayName="Test Rich Text

Binding Mode OneTime is not working properly



I am binding a ListBox with Mode = OneTime as i want to bind it first time only , after that if data changes i dont want my listbox to take care of that

 <ListBox x:Name="_statusListBox"
           Background="Transparent" BorderThickness="0"
           ItemTemplate="{StaticResource StatusListBoxItemTemplate}" 
           ItemsSource="{Binding Summary.ProjectStatusSummary,Mode=OneTime}"

but it works randomly , somethimes it binds data and sometimes it does not

i want to know the reason of this random behavior



SPD pausing timer not working properly


Hi All

I am trying to pause my SPD for 5 mins but its not pausing for the right duration. Since its a looping workflow.

So everytime its pausing for a differnet duration. For the first time its pausing for 7 mins. henceforth its pausing for 10 mins. Please Help!!!!

Varun Saxena

edit discussion dialogue not properly working on mac


HI All,

The discussion edit box looses the menu(s) when post is getting too long.


Sathish. R


Sathish Kumar

POP up window not working properly in internet explorer


Hi ,

Developing a asp.net c# web site.

I need to open a popup new window when the user clickes a link button.

The following code is written in the click event of the link button.

ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open( 'Instructions.aspx', null, 'height=400,width=600,status=yes,toolbar=no,menubar=no,location=no' );", true);

Works fine with firefox. When I try to open this in internet explorer it does not allow to maximise the pop up window ( The maximise is disabled)

I also tried without giving the height and width of the pop up window. But it also failed. Code is as follows.

ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open( 'Instructions.aspx', null, 'status=yes,toolbar=no,menubar=no,location=no' );", true);

Any suggestions will be greatly helpful.


my requiredFieldvalidator is not working properly in my modalpopup


dear all, my requiredfieldvalidator is screwing up my ok button in my modalpopup and I dont know why. In otherwords, once I include my requiredfieldvalidator and the user clicks ok in the modalpopup, the ok doesnt get fired. see my code below.

<asp:GridView ID="GridView1" runat="server" autogeneratecolumns = "false"             
DataKeyNames = "ID_NUMBER, ID_QUANTITY"  >            
<asp:BoundField DataField = "ID_NUMBER" HeaderText = "ID_NUMBER" SortExpression = "ID_NUMBER" />            
<asp:BoundField DataField = "ID_QUANTITY" HeaderText = "ID_QUANTITY" SortExpression = "ID_QUANTITY" />        
<asp:TemplateField ItemStyle-Wrap = "false">            
<asp:ImageButton ID = "btnshowpopup" ImageUrl = "~/Images/edit.JPG" runat = "server" DisplayModalPopupID = "reduceqtybox" />            
<cc1:ModalPopupExtender ID = "reduceqtybox" runat = "server"           
 TargetControlID = "btnshowpopup"          
popupcontrolID = "pnlmodalpanel"           
CancelControlID = "btncancel"           
backgroundCssClass ="modalB

here is trigger if exist then update else inser but not working properly for bulk update(10 or 15 ro



i have a trigger as follows



TRIGGER [ table_detail_insert_update]








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