Solved

EXECUTE permission denied on object 'sp_makewebtask'

Posted on 2004-10-05
3
1,725 Views
Last Modified: 2012-08-14
Hello,

I have designed SEVERAL stored procedures from my ASP.NET web application that have work just fine up until 2 days ago when I unexpectedly started recieving this error message upon executing SOME(not all) of the stored procedures in my DB:

System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'sp_makewebtask', database 'master', owner 'dbo'

At first i thought it may have something to do with my vb.net code, but i tried a simple query in the Users table ( update Users set AccountID = 2 where UserID = 2) using sql analyzer, and after 31 seconds of lag, i recieved the following message:

Server: Msg 16821, Level 11, State 1, Procedure sp_makewebtask, Line 125
SQL Web Assistant: Could not open the output file.

The row, however, was updated.   This is the first time i have even encountered sp_makewebtask.  Is there anyone who knows why this problem may have arised, and how to solve it?

thanks in advance
0
Comment
Question by:osit
3 Comments
 
LVL 15

Expert Comment

by:jdlambert1
ID: 12228165
>This is the first time i have even encountered sp_makewebtask
Something is attempting to call/use sp_makewebtask. View the code in the procedures that produce the error and find the reference to see what it trying to do. If you didn't alter the sp code, is anyone else authorized to change it?
0
 
LVL 2

Expert Comment

by:doswell
ID: 12228857
I'd check the permissions the app is running under and what it's using to connect to the DB,

also info on that makewebtask SP;
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sp_ma-mz_2p0r.asp
 http://www.mail-archive.com/pen-test@securityfocus.com/msg00310.html

0
 
LVL 1

Accepted Solution

by:
kewllover earned 500 total points
ID: 12228913
Chances are your there is a trigger on the table that updates a cache object in your web application that caches a dataset in memory whenever the datachanges on the database.  When that stored procedure attempts to execute it cannot find the specified machine/file on the network and fails or it fails because your username doesnt have permissions to update that file on that machine.

Hope this helps Haider!
:D
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now