Click here to Skip to main content
12,947,379 members (48,902 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I am trying to mapping my sybase tables to MVC3 application with the use of E.F. database first methodology.

I am not able to connect as it is asking me HOST NAME, PORT NUMBER, USERNAME , PASSWORD. I am entering everything correct then also is shows error.

I am trying to search the article on it but could not find so can anyone help with the screen shorts.


[edit]SHOUTING removed - OriginalGriff[/edit]
Posted 27-Nov-12 5:20am
Updated 27-Nov-12 6:09am
Marcus Kramer 27-Nov-12 11:26am
"I am entering everything correct"... I don't think so. Clearly you are not building your connection string properly. Offhand I would suggest that you make sure you have Sybase drivers installed on your system. Which ones you need will depend on which version of Sybase you database is running.
Rohit Shrivastava 27-Nov-12 11:29am
Try to create a DSN and test your connection, also include following details
operating system (32bit/64bit)
which driver do you have installed

keep in mind that visual studio is 32 bit application so on 64 bit OS you need to install 32bit driver and use that while generating model from database and in connection string of web.config you need to use 64 bit driver.
OriginalGriff 27-Nov-12 12:09pm
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
oorabi 10-Feb-13 6:44am
Install Sybase 15.7.
Note: the data base server also should be 15.7.
This will work with Visual Studio 2010

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 5,059
CHill60 3,235
Maciej Los 2,538
Jochen Arndt 1,935
ppolymorphe 1,795

Advertise | Privacy | Mobile
Web01 | 2.8.170518.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100