Can't Find Script SITE OWNERS - HELP!

Jun 29, 2004

Hello,

I once bookmarked an EXCELLENT script, using SQL-DMO to monitor disk space on this site. I unfortunately didn't cut and paste it, and when I went back to it, the link comes up blank.

Is there anyway to reactivate it? Or if anyone has it, please, PLEASE, post it! It was better than xp_fixeddrives, and I need it asap on a project.

Here is the link under SCRIPTS on this site, DISK SPACE ALERT:

http://www.databasejournal.com/scripts/article.php/1470811

Thank you much!

View 3 Replies


ADVERTISEMENT

Property Owners

May 7, 2008

I'm trying to see the properties of a database and I'm getting the following error, even when trying to connect as sa.

Property Owner is not available for Database '[EPro]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.

any ideas? thanks in advance

View 1 Replies View Related

Object Owners.

Jul 23, 2005

It has been suggested by our DBA group that all developers whenworking on objects within a database create objects not under the DBOowner but under individual owners eginstead ofdbo.sp_getUsernamethe stored procedure would besmithJ.sp_getUserNameI have never seen this used before in sequel development although Ibelieve it is a method used by other database ingress/oracle ?I have never seen any one do this and can't see any benefit accept inmaking the developers life more complex as the stored procedures,tables etc would need to be renamed to belong to the dbo group oncethey were moved onto our production server. In addtion code callingthem would need to be modified after testing as we prefix our .Netcalling with the dbo prefixeg command.CommandText = "dbo.[usp_UpdateSavedSearchId]"Has any one followed this owner convention and are their any pros andcon's with it.

View 2 Replies View Related

Multiple Database Owners

Sep 5, 2007

Hi Forum,
Can a DataBase have more than one DBOwner?
If so, is there a query to return the list of DBOwners(dbo)?
Regards,
Naveen

View 1 Replies View Related

Changing Report Owners

Mar 25, 2008

We recently had an issue where reports deployed under an account that was modified would no longer run subscriptions without deleting the reports and redeploying under a different account.

Is there a way to change the owner of all reports on the server? scripting or web service tips would be fine.

Thanks

View 3 Replies View Related

Problem With Owners. Urgent Help Needed

Apr 28, 2006

Hi everybody!
I create my database by restore from server’s backup. Every object there is owned by dbo77 user. I want to execute stored procedure in following way: exec sp1 and not – exec dbo77.sp1, when I connect with the same user. I create new Login – dbo77 in Securities folder of my server (LOCAL). And when I connect by this user to that database, I still can’t use syntax: exec sp1.
An error says that my login dbo77 does not have an associated user name. When I try to mark that database in dbo77 ->property->Database_Access it writes an error that dbo77 already exists.
How can I make this db work with syntax exec sp1, if I login with same login name as the owner of sp1?

View 11 Replies View Related

How To Sort This Mess Out (owners And Permissions)

Feb 6, 2007

Hi,

I've been asked to sort out a mess as follows:

two dbs on one server...

first db has a user called 'bob'.. that's the login on the server and also the login name on the db in question.

this db has several SP's owned by 'bob' which need to copied to the second db.



Here's where the problem starts.

Somehow, this second db has the standard users it needs, however the db User has a LoginName of 'bob'..

So basically if I try and create a user of 'bob' on the second server which will then allow me to copy these SP's across it says it already exists.. but if I just go ahead and try and copy the SP's it says the User does not exist.

Just to clarify what I mean..

I go into the 2nd db using EM.

go to users:

the visual that appears shows me several users in order with their

Name | Login Name | DB Access



the dbo user is set as:

dbo | bob | 2nd db





basically what I need (I think) is for that login Name to be removed from the dbo user and applied to specific user called bob...



how do I do that?

View 6 Replies View Related

Transact SQL :: How To Get All Databases Names With Its Owners In Server Instance

Jul 23, 2013

I want to get all databases with it's owner Name ,I think I need to join following script result with sys.databases or sys.sysdatabases.I want a result set  like this:

DatabaseName    db_Owner

master                  sa
pubs                     valia
pubs                     eli
pubs                    maryam
AdentureWork      eli

this script get all owners of the database that is in use:

Use DatabaseName
GO

SELECT  members.name MemberName, roles.name RoleName,roles.type_desc,members.type_desc

View 10 Replies View Related

Anything That You Find In SQL Object Scripts, You Can Also Find Them In System Tables?

Jul 26, 2005

I tried all the INFORMATION_SCHEMA on SQL 2000 andI see that the system tables hold pretty much everything I aminterested in: Objects names (columns, functions, stored procedures, ...)stored procedure statements in syscomments table.My questions are:If you script your whole database everything you end up havingin the text sql scripts, are those also located in the system tables?That means i could simply read those system tables to get any informationI would normally look in the sql script files?Can i quickly generate a SQL statement of all the indexes on my database?I read many places that Microsoftsays not to modify anything in those tables and not query them since theirstructure might change in future SQL versions.Is it safe to use and rely the system tables?I basically want to do at least fetching of information i want from thesystem tables rather than the SQL script files.I also want to know if it's pretty safe for me to make changes in thesetables.Can i rename an object name for example an Index name, a Stored Procedurename?Can i add a new column in the syscolumns table for a user table?Thank you

View 4 Replies View Related

Problem: Find All Table Names In Db And Then Find

Jun 12, 2008

I have 3 database say
db1
db2
db3

I need to setup a script to read all the table names in the database above and then query the database to find the list of Stored Procedure using each table.(SQL Server)

View 5 Replies View Related

Permissions Via ASP.NET Web Site

Jan 31, 2007

