Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Cannot create a T-Script (.sql) for my database

Author  Topic 

ankrih
Starting Member

1 Post

Posted - 2009-12-12 : 19:37:13
I tried to create an script of my database using Database Publishing Wizard and received an error that says:


"User-defined function fn_diagramobjects has the execution context ExecuteAsUser. Scripting user-defined function with the execution context ExecuteAsUser is not supported.(SqlPubWiz)"


My database is MS SQL Server 2005 Express Edition and I'm currently working on ASP.Net 2.0 project using MS Visual Web Developer 2005.


Is there anyone who can help me solve this problem?

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-12-12 : 19:57:44
You can try to create your function in a normal query window.
Sorry but more help I can't give..


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -