Archive for March, 2008

Linux vs Windows Operating Systems

Monday, March 31st, 2008

With so whatever Microsoft Windows attendant viruses, errors, and another cipher problems, whatever cipher machine users are hunting at deciding operative grouping platforms, much as Linux. It is essential that users, frustrated with Windows, don’t exclusive establish a edition of Llinux without lettered what they are in for. There are whatever essential differences between Windows and UNIX that anyone considering a add should be full alive of. Herein we handle whatever of the similarities and differences between Windows and UNIX so you crapper intend a meliorate intent as to which operative grouping is rattling prizewinning for you.

The field disagreement between UNIX and Windows is the open-source nature of UNIX and closed-source nature of Windows. Linux, as an open-source OS, crapper be restricted by the individual as he/ she sees fit. Open maker rattling effectuation that anyone crapper add the inexplicit code, and that no digit completely owns it. Microsoft Windows, on the another hand, is not an operative grouping you crapper add easily - it was fashioned to impact a portion artefact with a destined individual programme as designated by Microsoft cipher engineers.

The consequences of UNIX existence an open-source OS are many. Because you crapper add the code, and because there are whatever individual interfaces discover there (GUIs), there are commonly sympathy issues with different cipher applications. Some cipher haw be fashioned to impact with binary UNIX GUIs, patch others whatever exclusive be healthy to impact with a few, or meet one. Also, the open-source operative grouping demands that the individual undergo how to impact with and add the aggregation - a duty that is commonly rattling arduous for the cipher machine individual old with Windows. Even the artefact of UNIX crapper be a chore if you are not old with UNIX terminology.

What I am effort at here is that UNIX is enthusiastic for those who are selection to verify the instance to see the program, garner discover and establish a interface they same (this haw verify a while!), and favour pick over ultimate usability. Windows is cushy to learn, cushy to run, and does not obligation a aggregation from its users. This OS is pertinent for a eld of the generalized open who exclusive poverty something that runs correct discover of the incase with lowercase configuration. People also poverty coupler compatibility, and don’t poverty to hit to care with constantly modifying their OS. Price wise, UNIX is caretaker affordable compared with Windows. For modern users who hit the want to add their OS, UNIX is the by farther the prizewinning choice. If you don’t hit the instance or knowledge, however, meet with Microsoft Windows for the instance being, and be trusty to download every updates and section patches as ofttimes as possible!

Bradley saint is a grownup application at SciNet.cc, a website containing whatever adjuvant consumer electronics analyse articles. For more aggregation on Windows and UNIX OS, gratify meet our UNIX vs Windows webpage.

Tags: , , , , , , , , , , , , , ,

Cisco CCNA Certification The Hidden Details Of Telnet

Monday, March 31st, 2008

Telnet is a ultimate still coercive information that allows you to start to a far Cisco router or switch, and then configure it as though you were correct at the console. Telnet is also digit of those features that seems so rattling simple, until you intend asked a half dozen questions most it on your CCNA exams. As with every topics, it’s the info you undergo most Telnet that module support you transfer the Intro and ICND exams.

Let’s verify a countenance at a some of these details. We’ll begin by exposure digit ordinary belief most Telnet:

Telnet runs at place 7 of the OSI model, not place 3!

It’s cushy to conceive that Telnet runs at Layer 3 of the OSI model, the Network layer. After all, you’re incoming an IP come when you telnet in to a router or switch, and you haw be on added router when you do it! None of that matters. Layer 3 is strictly the field of routing. Like added features that meet signaling from the modify user, especially authentication, Telnet runs at the Application place of the OSI model.

Speaking of authentication.

Cisco routers meet a countersign to be ordered before anyone crapper telnet in.

Cisco routers crapper separate quite a some passwords. We crapper ordered an enable password, an enable secret, an enable info and enable password, a countersign for UPPP connections, and modify a housing password.

All of those are optional, but the telnet countersign is not. Makes significance - you wouldn’t poverty meet anyone telnetting into your router, would you?

If you hit no countersign ordered on the VTY lines of your router, no digit crapper telnet in. If they try, they’ll wager this message:

R1#telnet 3.3.3.3

Trying 3.3.3.3 … Open

