473,324 Members | 2,124 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,324 software developers and data experts.

Help in ASP.NET membership DB

Hi guys,

After successfully creating all objects of my ASP.NET membership db to my hosted server, I tried to run a from that registers a user.

I got following error:

EXECUTE permission denied on object 'aspnet_CheckSchemaVersion', database 'fancy_CollMembers', owner 'dbo'

Is there anything I miss when I set up the DB? How to solve this problem?

Many thanks,

Apr 15 '06 #1
2 3408
I know so little about your app or your installation, that this is hard to
answer. However, normally, when we see this error, it is because the
ASP.Net app is running using credentials that are not enabled in the
database. One common way to handle this is to have your web site
impersonate a user that is on the server, and use that user's credentials to
access the database. Of course, you'd have to keep these credentials
secure. This is described here:
http://support.microsoft.com/default...b;en-us;329290

If you are talking about an ASP.Net 2.0 credentials store, then these
articles may help:
http://msdn.microsoft.com/library/de...AGHT000014.asp http://www.code-magazine.com/Article...d=0511031----- Nick Malik [Microsoft] MCSD, CFPS, Certified Scrummaster http://blogs.msdn.com/nickmalikDisclaimer: Opinions expressed in this forum are my own, and notrepresentative of my employer. I do not answer questions on behalf of my employer. I'm just aprogrammer helping programmers.--"Mike" <ne*********@hotmail.com> wrote in messagenews:eE**************@TK2MSFTNGP03.phx.gbl. ..Hi guys,After successfully creating all objects of my ASP.NET membership db to myhosted server, I tried to run a from that registers a user.I got following error:EXECUTE permission denied on object 'aspnet_CheckSchemaVersion', database'fancy_CollMembers', owner 'dbo'Is there anything I miss when I set up the DB? How to solve this problem?Many thanks,

Apr 15 '06 #2
Thanks Nick,

I just found out, that the error mess caused by the lack of DBO permission
to exec the sproc. After giving the DBO permission to the DB it works fine.

Anyway, many thanks for the valueable resources you gave.

Regards,
Andy

"Nick Malik [Microsoft]" <ni*******@hotmail.nospam.com> wrote in message
news:St********************@comcast.com...
I know so little about your app or your installation, that this is hard to
answer. However, normally, when we see this error, it is because the
ASP.Net app is running using credentials that are not enabled in the
database. One common way to handle this is to have your web site
impersonate a user that is on the server, and use that user's credentials
to access the database. Of course, you'd have to keep these credentials
secure. This is described here:
http://support.microsoft.com/default...b;en-us;329290

If you are talking about an ASP.Net 2.0 credentials store, then these
articles may help:
http://msdn.microsoft.com/library/de...AGHT000014.asp
http://www.code-magazine.com/Article...d=0511031----- Nick Malik
[Microsoft] MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalikDisclaimer: Opinions expressed in this
forum are my own, and notrepresentative of my employer. I do not answer
questions on behalf of my employer. I'm just aprogrammer helping
programmers.--"Mike" <ne*********@hotmail.com> wrote in
messagenews:eE**************@TK2MSFTNGP03.phx.gbl. ..Hi guys,After
successfully creating all objects of my ASP.NET membership db to myhosted
server, I tried to run a from that registers a user.I got following
error:EXECUTE permission denied on object 'aspnet_CheckSchemaVersion',
database'fancy_CollMembers', owner 'dbo'Is there anything I miss when I
set up the DB? How to solve this problem?Many thanks,

Apr 17 '06 #3

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

Similar topics

4
by: fo | last post by:
Hi I want to add one other emailrecepient to my mail code and can't seem to get it wright. Could you please help. Here is the code is this lien correct <emerge@goldcoastrentals.com.au>\nX-Mailer:...
2
by: RBCC | last post by:
I have a form with a 2 textboxes and a listbox, The data is read in by a file called "memberphones" The listnbox lists names in this way (lastname,first name) sorted by the last name. the...
3
by: Miguel Dias Moura | last post by:
Hello, I am working on an Asp.Net 2.0 / SQL 2005 web project where: 1. All users must login. 2. There will be two user types: student and professor. The students and professors are not related....
5
by: Learner | last post by:
Hello, Here is the code snippet I got strucked at. I am unable to convert the below line of code to its equavalent vb.net code. could some one please help me with this? static public...
2
by: sanju | last post by:
Hi, I am struggling to replace a bit value 'True' or 'False' with a image true.gif or false.gif and bind it to a repeater control. I am getting values 'true' or 'false' depending on whether...
1
by: Tarun Mistry | last post by:
Hi all, I am using the ASP.NET 2.0 security model to impliment user access control on my site. I have a few questions hopefully someone can answer: 1) From the encrypted ticket stored in the...
1
by: chris | last post by:
I have a web project where I'm using VS2005 and I have installed Sql server 2005 developer edition. I've modified my webconfig file to point to my custom provider: <connectionStrings> <add...
3
by: sunbeam | last post by:
Short Description of the Project: we developed a e-learning system for our students. each student has a unique username/password to view the modules he/she should view and nothing more. since we...
4
by: Brad Isaacs | last post by:
I am working with ASP.NET 2.0 and using an SQL Server 2000 database. I am using Visual Studio 2005 and developing on my Local machine. I am working with Login controls ASP.Configuration, I...
2
by: mazdotnet | last post by:
Hi all, I just found out that ASP.NET membership does not have a method to lock accounts (only Unlock user) See http://forums.asp.net/p/825946/825946.aspx Question was 'I understand that the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.