Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
SQL Connection String in JumpStart Web Forms
Hi,
I just started to use the Mere Mortal Framework (ver 1.2) and going over the Jump Start.
I completed the Windows Forms jumpstart and all went fine, although, when I tried to run my first Customer Orders Form in the Web Forms Jump Start, my SQL Connection does not work and I am getting the following message:
Server Error in '/Order System Web CSharp' Application.
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
The SQL Connection string I am using is Identical to the one I used in the Windows Forms Jump Start (I copied it from the App.Config to the Web.Config file), and when I test the connection from the .NET IDE it shows as OK.
I also followed the instructions in the Help File to copy the string from the form when moving the connection (temporarily) to the form just to make the .NET generate the connection string, and this also result with the same error.
I am using the Northwind DB from a regular SQL server 2000 on another machine with Windows authentication.
What am I doing wrong?
Please Help,
TIA
Shlomo,
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement