Can't connect to MS SQL server from a 32 bit client

We have a lot of MS SQL 2008 R2 servers in different locations, and there were not problem to use them from a 32bit application. Today we were going to setup another MS SQL server (v10.50.4000, a second SQL instance) and the application server, but somehow I can not connect from a 32 bit application, but 64 bit client connects just fine.
To test a connection from a 32bit application I run the following command from 32bit cmd.exe:
\Windows\SysWOW64\Rundll32.exe "%CommonProgramFiles%\System\OLE DB\oledb32.dll",OpenDSLFile connect.udl
where connect.udl contains the connection string:
; Everything after this line is an OLE DB initstring
Provider=SQLNCLI10.1;Integrated Security="";Persist Security Info=False;User ID=username;Initial Catalog=DBname;Data Source=\INSTANCENAME;Initial File Name="";Server SPN=""

Open in new window

What I have tried: Reinstall the SQL native client to SP2. Checked the server's configuration manager (32bit client protocol is enabled).
Also tried to make a test connection from the server machine itself and from some other machine, works both 64bit and 32bit.
Also works from the problem application server to the main instance of the SQL server.
LVL 19
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zc2Author Commented:
Found a solution.
In the server configuration manager the second instance had defined alias with non standard TCP port.
The port has to be specified in the connection  string, like:,1435\INSTANCENAME

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.