I have an aspx page with an editible GridView. When I click the Update
button the stored procedure runs (I know because the underlying data was
changed) but throws an exception as follows:
Source: .Net SqlClient Data Provider
An unhandled exception occurred:
Message: Cannot find the object 'rfp_updPeopleAndLink', because it does not
exist or you do not have permission.
I looked at the permissions and [public] has execute permissions.
I am using the DataSource UpdateCommand as follows:
UpdateCommand="EXEC rfp_updPeopleAndLink @Phone, @CellPhone, @Email,
@PersonID, @LinkNotes, @PrimaryPerson, @PropLinkID">
Any ideas on where I might look to resolve this? Thanks.
David 2 1280
Are you logging into the database with a connectionstring, that has a
particular user assigned to it?
does that user have permissions on the stored proc?
David Wier http://aspnet101.com http://iWritePro.com
"David C" <dl*****@lifetimeinc.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>I have an aspx page with an editible GridView. When I click the Update button the stored procedure runs (I know because the underlying data was changed) but throws an exception as follows:
Source: .Net SqlClient Data Provider
An unhandled exception occurred:
Message: Cannot find the object 'rfp_updPeopleAndLink', because it does
not exist or you do not have permission.
I looked at the permissions and [public] has execute permissions.
I am using the DataSource UpdateCommand as follows:
UpdateCommand="EXEC rfp_updPeopleAndLink @Phone, @CellPhone, @Email,
@PersonID, @LinkNotes, @PrimaryPerson, @PropLinkID">
Any ideas on where I might look to resolve this? Thanks.
David
No, but I just found the problem. The stored proc code had a GRANT command
at the end besides the permissions also GRANTing execute to [public]. I
took out the code from the sp and now it works fine...no error. Boy, is
that strange!
David
"David Wier" <da*******@davidwier.nospam.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Are you logging into the database with a connectionstring, that has a
particular user assigned to it?
does that user have permissions on the stored proc?
David Wier http://aspnet101.com http://iWritePro.com
"David C" <dl*****@lifetimeinc.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>>I have an aspx page with an editible GridView. When I click the Update button the stored procedure runs (I know because the underlying data was changed) but throws an exception as follows:
Source: .Net SqlClient Data Provider An unhandled exception occurred:
Message: Cannot find the object 'rfp_updPeopleAndLink', because it does not exist or you do not have permission.
I looked at the permissions and [public] has execute permissions.
I am using the DataSource UpdateCommand as follows:
UpdateCommand="EXEC rfp_updPeopleAndLink @Phone, @CellPhone, @Email, @PersonID, @LinkNotes, @PrimaryPerson, @PropLinkID"> Any ideas on where I might look to resolve this? Thanks.
David
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Seagull Manager |
last post by:
Running Apache 1.3, PHP 4.3, and WinXP, configured acc. to instructions on
apache manual and php manual (as far as I can see), but getting "internal
server error" in browser... log says "Premature...
|
by: Jani Jalkala |
last post by:
I have PHP 4.3.7 running on my client's Windows 2003 server. The same
computer also runs SQL Server and I am trying to connect from PHP to a
database. This fails, so I would like to track down the...
|
by: Brian Conway |
last post by:
I have no idea what is going on. I have a Login screen where someone types
in their login information and this populates a datagrid based off of the
login. Works great in debug and test through...
|
by: Peter Steele |
last post by:
We have an application that when it runs in the IDE in debug mode an
unhandled exception is occurring in a system header file associated with STL
stirngs. The actual statement that crashes is
...
|
by: Dave |
last post by:
I searched the usenet and some mail archives and tried various
techniques, but I can't seem to get the .NET 2.0 SDK to work with
python. I'm a total newbie when it comes to python installs. I...
|
by: Xah Lee |
last post by:
in March, i posted a essay “What is Expressiveness in a Computer
Language”, archived at:
http://xahlee.org/perl-python/what_is_expresiveness.html
I was informed then that there is a academic...
|
by: Pythor |
last post by:
I apologise if this is a stupid newbie error, but I've been googling
"hash bang" and "shebang" all morning. I've added the shebang to my
scripts:
#!/usr/bin/python
I've added execute...
|
by: theronnightstar |
last post by:
I seem to be having a problem with getline(). I have tried to find it
on
google, but I'm not seeing the answer. The goal of this section of
code
is simply to read in a line from a file to a...
|
by: sara |
last post by:
Hi -
I have code (below) that ran as recently as Monday.
We decided to change the location for the output reports, and now the
code errors (13 Type Mismatch) on the query.
The query runs fine...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |