Showing posts with label address. Show all posts
Showing posts with label address. Show all posts

Friday, March 30, 2012

Invitation - MrBool.com

Hi friends,

First I would like present me. My name is Eduardo, I am publisher of
the Mr.Bool Portal (that can be accessed through the address www.mrbool.com).

There is short time was given beginning to this new challenge, and now
I am finding columnists that have interest in write articles for
publication.

The articles need to be related to the Java, SQL. Net, or to some
technology related to the mobile devices.

Below possible subjects for articles are listed:

Small articles that discuss aspects related to the Java. For
example, articles about: Eclipse, NetBeans, TomCat, persistence with
Java, JDBC, JME, JSE, JEE, EJB ,JUnit, Ant, Design Patterns,UML, RUP,
JExcelAPI, Prefuse, API's, Frameworks, among others.
Small articles that discuss aspects related to the .NET. For
example, articles about: ASP.NET, C#, J#, persistence with .NET,
Frameworks, content management, UML, XML, Design Patterns, among
others.
Small articles that discuss aspects related to the DataBase. For
example, articles about: Oracle, SQL Server, MySQL, Postgre SQL,
Hibernate, modeling tools, Entity-relationship, Reporting Services,
SGBD's, among others.
Small articles that discuss aspects related to the technologies for
mobile devices. For example, articles about: PDA, SmartPhone, Windows
CE, Symbian, Windows Mobile, PocketPC, JME, SuperWaba, N-Gage,
Blackberry, API's, Frameworks, programming for mobile devices
(languages, frameworks), among others.

The ideal is that we worked with short articles and with a regularity
of constant sending (for example, one or two articles to each month).

I think that this Portal is an excellent place to present your
knowledge. You already can find several articles and videos
about .Net. Soon we will have also articles and videos about Java and
SQL. All free!

What do you think about this? We would like of count with your
availability and contribution.

Who will be interested can enter in contact with me through the e-
mail:
eduspinola@.gmail.com
Thanks,
Eduardo SpnolaOn Mar 20, 8:51 am, "Eduardo Spnola" <eduardoospin...@.gmail.com>
wrote:

Quote:

Originally Posted by

Hi friends,
>
First I would like present me. My name is Eduardo, I am publisher of
the Mr.Bool Portal (that can be accessed through the addresswww.mrbool.com).
>
There is short time was given beginning to this new challenge, and now
I am finding columnists that have interest in write articles for
publication.
>
The articles need to be related to the Java, SQL. Net, or to some
technology related to the mobile devices.
>
Below possible subjects for articles are listed:
>
Small articles that discuss aspects related to the Java. For
example, articles about: Eclipse, NetBeans, TomCat, persistence with
Java, JDBC, JME, JSE, JEE, EJB ,JUnit, Ant, Design Patterns,UML, RUP,
JExcelAPI, Prefuse, API's, Frameworks, among others.
Small articles that discuss aspects related to the .NET. For
example, articles about: ASP.NET, C#, J#, persistence with .NET,
Frameworks, content management, UML, XML, Design Patterns, among
others.
Small articles that discuss aspects related to the DataBase. For
example, articles about: Oracle, SQL Server, MySQL, Postgre SQL,
Hibernate, modeling tools, Entity-relationship, Reporting Services,
SGBD's, among others.
Small articles that discuss aspects related to the technologies for
mobile devices. For example, articles about: PDA, SmartPhone, Windows
CE, Symbian, Windows Mobile, PocketPC, JME, SuperWaba, N-Gage,
Blackberry, API's, Frameworks, programming for mobile devices
(languages, frameworks), among others.
>
The ideal is that we worked with short articles and with a regularity
of constant sending (for example, one or two articles to each month).
>
I think that this Portal is an excellent place to present your
knowledge. You already can find several articles and videos
about .Net. Soon we will have also articles and videos about Java and
SQL. All free!
>
What do you think about this? We would like of count with your
availability and contribution.
>
Who will be interested can enter in contact with me through the e-
mail:
eduspin...@.gmail.com
>
Thanks,
Eduardo Spnola


Good Social Service . Keep it up !
Best Wishes

Wednesday, March 21, 2012

Invalid IP address exception

I'm attempting to deploy an application that uses SQL Server 2005 Express as a back end. I installed the application on 6 or 7 machines, and on two of those machines I'm getting an error message I just don't understand. When I try to connect to the database, I'm getting "System Exception: An invalid IP address was specified.". I'm using the <machine name>\<instance name> to log into the server and I can ping the associated IP address. What's even more confusing is that I can log onto this instance from any of the other machines with no problem. I'm assuming the problem isn't with the SQL instance but a setting I'm missing on the machine, but for the life of me I can't find anything. Any help would be greatly appreciated.

Chris

Can you check this blog and see if there is any alias defined on the specific machine?

http://blogs.msdn.com/sql_protocols/archive/2007/01/07/connection-alias.aspx

Friday, March 9, 2012

Invalid column name


Below is the T-SQL

SELECT ci.name,
ci.address,
CASE ISNULL(cci.geography,'')
WHEN 'P' THEN 'port'
WHEN 'A' THEN 'appt'
WHEN 'X' THEN 'xatt'
ELSE ''
END AS Link,
ci.InsuranceType
FROM dbo.Insurance ci
INNER JOIN dbo.Contract cci
ON ci.InsuranceId = cci.InsuranceId
AND cci.ContractId = 1266
ORDER BY
ci.Link,
ci.InsuranceType

===========================

My work environment is all in SQL SERVER 2005.

I have a problem with above T-SQL. There is an error while I run above code in Develoment Server.The error disappears when I put 'ci.Link' as 'Link' in OrderBy clause. My work environment has TEST, PRE-PRODUCTION and PRODUCTION. In all other environments the code runs fine with ci.Link but only in DEVELOPMENT the error persists. It has an error as 'Link is invalid column name'.

Hi madhav,

You could use is clause:

SELECT ...
ORDER BY 2 ASC, 3 ASC;

Good Coding!

Javier Luna
http://guydotnetxmlwebservices.blogspot.com/

|||

Thanks Javier for your response. My all work environments are same( from DEV to PROD). Without adding a single line or changing anything, above code runs fine in all but fails only in DEVELOPMENT. But runs if you put as Link only as mentioned above.

|||

Cool.

Good Coding!

Javier Luna
http://guydotnetxmlwebservices.blogspot.com/

|||

The error happens because of invalid use of expressions in the ORDER BY clause. Older versions had several bugs where expressions in ORDER BY clause was allowed or wrongly evaluated to those in the FROM clause. But SQL Server 2005 corrects the behavior and is more closer towards standard SQL syntax. And depending on compatibility level (<90) the query will work fine. So on your servers other than DEVELOPMENT the database compatibility level is not 90 hence the query runs fine. See below link for more details (search for "ORDER BY clause"):

http://msdn2.microsoft.com/en-us/library/ms143359.aspx

sp_dbcmptlevel topic:

http://msdn2.microsoft.com/en-us/library/ms178653.aspx

|||

Your answer solved the problem. Much appreciated.