Table design for an indicator field in SQL Server 2008 R2
Hi, I am using SQL Server 2008 R2 and I have an existing table (Please see the below table definition).
CREATE TABLE Code
ID INT IDENTITY (1, 1) PRIMARY KEY,
Code NVARCHAR(10) NOT NULL UNIQUE,
[Description] NVARCHAR(100) NOT NULL,
[Type] NVARCHAR(30) NULL,
Program NVARCHAR(30) NOT NULL, --Adding this column as a filter for different programs
ModifiedDate DATETIME NOT NULL DEFAULT (getdate()),
ModifiedBy NVARCHAR(128) NOT NULL DEFAULT (suser_sname())
This table has been in use for a while and I am adding a column [Program] to identify records for that program. Previously it used to be just one program and this [Code] table was working just fine now there are 5 different programs introduced in the organization
and this could keep changing over time.
For instance Program A uses Code A, Code B, Code C & Program B uses Code C, Code D, Code E & Program C uses Code C. I know of an option which works but creates maintenance overhead
everytime these programs change by doing something like below.
Code ProgramA ProgramB ProgramC ProgramD ProgramE
A Yes
B Yes
C Yes Yes Yes
D Yes
E Yes
But, is there a better way to do this keeping 1 column for Program and users being able to manage their data without looking at other codes. I mean a user who manages Program A should be able
to see codes A, B, C & user managing Program B should see codes C, D, E & for Program C just code C.
Thanks in advance.....
Ione
I would add it as a seperate table with columns as
ProgramName CodeName
the data would be like
ProgramName CodeName
ProgramA A
ProgramA B
ProgramA C
ProgramB C
ProgramB D
ProgramB E
ProgramC C
then its just a matter of adding a join from your above table to this table on Code field to get associated Program info and filter on it.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page
Similar Messages
-
We have to inverstigate about a reporting solution where things are getting slow (may be material, database design, network matters).
I have red a lot in MSDN and some books about performance tuning on SQL Server 2008 R2 (or other) but frankly, I feel a little lost in all that stuff
I'am looking for practical steps in order to do the tuning. Someone had like a recipe for that : a success story...
My (brain storm) Methodology should follow these steps:
Resource bottlenecks: CPU, memory, and I/O bottlenecks
tempdb bottlenecks
A slow-running user query : Missing indexes, statistics,...
Use performance counters : there are many, can one give us the list of the most important
how to do fine tuning about SQL Server configuration
SSRS, SSIS configuration ?
And do the recommandations.
Thanks
"there is no Royal Road to Mathematics, in other words, that I have only a very small head and must live with it..."
Edsger W. DijkstraHello,
There is no clear defined step which can be categorized as step by step to performance tuning.Your first goal is to find out cause or drill down to factor causing slowness of SQL server it can be poorly written query ,missing indexes,outdated stats.RAM crunch
CPU crunch so on and so forth.
I generally refer to below doc for SQL server tuning
http://technet.microsoft.com/en-us/library/dd672789(v=sql.100).aspx
For SSIS tuning i refer below doc.
http://technet.microsoft.com/library/Cc966529#ECAA
http://msdn.microsoft.com/en-us/library/ms137622(v=sql.105).aspx
When I face issue i generally look at wait stats ,wait stats give you idea about on what resource query was waiting.
--By Jonathan KehayiasSELECT TOP 10
wait_type ,
max_wait_time_ms wait_time_ms ,
signal_wait_time_ms ,
wait_time_ms - signal_wait_time_ms AS resource_wait_time_ms ,
100.0 * wait_time_ms / SUM(wait_time_ms) OVER ( )
AS percent_total_waits ,
100.0 * signal_wait_time_ms / SUM(signal_wait_time_ms) OVER ( )
AS percent_total_signal_waits ,
100.0 * ( wait_time_ms - signal_wait_time_ms )
/ SUM(wait_time_ms) OVER ( ) AS percent_total_resource_waits
FROM sys.dm_os_wait_stats
WHERE wait_time_ms > 0 -- remove zero wait_time
AND wait_type NOT IN -- filter out additional irrelevant waits
( 'SLEEP_TASK', 'BROKER_TASK_STOP', 'BROKER_TO_FLUSH',
'SQLTRACE_BUFFER_FLUSH','CLR_AUTO_EVENT', 'CLR_MANUAL_EVENT',
'LAZYWRITER_SLEEP', 'SLEEP_SYSTEMTASK', 'SLEEP_BPOOL_FLUSH',
'BROKER_EVENTHANDLER', 'XE_DISPATCHER_WAIT', 'FT_IFTSHC_MUTEX',
'CHECKPOINT_QUEUE', 'FT_IFTS_SCHEDULER_IDLE_WAIT',
'BROKER_TRANSMITTER', 'FT_IFTSHC_MUTEX', 'KSOURCE_WAKEUP',
'LAZYWRITER_SLEEP', 'LOGMGR_QUEUE', 'ONDEMAND_TASK_QUEUE',
'REQUEST_FOR_DEADLOCK_SEARCH', 'XE_TIMER_EVENT', 'BAD_PAGE_PROCESS',
'DBMIRROR_EVENTS_QUEUE', 'BROKER_RECEIVE_WAITFOR',
'PREEMPTIVE_OS_GETPROCADDRESS', 'PREEMPTIVE_OS_AUTHENTICATIONOPS',
'WAITFOR', 'DISPATCHER_QUEUE_SEMAPHORE', 'XE_DISPATCHER_JOIN',
'RESOURCE_QUEUE' )
ORDER BY wait_time_ms DESC
use below link to analyze wait stats
http://www.sqlskills.com/blogs/paul/wait-statistics-or-please-tell-me-where-it-hurts/
HTH
PS: for reporting services you can post in SSRS forum
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Systemcopy issue for Netweaver 7.02 on SQL server 2008
Hi colleagues,
we do a system copy for ECC6.0 ehp5 DBexport, based on Netweaver 7.0 ehp2.
system: windows server 2003R2 + MS SQL server 2008R2, everything seems ok until "import ABAP" stage, every import is failed!
I do find some notes : 1339717 and 1480785, talk about update Kernel, but after I update kernel, also change the SQLfiles.lst, the issue still the same.
this DBexport can install successfully on MaxDB database. is there anyone performe System copy successfully on Netweaver 7.0 ehp2 on SQL server 2008? what kind of update need to be done?
thanks!
zongyunHi Markus,
thanks for the reply, here I post the log files, please help me to analyze what is the real issue and how to solve it.
import_monitor.log:
INFO: 2011-08-24 11:25:35
Import Monitor is started.
CONFIG: 2011-08-24 11:25:35
Application options:
dbCodepage=4103
dbType=MSS
extFiles=no
importDirs=C:\SAP\Export\ABAP
installDir=C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP
jobNum=3
loadArgs=-loadprocedure fast
monitorTimeout=30
orderBy=
r3loadExe=C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe
sapinst=
trace=all
tskFiles=yes
CONFIG: 2011-08-24 11:25:35
List of packages with table structure: 'SAP0000'.
CONFIG: 2011-08-24 11:25:35
List of packages with views: 'SAPVIEW'.
TRACE: 2011-08-24 11:25:35 com.sap.inst.migmon.imp.ImportStandardTask preCreate
Parse of 'C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL' template file is started.
INFO: 2011-08-24 11:25:35 com.sap.inst.migmon.imp.ImportStandardTask preCreate
Parse of 'C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL' template file is successfully completed.
Primary key creation: before load.
Index creation: after load.
INFO: 2011-08-24 11:25:35
Data codepage 4103 is determined using TOC file 'C:\SAP\Export\ABAP\DATA\DD03L.TOC' for package 'DD03L'.
TRACE: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask run
Loading of 'SAPSSEXC_5' import package is started.
TRACE: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask run
Loading of 'DOKCLU' import package is started.
TRACE: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask processPackage
Task file generation for 'SAPSSEXC_5' import package:
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe -ctf I C:\SAP\Export\ABAP\DATA\SAPSSEXC_5.STR "C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL" SAPSSEXC_5.TSK MSS -l SAPSSEXC_5.log
TRACE: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask processPackage
Task file generation for 'DOKCLU' import package:
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe -ctf I C:\SAP\Export\ABAP\DATA\DOKCLU.STR "C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL" DOKCLU.TSK MSS -l DOKCLU.log
TRACE: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask run
Loading of 'SAPSSEXC_2' import package is started.
TRACE: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask processPackage
Task file generation for 'SAPSSEXC_2' import package:
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe -ctf I C:\SAP\Export\ABAP\DATA\SAPSSEXC_2.STR "C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL" SAPSSEXC_2.TSK MSS -l SAPSSEXC_2.log
ERROR: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask run
Loading of 'DOKCLU' import package is interrupted with R3load error.
Process 'C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe -ctf I C:\SAP\Export\ABAP\DATA\DOKCLU.STR "C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL" DOKCLU.TSK MSS -l DOKCLU.log' exited with return code 2.
For mode details see 'DOKCLU.log' file.
Standard error output:
sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask run
Loading of 'SAPSSEXC_2' import package is interrupted with R3load error.
Process 'C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe -ctf I C:\SAP\Export\ABAP\DATA\SAPSSEXC_2.STR "C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL" SAPSSEXC_2.TSK MSS -l SAPSSEXC_2.log' exited with return code 2.
For mode details see 'SAPSSEXC_2.log' file.
Standard error output:
sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: 2011-08-24 11:25:35 com.sap.inst.migmon.LoadTask run
Loading of 'SAPSSEXC_5' import package is interrupted with R3load error.
Process 'C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe -ctf I C:\SAP\Export\ABAP\DATA\SAPSSEXC_5.STR "C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL" SAPSSEXC_5.TSK MSS -l SAPSSEXC_5.log' exited with return code 2.
For mode details see 'SAPSSEXC_5.log' file.
Standard error output:
sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
DOKCLU.log
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110824112535
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#3 $ SAP
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe: version R7.20/V1.4 [UNICODE]
Compiled May 7 2010 03:20:08
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe -ctf I C:\SAP\Export\ABAP\DATA\DOKCLU.STR C:\Program Files\sapinst_instdir\NW702\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL DOKCLU.TSK MSS -l DOKCLU.log
(TPL) ERROR: unknown template variable "compression_page"
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
C:\usr\sap\VE5\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20110824112535 -
Which Laptop is good for VS 2012/2013 and SQL SERVER 2008 R2 /2012 ?
Hi,
I am planing to buy a laptop.
I am gonna be using mostly for Visual sStudio 2013 and Sql Server 2012 .
my budget is $1000.
confuse between DELL/ HP / LENOVO..!!!
please help.This is only a personal taste of mine:
I prefer to work in Virtual Machines. In fact I did set up a VM just for my programming. This has the advantage that games and other stuff are not slowed down by SQL Server Services and similiar stuff.
This also allows me to quickly make a small virtual networks with multiple clients if I need to test some client/server stuff.
Plus I am also a bit of an adminstrator and prefer to test stuff in VM's before I try them in the real world.
I prefer using Virtual Box for Virtual Machines, so one thing of big importance was support for VT-X/AMD-V. Without them Virtual Box cannot run x64 guests even on a x64 host system.
Otherwise I wanted Windows 8 (so I could finally learn to live with it/learn programming for it's UI). And of big importance was an upgrade of gaming ability (my old one had difficulty/impossibility to run most current games).
So I bought a x64, Win8 Gaming Laptop with 8 GiB RAM (so I can run 3-6 Windows 7 hosts in paralell) and looked that the CPU supported Hardware Virtualsiation.
Otherwise pretty much every current laptop will work. x64 OS might be prefereable, as .NET has some limitations under x32/x86 OS (like the
2 GiB limit). Multicore (2 or more) is pretty much the state of the art (are there still any single core CPU's out there?).
It of course needs to be a Windows (7 or 8) to support VS. New Laptops should have UEFI (all that are sold with Windows 8 have).
If you do not need a lot of storage, using a SSD instead of a HDD will propably speed up startups (Windows, Programms) and compilation times a lot (those are disk-heavy operations) - but I only know that it should and heard of people who have them.
Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively. -
Minimum requirements for deploying a package on Sql Server 2008
I am trying to setup a restricted login to deploy packages. At the very least I need to avoid using the sysadmin server role however all of my testing seems to point to my restricted login requiring it which sort of defeats the purpose of a restricted
login. Without the sysadmin account I get the following error: Create failed for JobStepRole
Read action
Write action
own package roles.
db_ssisoperator
Enumerate all packages.
View all packages.
Execute all packages.
Export all packages.
Execute all packages in SQL Server Agent.
None
Windows administrators
View execution details of all running packages.
Stop all currently running packages.
Sysssispackages Table
The sysssispackages table in msdb contains the packages that are saved to SQL Server. For more information, see sysssispackages
(Transact-SQL).
The sysssispackages table includes columns that contain information about the roles that are assigned to packages.
The readerrole column specifies the role that has read access to the package.
The writerrole column specifies the role that has write access to the package.
The ownersid column contains the unique security identifier of the user who created the package. This column defines the owner of the package.
Permissions
By default, the permissions of the db_ssisadmin and db_ssisoperator fixed database-level roles and the unique security identifier of the user who created the package apply to the reader role for packages,
and the permissions of the db_ssisadmin role and the unique security identifier of the user who created the package apply to the writer role. A user must be a member of the db_ssisadmin, db_ssisltduser,
or db_ssisoperator role to have read access to the package. A user must be a member of the db_ssisadmin role to have write access.
Please click "Mark as Answer" if the post solves your problem - Thanks -
Hi,
I have to implement the following scenario in SSIS but don't know how to do since I never worked with SSIS before. Please help me.
I have 20 different text files in a single folder and 20 different tables corresponding to each text file in SQL Server 2008 R2 Database. I need to extract the data from each text file and
load the data into corresponding table in Sql Server Database. Please guide me in how many ways I can do this and which is the best way to implement this job. Actually I have to automate this job. Few files are in same format(with same column names
and datatypes) where others are not.
1. Do I need to create 20 different projects ?
or
Can I implement this in only one project by having 20 packages?
or
Can I do this in one project with only one package?
Thanks in advance.As I said I don't know how to use object data type, I just given a shot as below. I know the following code has errors can you please correct it for me.
Public
Sub Main()
' Add your code here
Dim f1
As FileStream
Dim s1
As StreamReader
Dim date1
As
Object
Dim rline
As
String
Dim Filelist(1)
As
String
Dim FileName
As
String
Dim i
As
Integer
i = 1
date1 =
Filelist(0) =
"XYZ"
Filelist(1) =
"123"
For
Each FileName
In Filelist
f1 = File.OpenRead(FileName)
s1 = File.OpenText(FileName)
rline = s1.ReadLine
While
Not rline
Is
Nothing
If Left(rline, 4) =
"DATE"
Then
date1 (i)= Mid(rline, 7, 8)
i = i + 1
Exit
While
End
If
rline = s1.ReadLine
End
While
Next
Dts.Variables(
"date").Value = date1(1)
Dts.Variables(
"date1").Value = date1(2)
Dts.TaskResult = ScriptResults.Success
End
Sub -
User-Defined Table Types - Where is it in SQL Server 2008?
I am having 2 issues:
1. I don't see a folder for 'User-Defined Table Types' under programmability-->Types
2. When I execute the following code to create a Type; I get an error 'Incorrect syntax near the keyword 'AS'.'
USE Locations;
GO
/* Create a user-defined table type */
CREATE TYPE LocationTableType AS TABLE
( LocationName VARCHAR(50)
, CostRate INT );
GOHi Shayann,
The user-defined table type is a new
feature from SQL Server 2008. If you want to use it you have to upgrade your database to SQL Server 2008 or above.
In you scenario(SQL Server 2005),as a workaround, you can use the local temporary table instead.
--in SQL Server 2005
CREATE TABLE tblType(id INT,name VARCHAR(99))
GO
CREATE PROC proc1
AS
BEGIN
SELECT * FROM #temp;
END
GO
SELECT * INTO #temp FROM tblType; -- the #temp name is fixed
INSERT INTO #temp VALUES(1,'Eric');
EXEC proc1
--In SQL Server 2008 or above
CREATE TYPE LocationTableType AS TABLE
( id INT,
name VARCHAR(99) );
GO
CREATE PROC proc1 @t LocationTableType READONLY
AS
BEGIN
SELECT * FROM @t
END
GO
DECLARE @t LocationTableType;
INSERT INTO @t VALUES(1,'Eric');
EXEC proc1 @t
I still suggest you upgrade to higher SQL Server.
If you have any question, feel free to let me know.
Best regards,
Eric -
Hello All,
I am the Systems Admin for a production box running SQL Server 2008 R2. I have been ask to do the following and and trying to figure out if it's even possible.
1. The Production Server is named ProductionA
2. Create 3 Administrator accounts on ProductionA each with access to the SQL Server instance on ProductionA. Use Standard SQL Server login for credentials. i.e. Username/Password and assign the role sysadmin.
3. Install 3 Virtual Machines on ProductionA each with Windows 2008 R2 64 bit operating system.
4. For each Virtual Machine, Install SQL Management Studio and write down the IP Address assigned to each VM.
5. Using Remote Desktop Connection, connect to each virtual machine to be able to manage the SQL Server.
Is this possible? And, why am i doing it? Because I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA. Since I have to allow them to RDC into the box
to manage the SQL Server, I figure why not create a separate VM for each one of them and they can RDC into those instead.
Does this make any sense?
Any tips are greatly appreciated. The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
Thanks for your help.
MBecause I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA. Since I have to allow them to RDC into the box to manage the SQL Server, I figure why not create
a separate VM for each one of them and they can RDC into those instead.
Does this make any sense?
Any tips are greatly appreciated. The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
Thanks for your help.
M
Hello M,
Since you dont want the 3 guys to have access to Production machine A.You can install SQL Server client .By client i mean SQL server management studio(SSMS) on there local desktop and then create login for them in SQL Server.Open port on which your SQL server
is running for three of the machines so that they can connct.Now with SSMS installed on each machine each can connect to SQL server from there own machine.
I would also like you to be cautious with giving Sysadmin privilege to all three of them ,first please note down what task they would do and then decide what rights to be provided.
Your option will also work but you need to create 3 VM for that .Which is more tedious task.
Hope this helps
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
BI 7.3 delta extraction with SQL Server 2008
Hi experts,
I'm trying to extract data with delta update from a SQL Server with UD Connect, i test this ways:
Field DateTime in SQL Server: The problem is I only can delta within a day, no changes detected in the same day because SAP detects two fields here date and time, and can only can reference date field as a delta field.
Field TimesTamp in SQL Server: The problem seems the same, SAP recognize this as a date and time field.
Can any explain here the correct way for a delta implementation with SQL Server 2008? I would be very grateful.
Regards,Hi Fernando
That is what I need to do.
Create a Model from an existing SQL Server database with the Import data Dictionary option , be able to modify tables structures, extended properties in the model, and then sync those changes with the database.
So far I can't import the extended properties with DM 3.1.1. If you find a way , please let me know.
Thanks,
Jorge -
Sql Server 2008 R2 keeps disconnecting after a few minutes -- how can I prevent this?
I already went into the Sql Server Configuration manager and set the TCPIP Keep Alive value to 0 (default setting 30000). But still, after like 5 minutes it disconnects, and I have to re-log back in. The problem with this is that I will usually have several
#temp tables open -- then I have to re-create/populate all these #temp tables. I'm running win7 SP1, Sql Server 2008 R2 Developer -- SP2. Is there something I can set in the registry maybe? What can I do to prevent sql server 2008 R2 Developer from disconnecting?
Rich PI wish to continue with thanks to all for replies. The disconnect property after Query execution is not checked. And I am not sure about not letting my computer sleep. Sometimes I have to leave
it for extended periods.
Good day Rich
P123,
Sometimes for monitoring we have to do actions that are one-time in order to check our assumptions. In this case I recommend that you do this check :-)
you just need to check it once (like 24 hours), to make sure that this is the the source of the issue, or not :-)
In any case you can use screensaver, but make sure that you do not close disks as well.
Please inform us your result
Ronen Ariely
[Personal Site] [Blog] [Facebook] -
"URl has already been reserved".
Reporting services for port 80 and 443 works fine both for reports and reportingserver on SQL server 2008 R2. But when I try to upgrade from SQL server 2008 R2 to 2012 this error pops up. How to make sure before upgrading regarding reporting services that
URL reserves and SSL are fine or how to fix reporting services are upgrade like repair install.
ThanksHi yashmitl,
In your case, please running the following command to check the current URL reservations on http.sys.
netsh http show urlacl
Then, please delete the URL reservation by executing the following command try to resolve the issue.
netsh http delete urlacl <url>
There is a similar issue, you can refer to it.
http://social.technet.microsoft.com/Forums/en-US/d5204dd3-e26d-4592-8ef0-a94005fc46a5/the-url-has-already-been-reserved?forum=sqlreportingservices
Hope this helps.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Sql Server 2008 - problems after incorrect installation of SSIS component
During the addition of SSIS component to an existing installation of Sql Server 2008 the setup has been made using Sql Server 2008 R2 media.
Now SSMS shows the following error during the connection to the instance :
Method not found: 'Int32.Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDomain.GetLogicalVersion()'
I've tried to remove R2 components and to repair the existing 2008 installation.
At the moment 2008 R2 Native client and Setup are still present in the list of Programs and Features.
From previous comments I understand this method is in a Sql Server 2008 R2 assembly, so it seems that SSMS is running as R2 but is using 2008 libraries.
How can I correct this ?
Thanks.Hello,
Be careful uninstalling now SQL Server 2008 R2 components. If you uninstall shared components that are SQL Server 2008
R2 components the whole SQL Server 2008 instance will be unusable. For more information about having SQL Server 2008 and SQL Server 2008 R2 installed on the same computer, please read the following article:
http://msdn.microsoft.com/en-us/library/ee210714(v=sql.105).aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
SQL Server 2008 & 2012 Database backup on a shared loaction
Hi,
I have to plan for the Database backup on SQL Server 2008 & 2012 on a shared Path.
We are building a new Maintenance plan & specify the Database which needs to be backup & at the Folder location we specify the Shared Path Location. These steps I have followed using the below link,
http://social.msdn.microsoft.com/Forums/en-US/be138ca3-4b2f-4464-8115-9a0a6f2e0fe6/sql-database-backup-on-network-share-using-maintenance-plan?forum=sqldatabasemirroring
But the operation fails & throws the below error:
Message
Executed as user Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 12:27:17 PM Progress: 2014-02-13 12:27:19.13
Source: {B6CEBA00-4BD1-4931-AF23-B633BEDBEE4A} Executing query "DECLARE @Guid UNIQUEIDENTIFIER EXECUTE msdb..sp...".: 100% complete End Progress Error: 2014-02-13 12:27:20.63
Code: 0xC002F210 Source: Back Up Database Task Execute SQL Task Description: Executing the query "BACKUP DATABASE DB TO DISK ..." failed with the following error: "Cannot open backup device
'\\DBBackup\SharePoint_backup\DB_backup_2014_02_13_122719_5314660.bak'. Operating system error 5(Access is denied.). BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not
set correctly, parameters not set correctly, or connection not established correctly. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 12:27:17 PM Finished: 12:27:20 PM Elapsed: 2.843 seconds.
The package execution failed. The step failed.
Note: But when I open the shared path in the Windows Explorer it opens successfully.
Regards,
Purvish ShahHello,
>>'\\DBBackup\SharePoint_backup\DB_backup_2014_02_13_122719_5314660.bak'. Operating system error 5(Access is denied.).
This clearly points out to fact that your SQL Server service account does not have permission of read/write on shared location,simple.
>>But when I open the shared path in the Windows Explorer it opens successfully.
This is because when you are browsing through explorer your windows login credential is used to access that folder but when you are running backup your SQL Server service account permission is used to write backup on shared folder ( which I assume it does
not have ) so the access denied error.
Hope this helps
PS: I reffered the link its maily how you specify backup path its not about access denied error due to SQL server service acount not having privilege
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Can't login SQL Server 2008 R2 Express management studio
Hi i recently installed SQL Server 2008 R2 management studio. When I try to login i select 'Database engine' as the server type, I'm not sure what server name I'm
supposed to be using but I tried .\SQLEXPRESS and authentication is 'SQL server Authentication'. But as for login and password I don't have one. During the installation I was not prompted to provide a login/password. As with the 2005 server installation I
could by selecting 'mixed'. So how do i login for the first time on SQL server 2008 if i dont know/have my login/password?Hi,
Try below links :
http://blogs.msdn.com/b/sqlexpress/archive/2006/11/22/connecting-to-sql-express-user-instances-in-management-studio.aspx
http://stackoverflow.com/questions/360141/how-to-connect-to-local-instance-of-sql-server-2008-express
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e880c3be-a874-4979-8874-7044c087318d/sql-server-express-default-username-and-password
sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **. -
Will BO software support Microsoft SQL SERVER 2008 version in the future
Hello,
Currently, I do not see any support available for MS SQL Server 2008. Are there any plans for BO to support MS SQL SERVER 2008 in any roadmap documentation
abhiHello Abhi,
as I do not know which product you have in mind please use this link to see the [supported platforms for BO products|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202&]. It will contain all supported databases.
Hope you will find all necessary information
Falk
Maybe you are looking for
-
How to fetch data from different sources into one source (like into Ztable)
hi friends, As per our client requirements they want to develope an Inventory and an Ontime delivery report in BO on top of Oracle database. Situation is some thing like they have ECC 6.0.and they want to collect all inventory and ontime delivery dat
-
CS6 in combination with FileMaker - Pictures are printed to big but shown on screen correct size
I'm using FileMaker since more than 10 years together with pictures made in PS (since version CS2) saved as .jpg / 100dpi it always worked perfect! Now I got CS6 and any new picture is shown in the correct size but when I print it out of FM it gets m
-
Extended class variable corruption...why?
hello guys, I've beed struggling on this issue for more than 2 hours and, together with a friend, we weren't able to figure it out. I have a class named HandlerMod that extends DefaultHandler (this one org.xml.sax.helpers.DefaultHandler) and in this
-
Getting error 500--internal server error...Please HELP!!!
I am not familiar with JAVA language at all but would like to learn it. At this time I am needing some assistance regarding this error 500. My log shows: <Error> <HTTP> <202-maxdev-eo> <MAXIMOSERVER> <ExecuteThread: '24' for queue: 'weblogic.kernel.D
-
I am planning to buy Adobe Acrobat 7 professional originally licensed and comes in its sealed box, but the product I've seen is Adobe Acrobat 7 professional "UPGRADE". It is an updated version or just update patch is? Installation is Multilanguage? R