JCooney.NET

Joseph Cooney's Weblog

My Links

Blog Stats

News

I work for:


see also:
Dominic Cooney
Patrick Cooney

Archives

Image Galleries

My GotDotNet Samples

Express Yourself with Managed Database Types

I resisted the urge to post something about the latest range of Express versions of VS 2005 until I had something to say (maybe I should have waited longer..). I have been dying to check out “Yukon” for ages, especially since I think the ability to write user-defined types in managed code presents so many interesting opportunities for application design, and probably an equal number of chances to shoot yourself in the foot. Also the whole idea of it has always raised a lot of questions in my mind - How do you apply referrential integrity to a property? Can you create an index on a property? Can you create an index on a method? With all this in mind I installed SQL Server 2005 Express with a great deal of anticipation. I had heard in a few places that some products in the “Express” line downloaded a fair amount of stuff from the network. I was pleasantly surprised to see that the SQL Server 2005 Express install did not need any additional downloads. It installed without a hitch, requiring a single re-boot. Unsurprisingly it works fine with my current SQL Server 2000 install. It does install a new MMC snap-in type manager, but not much else in the way of graphical tools (command line query tools are included). I expect the full beta (probably available now to MSDN subscribers) will have “SQL Workbench“ or whatever it is called now included also.

I was not able to connect via query analyzer (from my SQL 2K install) but my Tech-Ed US CTP install of VS 2005 seemed quite happy to play with it though.

VB.NET MVP, data access afficianado and all-round nice guy Greg Low gave an interesting presentation at my local SQL Server Users Group last week on the CLR features in Yukon. It had lots of code demos (for yukon beta 1 - which might require some converting). The content for the presentation is here.

Update: I tried connecting via SQL Server 2000 enterprise manager (David Hayden commented that he was having some problems giving access to the ASPNET account on his machine, and I was trying to see if you could administer SQL 2005 Express from SQL 2K enterprise manager) but it failed with the message “You must use SQL Server Workbench or SQL Server Management Objects (SMO) to connect to this server.” Also SQL 2005 Express has a weblog http://weblogs.asp.net/sqlexpress/ and a newsgroup http://communities.microsoft.com/newsgroups/default.asp?icp=sqlserver2005&slcid=us

Tim Sneath has a great serise of articles on CLR integration in SQL Server 2005 (A.K.A Yukon) (1, 2, 3, 4)

posted on Tuesday, June 29, 2004 6:32 PM

Feedback

# re: Express Yourself with Managed Database Types 6/30/2004 4:11 AM David Hayden

Hi Joseph. I had no problem installing SQL Server Express as well and I have the same set-up as you.

Maybe you know the answer to this question. How do you give the ASPNET User account admin privileges in SQL Server Express without putting it in the Administrators group of the PC?

I am playing with Visual Web Developer Express and unless I put the ASPNET User in the Administrators Group, which I don't like, I always get a failed login for MACHINENAME/ASPNET on my SQL Server Express databases that are hosted in web apps on my local machine. Am I overlooking some basic understanding? In SQL Server you just add ASPNET as a user with admin privileges and everything works fine. I don't see a place to do that with SQL Server Express.

# re: Express Yourself with Managed Database Types 6/30/2004 11:43 AM JosephCooney

Hi David - I'm as new to this as anybody else, but I imagine that the SQL adminstration stored procs like sp_grantdbaccess would still work for adding users to databases and roles. Also I have read in some places things that suggest you can connect to Yukon via SQL Server 2000 Enterprise Manager if you specify 'MachineName\InstanceName'. If you can do that then you should be able to add users to databases etc. from within Enterprise Manager. I will try this out tonight and post an update.

# re: Express Yourself with Managed Database Types 7/1/2004 5:32 PM Greg Low

Hi Guys,

