4
Answers

Help I got a problem when I try to connect to a database

Photo of Administrator

Administrator

22y
1.5k
1
I got a weird problem that I hope can be fixed. Im creating an ASP.Net page which will allow users to create a game account for a Game Server that I'm planning to build within the following year. The game accounts will be stored on a database on my computer. I have already written a windows version of the Account manager which allows people to create/edit/or get a password reminder. The problem is that when I try to open an sqlConnection it gives the following error System.Data.SqlClient.SqlException: Login failed for user 'BRANDON\ASPNET'. at System.Data.SqlClient.SqlConection.Open() ... The connection strings for the windows version and the ASP.NET version are identical so what could be the problem. Here is what the connection string is for both versions this.m_sqlConnection.ConnectionString = "data source=(local)\\NetSDK;initial catalog=Game Server;integrated security=SSPI;persist security info=False;workstation id=BRANDON;packet size=4096"; Does anyone have any idea what could be causing this problem?

Answers (4)

0
Photo of Vinay Singh
NA 5.9k 126.2k 8y

How can I access the exam organized in moodle ?

Design your model as per the screen required

How can I integrate the students & faculties in moodle with my mssql db ?

Use the primery key of teacher to map the student in a sep;rate table

How can I integrate the exam name created in DB with the exam created in moodle.?

By using linq when you get the value at that time just create the instance and map the entity value

How I get the results from moodle using any API ?

Create the API and use to access the valie. after accessing value map the value to model and send to view