HR System Database

Mar 7, 2007

hi every one:

i want to build a HR system application ,any ideas how using sql server and asp.net

View 1 Replies


ADVERTISEMENT

MSSQL 2005 User Database Now Shows Up In System Database Folder

Dec 10, 2007

While attempting to set up sql replication in MSSQL 2005 one of my user databases is now in the systems database folder. I need to move it back to the user databases folder. Any help would be greatly appreciated.

View 16 Replies View Related

System.Security.SecurityException: Request For The Permission Of Type 'System.Data.SqlClient.SqlClientPermission, System.Data

Aug 21, 2006

I have created a windows library control that accesses a local sql database

I tried the following strings for connecting

Dim connectionString As String = "Data Source=localhostSQLEXPRESS;Initial Catalog=TimeSheet;Trusted_Connection = true"

Dim connectionString As String = "Data Source=localhostSQLEXPRESS;Initial Catalog=TimeSheet;Integrated Security=SSPI"



I am not running the webpage in a virtual directory but in

C:Inetpubwwwrootusercontrol

and I have a simple index.html that tries to read from an sql db but throws

the error

System.Security.SecurityException: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.PermissionSet.Demand()
at System.Data.Common.DbConnectionOptions.DemandPermission()
at System.Data.SqlClient.SqlConnection.PermissionDemand()
at System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection outerConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection,

etc etc

The action that failed was:
Demand
The type of the first permission that failed was:
System.Data.SqlClient.SqlClientPermission
The Zone of the assembly that failed was:
Trusted


I looked into the .net config utility but it says unrestricted and I tried adding it to the trusted internet zones in ie options security

I think that a windows form connecting to a sql database running in a webpage should be simple

to configure what am I missing?

View 28 Replies View Related

System Database

Feb 22, 2008

By, system database are installed in C: drive and it is Production Server now. Is there a way to move system database to D: drive without affecting Server?

View 5 Replies View Related

System Database

Feb 18, 2008



hi all,
i realy need quick help. i have windows 2003 enterprise edition 64 bit and i have 32bit SQL server 2005 32 bit. Recently i faced many troubles because of 32 bit and 64 bit so i have decided to change my SQL server 2005 to be 64 bit. I backup everthing in the server and i formatted my windows to have clear installation and i installed SQL 2005 server 64 bit. I restored everthing excpet Master database i couldn't i went to msdn site i got there some technics to move Master databes but it's not working with it's just worked if installed sql 32bit so i returned back to 32 bit. Now i want to format and install my Windows 2003 64bit and i want to install Sql server 64 bit and restore all the databases and system databases as it was before format.

View 3 Replies View Related

Database Or File System?

Mar 11, 2008

Hello all,
 I've been asked to build a .net web application, where users will be able to upload, search and view images. There will probably be about 2000 - 10000 users who will upload and view photos each day.
Each image that is uploaded, is saved as a thumbnail, a small image, and the original. So considering the possible amount of data being uploaded, stored, searched for and viewed, whats the best way to store the images? Database or File system? Whats would be the fastest option for a web application? Should I even be looking at a different solution?
cheers!
Matty

View 2 Replies View Related

Moving System Database

Jan 26, 2005

What is the correct order:

Should it be:

Master
Model
MSDB
Tempdb

I understand that the model should be before the MSDB database but as for master and tempdb I don't know the order.

Thanks

Lystra

View 10 Replies View Related

Developing A Database System

Jul 16, 2013

company is developing a database system containing information about cities, towns, and villages in the country. The number of cities, towns, and villages are in thousands and the database program should allow users to search a particular place by name. Users should also be able to search all places that match a particular value or range of values for attributes such as location or population size. This particular feature is known as a range query.

If the database is meant to support range queries that can return many cities that match the query specification, the entire operation may be allowed to take longer. To meet this requirement, it will be necessary to support operations that process range queries efficiently by processing all cities in the range as a batch, rather than as a series of operations on individual cities.Different indexing methods can be used to perform this operation. What will be your choice if:

a) database is created once and has no change over a period of time

b) database is created once and database is changed over a period of time

View 2 Replies View Related

Do We Need To Backup System Database?

Jan 21, 2008

I found out our system backup system database every week, which occupy a lot of space. Is it necessary?

Thank you.

View 2 Replies View Related

System Resource Database

Jun 29, 2007

I have a 2005 server that is upgraded to SP2 and the error log indicates it is version 9.00.3042.00. However, the system resource database for the same server is reporting as version 9.00.2047.00. From another post I have found out the some replication problems I am having are due to this discrepancy.



I have reapplied SP2 hoping it would change the resource db version, but it did not. Is there another way I can upgrade the resource db without re-installing SQL from scratch?



Thanks!

View 4 Replies View Related

How To Handle System Database

Apr 29, 2015

I have assignment to do inplace upgrade from sql 2012 to 2014.for user database either i can restore or attach and change compatbility level. How to handled system database, my main concern is exiting job, if i restore sql 2012 msdb database, will this bring all existing jobs or do i need to script jobs before uninstall? also need to know, how to handle replication.  The server, i am going to upgrade is replicating data to different server and also act as subscriber ,

View 3 Replies View Related

System Database Space

May 20, 2008

I want to use RAID 1 for System database with sQL Server 2005 64 bit.

Not including TEMPDB.

Is there any point(s) or fact that i should be aware of before I decide on space requirements for system databases(not including TEMPDB). and what should be recommended space keeping in mind the future growth for system databases.

or any factor(s) that can trigger size increase in them.....!

Many Thanks,

View 4 Replies View Related

Question About Master System Database

Mar 28, 2007

Hi, i use sql server 2005 express where i created several databases. When opening Management Studio, i can see, besides my databases, also Master, Model etc .. which manage the databases. Now i also use MDF files which are disseminated on the same server. I see that for one given user, there is also a Master, Model etc ... in c:document and settings hat user .....
My question is: are those local Master, Model etc ... related with the central Master, Model ... of the central database system or are they independant? What if i delete the MDF files and its related system files in c:.doc and settings.. ?
Thanks

View 2 Replies View Related

Tagging System Database Design

Apr 20, 2007

Hi Guys,I've been thinking about a normalised schema for a folksonomy syetem for my site. I'm fairly sure this is a good way to do things, but I have a coupld of questions... firstly, here's a quick low down on planned schema: Usersuser_idetc.Itemsitem_iditem_descetc.Tagstag_idtag_textItemTagstag_iduser_iditem_id Okay, now here's the thing. Obviously this is quite a normalised schema. I can retrieve all of an item's / user's tags easily. What I'd need to be able to do is return the list of tags and count for each item (perhaps just an item at a time).I can't really see any problems with this right now. But what happens if I have millions or Billions of rows. What's the proper way to retrieve tag counts for a huuuge set of data. I don't neceserrily need to implement something, but I'd quite like to know how one would get around the performance aspect of such a huge table. Ideas are welcomed greatly..Thanks. 

View 3 Replies View Related

How To Get The System Date And Time Into Database

Jun 3, 2007

  Hi, I m using ASP.NET with C#. I m having one field which should store the datetime of the system. The datetime should be automatically stored for that entry when the user submits that record on the click event.Then it should display the date time on the gridview from database.I m using sqlserver 2005 and i have created the stored procedure for the insert command.This
is the sample sp what should be written here to insert system date time
automatically when the user submits the asp.net form ?Is there any code for writing directly in stored procedure or asp.net coding page...  ALTER PROCEDURE [dbo].[StoredProcedure1]@salesid INT OUTPUT,@salesdate datetime,@customername varchar(20)ASBEGINSET NOCOUNT ONBEGIN INSERT INTO sales (customername) VALUES (@customername) SELECT @companyid = SCOPE_IDENTITY()END SET NOCOUNT OFFEND Thanxs in advance...  

View 2 Replies View Related

System Database Log And Data On Different Devices

