CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 6/1/2006 7:06:44 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 27 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
joel.l.daniels
Asp.Net User
DB objects starting with aspnet_ not visible6/1/2006 7:06:44 PM

0

Hello,

I am attempting to work with the .Net 2.0 Roles api in an aspx page. I used the aspnet_regsql.exe command line utility to create a database to support application role management. I added a connection string to web.config. In Visual Studio 2005, I dropped a gridview onto a page and began using the smart tag to add and configure a data source. The only thing I am able to see at this point are the views. I spent a lot of time looking through permissions and creating a new, blank database and running InstallCommon.sql and InstallRoles.sql manually. Same result. Next, I tried added just a simple stored procedure of my own and re-ran the datasource wizard. That one stored procedure is visible. After some further experimentation, it seems that the configure data source wizard is ignoring anything with a name beginning with aspnet_. I can rename my test stored procedure to begin with aspnet_ and it disappears from the wizard. I can rename one of the existing stored procedures to begin with something else and it will appear in the wizard. Is there something hard coded into Visual Studio 2005 to ignore database objects prefixed with aspnet_? 

Also, I do not see this behavior if I create a dataset in app_code. In that case, I select the option to use existing stored procedures and all of the stored procedures show up.

 

Thanks,

vcsjones
Asp.Net User
Re: DB objects starting with aspnet_ not visible6/3/2006 4:20:11 AM

0

No, the problem is though that Visual Studio does filter tables based on their owner or if they are system tables. You can configure Visual Studio to show those tables in the Options Menu.
Cheers,
       Kevin Jones


joel.l.daniels
Asp.Net User
Re: DB objects starting with aspnet_ not visible6/5/2006 12:27:22 PM

0

I see where I can have VS2005 show system tables, but I don't see any option relating to table ownership. But I don't think ownership is the problem here. The tables I am trying to connect to are owned by dbo and I am connecting as a user that is a member of db_owner. And again, I can cause these stored procedures to display in the data source wizard just by renaming them to start with something other than aspnet_. I can can even add stored procedures of my own and have them disappear and appear in the wizard just by renaming them to and from an aspnet_ prefix.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
DB objects starting with aspnet_ not visible - ASP.NET Forums Re: DB objects starting with aspnet_ not visible. 06-03-2006, 12:20 AM. Contact ... Re: DB objects starting with aspnet_ not visible. 06-05-2006, 8:27 AM ...
Reporting service not starting - The user or group name 'VIDICOM ... Search for "troubleshooting database mirroring." Thanks, Mark Tag: Reporting service not starting - The user or group name 'VIDICOM\ASPNET' is not ...
Access forms "Cannot Update. Database or Object is Read-Only." Database or Object is Read-Only." My form allows edits. All my text boxes are enabled and are not locked. Any suggestions? Thanks Sharon ...
Tester objects not visible (causes exceptions) Tester objects not visible (causes exceptions). microsoft.public.dotnet. framework.aspnet. Author. 30 Dec 2005 8:21 PM. elridge.dmello ...
ASP.NET.4GuysFromRolla.com: DataGrids, DataSets, and XML Strings Subsequent postbacks will not need to hit the database because we will be .... Next, we create a StringReader object and fill it with our XML string. ...
SqlException: EXECUTE permission denied on object 'sp_sdidebug ... ASPNET.StarterKit.Commerce.C_Menu.Page_Load(Object sender, EventArgs e) .... set database permission in the database management tool. ...
microsoft.public.dotnet.framework.aspnet.security: Security ... Create an instance of the database object Database database = DatabaseFactory. ... Visible = true; lblError.Text = "Login failed. Page is not valid."; ...
ASP.NET MVC: Choosing Your Data Access Method : Rob Conery I agree with Santos on starting with the domain model first, rather than tables. The database is the one that should be generated, not the domain objects. ...
ASP.NET: GridView Update/Edit/Cancel, HyperLinkFields, and DataKey ... I had this problem when I was using Generics bound as a datasource; I updated my DB but not my object, and since the object was bound to the GridView and ...
CodeProject: Using NHibernate with Multiple Databases. Free source ... If I create an object from each database on there own there is not an issue and the objects are ... ActivationKey is where the exception is visible. ...












quotes module available

dnn problem --pls help :(

search function and wildcards

mail notification problem

where is the database by default put?

3.1 & skin objects

email notification to registering user once authorized

help with adding a javascript confirm box on page load

2.0 - modules question

vertical submenu..

text/html display problems?

dnn 3.2, admin | site skins intended behaviour(?) / feature request.

ideas wanted for how to in a module

object reference not set to an instance of an object.

couple of questions regarding dnn 2.0

open banners in new window

.netnuke 2.04 eastern time?

dnn, dnn database, and company database - advanced query

precomple a site that's not in iis

private user registration bug (2.0.4)

more than one menu.

help with address user control

document control enhancements - looking for beta testers

packaging dotnetnuke for distribution

editable datagrid

having trouble with forum/blog 3.10.01 and gallery 3.0.10

solpartmenu's submenu relative positioning...

crystal reports for vs.net

xml or text imports for dnn module tables

template tab does not copy container settings for module

accessing filluserinfo from a custom module

open new window from a hyperlink

delete tab logic

3.12

free photo album module dnn 2.0

new name for dotnetnuke?

error converting data type nvarchar to datetime

is there a "workflow" or "document control" module for dnn2?

timezone/daylight savings time

'object reference not set to an instance of an object' when clicking on 'edit text'

beta 1 of powerreports pro for dnn 2 released

linking to files

session event handlers missing in global.asax

use of dal

hide "view options" menu

pencil tool is gone

httphandler

how do you localize nested controls?

problem viewing dnn 2.0.3 source files via vs.net 2002

not able to login

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT