Questions About SQL Server Hardware Config

May 23, 2007

Hey guys,

I have been developing a SQL based data warehouse for financial reporting purposes. I do expect the database to continue to grow over the next few years.

Right now, I am running SQL Server 2000 on an HP DL380 G3 with dual Xeon 2.8GHz, 1.5GB of ECC DDR RAM, 4x 300GB SCSI 10K RPM HDD's.

I would like to replace the server as it is now two generations old and because when there are five people running queries against the data, it starts taking minutes to return the results. When this reporting database hits production, it will be queried by up to 20 people simultaneously and I don't feel the current server will provide results in reasonable amounts of time.

I would like to know what you people think I should be doing to provide an optimal environment for this data warehouse. Should I stick with SQL Server 2000 or move to 2005? Why would you recommend that?

I am thinking of replacing the server with the following configuration: HP GL380 G5, 2x Xeon E5345 Quad-core CPU's, 4GB PC2-5300 ECC DDR2 RAM, 8x 72GB SAS 15K RPM HDD's. Do you think this is an ideal configuration? Too much? Too little?

I would love to hear what you have to say and suggest. Thank you in advance!

Chris.

View 12 Replies


ADVERTISEMENT

Questions About SQL Server Hardware Config

May 23, 2007

Hey guys,

I have been developing a SQL based data warehouse for financial reporting purposes. I do expect the database to continue to grow over the next few years.

Right now, I am running SQL Server 2000 on an HP DL380 G3 with dual Xeon 2.8GHz, 1.5GB of ECC DDR RAM, 4x 300GB SCSI 10K RPM HDD's.

I would like to replace the server as it is now two generations old and because when there are five people running queries against the data, it starts taking minutes to return the results. When this reporting database hits production, it will be queried by up to 20 people simultaneously and I don't feel the current server will provide results in reasonable amounts of time.

I would like to know what you people think I should be doing to provide an optimal environment for this data warehouse. Should I stick with SQL Server 2000 or move to 2005? Why would you recommend that?

I am thinking of replacing the server with the following configuration: HP GL380 G5, 2x Xeon E5345 Quad-core CPU's, 4GB PC2-5300 ECC DDR2 RAM, 8x 72GB SAS 15K RPM HDD's. Do you think this is an ideal configuration? Too much? Too little?

I would love to hear what you have to say and suggest. Thank you in advance!

Chris.

View 1 Replies View Related

Reporting Services :: Parsing SSRS Config File And Dynamically Changing File Path Of Config File In Code

Sep 2, 2015

Currently have a single hard coded file path to the SSRS config file which parses the file and provides the reporting services web service url.  My question is how would i run this same query against 100s of servers that may or may not share the same file path as the one hard coded ?

Is there a way to query the registry to find the location of the config file of any server ? which could be on D, E, F, H, etc. 

I know I can string together the address followed by "reports" and named instance if needed, but some instances may not have used the default virtual directory name (Reports).

Am I going about this the hard way ? Is there a location where the web service url exists in a table ? I could not locate anything in the Reporting service database. Basically need to inventory all of my reporting services url's.

View 2 Replies View Related

SQL Server Administration And Config

Mar 2, 2004

I'm new in the DBA position recently aquired, and I'm having a few issues with MSSQL configuration and administration.

1. I have created a two maintenance plans, one for system databases and another one for user databases, this plans include things such as, Integrity Checks, Optimizations and DB Backups, however the Integrity Checks fail with the error that the DB's must be in single user mode, how can I go about to make this and what are the implications of doing so?

2. There's been a few reports of MSSQL server compromises through UDP port 1433, so I closed it at firewall level, only TCP 1433 is going through, do I really need UDP 1433?

Thank you very much.

View 1 Replies View Related

Regarding Web.config For Sql Server Authentication

Oct 25, 2005

Hi All,

   I have a query. I want to use sql server authentication
for my asp.net application. I have created a seperate username and
password for the sql server. Now I want to use that username and
password to establish the connection thru web.config. In web.config, I
don't want to give the username and password of sql server. Instead, I
want to get those details in other ways. Please tell me how to handle
the connection string with more security?

Balaji
 

View 4 Replies View Related

Using Web.config ConnectionStrings And SQL Server

Mar 9, 2006

Greetings,
My connection string looks like this (in the web.config) and is used with many data controls in my application:
<connectionStrings><add name="connection_NAH" connectionString="Data Source=NAH;Initial Catalog=NAH;User ID=xxxx;Password=xxxx" providerName="System.Data.SqlClient" /></connectionStrings>
I'm using vb.net and my code looks like this:Dim myConnection As SqlConnectionDim mySqlCommand As SqlCommandmyConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("connection_NAH").ConnectionString)mySqlCommand = New SqlCommand("UPDATE tbMasterOption SET ImageURL = 'test.gif' WHERE ID = 116977")Try            myConnection.Open()            mySqlCommand.ExecuteNonQuery()Catch ex As Exception            Label3.Text = "Couldn't update database record: " + ex.ToString()Finally            myConnection.Close()            Label3.Text = "Closed db connection"End Try
------------------
The only output I get is from the label3 which says "Closed db connection".  Doesn't look like any exceptions are thrown but when I look at the database the record is not updated.  Originally I thought my SQLConnection was not constructed correctly but I also tested it by outputting the connection string to Label3 which looked fine.  The only other thing I can think of is in the use of ExecuteNonQuery().  Is this the right method or do I need something else? Running the sql query manually works...
Thanks in advance..

View 2 Replies View Related

Using The SQL Server Config Option

Apr 11, 2008

I'm using a package configuration to set the value of a user variable which I then use inside my package to build out a certain expression. I got this to work with the XML file option, but I can't get it to work using the SQL Server option.

So this is what Im doing.

(1) I copy pasted the package that works with the XML config option.
(2) In the new package, I deleted the existing XLM config and created a new one, this time choosing the SQL Server option. After I finish, I see that the dbo.SSIS_Configurations table gets created in my database with the value of my variable in there.
(3) I run the package and I see that it works. I'm not sure at this point if it is working because it's reading the value from the config table or from the BIDs environment where I initialized the value.
(4) Anyway, I then go and update the value of my variable in dbo.SSIS_Configurations.
(5) When I run the package again, it doesn't see the new value. What am I doing wrong?

View 22 Replies View Related

Why Is It I Keep Getting An Error 40 When Trying To Config ASP.NET 2.0 To Use SQL Server 2000

Mar 2, 2007

I'm trying to configure  ASP.NET2.0 Application to use SQL Server 2000  and yes i did make sure all my setup in configuration manager is setup and  the surface area
Whenever i ran the REGSQL .EXE CMD it works until i get to  where it suppose to give you a list of data instance to choose from base on ScottGu article  in step 4
I'm running SQLEXPRESS ADVANCE
VWD EXPRESS 05
Thanks

View 2 Replies View Related

Connecting To SQL Server Exrpress - Using Web.config

Jun 6, 2007

Hello, So I am just getting started with .NET,  I am using Visual Web Developer 2005 Express andSQL Server 2005 Express on XP Media Center (same as XP Pro) ASP.NET version 2.0.????Anyways, I am having the time of my life figuring out how  to connect to SQL Server from within my C#, as follows,(where settings.connection  = ".SQLEXPRESS;Database=MyDatabase;Integrated Security=SSPI;" in my web.config)SqlConnection conn = new SqlConnection(Settings.Connection);        SqlDataReader rdr = null;        try        {            conn.Open();            SqlCommand cmd = new SqlCommand("select * from mytable", conn);            rdr = cmd.ExecuteReader();            while (rdr.Read())            {                Console.WriteLine(rdr[0]);            }        } the above yields unspeakable errors, namely <font color="red"><b>Cannot open database requested by login. login failed for user 'computername/SQLEXPRESS'</b></font> , etcAND<font color="red"><b>A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)</b></font> If you have ANY information on the suspect, please, please report it to me. Greatly appreciated!Thanks, Cam  

View 1 Replies View Related

Web.config Method To Sql Server Both Dev And Prod

Aug 6, 2007

any suggestions on having one web config that once put on the dev servers uses the dev sql server and when put on prod will use the production sql server?
 would like to encrypt it and be done with it. but it needs to recognize the server it's on.
I have a connection class that does this - but i need to use sqldatasource and not objectdatasource.
 

View 5 Replies View Related

SQL Server Hardware Config (cpu Qty Vs Cpu Cache Vs Ram)

May 26, 2000

Which will perform better?
(4) 550Mhz Xeon with 1MB cache and 2GB of RAM
(2) 550Mhz Xeon with 2MB cache and 2GB of RAM
(2) 550Mhz Xeon with 1MB cache and 4GB of RAM

Thanks,
John Fletcher

View 1 Replies View Related

Changing SQL Server Logon Config.

Jul 28, 2006

Hello,

When I installed MS SQL Server 2000 on our client's computer I installed it under a local account using Windows Authentication as the server logon and am now accessing it using a network login (remoting into the same box). The result is that if I change the password for the local Windows account and reboot the server, SQL server cannot be restarted; I get an error:

A connection could not be established to (LOCAL)

Reason: SQL SERVER does not exist or access denied.
ConnectionOpen (Connect())..

Please verify SQL Server is running and check your SQL Server registration properties and try again.

I've changed the registration properties to use SQL Server Authenticaiton instead of Windows to no avail. Whichever connection option I use the server will not start unless I change the local account's password back to what it was when I installed. This works, but our client wants to have that local account's password changed for security/peace of mind. Any help or advice would be appreciated here :)

Thank you

View 3 Replies View Related

SQL Server Agent With Config File

Dec 5, 2007

I'm trying to get a SSIS package to run as a SQL Server Agent job. The package uses a config file. When I try to add the config file to the job under the Configurations tab. When I click on the 'Add' button, I get the following error:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

The EXECUTE permission was denied on the object 'xp_availablemedia', database 'mssqlsystemresource', schema 'sys'.
The user does not have permission to perform this action.
The statement has been terminated. (Microsoft SQL Server, Error:229)

Any suggestions?

View 2 Replies View Related

How To Deploy App.config To SQL Server 2005 Either?

Nov 29, 2007

As we know Sql Server 2005 provides its ability to deploy clr assembly on it. However my problem is that my assembly has a configuration file. I used ConfigurationManager.GetSection to create some of the object. When I am deploying the project the trouble is that the app.config is missing. I used a class lib project type to create the assembly. Besides changing a storing method, can I still use this config file to reach my goal? Sqlserver.exe.config is not a good idea and it is not workable. The sqlserverexe host cannot find the assembly files.

Thanks very much!

View 1 Replies View Related

Managing Linked Server Config

Sep 26, 2007

Once I added a linked server on MSSQL how can I remove the linked server, or change its configuration?

tks

View 1 Replies View Related

Using A Web.config Value For Image In SQL Server Report

Jul 5, 2007

Hi,



Is it possible to use a Web.Config value to set the path of an image control in the report.



I want an image control in the report and I want to set the path of the image in the web.config and assign it to the image.



How to acheive this..................

View 3 Replies View Related

Report Server Not Responding After Config Change

Nov 30, 2007

Firstly I should say my Reporting Services were working fine until I changed a setting in IIS today - under the Virtual Directory for the site I clicked Properties>ASP.NET>Edit Configuration. Changed 'Authentication' to Forms and everything went wrong; changing it back to Windows made no difference.

Now when trying to navigate to Report Server / Report Manager I get these errors:

RS : An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Object reference not set to an instance of an object.
RM: The report server is not responding. Verify that the report server is running and can be accessed from this computer.

Following advice found elsewhere on the web, I checked my web.config file for an an erroneous xmlns entry... but it wasn't there. I have also deleted/recreated my virtual directories from within IIS/RSC. Also I have done a basic reinstall of Reporting Services (from within Add/Remove Programs>Change).

Below are my error logs and the listings for my web.config files; hopefully these will be of use in working out where the problem lies - I really need to get this fixed as soon as possible.