Sep 17, 2001

I am new to SS7. We are planning to rearrange our system databases so that the logs are on one drive
and the data files are on a different drive. I found a really good white paper on this but just want to
verify that there is not a problem with doing this. In sybase there were some restrictions on doing this.
Any info you have would be appreciated.

View 3 Replies View Related

Moving System Database Files

Sep 19, 2002

Is this possible? If so, how is it done?

View 1 Replies View Related

System Catalog In Database '1' Error Msg

Oct 30, 1998

I got the following error msg last night, in fact running anything in a query window. My solution was to stop and restart the SQLServer, but not ideal in a production environment. Anyone know what the cause/solution could be?

TIA, Neil

sg 910, Level 17, State 1
Could not allocate a new object descriptor for required system catalog in database '1'. Another database must be closed or objects in another database dropped in order to open this database.
Msg 2812, Level 16, State 4
Stored procedure 'sp_who' not found.

View 1 Replies View Related

Importing From Access With System Database

Jul 13, 2004

I am trying to import tables from my access database.

1st trying simple table, In ent mgr i right clicked the db folder
all task
import data
data source : Microsoft access
file name : c:Data Management SystemDMS.mdb
User name : mike (same used for lonin in access)
password : (same used for lonin in access)

advanced button:
jet Oledb: System database c:Data Management SystemSecured1.mdw

windows authentication
server (local)
database New -> dms

copy tables

now i see the items in my access database so i am guessing every step so far was correct

hey it worked !

ha,, hope u dont mind if i leave this here for anyone else, i ansd my own ?

View 2 Replies View Related

System Process Database Context

Feb 27, 2007

SImon writes "I'm unable to take a user database offline because there are system process using it and I can't identify or kill the system processes"

View 1 Replies View Related

Database Design For Email System

Nov 13, 2007

Hello to all out there

I want to design a database for an Email system.

Two options are coming to my mind

1) Whether I will go with a separate table for each user which will contain in each field information like MSGid, recipient, sender, subject, message.

2) or I will maintain the information in a single table for each user.

I am not able to comprehend the pros and cons of each solution above.

Please help.

View 3 Replies View Related

Change Owner On System Database

Nov 29, 2007

Hi,