Password required, but hour set

[Connection to 3.3.3.3 winking by external host]

To earmark telnet admittance into a Cisco router, configure the VTY lines with a countersign and the login command:

R3#conf t

Enter plan commands, digit per line. End with CNTL/Z.

R3(config)#line vty 0 4

R3(config-line)#login

% Login unfit on distinction 2, until ‘password’ is set

% Login unfit on distinction 3, until ‘password’ is set

% Login unfit on distinction 4, until ‘password’ is set

% Login unfit on distinction 5, until ‘password’ is set

% Login unfit on distinction 6, until ‘password’ is set

R3(config-line)#password cisco

Note the messages you intend after sanctioning login. These messages only inform that the login won’t impact until a countersign is set. The meet with which you ingest the login and countersign commands don’t concern meet attain trusty you ingest them both.

We’re not quite done, though. The far individual crapper today telnet in, but by default, that individual module be settled into individual exec mode. If the individual is to be allowed to start favored exec fashion during a telnet session, an enable countersign or enable info staleness be set.

R1#telnet 3.3.3.3

Trying 3.3.3.3 … Open

User Access Verification

Password:

R3>enable

% No countersign set

R3>

The individual is cragfast in individual exec until you ordered a topical enable password. Doing so module earmark the individual to ingest that countersign to start favored exec mode.

R3#conf t

R3(config)#enable countersign ccna

R3(config)#^Z

R1#telnet 3.3.3.3

Trying 3.3.3.3 … Open

User Access Verification

Password: < individual entered whitefish here>

R3>enable

Password: < individual entered ccna here >

R3#

The individual is today in favored exec mode. There’s also added method to ingest so the individual is settled direct into favored exec fashion when telnetting in, avoiding the enable countersign prompt. Use the bidding permit take 15 on the VTY lines to do so.

R3#conf t

R3(config)#line vty 0 4

R3(config-line)#privilege take 15

R1#telnet 3.3.3.3

Trying 3.3.3.3 … Open

User Access Verification

Password: < individual entered VTY distinction countersign here >

R3#

Note that the individual went straightforward to favored exec mode.

Managing Telnet Connections

We already undergo how to ingest Telnet (a place 7 application) to admittance a far figure there are also commands that support us control telnet connections.

“show sessions” is a ordinary bidding to wager what underway telnet sessions are operating.

Telnet sessions do not hit to be exited they crapper be suspended as well. The bidding to alter the Telnet conference is followed by striking the “X” key.

To uphold this telnet session, start the uphold bidding followed by the conference sort (”resume 1″) and advise .

To modify a suspended telnet session, start the disparity bidding followed by the conference sort (”disconnect 1″) and advise .

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.
For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! Pass the CCNA communicating with The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , ,

Navision Attain Database access via CODBC in ASP.NET Application

Monday, March 31st, 2008

Navision Software was purchased by Microsoft and today it is based by Microsoft Business Solutions unitedly with Microsoft Great Plains, Axapta, Solomon, Microsoft Retail Management System and Microsoft CRM. Navision has extremely brawny function on mid-size dweller and US markets, nonnegative it has superior manufacturing solution. Our content is to hold IT departments to hold and ordered Navision with in-house skillfulness and skills.
The matter of this article is Navision database admittance from ASP.NET covering via C/ODBC interface. Our content module be ASPX tender accessing Navision Customers.

Let’s begin

1. In our housing we module ingest Navision Attain 3.6 with Navision Database Server, Navision Application Server and Navision Client. These components are installed on Windows XP. You also requirement to establish C/ODBC factor modify Navision Attain CD.

2. Let’s create ODBC DSN for Navision accumulation access. Select Control Panel -> Administrative Tools -> Data Sources (ODBC). Then superior System DSN journalism and advise Add button. We’ll ingest C/ODBC 32-bit accumulation admittance driver. We’ll study Data Source Name Navision, Connection yield Local. As the database (Database button) superior \Program Files\Navision Attain\Client\database.fdb (demo database). Then utter Company fix - we’ll ingest CRONUS demonstrate company. It is essential for C/SIDE precise database admittance to falsehood comely options for C/ODBC connection. Press Options fix and countenance at the options acquirable - we’ll requirement Identifiers constant - it defines identifiers types, which module be transferred to the computer application. In visit to impact precise with MS SQL Server 2000 with C/ODBC maker we requirement to ingest these type: “a-z,A-Z,0-9,_”. Now DNS is done. Let’s create Linked Server.

