RSConfig Vs Manually Changing Database Server And DB's.

Jun 6, 2007

I am new to Reporting Services and need some advice. We have to move a Reporting Services' databases to a different machine. One MS doc says to use the Reporting Services Configuration Tool, and one doc says to use RSConfig.exe. Is there any reason to choose one over the other? What are the gotcha's?



Thanks

View 1 Replies


ADVERTISEMENT

Manually Changing Flat File Source Has No Effect

Jul 5, 2006

I have a data flow that reads from a flat file source, goes through one data transformation component to change from unicode to normal text and writes the data to a SQL Server table.  This has been working fine throughout development using a specific source file as input.  I have now manually changed the path and name of the input source file in the connection manager to point to a new file and the task continues to process the old text file.

I open the connection manager and check its properties and preview the data and it all looks fine - it is finding the new file.  I also edit the flat file source component and preview the data and it shows the data from the new file.  I run the data flow by right-clicking and selecting Execute Container and it continually reads the old file and processes it!  (I do the right-click thing because this is just one small part of a larger package.)

This has got to be a bug, but just where I wonder.  Anyone ever see this before?  I'm going to try to run the entire package in debug mode, instead of right-clicking, next and see if that's any different.  Anyone have any ideas on how to force a refresh of the necessary internal components to make it read the new file?  All the external properties point to the new file, but it's not being read.

Joe

 

Update:

I ran the entire package and found no difference in execution - it's still reading the wrong input file.  I then deleted and recreated the connection manager, again specifying the new file to read.  It still continued to read the old file.  I deleted the flat file source component and recreated it, specifying the latest connection manager (twice, since I must have pointed it at the wrong one the first time and it read a completely different file).  I still have the same problem of it reading the wrong input file.  I don't know what else to recreate that would have any effect.  Does anyone have any ideas?  I need to change the pointer to different files multiple times and have it read several different input files.  This has got to work somehow.  Any help is appreciated.

Joe

View 3 Replies View Related

Error When Using Rsconfig Utility

Aug 27, 2007

When i try to use the rsconfig utility to add the values to the

<UnattendedExecutionAccount>
<UserName></UserName>
<Password></Password>
<Domain></Domain>
</UnattendedExecutionAccount>

The WMI Provider returned an error: HRESULT=0x8004021D

View 5 Replies View Related

Cant Manually Grow Database

Jan 24, 2003

Hardware:
IBM Netfinity 8500
2 processors Xeon 700
1,5 Gb memory
Windows 2000 Server SP2 Build 2195
SQL Server 2000 Standard Edition 8.00.534 SP2
There is only on Database (DB) of 16 Gb in drive G.
Drive G has 32 Gb space free.
Yesterday we appended tables to the database and in SQL logs appears the next error:

2003-01-23 12:26:42.57 spid101 fcb::ZeroFile(): GetOverLappedResult() failed with error 2.
2003-01-23 12:26:42.61 spid101 Error: 1105, Severity: 17, State: 2
2003-01-23 12:26:42.61 spid101 Could not allocate space for object 'ttdssc030104' in database 'MYDATABASE' because the 'PRIMARY' filegroup is full..
2003-01-23 12:26:48.03 spid101 fcb::ZeroFile(): GetOverLappedResult() failed with error 2.

DB configured to grow automatically by 100 Mb and transaction log Automatically grow in 10% .
Unrestricted file grow selected on both.

I try to expand the DB manually by Enterprise Manager to 20 Gb but not work and in SQL log appears the error

"2003-01-23 12:26:48.03 spid101 fcb::ZeroFile(): GetOverLappedResult() failed with error 2."

In Enterprise Manager-Databases-Properties-General-Size of DB maintain 16Gb.
Windows explorer say MYDATABASE.MDB is 20480 MB.

I delete the tables inserted and the problem persist.

Thanks in advance,

View 6 Replies View Related

How To Restrict End User To Update Field In Database Manually....

May 2, 2006

Dear Freinds..

I want to protect a field in a table...i want to restrict users to update the value in that field...by manually logging into that database...it can be updated only through the application...if any body manually update the field value....it has to be captured in log with old value....is it possible to do this sql server...if any of u says yes 'its possible' then :beer: other wise :eek:

View 7 Replies View Related

Rsconfig Command Format For Local Named Instance - Setting Up An Unattended Account

Dec 27, 2007

my local instance of reporting services is named and therefore I think causing me a problem when I issue the following command to set up an unattended account...

rsconfig -s localhostinstance name -e -u domain nameuser name -p password


the message I keep getting is "No Reporting Services instance found on local host.". I tried a couple of things including replacement of the word localhost with my computer name but to no avail. I tried single and double quotes around the -s parameter but no success.

Anybody know how to do this?

View 2 Replies View Related

SQL 2012 :: Manually Refreshing Subscriber Database In Transactional Replication

Dec 22, 2014

We have a database which is (a subset of tables are) replicated to another via transactional replication. Whilst most changes made at the published database reach the subscriber within a matter of seconds, we have a SQL Agent job which performs a calculation in the published database and then immediately exports data from the subscriber using log shipping. The result is that the calculated changes do not make it through to the exported transaction logs in time.

Is there a way to manually "refresh" the subscriber databases using T-SQL?

View 3 Replies View Related

From Asp Classic && Asp.net To Access Database Changing To Sql Server

Dec 17, 2006

Hello, We are re-writing our site in asp.net using sql server.  Most of the site uses asp classic and it was to an access database.  During the conversion we have everything working correct to SQL Server except for the asp.net connection string.  There is an important part of the application using asp.net which works fine with our connection string to the access database.  To recap our problem is the connection string from asp.net to sql server. This code works fine for the asp.net to access in the web.cnfg file     </microsoft.web>     <connectionStrings>         <add name="SalesConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:inetpubvhosts hemarketingvp.comsubdomainsvphttpdocsfpdbsalesMain.mdb" providerName="System.Data.OleDb"/>         <add name="ODBCSalesConnectionString" connectionString="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=URL=E:inetpubvhosts hemarketingvp.comsubdomainsvphttpdocsfpdbsalesMain.mdb"/>         <add name="RawConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:inetpubvhosts hemarketingvp.comsubdomainsvphttpdocsfpdbsalesMain.mdb" providerName="System.Data.OleDb"/>         <add name="ConnectionString" connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|inventoryStatus.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/>     </connectionStrings>     <system.web> The code in the global.asa which works fine for classic asp to sql server also works fine and is as follows     '--Project Data Connection         Application("sales_ConnectionString") = "Driver={SQL Native Client};Server=DMSERVER01;Database=SQLsalesMain;UID=nTrack;PWD=nTrack2k3"         Application("sales_ConnectionTimeout") = 15         Application("sales_CommandTimeout") = 30         Application("sales_CursorLocation") = 3         Application("sales_RuntimeUserName") = ""         Application("sales_RuntimePassword") = "" Our programmer who set this up is out for a couple of weeks and I would appreciate any help in the correct connection string from asp.net to the sql server database in the web.cnfg file Thanks

View 5 Replies View Related

Changing Master Database Location In Sql Server

Jul 10, 2007

changing master database location in sql server 2000

HELLO PLEASE HELP ME I AM TRYING TO CHANGE THE LOCATION OF MASTER DATABASE ( MDF AND LDF ) AND ERRORLOG FILES I HAVE TRIED EDITING STARTUP PARAMETERS IN ENTERPRISE MANAGER I FAILED ,I TRIED IN COMMAND
PROMPT "SQLSERVR.EXE " I SUCCEEDED IN CHANGING THE DATA FILE AND ERROR LOG BUT UNABLE TO CHANGE THE LOG FILE PATH FROM DEFAULT LOCATION C:PROGRAM ............
TO D:DATA
PLEASE GIVE ME THE PROCESS TO CHANGE DATA ,LOG AND ERROR LOG FILES of master database
thanq in advance

View 2 Replies View Related

Changing Database Collation Problem In SQL Server 2000

Mar 27, 2007

Hello...



When I migrated data from one SQL Server to another I got collection problems because collation of the target server was different from the source one.



The best solution I thought about was to change collation of the database in target server to be equal to the server collation so that when a temporary table is created, and the collation used would be the server collation, no error would occur. All sounds logic, but, after I ran ALTER DATABASE command and changed the collation of the database, I verified that all varchar fields of all database tables retained the old collation, not the new database collation I set.



Is there any way to change the collation of all fields at once when I change the database collation?



Thanks for your help



Jaime

View 1 Replies View Related

SQL Server 2005 Database Changing During Cube Processing

May 22, 2008

