Re: sql server and asp.net problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Hermit Dave (hermitd.REMOVE_at_CAPS.AND.DOTS.hotmail.com)
Date: 10/08/04


Date: Fri, 8 Oct 2004 19:26:05 +0100

you will find this helpful

http://www.codeproject.com/cs/database/sql_in_csharp.asp

i prefer to execute commands through query analyser unlike osql command
prompt as in this article

HTH

-- 
Regards,
Hermit Dave
(http://hdave.blogspot.com)
"Brian Henry" <brianiupmsdn@newsgroups.nospam> wrote in message
news:uIW0uGWrEHA.3288@TK2MSFTNGP12.phx.gbl...
> I moved my  asp.net site to a windows 2003 server with SQL Server 200 on
the
> same machine and it gives me the error
>
> Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
> 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: Login failed for
user
> 'NT AUTHORITY\NETWORK SERVICE'.
>
> 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.
>
>
>
> well when i looked through the user list available to add 'NT
> AUTHORITY\NETWORK SERVICE' was not on the list only ASPNET user was...
which
> i added like i did in 2000 and still the same error, what do I do? thanks
>
>


Relevant Pages

  • Re: trouble displaying image stored in database
    ... Using themed css files requires a header control on the page. ... Exception Details: System.InvalidOperationException: Using themed css files ... An unhandled exception was generated during the execution of the current web ... be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Mappoint locator error
    ... An unhandled exception occurred during the execution of the ... current web request. ... exception can be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet.mobile)
  • OWC10.ChartSpaceClass.ExportPicture - Access Denied Error
    ... An unhandled exception has occurred during the execution of the current web request. ... Information regarding the origin and location of the exception can be idenitifed using exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Server Error in / Application
    ... Windows 2003 Server with all current crticial and recommended updates ... Exception Details: System.Web.HttpException: Request timed out. ... An unhandled exception was generated during the execution of the ... the exception can be identified using the exception stack trace below. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Runtime Syntax Checker
    ... If any Tcl command sets a return code other than zero, ... script to abort, but any following scripts will execute. ... In C, you can ignore errors, execution ... The caller must then handle the exception. ...
    (comp.lang.tcl)