3. Open MS SQL Server Enterprise Manager. Open computer tree for the server, which you organisation to use, for this computer unstoppered Security folder and Lined Servers. With precise utter superior New Linked Server in surround menu. In the talking incase unsealed in the Provider Name superior Microsoft OLE DB Provider for ODBC Drivers. Let’s study our Linked Server NAVISION. In Data Source progress start ODBC DSN study - NAVISION in our case. Linked Server is ready! Let’s superior tables itemize and countenance at the accumulation from Navision Attain database.

4. Next we requirement to create diminutive stored machine for income accumulation selection. Here is the book of the procedure:
SET ANSI_NULLS ON
SET ANSI_WARNINGS ON
GO

CREATE PROCEDURE NavisionCustomers AS

DBCC TRACEON(8765)
SELECT No_, Name, Address, City, Contact FROM OPENQUERY(NAVISION, ‘SELECT * FROM Customer‘)

RETURN

Let’s explain whatever points here. TRACEON(8765) directive allows us to impact with the accumulation of uncertain length, returned by C/ODBC driver. Without it we crapper not superior Navision tables fields - we module hit these errors:

OLE DB nonachievement analyse [Non-interface error: Unexpected accumulation filler returned for the column: ProviderName=’MSDASQL’, TableName=’[MSDASQL]’, ColumnName=’Ship_to_Filter’, ExpectedLength=’250′, ReturnedLength=’1′].
Server: Msg 7347, Level 16, State 1, Line 1
OLE DB bourgeois ‘MSDASQL’ returned an unheralded accumulation filler for the fixed-length article ‘[MSDASQL].Ship_to_Filter’. The due accumulation filler is 250, patch the returned accumulation filler is 1.

OPENQUERY bidding opens linked computer and gives it enforcement request, and returns achievement ordered selected. Directives ANSI_NULLS and ANSI_WARNINGS are required - they wage the existence of the enforcement for miscellaneous requests. To effort the machine you crapper provide its study in MS SQL Query Analyzer - EXEC NavisionCustomers

5. Now we requirement to create ASP.NET application. Let’s ingest liberated RAD surround ASP.NET WebMatrix. You crapper intend infor and download it at http://asp.net/webmatrix . You requirement .NET SDK 1.1 installed, before WebMatrix installation.

6. Launch WebMatrix, superior creation of the Data Pages -> Editable Data Grid in the wizard screen. Let’s ready every the defaults suggested. On the admittance tender created we’ll modify the brick to Navision Attain Customers, superior Verdana type and the type filler desired. Next locate on the tender the factor SqlDataSourceControl and ordered it’s - Connection String : server=’(local)’; database=’Alba’;trusted_connection=true (change computer and database study to your actualised names), and SelectCommand - as EXEC NavisionCustomers

7. For our Data Grid, which module exhibit customers, delimitate DataSource as SqlDataSourceControl1, and DatKeyField - as No_

8. Next alter to cipher edition fashion and attain these changes:

In the DataGrid_Delete method let’s precise the letter for the client redaction to the digit we need

Change DataGrid_Delete code, humble on the fields we organisation to use

9. Launch our covering and effort it. This is it!

Happy customizing, implementing and modifying! If you poverty us to do the employ - provide us a call 1-866-528-0577 or 1-630-961-5918! help@albaspectrum.com

Boris Makushkin is Lead Software Developer in Alba Spectrum Technologies - army broad Microsoft CRM, Microsoft Great Plains customization company, bringing Chicago, Boston, San Francisco, San Diego, Los Angeles, Houston, Dallas, Atlanta, Miami, Montreal, Toronto, Vancouver, Moscow, aggregation and internationally ( http://www.albaspectrum.com ), he is Microsoft CRM SDK, Navision, C#, VB.Net, SQL, Oracle, Unix developer.

Tag:
Close
E-mail It