Hi!

Can I process a cube without error if there is an application that writes data into the source SQL Server database?
Do I have to stop that application every time when I want to process the cube?

View 4 Replies View Related

Changing Database Server Locale Date Time Settings ?

Jun 15, 2007

Hi There



We currently have the following scenario:

4 app servers with regional date and time settings of locale A.

1 database server with locale settings B.



What is happening is that timestamps are being generated on the app servers, these are then in a sql command which fails on the database server since the timestamp format is invalid.



It was suggested that we change the regional locale settings of the database server, but will this not have serious implications , for example every current timestamp format in the datbase will become invalid?



In a nutshell is it safe to change a database servers regional date time locale settings ? Or are there serious implications?



Thanx

View 1 Replies View Related

SQL 2012 :: Blocking In Report Server Database And Changing Isolation Levels?

Oct 12, 2015

We are getting frequently blocking in Report server database.

Is it ok to change isolation level to RCSI for report server database?

View 1 Replies View Related

SQL Server 2008 :: SSIS Package Fails Silently On Server But Works If Run Manually

Jul 7, 2015

I have two calls to stored procedures that in an SSIS package fails silently. They are simply not executed in production but works fine in test, nothing happens and the sql server agent reports that everything has gone just fine.

In test they have 1 server with db A and B. No issue here.

In prod they have 2 servers with db A and B. On server 1 sql server agent executes a job that includes an SSIS package that on server 2 runs a couple of sp's. That user is db owner on server 2 db B and yet nothing happens. The sp's are not executed.

If I in prod run the job manually then it works, but not when run with the sql server agent account that as said is even db owner.

View 2 Replies View Related

SQL Server Admin 2014 :: Changing Drive Letter For System Database And User Databases

Oct 18, 2013

I have system database and user database file are present in G,H and W drive.The process is going to be - copy data from G to S, H to T, W to U. Rename G to X, H to Y and W to Z. Rename S to G, T to H and U to W. Reboot the servers. The original G, H and W will then be X, Y and Z. The old S will be the new G, old T will be H and old U will be W. My question is that after doing this whether my SQL server will start or not

View 8 Replies View Related

SQL Server 2012 :: How To Rearrange The Execution Plan Manually

Nov 27, 2014

I have 2 tables,

1. Need
2. NeedCategory

Need table has clusted index on needid column and NeedCategory have composite clustered index on needid and categoryid.

Now take a look on following query and execution plan for the query.

SELECT N.NeedId,N.NeedName,N.ProviderName
FROM dbo.Need N
JOIN dbo.NeedCategory NC
ON nc.NeedId = n.NeedId
WHERE IsActive=1
AND CategoryId= 2
ORDER BY NeedName

* Clustered index scan on need table is happens for Isactive= 1.

* Clustered index scan on needcategory table is happens for CategoryId=2

My question is,

1. Why scan happens before the join occurs? if it happens after join then the filter would be lighter. Even if optimizer chooses the scan to execute first.

2. Is there any chance to rearrange the execution plan manually?

View 6 Replies View Related

Should The SQL Server Express Service Start Automatically Or Manually?

May 13, 2008

Hello all,

We are deploying an application using SQL Server Express to a wide variety of desktop and laptop machines. We are currently trying to decide whether we should install the SQL Server instance service to start automatically at startup or not. In the latter case, our application would start and stop the service.

Starting automatically will make our app load more quickly, which is important to our users. However, our support team is concerned that leaving the service running will leave our databases vulnerable to becoming "suspect" if, for example, a laptop user's battery dies suddenly. Of course this will always be a problem if the app is running, but our support team believes that having the service running all the time will increase the chances of this happening. One reason for their concern is that an older version of the software used MSDE which was running all the time, and they saw a good number of suspect database issues.

What is the best practice for leaving the service running, especially when there are a lot of laptop users?


Thanks,
Ben

View 3 Replies View Related

SSIS Package Runs OK Manually But Not From SQL Server Agent...Permissions?

Dec 19, 2007

I have a problem where I have an SSIS package (SQL Server 2005) that won't run properly from SQL Server Agent, but it runs fine when kicked off manually from Integration Services -> Run Package or when run in debug from Visual Studio.

The first step in the package checks for the existance of a file via a script task. The script looks like this...





Code Block
Public Sub Main()