Yep, you just create it (aspnet) as a login and put it in the fixed server admin role (if that's what you want to achieve).

HTH,

Greg

# re: Express Yourself with Managed Database Types 8/22/2004 5:00 AM yaip

I have both SSE 2005 Beta and VS.NET 2005 Beta. I have a mdf file in c:\intetpub\wwwroot\....So I do the following:

try
sp_grantlogin [newdell\apsnt]
go
use databasename
go
sp_grantdbacces [newdell\aspnet]

it doesn't like the second command (use databasename). It tells me entry not found. What am I doing wrong?

# re: Express Yourself with Managed Database Types 4/2/2006 10:10 PM 非机动车

[URL=http://www.bc158.com">http://www.bc158.com]??/????/????[/URL]
[URL=http://www.ilmvac.com.cn]??????/???[/URL]
[URL=http://www.bc158.com">http://www.bc158.com]????/??????[/URL]
[URL=http://www.banjia8.com">http://www.banjia8.com]??/??????[/URL]
[URL=http://www.188my.com]???/???[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com/dzbc2">http://www.shshengge.com">http://www.shshengge.com/dzbc2]????[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com]????/TS16949/????[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com/dzbc]??/??????[/URL]
[URL=http://www.xuemeipaper.com]??[/URL]
[URL=http://www.banjia8.com">http://www.banjia8.com]??????[/URL]
[URL=http://www.nimo.com.cn]???/??[/URL]
[URL=http://www.zhaosheng001.com/ban.htm">http://www.zhaosheng001.com/ban.htm]??[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com]6sigma/?????/iso9000[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com/dzbc1]??/??????/??????[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com/bj.htm]??/??????[/URL]
[URL=http://www.shgongxing.com]??????/????/??[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com/index1.htm]????/????[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com/dzbc.htm]??[/URL]
[URL=http://www.51dzbc.com]??/????/????/????[/URL]
[URL=http://www.nimodoor.com]???/?????/???/???/??[/URL]
[URL=http://www.168bc.com]??/????/????[/URL]
[URL=http://www.dz958.com]??/??????/??????[/URL]
[URL=http://www.pinganbc.com]????/????[/URL]
[URL=http://www.158gx.com]????/??????/??????[/URL]
[URL=http://banjia.jymh.com]??[/URL]
[URL=http://www.shangnuo.com.cn]???/?????/??[/URL]
[URL=http://www.bc158.com">http://www.bc158.com/index1.htm]??/??/????/????[/URL]
[URL=http://www.dz668.com]??/??????/????/????[/URL]
[URL=http://www.banjia800.com]??/????/????/????[/URL]
[URL=http://www.gxbc800.com]????/??/????[/URL]
[URL=http://www.dzbc800.com]??/????/????[/URL]
[URL=http://www.188my.com/index1.htm]???/???[/URL]
[URL=http://www.gx185.com]????/??????[/URL]
[URL=http://www.91dzbc.com]??????/??????[/URL]
[URL=http://www.bc158.com">http://www.bc158.com/5.htm]??????[/URL]
[URL=http://flame.nsrl.ustc.edu.cn]??/??/????[/URL]

[URL=http://blog.shbbs.cn/more.asp?name=fylzs&id=4305]??/????/????[/URL]
[URL=http://www.teamdo.com.cn/blog/more.asp?name=fylzs1&id=21163]???/???[/URL]
[URL=http://www.chinaxin.net/blog/user1/85/archives/2005/184.html]??[/URL]
[URL=http://www.dulishi.net/blog/more.asp?name=fylzs&id=833">http://www.dulishi.net/blog/more.asp?name=fylzs&id=833]??[/URL]
[URL=http://www.sz-wholesale.com/blog/user2/4008/archives/2006/6409.shtml]???/???[/URL]
[URL=http://www.dulishi.net/blog/more.asp?name=fylzs1&id=965">http://www.dulishi.net/blog/more.asp?name=fylzs1&id=965]???[/URL]
[URL=http://blog.shbbs.cn/more.asp?name=shlzs&id=6132">http://blog.shbbs.cn/more.asp?name=shlzs&id=6132]????/????[/URL]
[URL=http://blog.shbbs.cn/more.asp?name=shxym&id=6134">http://blog.shbbs.cn/more.asp?name=shxym&id=6134]???/???/???/???/???[/URL]
[URL=http://dzbc.blogbus.com/index.html]??/??????[/URL]
[URL=http://www.shshengge.com">http://www.shshengge.com/lzs1]????/ ??? /????[/URL]
[URL=http://fylzs.blog.excite.it]??[/URL]
[URL=http://www.aaart.com.cn/cn/blog/more.asp?name=fylzs&id=1146]??[/URL]
[URL=http://fylzs.bokee.com/4278032.html]??[/URL]
[URL=http://www.dulishi.net/blog/more.asp?name=fylzs&id=833">http://www.dulishi.net/blog/more.asp?name=fylzs&id=833]??[/URL]
[URL=http://www.dulishi.net/blog/more.asp?name=fylzs1&id=965">http://www.dulishi.net/blog/more.asp?name=fylzs1&id=965]???/???/???/???/???[/URL]
[URL=http://www.zhaosheng001.com/ban.htm">http://www.zhaosheng001.com/ban.htm]??[/URL]
[URL=http://www.blog.edu.cn/user2/54609/archives/2006/1144460.shtml]??[/URL]
[URL=http://blog.qu-zhou.com/blog.asp?name=fylzs]????/????[/URL]
[URL=http://blog.shbbs.cn/more.asp?name=shlzs&id=6132">http://blog.shbbs.cn/more.asp?name=shlzs&id=6132]????/????[/URL]
[URL=http://blog.shbbs.cn/more.asp?name=shxym&id=6134">http://blog.shbbs.cn/more.asp?name=shxym&id=6134]???/???/???/???/???[/URL]
[URL=http://www.sz-wholesale.com/blog/user2/3994/archives/2006/6395.shtml]??????[/URL]

# wow gold 4/28/2008 2:32 AM yoyo

<a href=http://www.wowgoldlive.com>wow gold</a>
<a href=http://www.gil-ffxi.com>ffxi gil</a>
<a href=http://www.gil-ffxi.com>final">http://www.gil-ffxi.com>final fantasy xi gil</a>
<a href=http://www.runemall.com>Runescape">http://www.runemall.com>Runescape">http://www.runemall.com>Runescape">http://www.runemall.com>Runescape Money</a>
<a href=http://www.runemall.com>Runescape">http://www.runemall.com>Runescape">http://www.runemall.com>Runescape">http://www.runemall.com>Runescape Gold</a>
<a href=http://www.runemall.com>Runescape">http://www.runemall.com>Runescape">http://www.runemall.com>Runescape">http://www.runemall.com>Runescape Items</a>
<a href=http://www.runescapemoney-gold.com>Runescape">http://www.runescapemoney-gold.com>Runescape Money</a>
<a href=http://www.runescapemoney-gold.com>Runescape">http://www.runescapemoney-gold.com>Runescape Gold</a>
<a href=http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape Power leveling</a>
<a href=http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape Money</a>
<a href=http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape">http://www.runelevel.com>Runescape Gold</a>
<a href=http://www.rs2lostcity.com>Runescape gold</a>
<a href=http://www.rs2lostcity.com>runescape money</a>
<a href=http://www.runescape-money.net>Runescape Money</a>
<a href=http://www.rs2powerleveling.com>Runescape">http://www.rs2powerleveling.com>Runescape Money</a>
<a href=http://www.rs2powerleveling.com>Runescape">http://www.rs2powerleveling.com>Runescape Power leveling</a>
<a href=http://www.runeitem.com>Runescape Items</a>
<a href=http://www.runeitem.com>runescape money</a>
<a href=http://www.money-runescape.com>money runescape</a>
<a href=http://www.runescapedaddy.com>Runescape Gold</a>
<a href=http://www.ageofconanmall.com>age of conan gold</a>
<a href=http://www.archlord-golds.com>archlord gold</a>
<a href=http://www.anarchymoney.com>anarchy online credits</a>
<a href=http://www.cabal-alz.org>cabal alz</a>
<a href=http://www.city-of-heroes-sale.com>city of heroes influence</a>
<a href=http://www.city-of-heroes-sale.com>coh influence</a>
<a href=http://www.city-of-villains-sale.com>city of villains infamy</a>
<a href=http://www.city-of-villains-sale.com>cov infamy</a>
<a href=http://www.dofusvault.com>dofus kamas</a>
<a href=http://www.dofusvault.com>kamas dofus</a>
<a href=http://www.daoc-sale.com>daoc">http://www.daoc-sale.com>daoc gold</a>
<a href=http://www.daoc-sale.com>daoc">http://www.daoc-sale.com>daoc plat</a>
<a href=http://www.eve-online-isk.cn>eve">http://www.eve-online-isk.cn>eve isk</a>
<a href=http://www.eve-online-isk.cn>eve">http://www.eve-online-isk.cn>eve online isk</a>
<a href=http://www.eq2platgold.com>everquest 2 gold</a>
<a href=http://www.eq2platgold.com>eq2 plat</a>
<a href=http://www.gil-ffxi.com>final">http://www.gil-ffxi.com>final fantasy xi gil</a>
<a href=http://www.gaia-online-gold.com>gaia">http://www.gaia-online-gold.com>gaia online gold</a>
<a href=http://www.gaia-online-gold.com>gaia">http://www.gaia-online-gold.com>gaia gold</a>
<a href=http://www.gold-gw.com>guild wars gold</a>
<a href=http://www.gold-gw.com>gw gold</a>
<a href=http://www.hellgatemall.com>hellgate london palladium</a>
<a href=http://www.dofushq.com>dofus">http://www.dofushq.com>dofus kamas</a>
<a href=http://www.dofushq.com>dofus">http://www.dofushq.com>dofus gold</a>
<a href=http://www.dofusmax.com>dofus kamas</a>

<a href=http://www.forvault.com>eq2 plat</a>
<a href=http://www.forvault.com>EverQuest">http://www.forvault.com>EverQuest 2 gold</a>
<a href=http://www.forvault.com>EverQuest">http://www.forvault.com>EverQuest 2 plat</a>
<a href=http://www.forvault.com>buy eq2 gold</a>
<a href=http://www.forvault.com/world-of-warcraft-usa-gold-2.html>wow gold</a>
<a href=http://www.forvault.com/world-of-warcraft-usa-gold-2.html>buy wow gold</a>
<a href=http://www.forvault.com/world-of-warcraft-eur-gold-3.html>world of warcraft gold</a>
<a href=http://www.forvault.com/world-of-warcraft-eur-gold-3.html>wow power level</a>
<a href=http://www.forvault.com/maple-story-us-gold-20.html>Maple Story Mesos</a>
<a href=http://www.forvault.com/maple-story-us-gold-20.html>MapleStory mesos</a>
<a href=http://www.forvault.com/maple-story-eu-gold-173.html>Maple Story Meso</a>
<a href=http://www.forvault.com/the-lord-of-the-ring-us-gold-29.html>LOTRO">http://www.forvault.com/the-lord-of-the-ring-us-gold-29.html>LOTRO Gold</a>
<a href=http://www.forvault.com/the-lord-of-the-ring-us-gold-29.html>LOTR Gold</a>
<a href=http://www.forvault.com/the-lord-of-the-ring-eu-gold-1140.html>Lord of the Rings Online Gold</a>
<a href=http://www.forvault.com/lineage-i-gold-18.html>Lineage 1 adena</a>
<a href=http://www.forvault.com/lineage-i-gold-18.html>buy Lineage 1 adena</a>
<a href=http://www.forvault.com/lineage-i-gold-18.html>L1 adena</a>
<a href=http://www.forvault.com/final-fantasy-xi-gold-11.html>Final Fantasy XI gil</a>
<a href=http://www.forvault.com/final-fantasy-xi-gold-11.html>ffxi gil</a>
<a href=http://www.forvault.com/final-fantasy-xi-gold-11.html>buy cheap ffxi gil</a>
<a href=http://www.forvault.com/dofus-gold-10.html>dofus kamas</a>
<a href=http://www.forvault.com/dofus-gold-10.html>kamas dofus</a>

<a href=http://www.cheapmesos.com>Maple">http://www.cheapmesos.com>Maple Story Mesos</a>
<a href=http://www.cheapmesos.com>maplestory Mesos</a>
<a href=http://www.cheapmesos.com>Maple">http://www.cheapmesos.com>Maple Story meso</a>
<a href=http://www.buymsmesos.com>Maple">http://www.buymsmesos.com>Maple Story Mesos</a>
<a href=http://www.buymsmesos.com>maplestory Mesos</a>
<a href=http://www.buymsmesos.com>Maple">http://www.buymsmesos.com>Maple Story meso</a>
<a href=http://www.lieageadena.com>Lineage 1 adena</a>
<a href=http://www.lieageadena.com>buy Lineage 1 adena</a>
<a href=http://www.lieageadena.com>L1 adena</a>
<a href=http://www.lotrolive.com>LOTRO">http://www.lotrolive.com>LOTRO Gold</a>
<a href=http://www.lotrolive.com>LOTR Gold</a>
<a href=http://www.lotrolive.com>Lord of the Rings Online Gold</a>
<a href=http://www.granadoespadavis.com>Granado">http://www.granadoespadavis.com>Granado Espada Vis</a>
<a href=http://www.granadoespadavis.com>Granado">http://www.granadoespadavis.com>Granado Espada gold</a>
<a href=http://www.granadoespadavis.com>buy GE vis</a>
<a href=http://www.granadoespadavis.com>cheap GE gold</a>

# re: Express Yourself with Managed Database Types 7/29/2008 11:25 PM cheap wow gold

In world of warcraft (the most interesting game),farming for <a href="http://www.wowspa.com/wow_gold.php">wow gold</a> isn't easy, but you can <a href="http://www.wowspa.com/">buy wow gold</a> on sale. We have revolutionized the exchange of <a href="http://www.wowspa.com/">cheap wow gold</a> with fast delivery.

Title  
Name  
Url
Security Word (prevent comment spam)
Protected by FormShield
Comments