Showing posts with label manage. Show all posts
Showing posts with label manage. Show all posts

Wednesday, March 7, 2012

How is it possible that inserted and deleted are both empty in trigger?

I created manage update trigger to react on one column changes. There is an application which is working with DB, so I don't have access to SQL query which changes this column. In most cases trigger works fine, but in one case when this column changes, trigger is fired and IsUpdatedColumn is true for this column, but both inserted and deleted table are empty, so I can't get new value for this column. Any idea why is it happened? Is any way around?

This column type is uniqueidentifier. Inserted and deleted tables are empty when application is changing value from NULL to not null value, but if I change it myself from Management Studio inserted table contains right values. Most like problem is in query which is changing that value.

I'm doing that on Sql Server 2005.

Triggers are also firing when no rows is affected, it is fired on a per statement basis not per row.

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de

Sunday, February 19, 2012

How grant permissions to view reports?

I think I'm supposed to go to http://localhost/reports to manage permissions
and other. But when I do, I get the error:
The permissions granted to user 'BOUDTFS\IUSR_FIVERIVERS' are insufficient
for performing this operation. (rsAccessDenied)
How am I supposed to give necessary privileges if I can't get to this page?
I'm logged into our domain as an administrator, but since going through a
browser an going in as that IUSR account.
Thanks,
RonHave you enabled anonymous acess from iis ? and what authentication mode you
selected when installing RS mixed or windows ? Let me know
Amarnath
"Ronald S. Cook" wrote:
> I think I'm supposed to go to http://localhost/reports to manage permissions
> and other. But when I do, I get the error:
> The permissions granted to user 'BOUDTFS\IUSR_FIVERIVERS' are insufficient
> for performing this operation. (rsAccessDenied)
> How am I supposed to give necessary privileges if I can't get to this page?
> I'm logged into our domain as an administrator, but since going through a
> browser an going in as that IUSR account.
> Thanks,
> Ron
>
>|||Hey
I have the same problem (RSAccessDenied)
I have check anonymous access from IIS, when I installed the RS I chose
authentication mode (SQL Account)
"Amarnath" wrote:
> Have you enabled anonymous acess from iis ? and what authentication mode you
> selected when installing RS mixed or windows ? Let me know
> Amarnath
>
> "Ronald S. Cook" wrote:
> > I think I'm supposed to go to http://localhost/reports to manage permissions
> > and other. But when I do, I get the error:
> >
> > The permissions granted to user 'BOUDTFS\IUSR_FIVERIVERS' are insufficient
> > for performing this operation. (rsAccessDenied)
> >
> > How am I supposed to give necessary privileges if I can't get to this page?
> > I'm logged into our domain as an administrator, but since going through a
> > browser an going in as that IUSR account.
> >
> > Thanks,
> > Ron
> >
> >
> >|||I had this same problem, what i did was disable anonymous access in IIS for
both the reportserver and reports sites and enable windows integrated
security only.
"Ronald S. Cook" wrote:
> I think I'm supposed to go to http://localhost/reports to manage permissions
> and other. But when I do, I get the error:
> The permissions granted to user 'BOUDTFS\IUSR_FIVERIVERS' are insufficient
> for performing this operation. (rsAccessDenied)
> How am I supposed to give necessary privileges if I can't get to this page?
> I'm logged into our domain as an administrator, but since going through a
> browser an going in as that IUSR account.
> Thanks,
> Ron
>
>