ASP.Net | Call Web Service Method

 

 

<asp:ScriptManager ID=”_scriptManager” runat=”server”>

<Services>  

<asp:ServiceReference Path=”~/Web_Service/SearchService.asmx” />  

</Services> 

</asp:ScriptManager>

 

 

<input id=”butnRead” type=”button” onclick=”SearchService.HelloWorld(AjaxSucceeded);” value=”Read” /><span id=”ResultId”></span>

MS Access 2007 | #Deleted

This might come in handy if you are accessing SQL Server 2005 tables from Access:

Problem:

Using Microsoft Access (2003 and 2007) to link to tables on a SQL 2005 SP2 server is working most of the time. On some particular tables (MS Dynamics AX database) the results of the linked table for all rows and columns is #Deleted.

Solution:

Do these tables have a primary key of data type BIGINT? I was receiving the same #error on certain tables and it turns out Access can’t handle tables with a primary key column of BIGINT. These are some possible work arounds for that scenario:

1) Change the datatype of the primary key to INT.
OR
2) Create a view of the table using “CAST as INT” for the BIGINT field.

Click here for the original post.

Melita Mobile or Apple??

This morning and in the afternoon, we tried to access the Melita homepage on www.melita.com as today they unveiled “the next generation in mobile communications and services”…. anyway we wanted to check out the new operator’s prices…. BUT… to our BIG surprise we found the

“We are experiencing high activity on our servers due to the large amount of traffic generated during the launch of our mobile services”

This message was on the home page of Melita’s website. We checked again the domain address to see if by mistake we entered www.apple.com, maybe melita had the same problems like apple during the launch of their iphone, but no… it was www.melita.com. We then searched in google for an “about us” page of Melita and clicked the link…. and as we thought, the page loaded without any problems. You can try it yourself…. first go to www.melita.com and then check http://www.melita.com/landing.aspx?id=4851.

The problem is that if their clients wanted to check their emails (which someone can do from their website), they couldn’t do this… the whole day long. Also they are an Internet Service Provider so they have all the bandwidth they want!!! Below please find some screenshots of our findings (please note the time and date at the bottom of the picture.. you can click on the picture to view larger): Read the rest of this entry »

SkyBox, SkyLine, SkyMarket

Finally, Microsoft’s response to Apple’s Mobile Me. This is Microsoft’s Sky Platform which will feature a sync service for today’s smartphones including SkyBox, SkyLine, and SkyMarket. Read the rest of this entry »

Windows 7 Features: Troubleshooting Packs

swiss20army20ranger20pocket20knife

New to Windows 7 is the Windows Troubleshooting platform. This platform allows software developers to develop Troubleshooting Packs that automate the troubleshooting and resolution of problems without having to resort to painful technical support queues or documentation runs. In a nut shell, a software developer writes a bunch of PowerShell scripts to identify and resolve problems then packages them up and distributes the pack to end-users.

At the end of this step-driven course, you will have used the Microsoft Troubleshooting Pack Builder (TSPBuilder), written some PowerShell scripts, and learned of a way to distribute your compiled pack (hopefully).

Click here for crash course on troubleshooting packs.

Windows 7 Beta 1 Unleashed

windows_7_logo

So as i said in my previous post… and many others did as well, last night Steve Ballmer said that Windows 7 Beta 1 was immediately available to some beta testers and that it can be downloaded by the general public as of next Friday 9th January from the Windows 7 page.

But you need to hurry up… why? … because you need to be amongst the first 2.5 million people to download it, and it’s on;ly available for a limited time. If you don’t manage to download it… well… you’ll have wait till someone uploads it as a torrent ;)

The following Windows 7 versions will be available for downloads: Read the rest of this entry »

Unselectable Text

There are many methods and options to make text unselectable on a website, but not all of them work on the major browsers. Below please find different source code to help you achieve this.

If you combine all the below source codes together in the same html/asp/aspx form, you’ll get all their functionality on the same page, thus no one can select any text from your website from the following browsers:

  • Internet Explorer 7
  • Firefox 3.0.4
  • Google Chrome 0.4.x
  • Opera 9.62

Source Code 1 - Unselectable

var Unselectable = {

enable : function(e) {
var e = e ? e : window.event;

if (e.button != 1) {
if (e.target) {
var targer = e.target;
} else if (e.srcElement) {
var targer = e.srcElement;
}

var targetTag = targer.tagName.toLowerCase();
if ((targetTag != “input”) && (targetTag != “textarea”)) {
return false;
}
}
},

disable : function () {
return true;
}

}

if (typeof(document.onselectstart) != “undefined”) {
document.onselectstart = Unselectable.enable;
} else {
document.onmousedown = Unselectable.enable;
document.onmouseup = Unselectable.disable;
}

You need to insert this in the <head> section of the html form in the following form: Read the rest of this entry »