Dim TaskResult As Integer
Dim ImportFile As String = CStr(Dts.Variables("BaseDirectory").Value) + CStr(Dts.Variables("ImportDirectory").Value) + CStr(Dts.Variables("ImportFile").Value)

If Dir(ImportFile) = "" Then
Dts.TaskResult = Dts.Results.Failure
Else
Dts.TaskResult = Dts.Results.Success
End If

Return

End Sub






This script runs fine and the file is seen as expected when I run the package manually. But as a step in a SQL Server Agent job, it doesn't see the file.

The SQL Server Agent service is set to start up / log on as a Local System Account. I've also tried setting up a credential / proxy (using an account that I know can see and even move / rename the file) to run the job as but that didn't seem to help.

The package is being run from SQL Server (stored in MSDB) and is set to rely on SQL Server for sensitive information, so I don't think that's an issue; other packages are set up like this in terms of sensitive data and run fine.

Any ideas why my script can't "see" the file I'm looking at when it's kicked off by SQL Server agent? I've looked and looked...I can't seem to figure this out. I would really appreciate any help you might be able to offer up.

View 12 Replies View Related

Changing Database Mail Host Database

Jan 26, 2007

Hi

I am trying to change the host database (MSDB) of Database Mail to some new database (say NewDB) and

unable to make DatabaseMail90.exe point to this new database (NewDB).

Is it possible to do this?

Thanks

Uddemarri

View 4 Replies View Related

Changing Database Name

Nov 19, 2002

hi, I have created a database in sql server 2000. I need to duplicate the database under different name, how can I do that?
Also, can I rename a database name?
thanks
Ali

View 3 Replies View Related

Changing Database Name In DTS Transformation

Nov 26, 1999

I have come across a problem having developed my DTS packages on one database (dev server) which has a different name to the database on the Test/Live servers. I had planned for this in that I was changing the server and database source before executing the package. When I tested this it turns out that the file import transformation that references the table to import into specifies the whole database.owner.table name and the database portion has not changed and therefore the package fails. I've dumped the package using the dts utility to view the vb script and have found the property DestinationObjectName (part of the custom task object for the relevant step...) which looks like the one to change but is this really what has to be done?

regards
Ken

View 2 Replies View Related

Changing Database Context

Mar 15, 2001

Hi all,

I have an application that executes the USE command as it's first order of businees with the database. According to the SQL Books On-line, all USE commands will result in the following message being generated:

Error 5701
Severity Level 10
Message Text:
Changed database context to '%.*ls'.

However, my application has never reported this message, execept for at one customer site. I cannot figure out why at this one particular site, the customer is seeing this message each time the application starts. Once they ok the message, everything else with the application is fine, but it is a nuisance for them (gotta love customers!).

Any ideas why this would start happening?

View 1 Replies View Related

Changing My Default Database?

Apr 27, 2007

Hi.

I thought I had this solved but after running aspnet_regiis again
I am having the same problem.

I can't log onto my sql server because the default DB is master.
The following command using sqlcmd gives me the master db:


Code:


SELECT *
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE'
GO



So, to try to fix this i ran:


Code:


EXEC sp_defaultdb 'sa', 'my_default_db'
GO



and no luck. I went over to the DB server and checked
the permissions under SERVER/SQLEXPRESS > SECURITY > LOGINS. All except NTAuthority and Administrators have
my intended DB as the default (including ASPNET).

This is frustrating because I know I have figured it out
before but I can't remember what I did. Help appreciated.

Thanks.

View 1 Replies View Related

Changing SQL Collation On Database

Jan 11, 2008

Hi there,

We currently install some of client's databases on SQL Server 2000 with the collation set to Latin1_General_BIN but we have one client that was installed and now running on SQL_Latin1_General_CP1_CI_AS and I was wondering if we can change the collation on the database to Latin1_General_BIN?

Would this have any adverse affects on the DB or the data within it? Our strings are nvarchar.

Thanks for your help

View 2 Replies View Related

Changing The Database To Unicode?

May 12, 2008

Hi,

I currently have a web application connected to a MSSQL 2005 database. We are signing some new clients to our web application who will be using a different language set. So were going have to change the database to Unicode? Anyone have any experience with this, or what are the steps implications involved?

Thanks.

d

View 1 Replies View Related

Cannot Access Database After Changing Password

Dec 11, 2006

