Click here to Skip to main content
15,917,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

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.

thanks
Trupti

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 27-Nov-12 6:09am
v2
Comments
fjdiewornncalwe 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900