We have a situation where somehow several of the system databases are owned by an ID of a person no longer with the organization. This triggers a few questions: If I disable the user (it's a SQL account, not domain), will that cause any issue? What is the correct way to change the user of a system database?

View 2 Replies View Related

EIX000: (-329) Database Not Found Or No System Per

Mar 31, 2008

I am creating a linked sever from Informix server to SQL server 2005.
And it is giving me the error of database not found or no system permission error. While my DSN is working find and test connection successed what could be the reason ?

can any body help. below is the error


Cannot initialize the data source object of OLE DB provider "Ifxoledbc" for linked server "LIBRARY".
OLE DB provider "Ifxoledbc" for linked server "LIBRARY" returned message "EIX000: (-329) Database not found or no system permission.". (Microsoft SQL Server, Error: 7303)

View 7 Replies View Related

What Is The Use Of Resource And Distribution System Database

Dec 10, 2007

Hi All,Can anyone explain me, why we have Resource and Distribution SystemDatabase in SQL Server 2005. Whether they were also available inprevious versions also.Thanks in Advance.Regards,Om

View 1 Replies View Related

Database Mirroring And Scala ERP System

Mar 19, 2007

Hi

We are using in our company an ERP system called iScala.

This software is using SQL server as DBMS.

We would like to use the SQL mirroring feature from SQL 2005.

The software is using the SQL server instance name to connect to databases and when the Main SQL server fails the application can't connect to the Mirror instance.

Unfortunatelly we can't change the connection string (the software is provided by another company).

Do you have a solution?

Thanks













View 7 Replies View Related

Insert System Time In Database

Nov 22, 2006

Dear Friends,

I want to insert in my database, in a table field the system time value on that moment.

For example: I want to create the follow stored procedure:



CREATE PROCEDURE TEST

@ID INT

AS

UPDATE TABLE1 SET MyFieldTime=@MySystemTime WHERE MyFieldID=@ID



I want to save in my database th system time...

Thanks!!

View 4 Replies View Related

SQL 2005 System Database Recovery?

Oct 17, 2007

While working with SQL server 2005, as there is new resouce database which is hidden read only. According to books online we should be backing up that database as NTFS file backup (i.e. .exe file). In what type of secnario that we need Resource database required for SQL 2005 system recovery? Do we really need to backup this file and how often?

View 1 Replies View Related

Cannot Remove Admin From System Database

Oct 27, 2015

We are using server 2012 and SQL express.I am trying to omplement  a new software called Ifineo and at deployment is dumps the following error (unfortunately French):

2015-10-27 14:36:57.8983|INFO|InsideSQLAssistant.Assistant|Connecteur Sage 100 Gesttion Commerciale v20
2015-10-27 14:37:18.3024|ERROR|InsideSQLAssistant.Assistant|Error (1807): Impossible d'obtenir un verrou exclusif sur la base de données 'model'. Recommencez l'opération ultérieurement.
Échec de CREATE DATABASE. Certains noms de fichiers de la liste n'ont pas pu être créés. Voir les erreurs associées.

[code]...

Now I did try to set it in sing user or multiple user and the following command to kill some parts of it:

select 'KILL ', spid
from master..sysprocesses
where dbid=db_id('Votre Base')

But my admin still remains connected to the DB(I have even disabled it but still the same)there seem to be to persons connected to the db the admin and my account, found that via exec sp_who

View 2 Replies View Related

Database Reporting Time Differently Than System

Oct 12, 2004

Hiya,

I have a database on a SQL Server 2000 (sp3a) installation. For some reason it's reporting time that is 7 hours ahead of the system time.

The application is on one server the DB is on a shared production server. The app server and the DB server are reporting the same system time and are using a network time server. All the other db's on the shared production db server are reporting time correctly.

My questions:

Is there a T-SQL query to use to see what the time/timezone is for that database?
Is there a T-SQL query I can use to set the db time (not the system time)?
Anyone have any other suggestions as to what could be wrong?

Thanks in advance for any help!
'chele

View 2 Replies View Related

Is It Neccessary To Restore System Database For New Server?

Dec 14, 2007

Hello, everyone:

I am going to remove a database server (SQL Server 2000 on Win 2003) to a brand new server, same as SQL Server 2000 on Win 2003. Do I need to restore system database(master, msdb, model and tempDB) to the new server? My understanding I don't have to because I will transfer DTSs and login user by DTS to new server, and run scripts to recreate jobs on new server. Is it correct?

Thanks

ZYT

View 7 Replies View Related

DB Engine :: System Database Files Location

May 16, 2015

I have C,D,E drives on server. Data files will be on D and Log on E. My question is what is best practice for data and log files for system databases during sql server installation selection? Should they be on C drive along with SQL Server installation or D & E? If they should not be on C then what is the reason and what is benefit to move them on other drives.

View 9 Replies View Related

System Database Move - Error 17058

Feb 11, 2008

Hi!
I'm preparing movement of system database (SS2005) on my own test machine.
But already here got a problem.
I follow the instructions given in
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/72bb62ee-9602-4f71-be51-c466c1670878.htm

I moved 4 files (master and mssqlsystemresource), but got:
C:Documents and Settingsdj>NET START MSSQLSERVER /f /T3608
The SQL Server (MSSQLSERVER) service is starting..
The SQL Server (MSSQLSERVER) service could not be started.
A service specific error occurred: 17058.
More help is available by typing NET HELPMSG 3547.

What is the problem? Or how to find it?

Thanks

View 3 Replies View Related

Counting Records In All Non System Database Table

Jun 9, 2007

is there a way to get a count of records for each table in a database by table in one query? I can query each table using a count, but this is pretty tedious when you have 50+ tables. Anybody have any ideas?

View 4 Replies View Related







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