that sounds obvious but I'm stuck...
I have an ASP.net application which someone else started and I continue.
on the SQL server there was a user X which was used to access the database from the ASP website.
 I accidently changed the password in the SQL server and now I cant restore the prior settings
(trying to reset password to blank or embedding the username and password in the connection string didnt work).
it stops on "connection.open" with -  "SQLException Login failed for user 'X'"
any ideas why that happens and how I can fix it?
 
thanks

View 1 Replies View Related

Changing My Database Path In Web.config

Nov 14, 2007

Hey guys,
I uploaded my website from VWD Express to ipower.  My database did not work, which I have learned upon some research should have not been a shock to me, but most definetely was.  When I contacted tech support they told my that my web.config files were pointing to my local paths.  That I should change them and I should be fine.  Elsewhere, in the knowledge base I found the strConnect that I am under the impression I need to use.
strConnect = "Provider=SQLOLEDB; Server=SQL-A1; UID=account_username; PWD=account_password; Database=user_db_name" oSQLServer.Connect strServer,strLogin,strPwd
The problem is, I'm a complete newbie, learning as I go and I can't find anything on where or how I insert this into my web.config to correct my paths.  IPower will not help with coding.  I know my current connection string is in web.config in the appsettings, that's about as far as my knowledge goes.
So, could anyone show me how I go about putting this into my web.config?  Examples are very helpful :]
On a side note, I've been reading that this is a common problem among newbies like myself.  So, is changing these files actually going to work, or am I wasting my time?  Also, before I get knee-deep into it, is the database-publishing kit put out by MS the way to go here?
 Thanks for any and all replies, you guys are always awesome.

View 6 Replies View Related

Changing Suspect Database To Normal

Apr 7, 2008

My sql database is in suspect mode, please help me with step by step how can i change the suspect status to normal status, please dont provid eme the links of other site and help me in your own language
 
iam getting following error:
 
TITLE: Microsoft SQL Server Management Studio------------------------------
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------ADDITIONAL INFORMATION:
Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information. (Microsoft SQL Server, Error: 926)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=926&LinkId=20476
------------------------------BUTTONS:
OK------------------------------Thanks in advance

View 3 Replies View Related

Changing Collation_name Of SqlServer Database

Nov 2, 2003

Hi

I want to change collation_name of my SqlServer Database by running a script. But I don't know how.
Please help me.

Thanks

View 1 Replies View Related

Changing Database Structures Through Code

Apr 28, 2006

I am having a hard time finding materials on this subject.  I am guessing I am using the wrong keywords to search.  Basically, I want to be able to modify database tables through a web form.  They can add columns and delete columns through the form.  I would just want to default the type of column and the length.  I am sure it has been done, I was just wondering if anyone had some resources they could throw my way.  I would appreciate it.  Thanks.

View 1 Replies View Related

Changing The Default Location Of A New Database

Oct 16, 2006

If you enter "Create Database test", the database files (mdf file & log file) are created, by default, in:-
C:Program FilesMicrosoft SQL ServerMSSQLData
I want to change that to:-
D:Database Files
I sucessfully moved the model database to this location (using the instructions in BOL) assuming that all new databases would now get created in the same location, but they don't. They still get created in:
C:Program FilesMicrosoft SQL ServerMSSQLData

So how do I change the default?
(It's not satisfactory to have to move each database after it's created)

Thanks, Andy Abel

View 3 Replies View Related

Changing Database Collation Setting?

Mar 6, 2012

I currently have a server with the collation set to SQL_Latin1_General_CP1_CI_AS.

However, some of the databases within the server are set to Latin1_General_BIN, probably because they were restored from another server some time ago. Also, even within the databases that have Latin1_General_BIN, some of the columns are set to SQL_Latin1_General_CP1_CI_AS, very confusing to say the least.

What i would like to do is change the database collation settings for these databases to match the server setting. I would also like to change all of the tables within these databases to have the columns also set to the server collation settings.

I'm looking for the steps that i would need to take to make sure i don't mess anything up as these databases have there own sets of views and sp's that run each day.

View 3 Replies View Related

Changing Collations For Master Database.

May 3, 2004

Hi there


I am using SQL server 2000 and
I want to Change Server Collations from SQL_Latin1_General_CP850_BIN to
SQL_Latin1_General_CP1_CS_AS.

Can anybody help me in this regard.

Rgds

Wilson

View 5 Replies View Related







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