Thanks in advance,
Dan


SQLDmpor####.log


w3wp!library!1!11/30/2007-20:22:40:: i INFO: Exception dumped to: d:AppsSQL2005MSSQL.2Reporting ServicesLogFiles flags= ReferencedMemory, AllThreads, SendToWatson
w3wp!library!1!11/30/2007-20:22:40:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.ReportingServices.Library.WebConfigUtil.GetWebConfigAuthenticationAttribute(String attrName)
at Microsoft.ReportingServices.Library.WebConfigUtil.GetAuthenticationType()
at Microsoft.ReportingServices.Library.WebConfigUtil.get_UsingWindowsAuth()
at Microsoft.ReportingServices.WebServer.Global.EnableAntiDos()
at Microsoft.ReportingServices.WebServer.Global.Application_EndRequest(Object sender, EventArgs e)

SQLDUMPER_ERRORLOG.log


11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: d:AppsSQL2005MSSQL.2Reporting ServicesLogFilesSQLDmpr0121.mdmp
11/30/07 20:22:40, ACTION, w3wp.exe, Watson Invoke: Yes
11/30/07 20:22:40, ACTION, w3wp.exe, Watson Invoked: C:PROGRA~1COMMON~1MICROS~1DWDW20.EXE dw20.exe -d "d:AppsSQL2005MSSQL.2Reporting ServicesLogFilesSQLDmpr0121.mft"
11/30/07 20:22:40, ERROR , SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () failed (00000514)
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 4696
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x47405860
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x00000000
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x00000000
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
11/30/07 20:22:40, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: d:AppsSQL2005MSSQL.2Reporting ServicesLogFilesSQLDmpr0122.mdmp
11/30/07 20:22:40, ACTION, w3wp.exe, Watson Invoke: Yes
11/30/07 20:22:40, ACTION, w3wp.exe, Watson Invoked: C:PROGRA~1COMMON~1MICROS~1DWDW20.EXE dw20.exe -d "d:AppsSQL2005MSSQL.2Reporting ServicesLogFilesSQLDmpr0122.mft"


web.config (ReportManager)

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="MicrosoftWebControls" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=##############, processorArchitecture=MSIL"/>
<section name="RStrace" type="Microsoft.ReportingServices.Diagnostics.RSTraceSectionHandler,Microsoft.ReportingServices.Diagnostics"/>
<section name="UIConfig" type="Microsoft.ReportingServices.UI.UIConfigSectionHandler,ReportingServicesWebUserInterface"/>
</configSections>
<system.net>
<defaultProxy enabled="false"/>
</system.net>
<system.web>
<pages validateRequest="false"/>
<compilation defaultLanguage="c#" debug="false"/>
<customErrors mode="Off"/>
<authentication mode="Windows"/>
<identity impersonate="true"/>
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<sessionState mode="InProc" cookieless="false" timeout="20"/>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<httpRuntime executionTimeout="9000"/>
<securityPolicy>
<trustLevel name="RosettaMgr" policyFile="rsmgrpolicy.config"/>
</securityPolicy>
<trust level="RosettaMgr" originUrl=""/>
<httpHandlers>
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=##############"/>
</httpHandlers>
</system.web>
<appSettings>
<add key="ReportViewerServerConnection" value="Microsoft.ReportingServices.UI.WebControlConnection, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=##############"/>
<add key="ReportViewerTemporaryStorage" value="Microsoft.ReportingServices.UI.ReportViewerTemporaryStorage, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=##############"/>
</appSettings>
<RStrace>
<add name="FileName" value="ReportServerWebApp_"/>
<add name="Prefix" value="tid, time"/>
<add name="TraceListeners" value="debugwindow, file"/>
<add name="TraceFileMode" value="unique"/>
<add name="Components" value="all"/>
</RStrace>
<system.diagnostics>
<switches>
<!-- 1 = error, 2 = warning, 3 = info, 4 = verbose -->
<add name="DefaultTraceSwitch" value="3"/>
</switches>
</system.diagnostics>
<runtime>
<assemblyBinding xmlns="urnchemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.ReportingServices.Interfaces" publicKeyToken="##############" culture="neutral"/>
<bindingRedirect oldVersion="8.0.242.0" newVersion="9.0.242.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>


web.config (ReportServer)

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="RStrace" type="Microsoft.ReportingServices.Diagnostics.RSTraceSectionHandler,Microsoft.ReportingServices.Diagnostics" />
</configSections>
<system.diagnostics>
<switches>
<!-- 1 = error, 2 = warning, 3 = info, 4 = verbose -->
<add name="DefaultTraceSwitch" value="3" />
</switches>
<assert assertuienabled="false" />
</system.diagnostics>
<RStrace>
<add name="FileName" value="ReportServer_" />
<add name="FileSizeLimitMb" value="32" />
<add name="KeepFilesForDays" value="14" />
<add name="Prefix" value="tid, time" />
<add name="TraceListeners" value="debugwindow, file" />
<add name="TraceFileMode" value="unique" />
<add name="Components" value="all,RunningJobs:3,SemanticQueryEngine:2,SemanticModelGenerator:2" />
</RStrace>
<system.web>
<pages validateRequest="false" />
<identity impersonate="true" />
<compilation defaultLanguage="c#">
<assemblies>
<clear />
<add assembly="ReportingServicesWebServer" />
</assemblies>
</compilation>
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
<httpHandlers>
<add verb="*" path="Reserved.ReportServer" type="Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler, ReportingServicesWebServer" />
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebServer, Version=9.0.242.0, Culture=neutral, PublicKeyToken=##############" />
</httpHandlers>
<httpModules></httpModules>
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<httpRuntime executionTimeout="9000" />
<securityPolicy>
<trustLevel name="RosettaSrv" policyFile="rssrvpolicy.config" />
</securityPolicy>
<trust level="RosettaSrv" originUrl="" />
</system.web>
<runtime>
<legacyImpersonationPolicy enabled="true"/>
<assemblyBinding xmlns="urnchemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.ReportingServices.Interfaces"
publicKeyToken="##############"
culture="neutral" />
<bindingRedirect oldVersion="8.0.242.0"
newVersion="9.0.242.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View 3 Replies View Related

SQL Server Config Mgr - Errors, Doesn't Open

Sep 27, 2007



When clicking to open SQL SERVER CONFIGURATION MGR I recieve the following....

MMC cannot open the file C:WindowsSystem32SQLServerManager.msc
This may be because the file does not exist, (it does)
is not an MMC console,
or was created by a later version of MMC
This may also be because you do not have sufficient access rights to the file.

I am stumped. This worked the other day.
thanks!

View 7 Replies View Related

[REPL] Server Config For Distributor Server?

Jun 13, 2006

We are going to have two SQL 2000 Servers with a SQL 2005 distributor server that will handle 1 way transactional replication. What kind of server should I ask IT to spec out that would satisfy an installation such as this?

Our production DB is 30GB and we are replication about 60% of the data to another server.

View 1 Replies View Related

Could Someone Help Me To Config SQL2005 To Connect To My Host Database Server

Sep 5, 2006

HiI'm new this  .I' using SQL 2005  VWD05.Could some body tell me how to  upload to my host server database to  to run   a membership user account.I dont know what are the procedure to do on my pc in order to transfer the file on the database.Thanks

View 25 Replies View Related

SQL Server 2014 :: Get Product Config With Lowest Price

Feb 16, 2015

I Have 3 Tables

How to Get This Result :

ProductId - ProductConfigId (With Min Price) -MinPrice - HasGift

1 > 3 > 70 > 1
2 > 4 > 700 > 1
3 > 7 > 820 > 0
5 > 9 > 55 > 1

