Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:35805
More Search Options
RSS Available
Matching Posts
Dynamic Data Doesn't Do Well with This DB
Hi folks, I was trying out an old database script with dynamic data and found that I get read-only functionality with the database. I've pasted in the script below. You need to create a database called TVBUGPB before you run the script. USE [master] GO USE TVBUGPB GO CREATE TABLE [dbo].[PB_Application] ( [ApplicationId] uniqueidentifier ROWGUIDCOL NOT NULL , [ApplicationName] [ varchar ] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [VSSUrn] [ varchar ] (128) COLLATE SQL_Latin1_General_CP1_CI_AS
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/22/2008
Re: Dynamic Data Wizard and a SQL Express 2005 Database File
Thanks for your quick response! Yes, I used the CodePlex version of adventureworksLT. I'll file the bug and repro steps on the site. If you discover/fix the issue before I give my Energize IT presentation on Saturday, make sure I get a special MVP Presenter drop?
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/21/2008
Re: Dynamic Data Wizard and a SQL Express 2005 Database File
Thanks for the info. I've installed the May 20 drop and have the identical problem as in my original post.
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/21/2008
Dynamic Data Wizard and a SQL Express 2005 Database File
Hi folks, Could someone point me to a walkthrough on using the recent update of the Dynamic Data Wizard? I might be doing something wrong... Here's what happens... Start the wizard and point to a Microsoft SQL Server Database file (AdventureWorksLT). On the Create a Data Model from the Database screen, select all the tables but no views, stored procedures or functions. The table names appear in the tree. Click Next. A msgbox says "Could not retrieve schema information for database object
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/21/2008
Re: Could the template store the DataContext type name in the web.config?
[quote user="scothu"] Basically the configuration became complicated and fragile in web.config and we moved it to being able to be done programatically. [/quote] Hey Scott, I hear you about the web.config. I've argued that it is hopelessly out of control in ASP.NET 3.5. One tiny typo can bring down a Web app. Still for quick-and-not-too-dirty dynamic data sites, having a wizard write the value into the code adds a user-friendly touch and would prevent many people from stumbling over
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/20/2008
Re: Could the template store the DataContext type name in the web.config?
[quote user="marcind"] Hi Ken, thanks for the suggestion. It would be possible and we will consider doing this. Also, note that the Dynamic Data Wizard will automatically set up your Global.asax with the right context type so this will not be that big of an issue. [/quote] Having the wizard configure this would be great. If the wizard is already writing values into a bunch of files, it seems logical it could insert something in the global.asax and/or web.config for the project. People who
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/20/2008
Could the template store the DataContext type name in the web.config?
Instead of manually editing the Global.asax file to insert the data context (e.g., PhotosDataClassesDataContext), is there a way this information could be automatically stored in the appSettings section of web.config file? That way this line could fetch the name automatically: model.RegisterContext( typeof (PhotosDataClassesDataContext), new ContextConfiguration() { ScaffoldAllTables = true }); Just as the IDE writes connection string info automatically, it would be helfpul to have the data context
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/20/2008
Re: Invoking the Dynamic Data Wizard
[quote user="abhimis"]We currently have plans to add re-entrance to the wizard in the future so that you can invoke it on an existing site :-)[/quote] Thanks. Will this be for the release version of SP1 or will it have to wait for general update?
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/19/2008
Invoking the Dynamic Data Wizard
Is there a way to start the Dynamic Data Wizard from within an existing ASP.NET Web site? So far, I'm only able to make it run by creating a new dynamic data site.
Posted to
ASP.NET Dynamic Data
(Forum)
by
Ken Cox [MVP]
on 5/19/2008
Re: PostBackTrigger, UpdatePanel, FileUpload and ListView Problem
I wonder if it's possible to declare a bogus ControlID in the page and then change the value in script once I know what the embedded button's real ID is going to be?
Posted to
Web Forms
(Forum)
by
Ken Cox [MVP]
on 4/8/2008
Page 1 of 7 (61 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online