Supported Remote Execution Techniques

Jan 16, 2007

Some time ago, I came across some posts that suggested that remote execution of SSIS packages was only supported if the package was wrapped by a SQL Server Job Agent job.

Is this correct?

Would the web service technique described below then not be supported?

http://msdn2.microsoft.com/en-us/library/ms403355.aspx

As I understand, there are approaches for running programatically:

1. sp_start_job

2. xp_cmdshell

3. Microsoft.SqlServer.Dts.Runtime API calls

Understanding that SQL Server Job Agent is the preferred approach, please advise as to if any of the above are NOT supported by Microsoft.

Thanks,

Rick

View 4 Replies


ADVERTISEMENT

Execution Of A Full-text Operation Failed. 'No Such Interface Supported'

Feb 14, 2008

Hi

I am getting the following error while creating the Full Text catalogs.

Execution of a full-text operation failed. 'No such interface supported' (Microsoft SQL Server, Error: 7689)

The Full Text Search service is running and had no problems earlier.

View 1 Replies View Related

Remote Access To Report Data Sources And/or The Report Server Database Is Not Supported In This Edition Of Reporting Services.

Apr 24, 2006

I'm using SQL Express with Advance Services & I get this error when I try to deploy my reports. Why do I get this error

An error has occurred during report processing. (rsProcessingAborted)

Cannot create a connection to data source 'EDPSYS'. (rsErrorOpeningConnection)

The feature: "Remote access to report data sources and/or the report server database" is not supported in this edition of Reporting Services. (rsOperationNotSupported)

Justin Song

View 4 Replies View Related

Remote DTSX Execution, When Sql25k Fails.

Aug 18, 2006

Hi everyone,

This is my snippet of code. It works fine with remote DTSX but when they have got connections against Sql Server 2005, ending given the following error:

Event: (On error)

12:21:52,-1071611876,0x,Error de la llamada del método AcquireConnection al administrador de conexión "LOCALHOST.BDAplis"

That means more or less "Error on calling method AcquireConnection to Connection Manager localhost...

It's curious. I've got other packages which are using Sql Server 2000 connections without errors.

Thanks for your help,



pkgResults = pkg.Validate(Nothing, Nothing, EventsSSIS, Nothing)

If pkgResults = DTSExecResult.Success Then



pkg = app.LoadPackage(ActObject.packageName, Nothing, True)

endif

pkg.InteractiveMode = False

pkgResults = pkg.Execute()

View 2 Replies View Related

Remote Execution Of SSIS Packages Via Web Service

May 30, 2006

Is anyone executing SSIS packages using a web service similar to the example in http://msdn2.microsoft.com/en-us/ms403355(SQL.90).aspx

From what I've read, there is a new HTTP server embeded in SQL Server (so we don't have to have IIS) that this could be done from??







View 2 Replies View Related

SQL Injection Techniques

May 21, 2008

Hello,
I apologize if this isn't the most appropriate place to ask but we have a SQL 2k server behind our website and we recently added a product review portion to our product pages. In the comments field in our db we are getting entries like:

1. Online Pharmacy, [url=http://w
2. iPb95U <a href="http://kmajvv (html tags are replaced in actual db)

My question is why the cut off? I just converted the code from escaped quotes and string concat to a stored proc using ADO params. The first entry was submitted with the sproc and the second while the string concat was still being used. So the visitor must be purposely truncating the entry, but I'm curious as to why. Is it just to try and break the code?

If anyone knows of better place to post questions like these, maybe a security forum, please let me know.

Thanks

View 4 Replies View Related

Remote Execution Of Package Via Dtexec And Access Denied

Feb 17, 2006

I am finishing a port of a project that was done with RS2000/AS2000/DTS2000. The cube process is triggered remotely by a Korn Shell script from Services for Unix that runs a DTS package:

dtsrun.exe /S "$ANALYSIS_SERVICES_HOST" /U "$ANALYSIS_SERVICES_USER" /P "$ANALYSIS_SERVICES_PASSWORD" /N "$PACKAGE_NAME"

I have finished porting the AS and RS parts to their 2005 equivalents and now I am trying to get the cube processing converted. I have built a SSIS package that processes the cube and I have deployed it to the SQL Server in MSDB. When I am logged on to the SQL Server box directly, I can execute the package via the Management Studio and from the command line via:

dtexec /Ser "$ANALYSIS_SERVICES_HOST" /DT "$PACKAGE_PATH_NAME"

When I try to register the SQL Server in Integration Services from my client PC Management Studio it fails with "Access Denied". When I try to run the dtexec from my client PC it fails with "Access Denied".

I have walked through Kirk Haselden's instructions at:

http://sqljunkies.com/WebLog/knight_reign/archive/2006/01/05/17769.aspx

(adding myself to Distributed COM Users, noting the correct DCom Config settings for MsDtsServer and restarting the Integration Services service) and the problem is still not resolved. I have posted to the DTS group on Technet and now I am posting here. This can not be run scheduled by SQL Agent as it needs to be triggered by other load/postload activities. Are there any other fixes for this problem that I can try?

Thanks,

Keehan

By the way, being able to have all the parts of this project in one dev environment is great. The previous application was developed in 3 separate locations which was pretty clunky.

View 6 Replies View Related

Transaction Management Techniques

Mar 15, 2005

Does anybody know of some good resources comparing transaction management techniques used in sql server. I am particularly interested in the areas of concurrency control, locks and recovery.

View 2 Replies View Related

Learning Optimization Techniques

Sep 14, 2006

Hi,

Still using 2000; I'm trying to figure out where to even start with optimization in SQL queries. BOL is very confusing to me on this point. I ran the following query with and without and index as seen below. Is Trace a good place to start?

DROP INDEX OrdDetails.OrderID_ind
GO

CREATE INDEX OrderID_ind
ON OrdDetails (OrderID)
GO

select count(*) from OrdDetails = 6467155 rows
GO

-- query; without index Duration 156; CPU 95; Reads 54
-- query; with index Duration 66; CPU 15; Reads 97

select OrderID, Count(OrderID) AS OrderIDCnt from OrdDetails
group by OrderID
having count(*) > 1
GO

Why are the reads more with the index? This is just a simple non-clustered index, which I believe is the default. Should I be starting elsewhere to find out this info?

thx.

Kat

View 3 Replies View Related

SSIS Job Execution Fails | Copy Files From Remote Machine

May 13, 2008

Hi All

One of the step in sql agent job is to execute the SSIS package to copy files from remote shared location to local server where sql server is installed. The account on which SQL agent runs as has access to remote shared location. However SSIS package always fails with following error:

An error occurred with the following error message: "Access to the path '\sharedlocationBCKTST105092008.csv' is denied.".

We have tried using proxies but same issue come with proxy also.
When using proxy, we created a proxy for a user who has access on that shared folder on Windows server(from which files are to be copied). If we login to SSIS server with the above user and execute SSIS package manually it works fine. However if we login with different user and run the job via SQL agent using proxy of the above user, then job fails throwing same above mentioned error


Any help is highly appreciated.





Thanks

View 3 Replies View Related

Remote-server Execution Of A Global Temp Stored Procedure

Oct 9, 2006

I have the following execution of a global temporary stored procedure on a remote SQL 2000 server:


insert into targetTable
exec remoteServer.master.dbo.sp_MSforeachdb ' ', @precommand = 'exec ##up_fetchQuery'

This is an ugly duck query but it seems to work fine. when I try to directly execute the remote stored procedure such as with


insert into query_log exec remoteServer.master.dbo.##up_fetchQuery

I get execution error


Server: Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure '##up_xportQueryLog'.
Database name 'master' ignored, referencing object in tempdb.


When I try


insert into query_log exec remoteServer.tempdb.dbo.##up_fetchQuery

I get


Server: Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure '##up_xportQueryLog'.
Database name 'tempdb' ignored, referencing object in tempdb.
with


insert into query_log exec remoteServer..dbo.##up_fetchQuery

or


insert into query_log exec remoteServer...##up_fetchQuery

I get


Server: Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure '##up_xportQueryLog'.

I guess the remote server has trouble resolving the name of the global temp stored procedure when its reference comes in as a remote stored procedure calls. Is there any way to directly call a global temp stored procedure from a remote server or do I need to stick with this goofy-looking work-around?



Dave

View 3 Replies View Related

This Feature Remote Access To Report Data Sources And/or The Report Server Database Is Not Supported In This Edition Of Report

Jun 16, 2006

SQL server 2005 express reporting problem.

error message:

This feature "remote access to report data sources and/or the report server database" is not supported in this edition of reporting service

I got this error message when I try to connect to database hosted in another PC running SQL server 2000.

Is it true that SQlL server Express can only use Local Database Engine to host the database?



View 5 Replies View Related

Is There Any Plan To Add New Techniques To Improve The Data Mining Part Of SQL Server

May 18, 2007



I have worked with many data mining softwares and found SQL Data mining part of Microsoft product needs to imrove a lot to whoo the customers.

View 10 Replies View Related

SQL Server 2008 :: Techniques For Ensuring Isolated Temp Table Scope?

Jul 28, 2015

what are some common techniques for ensuring an isolated temp table scope? For example, if 2 different sprocs happen to crud a temp table with the same name? I'm guessing that big SQL shops establish a standard for this early on to avoid conflicts between sprocs.

View 3 Replies View Related

Static Variables In A SQLCLR Stored Proc Seem To Get Reused From Execution To Execution Of The Sp

Aug 23, 2007

after moving off VS debugger and into management studio to exercise our SQLCLR sp, we notice that the 2nd execution gets an error suggesting that our static SqlCommand object is getting reused from the 1st execution (of the sp under mgt studio). If this is expected behavior, we have no problem limiting our statics to only completely reusable objects but would first like to know if this is expected? Is the fact that debugger doesnt show this behavior also expected?

View 4 Replies View Related

Execution Plans &<&> Proportionate Execution Times

Dec 7, 2005

Hi I am slowly getting to grips with SQL Server. As a part of this, I have been attempting to work on producing more efficient queries. This post is regarding what appears to be a discrepancy between the SQL Server execution plan and the actual time taken by a query to run. My brief is to produce an attendance system for an education establishment (I presume you know I'm not an A-Level student completing a project :p ). Circa 1.5m rows per annum, testing with ~3m rows currently. College_Year could strictly be inferred from the AttDateTime however it is included as a field because it a part of just about every PK this table is ever likely to be linked to. Indexes are not fully optimised yet. Table:CREATE TABLE [dbo].[AttendanceDets] ([College_Year] [smallint] NOT NULL ,[Group_Code] [char] (12) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,[Student_ID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,[Session_Date] [datetime] NOT NULL ,[Start_Time] [datetime] NOT NULL ,[Att_Code] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ) ON [PRIMARY]GO CREATE CLUSTERED INDEX [IX_AltPK_Clust_AttendanceDets] ON [dbo].[AttendanceDets]([College_Year], [Group_Code], [Student_ID], [Session_Date], [Att_Code]) ON [PRIMARY]GO CREATE INDEX [All] ON [dbo].[AttendanceDets]([College_Year], [Group_Code], [Student_ID], [Session_Date], [Start_Time], [Att_Code]) ON [PRIMARY]GO CREATE INDEX [IX_AttendanceDets] ON [dbo].[AttendanceDets]([Att_Code]) ON [PRIMARY]GOALL inserts are via an overnight sproc - data comes from a third party system. Group_Code is 12 chars (no more no less), student_ID 8 chars (no more no less). I have created a simple sproc. I am using this as a benchmark against which I am testing my options. I appreciate that this sproc is an inefficient jack of all trades - it has been designed as such so I can compare its performance to more specific sprocs and possibly some dynamic SQL. Sproc:CREATE PROCEDURE [dbo].[CAMsp_Att] @College_Year AS SmallInt,@Student_ID AS VarChar(8) = '________', @Group_Code AS VarChar(12) = '____________', @Start_Date AS DateTime = '1950/01/01', @End_Date as DateTime = '2020/01/01', @Att_Code AS VarChar(1) = '_' AS IF @Start_Date = '1950/01/01'SET @Start_Date = CAST(CAST(@College_Year AS Char(4)) + '/08/31' AS DateTime) IF @End_Date = '2020/01/01'SET @End_Date = CAST(CAST(@College_Year +1 AS Char(4)) + '/07/31' AS DateTime) SELECT College_Year, Group_Code, Student_ID, Session_Date, Start_Time, Att_Code FROM dbo.AttendanceDets WHERE College_Year = @College_YearAND Group_Code LIKE @Group_CodeAND Student_ID LIKE @Student_IDAND Session_Date <= @End_DateAND Session_Date >=@Start_DateAND Att_Code LIKE @Att_CodeGOMy confusion lies with running the below script with Show Execution Plan:--SET SHOWPLAN_TEXT ON--Go DECLARE @Time as DateTime Set @Time = GetDate() select College_Year, group_code, Student_ID, Session_Date, Start_Time, Att_Code from attendanceDetswhere College_Year = 2005 AND group_code LIKE '____________' AND Student_ID LIKE '________'AND Session_Date <= '2005-11-16' AND Session_Date >= '2005-11-16' AND Att_Code LIKE '_' Print 'First query took: ' + CAST(DATEDIFF(ms, @Time, GETDATE()) AS VarCHar(5)) + ' milli-Seconds' Set @Time = GetDate() EXEC CAMsp_Att @College_Year = 2005, @Start_Date = '2005-11-16', @End_Date = '2005-11-16' Print 'Second query took: ' + CAST(DATEDIFF(ms, @Time, GETDATE()) AS VarCHar(5)) + ' milli-Seconds'GO --SET SHOWPLAN_TEXT OFF--GOThe execution plan for the first query appears miles more costly than the sproc yet it is effectively the same query with no parameters. However, my understanding is the cached plan substitutes literals for parameters anyway. In any case - the first query cost is listed as 99.52% of the batch, the sproc 0.48% (comparing the IO, cpu costs etc support this). BUT the text output is:(10639 row(s) affected) First query took: 596 milli-Seconds (10639 row(s) affected) Second query took: 2856 milli-SecondsI appreciate that logical and physical performance are not one and the same but can why is there such a huge discrepancy between the two? They are tested on a dedicated test server, and repeated running and switching the order of the queries elicits the same results. Sample data can be provided if requested but I assumed it would not shed much light. BTW - I know that additional indexes can bring the plans and execution time closer together - my question is more about the concept. If you've made it this far - many thanks.If you can enlighten me - infinite thanks.

View 10 Replies View Related

Execution Procedure Stored During Execution Of The Report .

Aug 3, 2007



Hello :

How to execute a procedure stored during execution of the report, that is before the poster the data.

Thnak you.

View 4 Replies View Related

Execution In Scheduled Job Vs Direct Execution

Nov 29, 2004

Here's my case, I have written a stored procedure which will perform the following:
1. Grab data from a table using cursor,
2. Process data,
3. Write the result into another table

If I execute the stored procedure directly (thru VS.NET, or Query Analyser), it will run, but when I tried to execute it via a scheduled job, it fails.

I used the same record, same parameters, and the same statements to call the stored procedure.

Any idea?

View 3 Replies View Related

Remote Access Server Configuration Option And Remote Query Timeout?

Jun 2, 2015

- When I disable "allow remote connections to this server" from server properties>connection page, I can still remotely connect to the server from SSMS...so what is the impact of enable/disabling it?

- what is the impact of changing the remote query timeout (on the same page) from default value?

View 4 Replies View Related

Remote Connections Enabled, But I Still Get Error That Remote Is Not Configured - Sql 2005

Aug 23, 2006

Fellow Devs,
I have an instance of SQL Server Express 2005 running on another box and I have Remote Connections enabled over both TCP/IP and Named Pipes, but on my other box I keep getting the error that the server does not accept Remote Connections.
Any ideas why this might be happening? Is there some other configuration?
 
 

View 25 Replies View Related

DAC Not Supported.

Aug 7, 2006

SQL2K5
SP1

Howdy all. I'm trying to open up Dedicated Admins Connection in Management Studio and getting "DAC's are not supported. (Object Explorer)"

Any idea's?

TIA, cfr

View 2 Replies View Related

Top Not Getting Supported In Sqlserver2000

Nov 10, 2007

Hi, 
I have  created the below procedure in SQL SERVER 2005.
But when I copy out the same in SQL SERVER 2000. I get an error at the underlined place. It says
Line 32: Incorrect syntax near '('.
 ALTER procedure [dbo].[VTELcardvalidation1]
@CardValue1 int,
@CardValue2 int,
@CardValue3 int,@Result nvarchar(50)output
as
begin
declare @CrdPinNo varchar(100)
declare @CrdNo nvarchar(100)declare @count int
declare @inc int
declare @concat nvarchar(200)create table #temptable(crno nvarchar(50),pno nvarchar(50))
 
--First Card
--Change here
select @count=count(cardno) from vendorcardvalidation where cardvalue=1500 and flag=0if (@count)>@CardValue1
begin
declare cur1 cursor forselect top(@CardValue1) pin,cardno from vendorcardvalidation where cardvalue=1500 and flag=0 order by cardno
open cur1fetch next from cur1 into @CrdPinNo,@CrdNo
while(@@fetch_status=0)
beginupdate vendorcardvalidation set flag=1 where cardno=@CrdNo
insert into #temptable values(1500,@CrdPinNo)fetch next from cur1 into @CrdPinNo,@CrdNo
endclose cur1
deallocate cur1
set @Result='Success'end
else
begin
set @Result='Failure'
end
select * from #temptable
drop table #temptable
end
 
 
It seems the the word 'top' will not be supported in sqlserver 2000. What should I do?
Regards
cmrhema
 
 
 

View 3 Replies View Related

Interface Not Supported

Jul 17, 2000

I have the following VB function. The stored proc that is being called
("GetList") inside the function does a simple SQL Select statement against
an SQL Server 7 database using OLE DB. I'd like to store the result of the
SQL Select statement in the "Rs" parameter to pass back to the calling
function. Whenever I call this function, I get an error message stating "No
Such Interface Supported". Does anyone know why I cannot do this?

Also, this function is being called from ASP code. That's why the "Rs" is
passed as a variant. It's created in the ASP code before this function is
called.

------------------------------------------

Function GetAddressDropDownList(Rs As Variant, CustomerId As Long)

Dim ProcComm
Dim Parameter

Set ProcComm = CreateObject("ADODB.Command")
ProcComm.CommandType = adCmdStoredProc
ProcComm.CommandText = "GetList"

Set Parameter = ProcComm.CreateParameter("CustomerId", adInteger,
adParamInput)
Parameter.Value = CustomerId
ProcComm.Parameters.Append Parameter
Set Parameter = Nothing

ProcComm.ActiveConnection = BuildConnectionString()

Rs.CursorLocation = adUseClient
Rs.Open ProcComm, , adOpenForwardOnly

Set Parameter = Nothing
Set ProcComm = Nothing

End Function

View 1 Replies View Related

How Many Apps Supported?

Sep 9, 1999

How many "applications" can be loaded onto Microsoft SQL Server 6.5?

Additional Information:

The OS platform is Windows NT Server 4.0 (SP5) on a Compaq ProLiant 1600 (PII 450) with 256Mb RAM
Proposed applications, although this probably will mean little, are Dataview (club membership) Peterborough (payroll) and Positive (HR).

Any assistance would be appreciated.

Thanks

Robert
robert@whiteley.com

View 1 Replies View Related

SUM(x) OVER (PARTITION BY Y) Supported?

Mar 7, 2008

SUM(qtycolumn) OVER (PARTITION BY columnA, Column B)

is this function supported by Sql Ce?

View 1 Replies View Related

Is SQL 2000 32 Bit Supported

Dec 27, 2006

Hello All,

I need to know if SQL 2000 32 bit is supported on a Windows 2003 64 bit on a x86 processor server. The server is clustered.

View 3 Replies View Related

Is MARS Supported

Feb 9, 2007

Does the Compact edition support the MARS feature (multiple active result sets) of SQL Server 2005?

View 3 Replies View Related

OPENXML Supported In CE 3.5?

Oct 2, 2007



I am viewing a list of the reserved keywords for CE 3.5 and OPENXML is listed. Can you please tell me how I would implement this in CE 3.5? Since only one SQL statement can be sent with a SqlCeCommand then how can you prepare the document, access the xml data with OPENXML, and then close the document handle all in one call? For example, I have the following TSQL code in a SQL Express stored procedure and need to port it over to CE 3.5. Could you please help with some great ideas on how to go about this porting task?


CREATE PROCEDURE [SaveConfigurationMiscs]

(@XmlData Text)

AS


SET NOCOUNT ON

DECLARE @iDoc Int





/* Create an internal representation of the XML document. */


EXEC sp_xml_preparedocument @iDoc OUTPUT, @XmlData



/* Dump XML Data into an in memory table */

DECLARE @ConfigurationMiscs TABLE (

ConfigurationMiscID Int,

ActiveLaunchMonitor NVarChar(50),

UseModeledShots Bit,

DeleteRecord Int

)



INSERT INTO @ConfigurationMiscs (ConfigurationMiscID, ActiveLaunchMonitor, UseModeledShots, DeleteRecord)

SELECT X.ConfigurationMiscID, X.ActiveLaunchMonitor, X.UseModeledShots, X.DeleteRecord

FROM OPENXML (@iDoc, '/xml/ConfigurationMisc')

WITH (

ConfigurationMiscID Int,

ActiveLaunchMonitor NVarChar(50),

UseModeledShots Bit,

DeleteRecord Int

) X



/* Clean up XML resources */

EXEC sp_xml_removedocument @iDoc


/* Update */

UPDATE Table_ConfigurationMiscs

SET

Table_ConfigurationMiscs.ActiveLaunchMonitor = X.ActiveLaunchMonitor,

Table_ConfigurationMiscs.UseModeledShots = X.UseModeledShots

FROM ConfigurationMiscs Table_ConfigurationMiscs

INNER JOIN

@ConfigurationMiscs X ON Table_ConfigurationMiscs.ConfigurationMiscID = X.ConfigurationMiscID

WHERE

X.ActiveLaunchMonitor IS NOT NULL AND

X.UseModeledShots IS NOT NULL




/* Insert New */

INSERT INTO ConfigurationMiscs (ConfigurationMiscID, ActiveLaunchMonitor, UseModeledShots)

SELECT X.ConfigurationMiscID, X.ActiveLaunchMonitor, X.UseModeledShots

FROM @ConfigurationMiscs X

LEFT JOIN

ConfigurationMiscs Table_ConfigurationMiscs ON Table_ConfigurationMiscs.ConfigurationMiscID = X.ConfigurationMiscID

WHERE

Table_ConfigurationMiscs.ConfigurationMiscID IS NULL AND

X.ActiveLaunchMonitor IS NOT NULL AND

X.UseModeledShots IS NOT NULL


/* Delete Old */

DELETE Table_ConfigurationMiscs

FROM ConfigurationMiscs Table_ConfigurationMiscs

INNER JOIN

@ConfigurationMiscs X ON Table_ConfigurationMiscs.ConfigurationMiscID = X.ConfigurationMiscID

WHERE

X.ConfigurationMiscID IS NOT NULL AND

X.DeleteRecord IS NOT NULL



RETURN

GO

View 1 Replies View Related

Supported OS List?

Mar 10, 2008

Is there a _complete_ known good list of OS support for sql express 2005? Is is going to install on vista home basic, etc.?

View 1 Replies View Related

When Will It Be Fully Supported?

Mar 23, 2006

Having sucessfully tested mirroring, I've suggested we should implement it at my place of work.

However, they are non too pleased that it is not yet officialy part of SQL Server 2005 and therefore not supported, does anyone know when it will be in standard edition? because I really really need to know...

Thanks







View 4 Replies View Related

SQL Remote Connection Not Being Seen, Though Remote Connections Allowed

Oct 11, 2007

HiI'm going insane.I have a club starter kit on my local server which is working fine.I have migrated the database to my remote host and seems to have transfered ok.For a brief period I was able to connect to the database remotely, but now I cannot I get the following, even though SQL Server Surface Area Config is set to accept remote connections.An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)This is my connection string;<add name="ClubSiteDB" connectionString="Data Source=xx.xxx.xx.xx,xxxx; Network Library=DBMSSOCN; Initial Catalog=tets; User ID=sqladminbob;Password=sqlbob4398;" providerName="System.Data.SqlClient="/>I hav also tried to use  aspnet_regsql.exe to add the remote provider but I get the same message. Thanks 

View 3 Replies View Related

Keyword Not Supported: ',server'.

Jun 27, 2006

Hello there.
I'm developing an eCommerce solutions based on the ASP.NET 2.0 Commerce Starter Kit, architechture. It uses the Provider Pattern. In my web-application, i use the CatalogProvider, to retrieve data from a SQL Server 2005 database. I call the methods through a handler class, whoch excists inside the WebApp. I also use a ShoppingCartProvider, OrdersProvider, ShippingProvider etc. in the same way.
In my Web.Config file, i have all the provers listed, and on each provider, the name of the connectionString to use are given.
My connection string looks like this:"connString" connectionString="Server=xxxx;Database=xxxx;Trusted_Connection=True;" providerName="System.Data.SqlClient" />
 The problem is, that suddently, when browsing the website, that connects to the database through the providers, i get this error:
Keyword not supported: ',server'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Keyword not supported: ',server'.Source Error:




Line 31: public static IDataReader GetProductsByCategory(int categoryID)
Line 32: {
Line 33: return Commerce.Providers.CatalogProvider.Instance.GetProductsByCategory(categoryID);
Line 34: }
Line 35:
Source File: d:DevelopmentASPNETSeoShopApp_CodeHandlersCatalogManager.cs    Line: 33 Stack Trace:
If i then go back to my web.config file, and removes the providerName section, of the connectionString, the website works again, for a short period. When the error return, i undo the deletion of the providerName, and it will work again... For a short time...
I've also tried to use another connectionsString, like this:Data Source=Aron1;Initial Catalog=pubs;Integrated Security=SSPI
But then the keyword which is not supported is: ', data source'
 
Does anyone know what the issue might be?
Thanks in advance...

View 9 Replies View Related

Error: Keyword Not Supported: 'dsn' In Asp.net

Jun 10, 2008

hi,i am trying to connect sql server 2005 from my asp.net applicationi have create DSN for this ..then i am getting the following errorKeyword not supported: 'dsn'. in sql serverplease provide me the solution

View 5 Replies View Related







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