473,396 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

db execute permission denied..

Hi there,

I've just switched over an app from one iis server to another.. the sql
server db remains in the same place. Windows authentication was, and
is being used.. with the IIS server running under the same account
(same domain etc.) - I've probably got some of that wrong but the gist
is it all should be the same!

However I'm getting permission denied errors.. any ideas?

Looking at Request.LogonUserIdentity.Name - I'm given the exact
username I want to authorise the db against... does this mean that the
IIS server is definately set up correctly?

can there be any other issues that might affect this?

cheers,
Chris

Sep 27 '06 #1
2 1235
Not Me wrote:
I've just switched over an app from one iis server to another.. the sql
server db remains in the same place. Windows authentication was, and
is being used.. with the IIS server running under the same account
(same domain etc.) - I've probably got some of that wrong but the gist
is it all should be the same!

However I'm getting permission denied errors.. any ideas?

Looking at Request.LogonUserIdentity.Name - I'm given the exact
username I want to authorise the db against... does this mean that the
IIS server is definately set up correctly?
I've set up a simple page which displays
request.logonuseridentity.name, and also the result of a simple 'select
suser_sname' query. The results return different logins - why is this
the case? the login returned from the database seems a bit arbitrary...
(not random, but I've no idea why it picked that account.)

I appreciate any help you can give,
Chris

Sep 28 '06 #2
Not Me wrote:
I've just switched over an app from one iis server to another.. the sql
server db remains in the same place. Windows authentication was, and
is being used.. with the IIS server running under the same account
(same domain etc.) - I've probably got some of that wrong but the gist
is it all should be the same!

However I'm getting permission denied errors.. any ideas?

Looking at Request.LogonUserIdentity.Name - I'm given the exact
username I want to authorise the db against... does this mean that the
IIS server is definately set up correctly?
OK seems fixed now.. I needed to add identity impersonate=true in the
web.config.. not sure why this wasn't required on the old server, or
where the random logon appeared from/why I was allowed to use their
credentials.... but it seems ok now!

Sep 28 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: J Overgaard | last post by:
Hi. Anyone seen this error, when issuing db2jstrt? db2jstrt: 0403-006 Execute permission denied. Regards J. Overggard
5
by: Ivan Simurina | last post by:
I m getting the following error once i initiate a page that connects with database. SqlException: EXECUTE permission denied on object 'sp_items_for_sale', database 'bids', owner 'dbo'.] what...
8
by: Jiggaz | last post by:
Hi, In my ASPX Page, i have a form for signup. And whene user click on the button, the event Button1_Click must use a stored procedure. But instead of use stored proc, i get this exception :...
7
by: Ken | last post by:
Hi guys, this is a curios thing, everything was working fine then I had to restore my development machine( VS.NET, SQL server etc) now I'm receiveing this error from my asp aplication only in...
7
by: Mike L. | last post by:
Hi, I got this 'EXECUTE permission denied on object <mySproc>' error message everytime I try executing my SQL server Sproc. What's this and how to fix this err? many thnaks in advance, mike
1
by: david | last post by:
I am using MS ASP.NET course matrial in Model 16. I have the above problem. I have setup user machin\ASPNET as Reeder and Writer for doctors database More informatin are in following...
0
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to...
1
by: Jeff | last post by:
asp.net 3.5 I've created a database in Sql Server 2005 for my asp.net project. I used aspnet_regsql to add membership tables and stored procedures. Then I added a login/user to this database....
0
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
0
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.