473,750 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CREATE DATABASE permission denied in database 'master'

Hi,

I use asp.net 2.0 and VWD (and sqlserver 2005 express) on windows 2000 sp4..
Starting from VWD, it works.
Starting from the browser, the code below produces this error:
CREATE DATABASE permission denied in database 'master'.
An attempt to attach an auto-named database for file C:\Documents and
Settings\Admini strator.PEN1800 \My
Documents\testf romc\App_Data\W roxUnited.mdf failed. A database with the same
name exists, or specified file cannot be opened, or it is located on UNC
share.
<form id="form1" runat="server">
<div>
<asp:SqlDataSou rce id="SqlDataSour ce1" Runat="server"
ProviderName="< %$ ConnectionStrin gs:WroxUnited.P roviderName %>"
ConnectionStrin g="<%$ ConnectionStrin gs:WroxUnited %>"
SelectCommand=" SELECT * FROM News">

</asp:SqlDataSour ce>

<asp:DataList ID="DataList1" Runat="server"
DataSourceID="S qlDataSource1"
RepeatDirection ="Vertical" RepeatLayout="F low" >
<ItemTemplate >
<div class="newsItem ">
<span class="newsTitl e"><%#Eval("Tit le")%></span>
<span class="newsDate "><%#Eval("Date ToShow", "{0:dd MMM
yyyy}")%></span>
</div>
<span class="newsCont ent">
<asp:Image style="float:ri ght" ID="NewsImage"
Runat="server"
ImageUrl='<%# Eval("PictureUR L", "~/NewsImages/{0}")
%>' />
<%#Eval("Descri ption") %>
</span>
</ItemTemplate>
</asp:DataList>

</div>
</form>
The app_data directory contains wroxunited.mdf. and has the right
permissions (IWAM_myserver has full control)

What's the problem here?
Tnaks for help
Casper
Apr 24 '06 #1
0 2587

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3008
by: Karim | last post by:
I installed SQL Server, created a database for a sql server user and noticed that the user has access to the master database even though the checkbox for master database for the user login is not checked. They can list sysusers and find out all the names. They can list all the databases as well by using sp_helpdb. Is this normal behavior? If I check db_denydatareader and db_denydatawriter in the master database for that user, will that...
1
4329
by: Mark E. Hamilton | last post by:
Sorry, I probably should have re-stated the problem: We're using Python 2.3.5 on AIX 5.2, and get the follow error messages from some of our code. I haven't yet tracked down exactly where it's coming from: sem_trywait: Permission denied sem_wait: Permission denied sem_post: Permission denied
7
2715
by: Ken | last post by:
Hi guys, this is a curios thing, everything was working fine then I had to restore my development machine( VS.NET, SQL server etc) now I'm receiveing this error from my asp aplication only in RELEASE mode, but everything works good in DEBUG mode, this is happening when I run my app against my local SQLDB and against a hosting DB. EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'.
3
2267
by: Jon | last post by:
Hi, I have tried to create a new DB on the SQL Server but unsucessful.. I have looked at the microsoft "How to create SQL Database in vb.net", but it doesn't seems to solve my problem. below is the connection string that i used to create, but i get error saying login has fails. I am sure the login works because i can read out data from the SQL server no problem...
8
2579
by: Paw | last post by:
Greetings. I use asp. what I need is is when a visitor comes to the site, I need it to check the host name. if "www.hometowndigest.com" is the host, then check a folder named "something" and if the folder does not exsist, create folder "www" and then copy folder "temp" and its contents. If the folder "www" is there, look in it, check to see if the files in folder "temp" are in there, if not, copy the files that are not from folder...
0
2600
by: ravi.govindaraju | last post by:
Hi all, I am new to asp.net and sqlserver. I just installed vs2005 and sqlserverexpress edition on my home pc on which I have full admin rights. I wrote a program that uses the built in log in functions in asp .net. It worked fine when I ran it. However when I put it into my IIS directory and try to access it from another pc I get this error: CREATE DATABASE permission denied in database 'master'. An attempt to attach an auto-named...
0
3206
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to the destination table(DB2). I get the following error when the package is executed: The execution of the following DTS Package succeeded: Package Name: PEX2-CopyQualDatatoDB2-UAT Package Description: (null) Package ID:...
0
3405
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content).
0
1219
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content). set WshShell = server.createobject("wscript.shell")
0
8838
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9396
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9339
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6804
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4713
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3322
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.