BillLumbergh
Programmer
I am in the process of learning C#/.Net and am going through the QUE 70-315 Training Guide by Amit Kalani. The book is not necessarily relevant to my question but I am including it in case someone has also used the book. I am doing an exercise that builds a single-table data form (Step By Step 5.11 for those with the book). I am using the Data Form Wizard. I select MS OLE DB Provider for SQL Server provider, (local) server, NT Security, and Northwind database. When I click the Test Connection button on the wizard, it connects successfully. When I run the project and click the button that accesses the data, the page comes back with the message "Login failed for user JCL\ASPNET". JCL is my machine name.
I am running Windows 2000 Pro and SQL Server 2000 Developer Edition. I had this same problem but managed to fix it yesterday; I tried many things, and what I believe worked was running "aspnet_regiis -i" from the VS.Net command prompt. However, when I booted today and began working again, the old problem was back. This time, my "solution" from yesterday did not work, so I'm assuming this was not really a solution. I have compared my various settings to another person I am working in conjunction with; my settings are the same as his and he does not have this problem. I am able to access the database through Enterprise Manager without a problem.
Has anyone had this problem and know how to fix it?
Thanks in advance.
I am running Windows 2000 Pro and SQL Server 2000 Developer Edition. I had this same problem but managed to fix it yesterday; I tried many things, and what I believe worked was running "aspnet_regiis -i" from the VS.Net command prompt. However, when I booted today and began working again, the old problem was back. This time, my "solution" from yesterday did not work, so I'm assuming this was not really a solution. I have compared my various settings to another person I am working in conjunction with; my settings are the same as his and he does not have this problem. I am able to access the database through Enterprise Manager without a problem.
Has anyone had this problem and know how to fix it?
Thanks in advance.