SQL Problems
Hi All,
I have a problem with my installation of gemini.
Firstly I have the following system setup:
* Windows XP SP2 --firwall turned off
* SQL Server 8 (2000.80.194.0)
* MS .Net Framework 1.1
* IIS that comes with XP SP2.
I have created a database called gemini, with the user gemini and pass gemini.
Now I have installed everything, and when I bring up the default page I get the following error:
"SQL Server does not exist or access is denied"
From the command line I can OSQL it, and not have a problem. I have
absolutely 0 clue as to where I am lost, does anyone have any
suggetions?
Thanks greatly.
Jonathon
batesy67
· 1 |
|
Wednesday, February 8, 2006, 7:47:31 AM |
0
|
Did you update the connection string setting in the web.config file? |
||||
|
0
|
I'm having a similar problem. I've updated the connection string in web.config and I can connect through query analyzer and like tools to the database in question. I'm getting the same error message (is there a way to get more diagnostic information?): Server Error in '/' Application.SQL Server does not exist or access denied.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Data.SqlClient.SqlException: SQL Server does not exist or access denied. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 |
||||
|
0
|
Hi, Are you using named instances of SQL? Are you using a non standard port number (not 1433)? Please paste your web.config connection string setting eher and we will look at it. |
||||
|
0
|
<!-- The SQL Server database connection string --> |
||||
|
0
|
Gemini does not have to be on the local SQL server box. Can your web server (where Gemini is installed) connect to the SQL server using the connection details supplied to Gemini? |
||||
|
0
|
Yes, the web server where Gemini is installed can connect to SQL server using the connection details supplied to Gemini through web config.
|
||||
|
0
|
What if you try a Trusted connection? |
||||
|
0
|
instead of duplicating this in two threads like I have been doing, lets just stick with my original: http://community.countersoft.com/forums/thread/351.aspx |
||||
|
0
|
Was there ever a resolution to this problem? We are a brand new install and we are seeing the exact same problem. Except our error is "Login failed for user". How do you diagnose this problem? The other isue is that it is not passing the correct username. It is passing the machine name rather than the username.f |
||||
|
0
|
Please check your connection string in the web.config file. |
||||
|
0
|
Hi Saar I have a question regarding Windows authentication. The application is not working and the following error was displayed: Server Error in '/TicketSystem' Application Login failed for user 'BRENCOURT\NYIISQA$' Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. The connection string is "Data Source=WORKSTATION71;Initial Catalog=TicketSystem;Integrated Security=True" Ticket System is the name of my virtual directory. SQL Server is on the remote machine. I have set impersonate = true in the web.config file. I would appreciate your help in this regard. Also, I am not sure how to create a user before turning on the windows authentication. Thanks Meg |
||||
|
0
|
I think you are confusing SQL authentication and Web windows authentication. Do you want to connect to SQL using a single user name / id? At the moment, as you have it setup, every user will have to be given permissions on SQL server. To create a Gemini user before moving to windows authentication in Gemini, the user name must be DOMAIN\User |
||||
|