How to create the sql server connection using c# [closed] - sql-server-2008

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I get strange error while getting the data from Sqlserver using c#.
Actually i have develop an application in asp.net (c#) and i wrote the code to get the from sqlserver database .It is working fine, but this work only when i log into system as Administrate.
When i login into my system as non-Administrate it is not working it throws connection failed exception . Please help me how to resolve this error.
Actually my Connection string is :
Data Source=OSBORNECHARLES2;Initial Catalog=TWO;Integrated Security=True;User ID=sa;Password=123

May be this is because you have enabled "Integrated Security=True" set it to false. And try with a real sql server login.

Related

hello may I ask how can I connect MySQL database to Vb.net [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 days ago.
Improve this question
hello how can I make a system project using Vb.net and MySQL as my database how can I creat a system project I'm planning on making a billing system but I don't know where to start
I haven't tried anything yet but I'm still wondering how can I connect Xampp as my database to the system project that I'm planning to make does anyone have a system project in here can someone give me the source code or just simply help me please

mysql importing error, "undefined definer" [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed last month.
Improve this question
I'm having trouble importing my old WordPress database:
the problem is the following:
im importing a mysql database from an old server with a different user, to a new database, in a different server, with different user.
at some point of the import i get the following error:
Error at the line 1714023: CREATE ALGORITHM=UNDEFINED DEFINER=`latino`#`%`
im guessing the problem is the user from the old database is different to the one in the new database.
here is a screenshot of the error:
using big-dump script
thanks!

How to connect MS SQL dynamically with postgreSQl data base [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am very new in PostgreSQL database. I am currently using MS SQL server 2008. Now i need the whole data in postgreSQL, I have installed postgreSQL in my server. Kindly tell me the procedure to connect with PostgreSQl. If there is no option, kindly tell me whether we can take back up of MS SQl and restore it in postgreSQl
thanks in advance
Either you need an ETL tool to transfer the data from one to the other or you have to export in a neutral format, like .csv, and import into the other using built in tools.
I'd opt for the first one.

creating open source online game [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I started creating online open source game as a project in school. It will be server with n connected clients. But now I have a problem with "security". What to do if one client would used modified source code for changing some restrictions? How can I prevent it? My first idea was make client only for connection to server and server would send all necessary files but I don't like this idea very much. Can you advise me something better? Thank you.
You need to keep your validations in the server. The server should check each client move, and if it's not allowed according to the server's rules - reject it.
You should still keep validations in the client, too, so that users who don't mess with the client code can get speedier responses.

Mysql/Jsp accessing database [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I was able declare my forms variable and also establish a connection to my MySQL Database, but when I ran the program it give me error Class.forName not found. Meanwhile, I think the syntax is correct:
Class.forName("com.mysql.jdbc.Driver").newInstance();
So what is the possible solution and the possible cause of such an error?
This means that the mysql JDBC driver is not included in your classpath.
have you put the MySQL jar to the project classpath or to the web container lib folder?