I have already done thats a way which you are suggested. It works perfectally in normal situation but when I login same user in two different system at same time, then the problem occurs. Both the system executes query at same time and retrives the same result from database. Thats the area where problem occurs.
You can use the database transactions properly to lock and allow only one user/transaction at a time. So the first user who get the access could login and the later will not. Since already one entry is there.
I am working in WindowsXP SP2. when am trying to connect through WBemTest its giving an error RPC server unavailable. I have checked RPC is running and firewall in my system and remote system are turned off. The 2 systems are under workgroup named 'WORKGROUP'. I have changed 'Control Panel>Administrative tools>Local Security Policy>Security Options>Network Access : sharing and security model for local accounts' to 'Classic - local users authenticate as themselves'. And again in Computer management's WMI control's property - CIMV2's security for 'everyone' Remote Enabled'.
Still am getting an error access denied when trying to access remote machine through my C#.net code. and getting RPC server unavailable in WBemTest.
I am trying to display a list of reports from SSRS in a WebBrowser control in C# windows application.
I have added "http://localhost/reportserver/reportservice.asmx?wsdl" as the Web service reference.
The following code works perfectly with the above
ReportService.ReportingService rs = new ReportService.ReportingService();
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
rs.Url = "http://localhost/reportserver/reportservice.asmx";
I am facing a strange problem, i am writing an application to download
web page content into a excel file. The code snapshot is below
//WebClient dwSolClient = new WebClient();
//dwSolClient.DownloadFile("http://sunsolve.sun.com/ search/document.do?assetkey=1-66-201341-1", "C:\PatchGenarator\Solaris\Suppdata.xls");
//MessageBox.Show("Data downloaded succesfully.
Formatting of data and report generation will start.It may take
several minutes to complete based on the density of data.");
while with some other links it is working properly, i am unable to
find reason why this link cannot be downloaded.
WebClient dwSolClient = new WebClient();
MessageBox.Show("Data downloaded succesfully. Formatting of data and report generation will start.It may take several minutes to complete based on the density of data.");
i hope there was some copy paste problem. I am again posting the link
I don't know, but I can give some suggestions - if you don't shout
The <del>-key removes the character on the right of the text if there is no selection. This default behaviour may be overriden in the KeyUp and KeyDown-events. Put a return statement on the first line of those events to check whether they cause it.
I are out of Arcane Dust - No intellect bufs today
In what event did you put this code? Can you post your "entire" KeyUp?
If I get the position I can remove the character.
You can get the position of the cursor by looking at the SelectionStart property. It will hold the location of the cursor in the text, whether there's a selection or not. Removing the character right to it might 'restore' the functionality.
I suggest that you try to "fix" the code instead of looking for a workaround