> Hi ,
> We have a product that is currently working with dotnet 1.1 and SQL 2000 &
[quoted text clipped - 10 lines]
> Best Regards,
> Niketa
Check the account that the SQL Server service is running under. The file
operations will occur under those credentials.
David
You can check CREDENTIAL clause in CREATE LOGIN statement.
"Vaibhav Goel"님이 작성한 내용:
> Hi ,
> We have a product that is currently working with dotnet 1.1 and SQL 2000 &
[quoted text clipped - 8 lines]
> Best Regards,
> Niketa
MeanOldDBA - 21 May 2006 03:31 GMT
How are you writing to the file? Is the app or the stored procedure doing
this? I don't suppose you're using xp_cmdshell (you shouldn't be for this).
:) If you are, you have to go into the surface area configuration tool and
enable xp_cmdshell. Otherwise, you'll fail regardless of what permissions
your login has.

Signature
MeanOldDBA
derrickleggett@hotmail.com
http://weblogs.sqlteam.com/derrickl
When life gives you a lemon, fire the DBA.
> You can check CREDENTIAL clause in CREATE LOGIN statement.
>
[quoted text clipped - 12 lines]
> > Best Regards,
> > Niketa
Vaibhav Goel - 22 May 2006 05:26 GMT
HI ,
WHat credential must we specify in the create login statement, also i
believe we can alter credentials too right? Either way please tell me what
credential we must specify to allow SQL server to use stored procedure to
write a file on the server machine folder.The sql server is running under a
user account who is an administrator
> You can check CREDENTIAL clause in CREATE LOGIN statement.
>
[quoted text clipped - 12 lines]
> > Best Regards,
> > Niketa
Vaibhav Goel - 22 May 2006 05:27 GMT
HI ,
WHat credential must we specify in the create login statement, also i
believe we can alter credentials too right? Either way please tell me what
credential we must specify to allow SQL server to use stored procedure to
write a file on the server machine folder.The sql server is running under a
user account who is an administrator
> You can check CREDENTIAL clause in CREATE LOGIN statement.
>
[quoted text clipped - 12 lines]
> > Best Regards,
> > Niketa
Laurentiu Cristofor [MSFT] - 22 May 2006 18:32 GMT
You can ignore the CREDENTIAL clause in CREATE LOGIN. That is currently
unused.
Thanks

Signature
Laurentiu Cristofor [MSFT]
Software Design Engineer
SQL Server Engine
http://blogs.msdn.com/lcris/
This posting is provided "AS IS" with no warranties, and confers no rights.
> HI ,
> WHat credential must we specify in the create login statement, also i
[quoted text clipped - 26 lines]
>> > Best Regards,
>> > Niketa
Vaibhav Goel - 22 May 2006 06:00 GMT
Hi,
Yes that was the problem i changed the account through the SCM utility and
it worked perfectly please tell me how do we ensure that when sqlserver/e
> You can check CREDENTIAL clause in CREATE LOGIN statement.
>
[quoted text clipped - 12 lines]
> > Best Regards,
> > Niketa
Vaibhav Goel - 22 May 2006 06:03 GMT
Hi,
Yes that was the problem i changed the account through the SCM utility and
it worked perfectly please tell me how do we ensure that when
sqlserver/express is launched it runs under the account of the administrator
is there any paramter that can be influenced while launching it.The product
installs the sqlserver/express yet it shows that it is running under the
network service account , how do we make sure that when we launch sql server
/ express it runs under the local user account?
Please help.
> You can check CREDENTIAL clause in CREATE LOGIN statement.
>
[quoted text clipped - 12 lines]
> > Best Regards,
> > Niketa