------------------------------------------------------
CREATE TABLE [dbo].[TBL_Product](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ProductName] [varchar](100) NULL
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[TBL_ProductConfig](
[Id] [int] IDENTITY(1,1) NOT NULL,

[Code] .......

View 8 Replies View Related

Problem In SQL Server 2005 In Database Mail Config

Feb 25, 2008

Hi all asp.net 2.0 users,

I want to send the mail to the users of my system when there is any changes in the database or when i assign any user to the project giving them the information about the changes or asignee.

For this first i have to configrue Database mail in the SQL Server 2005. I tried this by going to the SQL Server 2005 Management Studio -> Object Explorer -> Management -> .............but there i donot find the Database mail option.

Again i went to the configuration tool -> SQL Server Surface Area Configuration
-> Surface Area Configuration....and there I enabled database mail.......

But still I have a problem of getting Database mail Option Object Explorer -> Management -> .......

I have been using SQLServer2005_SSMSEE for this as this is windows installer package.....what is the problem

I am tried for searching this..........and its very important for me.....

Will please help me in this condition its very urgent.....

View 1 Replies View Related

Calling .Net Assembly Or Dll From SQL Server 2005 At Config Level 80

Jul 26, 2006

Hi,
I create a dll assembly with the strong name in VB.Net environment.
Created assembly is registered also.
SQL Server 2005 configuraton level is set at "80"
I want to call that assembly from stored procedure with the database config level at "80"
But when i execute the stored proecure i get the following error
Error Source: "ODSOLE Extended Procedure"
Description: "Invalid Class String"

My Code in VB.Net is given below:
Imports System
Imports System.Reflection
Imports System.Globalization
Imports System.IO
Imports System.data
Imports System.Data.SqlClient
Imports System.Data.SqlTypes
Imports Microsoft.SqlServer.Server
Imports Microsoft.VisualBasic
Imports System.Diagnostics
Imports GreatDataAccess

Namespace Test
Public Class clsTest

Public Shared Sub GenTest()
''''............ some code is here
End Sub
End Class
End Namespace

Stored Procedure
CREATE PROCEDURE [dbo].[PPGenerateFile]
AS
BEGIN
Declare @retVal INT
Declare @comHandler INT
declare @errorSource nvarchar(500)
declare @errorDescription nvarchar(500)
declare @retString nvarchar(100)

-- Intialize the COM component

EXEC @retVal = sp_OACreate Test.clsTest, @comHandler OUTPUT
IF(@retVal <> 0)
BEGIN
--Trap errors if any
EXEC sp_OAGetErrorInfo @comHandler,@errorSource OUTPUT, @errorDescription OUTPUT
SELECT [error source] = @errorsource, [Description] = @errordescription
Return
END



-- Call a method into the component

EXEC @retVal = sp_OAMethod @comHandler,'GenTest()',@retString

IF (@retVal <>0 )
BEGIN
EXEC sp_OAGetErrorInfo @comHandler,@errorSource OUTPUT, @errorDescription OUTPUT
SELECT [error source] = @errorsource, [Description] = @errordescription
Return
END
select @retString

END






Please Help me to solve this problem.

View 21 Replies View Related

Do SQL Server 2005/CLR Triggers Support .config Files?

Jun 5, 2006

Does anyone know if it's possible to use the standard .config file within a CLR Trigger to read properties via the System.Configuration namespace

I guess it's not possible because the CLR Trigger needs to be compiled as an assembly which is hosted by SQL Server

Thanks

Jason

View 1 Replies View Related

Is It Possible To Use A Simple ODBC Config On A Unix Client To Connect To MS-SQL Server?

Jul 20, 2005

Anyone support a config where you have an unix/linux (AIX here) ODBCclient connection to SQL Server database? I am looking for a simple,supportable configuration that does not require me to learn perl orinstal a bunch of crap gnu shareware on enterprise class machines.Please help!

View 3 Replies View Related

Issues Running Through Config IIS With SQL Compact Setup Using Remote IIS Server

Jan 11, 2008

I've been trying to run through the Microsoft example at http://msdn2.microsoft.com/en-us/library/bb226707.aspx entitled "Configuring IIS for SQL Server 2005 CE Remote data access and Merge replication" but I'm having issues. The first time I ran through it I tried to use IIS on a server that was not the same as the SQL server and it didn't work at all. So I ran through it a second time and used the SQL servers IIS for testing and when I went to access the webpage I got a HTTP 500 Internal Error. After a while of playing I got a "Service Unavailable" message but still not the "Microsoft SQL Server CE server agent" screen I should have gotten. So my first question is how do I get this to work with a seperate IIS server? Which step do I change because I did put the right IIS and made a site there but it didn't work? I thought changing step 5 under the "To configure IIS for SQL Server CE Sync" to my IIs server would do it but it didn't. Maybe because in step 8 of the same section you have to use the share name and not a local directory even though its the same directory on the IIs server?

Also I just want to make sure I'm going down the right path with this. I have a VB.Net 05 application that connects to a database on a SQL 2005 server internally. I also have a seperate IIS server that is serving some web pages. Network is protected by both a hardware firewall then to a ISA box which I can control and allow http access to the internal IIS for whatever subdomain I end up choosing. I would like to create a mobile version of the application for some Mobile 6 devices we have and have them able to sync there data. In fact they don't even need to sync, just be able to download the server data once a week or on command. I've gotten the SDK for mobile devices, the "How to pull data using the RDA object", written the framework for the program, and now I need to figure out how to push the data out so it can be retrieved by my mobile devices over the internet. I've tried searching for answers, I thought this would be a popular thing to do, but I'm having trouble finding anything.

-Allan

View 4 Replies View Related

Questions About SQL Server

Sep 20, 2004

Hi there!

I was wondering if anyone can help answer a few questions in regards to MS SQL Server.

1. In stored procedure, am I able to select a bunch of records and run through each record and depending on a certain value do an update or insert?

2. Using DTS, am I able to schedule the stored procedure to run at certain times during the day?

Many thanks!

Richard

View 1 Replies View Related

PAE SQL Server Questions...

Dec 23, 2004

Hey all,

I'm wondering what command I could issue to see the amount of memory a named instance is using from within the instance itself. We've enabled address extensions (PAE), and task manager no longer shows the correct amount of mem being used by the process. Under perfmon, I've added the object MSSQL$INSTANCENAME:Memory and I'm looking at the Total Server Memory. I'm seeing 4 gigs, when max memory is capped at 2gigs. This must show the server memory and not the instance memory ? Is there some way to see the instance memory ?

Cheers,
-Kilka

View 2 Replies View Related

Two Questions About SQL Server 6.5

Jul 23, 2005

Hi,I copied the DATA directory from a backup ghost image to a new SQL6.5 installation and, after fixing a problem with the directory structure(which caused the databases to be marked as "suspect") I was able to workwith it in a normal way.Opening the company database works without problems. The DATAdirectory seems to be correctly copied. The only problem is that I'm unableto see the scheduled tasks. I'm a using predefined database user (not sa).My questions are:1. Is it normal not to see the scheduled tasks when logged asanother user than the sa or the owner of the tasks ? If it isn't, thensomething went wrong copying the DATA directory (even if SQL didn't markthem as suspect). Any advise or comment about this would be really welcome.2. If it's normal not to see the scheduled tasks, Is there any wayto recover the lost sa password ? The docs containing the password werelost around 4 years ago.Any help would be really welcome,

View 10 Replies View Related

SQL Server Questions???

Jul 20, 2005

Hi Folks,I am a newbie when it comes to SQL Server 2000 and have a Sybasebackground. How can I reset my sa password in MSSQL like we do it inthe runserver file(-p) in sybase??? Also, can I configure replicationusing the standard edition of MSSQL server????ThanksRegardsdba_sybase2003

View 5 Replies View Related

SQL Server Interviewee Questions...

Mar 19, 2001

Does anyone know where i can obtain some SQL Server questions to test interview candidates ??

many thanks
Paul

View 1 Replies View Related

SQL Server Interviewee Questions...

Mar 19, 2001

Does anyone know where i can obtain some SQL Server questions to test interview candidates ??

many thanks
Paul

View 2 Replies View Related

SQL Server Interviewee Questions...

Mar 19, 2001

Does anyone know where i can obtain some SQL Server questions to test interview candidates ??

many thanks
Paul

View 1 Replies View Related







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