Re: xcopy deployment to sql server DTS package in restricted envir
- From: Beth <Beth@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 1 Nov 2007 12:00:03 -0700
Yes, I'm connecting with Integrated Security=SSPI.
Is there another way I could connect to avoid these problems?
Like have a new account created for this application?
When you say I need to grant rights to the group to which I belong, are you
talking about on the SQL Server?
Since I'm not the DBA, can you tell me what I should tell him to ask for?
Thanks for the help,
-Beth
"William Vaughn" wrote:
How are you connecting? SSPI (trusted connection?).
If so, you're probably right. Because you're not in the Administrators group
you don't have sufficient rights. In this case you need to grant rights to
the group to which you belong that are sufficient to make the changes.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant, Dad, Grandpa
Microsoft MVP
INETA Speaker
www.betav.com
www.betav.com/blog/billva
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"Beth" <Beth@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:763A49A6-4CE1-4CD4-898C-6BFAB9A9449D@xxxxxxxxxxxxxxxx
Hello.
I'm an old VB6 programmer who would like to distribute an .exe with the
simplest method possible, and that's not working.
I have an application which updates rows on a SQL Server. If I run the
.exe
in my project's debug folder, it runs fine. If I run it from my project's
release folder, I get a sqlClientPermission error when it tries to update
data on the server.
I don't have administrative rights to my PC, so I'm assuming I have to
live
with this or find someone with admin rights to grant me permission to run
the
release version of my application on my PC.
If I run it copied to a folder on the network, I get the same error, but
what I really need is for it to run in a DTS package on our SQL Server so
it
can be scheduled to run nightly.
The release .exe gets the same error in the DTS package, and I'm not sure
who needs to do what to get this to work. The debug.exe runs ok in the
DTS
package as long as my sps have dbo ownership.
I'm not sure if I need to create a setup project and have the DBA install
the .exe on the sql server, have some administrator (not our DBA) grant
client access permissions to my .exe on the sql server, or some other set
of
magic tricks.
Distributing applications used to be easy, but now it's harder and
muddling
through documentation on code access security is frying my brain.
Please help me if you can.
Thanks for all replies,
-Beth
- Follow-Ups:
- Re: xcopy deployment to sql server DTS package in restricted envir
- From: William Vaughn
- Re: xcopy deployment to sql server DTS package in restricted envir
- References:
- Re: xcopy deployment to sql server DTS package in restricted environme
- From: William Vaughn
- Re: xcopy deployment to sql server DTS package in restricted environme
- Prev by Date: sqlcommand
- Next by Date: IsZombied (This SqlTransaction has complete; it is no longer usable.)
- Previous by thread: Re: xcopy deployment to sql server DTS package in restricted environme
- Next by thread: Re: xcopy deployment to sql server DTS package in restricted envir
- Index(es):
Relevant Pages
|