I have a website with membership system.  I've been through a lot implementing the site and I think I'm on the verge of full implementation.  I can't get my registration page or my admin page to add, edit or delete users.  I'm assuming that asp does not have proper permissions on SQL to do such.
I'm running the site on a provider that has a SQL 2000 server.  I access the database through VS2005 and  SQL Server Management Studio Express.
Is there a tutorial out there that could help a newbie to SQL understand how to check and correct my permissions issue (or find out that I'm haveing a different issue entirely.
-Bill

View 3 Replies View Related

Using ASPNETDB For All Site!

May 26, 2008

Hi all,
I`m a .NET desktop-app developer and i`m new to ASP.NET and web development, i start developping a web application with SQL Server database and i want to know if i can put all my tables in ASPNETDB?
is any restriction with that?
Regards

View 3 Replies View Related

SQL 7 And Site Serer 3.0

Feb 3, 1999

Hello,

This may be the wrong place to add this but....

I am attempting to setup a membership instance for Site Server 3.0 using SQL 7 and try as I might, Site Server Membership will not see the server at all. I can do anything else I want to to that server and it works great (commerce, etc.). It all works OK under SQL 6.5 SP3 or later, just not SQL 7.

Does anyone have any thoughts or insights?

Thanks
John

View 1 Replies View Related

Get A File To A FTP Site T-sql

Oct 6, 2003

I have to download a file from a ftp site using either SQL/T-Sql or ActiveX script. I'm using SQL Server 2000. Please help

Thanks in advance

View 2 Replies View Related

SQL Serverback Up To FTP Site

Oct 13, 2004

Is there a good back up software that willl back up by SQL server to a FTP site. All of them I have seen either backs up to a disk or tape.

Thanks

Jay

View 2 Replies View Related

Does Anybody Look At The Jobs On This Site

Nov 17, 2004

Poeple are calling me for resume 5 years old. They need DBA's all over the country. Please pass it on to look at the job opportunities on this site.

View 2 Replies View Related

Deploying A Web Site

Jun 14, 2006

I am having problems deploying my web site from my machine to the hosting server.

Does any know of any special configurations that have to be perfomed before copying your web site to a server? All I have is a login in page that loads another page. The login page is launching okay but it does not load the second page.

View 2 Replies View Related

Should My Site And Sql Be On The Same Server

Apr 11, 2007

Hello,

I am upgrading my site from a VPS with a shared SQL server to a dedicated server and my own sql server 2003 standard. My site is an ecommerce site with about 10,000 users a month with between 10-20 people on the site at one time.

It is better to host both my site and the SQL server on the same system or is it better to have them on separate systems? if they are on the same system is 1 gig of ram enough? is will there really be much better performance with 2 gigs?

Any information on the best way to do this would be greatly appreciated!!!

Best regards,

~ Moe

View 2 Replies View Related

Phishing Web Site

Dec 17, 2007

How can a genuine Web Outlook url be classified by filtering software as a known phishing web site?

Thanks.

View 1 Replies View Related

Accessing FTP Site

May 15, 2008



Hi,

I am trying access a FTP site present from a different server (remote work station). I am getting "The page cannot be displayed" error. I am able to access from my local machine.

Please help me solving this.

Regards,
Sriram.

View 3 Replies View Related

Backup To FTP Site

Feb 7, 2006

I want to backup my database to an ftp site. How can I do that with SQL Server 2005? Thanks.

View 1 Replies View Related

Getting Files From An FTP Site

Apr 23, 2008

Hello:

I have setup a Flat File connection manager and set the location of the file as such:

ftp://10.1.1.1/FileName.txt

When I enter this URL into Start | Run on my machine it opens the txt file fine. Working in BIDS, when I create the flat file connection manager, it doesn't give me a message saying this file does not exist, indicating it is correct. When I create a flat file Source that uses the connection manager, the preview comes up blank. When I try to execute the step it gives an error saying it "cannot open datafile ftp://10.1.1.1/FileName.txt"

Any idea what could be going on?


Thanks,
Kayda

View 5 Replies View Related

Site Settings

Oct 16, 2006



I need to place some site settings in my Report Manger.But in my Report Manager there is no Site Settings Icon.Is this installation problem please help me.

View 3 Replies View Related

Using Encryption Via An Asp Site. How Is It Done

Feb 18, 2007

ive been playing around with encryption, just encrypting a column with a symmetric key, and having that symmetric key encrypted with a cert, and all that , and it works well through the SSMS, but i want to know how that will be used if im using sql server as a back end database for an asp web site, or an application. does the sql server have to be protected with an SSL cert, and once a user has logged in, what would the steps be to view encrypted data?

View 6 Replies View Related

Web Site Admin Tool

Aug 24, 2006

Hi!
My problem is...i gut this errormessage in Web Site Administration Tool:
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: The database filename can not contain the following 3 characters: [ (open square brace), ] (close square brace) and ' (single quote)
 
I recieved it after i try'ed to change the default Providers and use another DB then default. Now i want to go back to how it was from start, if i create a user and role - i want VS 2005 to create a SQL Express DB for me. Can anyone help me? I have even tryed to reinstalled VS 2005 but it didn't help.
/Bamsen

View 1 Replies View Related

Web Site Too Slow Search

Dec 21, 2006

how can I scale the full text search system on my web site?

View 1 Replies View Related

Problem With My WebParts Site(s)

Mar 8, 2007

hi alliam trying to build an asp.net webpart site, i donot want to use SQL Server Express for it, rathar than that i planned to use an sql server 2000 database , so far after doing this my pages is getting me this errorAn error has occurred while establishing a connection to the server.
 When connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified)where i surprise because i tell it in web.config to use my profile rathar than this default one, can any one tell me the secret behind thatRegards,  

View 2 Replies View Related

Updating Site/Database Once It Is Already In Use

Mar 28, 2007

I am wondering how some of you update your database once it is already been in use.  So take for example you have a few tables and users can enter data into the site.  Now suppose you either add tables to the db or you add fields to an existing table.  I am using sql express 2005 and just want to copy the db over with the copy website but it would overwrite any data users entered.Is there any easy solutions or suggestions for this.Thanks 

View 1 Replies View Related

Cannot Connect From Published Site To My DB

Apr 17, 2007

I'm getting the following error:An error has occurred while establishing a connection
to the server. When connecting to SQL Server 2005, this failure may be
caused by the fact that under the default settings SQL Server does not
allow remote connections. (provider: SQL Network Interfaces, error: 26
- Error Locating Server/Instance Specified) Here's the setup: I have a website I've published on my server, but I haven't moved the SQL DB over to the server. For some reason the testing server can't connect with sql express on my computer. I have named pipes, tcp/ip both on, connections string is "Data Source=AMBA-176SQLEXPRESS;Initial Catalog=pubs;Integrated Security=SSPI"When I'm simply testing the site locally in visual studio it can connect just fine. 

