Hi!
I have a webpart where must be possible to create a content database on a button click event.
I run the code inside a RunWithPrivilegies block and the App pool user account is configured to create databases in SQL Server. If I execute the code in a console application the database is successfully created, but if I run it through the webpart an "access denied" exception is resulted (it is the same code).
Any tips for what must be going wrong?
Thanks