View 1 Replies View Related

Deploying The Personal Web Site

May 15, 2007

Rank newbie to ASP.NET here, so I'm totally "at sea" as to finding a "cookbook" for "how to deploy" a slightly customized version of the "Personal Web Site" project.
My hosting service has an ASP.NET database installed. I can verify from their "SQL Server Web Admin" package that there are 11 "aspnet_" table names present. I have run the "personal-add.sql" script which has defined two (empty) tables -- "Albums" and "Photos".
CONFUSION 1: The hosting service includes a Help fille for "Connecting to a SQL Server Database Using ASP.NET 2.0" which details the way to add 'connectionStrings' for "Personal" and "LocalSqlServer". I have made a "remote" copy of the "web.config" file and supplied the ostensively correct info for my Server, Database, User ID and Password. QUESTION: Why are there TWO names -- "Personal" and "LocalSqlServer"? Since all of the tables are contained now within the ASP.NET database are the details for both of these to be the same?
CONFUSION 2: Error handling. I'm getting "An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine." Huh!? That page then goes on to mention "<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>". I've not a clue as to what "mycustompage.htm" should contain in order to field the error[s] erupting.
POINTERS, anyone? Have I missed some basic part of the manual[s] someplace? I was sort of hoping that there would be a simple "cookbook" around someplace for how to "deploy" a relatively tested group of pages (application) in a relatively idiot-proof manner. I'm not finding it, so ANY pointers, hints, URLs will be greatly appreciated.
Color me "confused in Kauai" ... :)  KevInKauai

View 2 Replies View Related

Web Site Admin Question

May 20, 2007

Hello!
 
I'm interested in using the NEW security that 2.0 has.  I had a table that has users, passwords stuff like that.  But I wanted to try this new option. I ran "aspnet_regsql.exe" wizard, which updated the schema on my db.  But when I go to Web site admin, and click on security tab, it states unable to connect to database. I have no database in my AppData folder.  Do I need to just make my own connection with a data source, like I have done for everything elses, or is there a diffrent way?
 
Rudy

View 1 Replies View Related

Updating Live Site

Jun 29, 2007

Hi:I have a site that is getting close to production.  I am using SQL Server 2005 express and VWD express.  Up to this point, I have been updating the live server by deleting the file and copying the MDF file from my development machine in its place.  This clearly won't work once the site goes live - but I still expect to be doing a lot of upgrading of stored procedures etc.  Can someone point me to a resource or make any suggestions that would help me in this regard?Thanks,Roger Swetnam 

View 3 Replies View Related

My Web Site Cannot Connect With The SQL Database

Jan 15, 2008

I am developing a web site with asp.net 2.0 and c#, using Visual Studio 2005 and Microsoft SQL Server 2005 ( I am still learning about these technologies and languages ).
I transferred my web site files to a new computer.
I created a empty SQL database called "SiteData.mdf",  I stopped the SQL server and then I replaced this database with a previous one with the same name and already populated with data.
I used this maneuver in order to avoid having to insert all data again.
The web site works fine when running inside Visual Studio, however when I try to run it in its published format it gives this error message:
Server Error in '/MA' Application.
Cannot open database "SiteData" requested by the login. The login failed.Login failed for user 'CENTAURUSASPNET'.
I also observed that inside the SQL Server Management Studio, in the database properties, it shows "ETHERASPNET" as User or Roles ( however "ETHERASPNET" was created using the old computer's name [ or should I say domain ? ]) but the permissions list correctly displays the new name "CENTAURUSASPNET".
I think that I, probably, should create a new user using the name "CENTAURUSASPNET" because it would use the name of the new computer ( or domain ) and then I should delete the old user name. Actually I tried to do that but I get the message "An object named ‘CENTAURUSASPNET' cannot be found".
So,
1) What should I do to get the database being connected with the published web site ( note: I am publishing it in my own computer for awhile ) ?
2) How do I create the new user name "CENTAURUSASPNET" ?
3) I also would like to know why the name of the database in the Server Explorer panel of VS appears as  "centaurus.SiteData.dbo" -while- inside the Object Explorer panel of the SQL Server Management Studio it appears simply as "SiteData" ?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved