Sqlserver 2008 Can't Work With Visual Studio 2008

Dec 23, 2007

when I try to make a sqldatasource with visual studio 2008 and SQLServer 2008 . I found that there are a message that the visual studio 2008 can support only SQLServer 2005 and SQLServer 2000
how to make my visual studio 2008 support SQLServer 2008 

View 1 Replies


ADVERTISEMENT

Help---&&> How I Can Work With Primavera Integration API In Visual Studio 2008 ??

Apr 30, 2008



someone please tell me how
im using primavera V5.0 (www.primavera.com) and i want to export the data from the .net to primavera and versa versa
please tell me soon

View 3 Replies View Related

How To Export Files From ReportViewer In Visual Studio 2008 Frame Work 2.0

May 13, 2008


I want to export file such as .csv, xml , word from ReportViewer in visual studio 2008 but when I run on ASP.NET .net framework 2.0, it can export only excel & pdf files. But in business intelligent project in Visual Studio 2005 I can export all files that I want.
How can I export file from reportviewer in visual studio 2008 run on web application?

Regards,
NPeng

View 1 Replies View Related

Not Connecting To SQL Through Visual Studio 2008

Jun 15, 2008

This should be simple - using the server explorer I select the server and then the database that's running on that server. It lets me test the database connection at that point - which does work.

Then when I try to add the database it says -

Could not load file or assembly Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0 ... The system cannot find the file specified.

So far as I can see the specified file is Microsoft.SqlServer.Smo.dll which has a current version of 9.0.242.0 and sits within the SQL Server files. That is also the version number held in the registry.

The version of SQL is 2005. The database was created using Create Database through VS 2008, .net 3.5.

Also, I installed VS 2008 first, which puts in SQL Compact. And then tried installing SQL 2005 Development which still gave the same error message. So I uninstalled SQL Compact and SQL 2005. And then did a clean install of SQL 2005 Developer. Does VS 2008 cope with this?

Is there a version 10 of SMO? Or is there somewhere within SQL or Visual Studio where it could be holding a version number of 10 for the dll? Or any other ideas?

Thanks Mike

View 2 Replies View Related

Visual Studio 2008 And SSIS

Sep 1, 2007

I have recently installed Visual Studio 2008 Beta 2 on a development machine that was running SQL Server 2005 SP2a without any issues. Not I find that I can no longer run any of my SSIS packages and I keep getting the following error:

Retrieving the COM class factory for component with CLSID {7816B7A3-CD60-4539-BD38-C35AFC61F200} failed due to the following error: 80040154

Per other posts, I have reinstalled MSXML 3.0 to no avail and I have looked for every SQL Server patch I can find - I appear to have all of the latest patches for SQL Server.

Can somebody please help?

View 6 Replies View Related

SQL CE 3.5 Visual Studio 2008 TOO SLOW

Sep 14, 2007



Hi,

I have a desktop application that uses an Access DB.
Now i have converted it to Visual Studio 2008 and tried the SQL CE Edition.
I wrote all the methods, create the database and the tables on the fly and seems to work really fine.
The database is 20MB big, but the performance is vey bad.
I mean with Access it's very fast, you actually don't see how slow it is, and with the SQL CE now,
it takes 7 seconds !!!! for a few access instead of under 1 second with Access.

I can't imagine that this is normal, there must be something i am really missing in my code.
Looks something like this:




Code Snippet
SqlCeEngine engine = new SqlCeEngine("Data Source = URANO.sdf");
engine.CreateDatabase();
engine.Dispose();
// Verbindung öffnen
sqlConnection = new SqlCeConnection("Data Source = URANO.sdf");
sqlConnection.Open();
// creating the tables here with data
sqlCommand = new SqlCeCommand("SELECT ID FROM Laender WHERE Name=@Name", sqlConnection);
sqlCommand.Parameters.Add("@Name", SqlDbType.NVarChar, 30);
sqlCommand.Parameters[0].Value = land;
sqlDataAdapter = new SqlCeDataAdapter(sqlCommand);
sqlDataSet = new DataSet();
sqlDataAdapter.Fill(sqlDataSet, "Laender");
landID = "" + (((int)sqlDataSet.Tables["Laender"].Rows[0][0]) + 1);






this takes 1 - 2 seconds


btw: the whole class is static and the variables also are static.

Would it be better to load all the database tables into datasets, and only work with the datasets in memory ?
Well i thought that the SQL CE Engine, would load the database into memory and be just fast.
I mean we have 2 GB of memory or 1 the most of us, 20MB isn't that much.

Thanks !

Nick

View 9 Replies View Related

RS2005 And Visual Studio 2008?

Jan 24, 2008

Can I author report projects in VS Studio 2008 that I deploy to a RS2005 Report Server?

Our development staff has upgraded to VS2008 for our DLLs, Web sites, and console apps... no problem there whatsoever. But we have SQL2005... obviously, since SQL2008 appears to be along way off.

So, it seems like an obvious question... although I'm dreading the response. My experience with getting RS2005 installed and configured correctly was simply horific. In fact, so bad, I'm considering dumping RS altogether and going with a more reliable 3rd party tool... MS has truly done everything in the power to botch this one or so it would seem.

View 1 Replies View Related

Visual Studio 2008 And SSIS

Sep 1, 2007

I installed Visual Studio 2008 Beta 2 Professional yesterday and now none of my SSIS packages will function. Each time I attempt to run the transform, I obtain the folloiwing error:



Retrieving the COM class factory for component with CLSID {7816B7A3-CD60-4539-BD38-C35AFC61F200} failed due to the following error: 80040154.

I have tried to apply every patch I can find for SQL Server 2005 - inclduing both the SP2 and SP2a patches. I have tried reinstalling MSXML 3.0 - nothing seems to work.

Can somebody please help?

Thank you!

View 5 Replies View Related

SQL CLR Integration With Visual Studio 2005/2008

Mar 20, 2008



Dear all,

I am trying to integrate Sql Clr with Visual studio 2005, but i am getting the following error when i try to deploy the solution:



CREATE ASSEMBLY for assembly 'SQLCLRIntegrationDemo' failed because assembly
'SQLCLRIntegrationDemo' is not authorized for PERMISSION_SET = EXTERNAL_ACCESS.
The assembly is authorized when either of the following is true: the database owner (DBO)
has EXTERNAL ACCESS ASSEMBLY permission and the database has the TRUSTWORTHY database
property on; or the assembly is signed with a certificate or an asymmetric key that has
a corresponding login with EXTERNAL ACCESS ASSEMBLY permission. If you have restored or
attached this database, make sure the database owner is mapped to the correct login on
this server. If not, use sp_changedbowner to fix the problem. SQLCLRIntegrationDemo


I have even set the Permission to External in the Project --> Properties --> Database tab.
But still i am getting the above solution while deploying the solution.

One of the blogs suggested that the checkbox beside 'Trustworthy Database' should be checked. But i dont see any checkbase in the database tab of the Project properties.

Any help would be appreciated.

Thanks in advance.

Regards,
Sunny.

View 1 Replies View Related

SSIS 2005 In Visual Studio 2008

Dec 5, 2007

I can't open solutions created in Visual Studio 2005 in Visual Studio 2008


---------------------------
Microsoft Visual Studio
---------------------------
'TransformFoxData.dtproj' cannot be opened because its project type (.dtproj) is not supported by this version of Visual Studio.

To open it, please use a version that supports this type of project.
---------------------------
OK Help
---------------------------
Does that mean it is a requirement to have SQL Server 2008 installed ( which I don't want ) to make it work in Visual Studion 2008.
I just uninstalled VS 2005.

View 7 Replies View Related

Report Designer In Visual Studio 2008

Nov 21, 2007

How do I install the report designer in Visual Studio 2008?

Edit: I mean, how do I install the SQLRS 2005 Report Designer in Visual Studio 2008?

View 24 Replies View Related

Cannot Add Image To RDLC Using SSRS On Visual Studio 2008

Dec 4, 2007

I am using VS2008 and trying to add an Image to a report (RDLC).
The documentation suggests the properties window for the Image field will have a Source and a Value field.
I cannot see them.
Elswhere, the documentation talks about an Image Wizard.
I cannot find that either.

I have added an Image to the Report's Embedded Images list.
How do I add an image to my RDLC?

View 3 Replies View Related

Question About SQL Server Express And Visual Studio 2008

Feb 12, 2008

I already have SQL Server Express 2005 installed from having Visual Studio 2005 installed. How can I tell if it is the SP2 edition? It probably isn't, so my next question is what is going to happen when I install Visual Studio 2008, which I will be doing in a day or two...will the install overwrite SQL Server Express 2005 with the latest edition to SP2, assuming that the latest edition will be on the Visual Studio 2008 installation discs? I have not yet used SQL Server Express, so my knowledge level with it is very weak. What I'm hoping to find out with this question is what I'll have (with respect to SQL Server Express) and the install of Visual Studio 2008. I can't even figure out how to tell what version of SQL Server Express that I now have.

View 9 Replies View Related

CE 3.5 SDK For Native (C/C++) Development (independent Of Visual Studio 2008)

Jan 27, 2008

Hi All-

It appears Microsoft has bundled SQL Server Compact Edition 3.5 SDK for C/C++ development as part of Visual Studio 2008 and is NOT available for download as an independent entity (as 3.1 SDK is).

Is there a work around?

Thanks.

View 3 Replies View Related

Sql Server 2005 Using Visual Studio 2008 And Vista

Feb 8, 2008

I am thinking about installing dvd microsoft office ultimate 2007 visio
before I install sql server 2005 sp2. I already have visual studio 2008
rtm pro professional vl on my vista computer. Will I have any issues
doing this? Thank you

View 6 Replies View Related

Debugging Stored Procedures In Visual Studio 2008

May 22, 2008

I've followed the steps in http://www.sqlteam.com/article/debugging-stored-procedures-in-visual-studio-2005 & in the MSDN for configuring and setting up debugging SQL 2005 stored procedures in VS 2008 (seems to be the same as in VS 2005). Everything works fine until I Step Into the Stored Procedure. Everything says that a yellow arrow will appear on the left and I can start going line by line. I never get the yellow arrow.

If I set a breakpoint, it is automatically disabled. The pop-up warning says, "The breakpoint will not currently be hit. Unable to bind SQL breakpoint at this time. Object containing the breakpoint not loaded." I can't find anything about this message or problem on Microsoft's site or on the web. Any assistance is appreciated.

P.S.
I'm running VS 2008 Professional Edition Version 9.0.2.1022.8 RTM

View 7 Replies View Related

Problem Using Visual Studio 2008 Winforms ReportViewer

Apr 22, 2008

I have an application built using VS 2008 (3.5 fx). I build a series of
reports (using VS 2005 (sigh)) and am now tryiing to render them using a
Windows form and the ReportViewer control in the VS 2008 app. However I
always get the error message "The source of the report definition has not
been specified" when I execute the line

m_reportViewer.RefreshReport();

When I try to view the very same report in a VS 2005 app it renders without
error. I can also view the report using Report Manager and preview it in the
VS 2005 app I use to build it. Any suggestions?

Thx

Helen
--
Helen Warn, PhD
Agile Software Inc.
www.agile-soft.com

View 1 Replies View Related

Visual Studio 2008 And SQL Server 2005 SSIS Packages

Mar 3, 2008

My home machine has sql 2005 and Visual Studio 2005 installed. I uninstalled VS 2005 (RTM) and installed VS 2008 (RTM) in its place. I then found that the SSIS templates were missing. Lesson: don't uninstall VS 2005 if you want to use SSIS 2005!



1. Is there any "workaround" to this issue?



2. (If the answer to 1 is "No") I will install VS 2008 side-by-side with VS 2005 on the same box. When the SSIS issue is finally resolved, can I uninstall VS 2005 without doing damage to the VS 2008 install?



TIA,



Barkingdog




View 17 Replies View Related

Error In Visual Studio 2008 RTM When Attempting To Add Local Database

Mar 16, 2008

I receive the following error when trying to add a local database to my project.

"The data provider required to connect to the local data file could not found. The file will be added to the project but the typed DataSet associated with the file will not be generated."

I've reinstalled VS2k8, SQL Compact 3.1 and SQL Compact 3.5 on my machine and still receive the error.

Does anyone have any suggestions? I saw another similar thread about this in the VB2k8Express forum, but there were no helpful answers there. (for the curious: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2769854&SiteID=1)

I haven't used the SSCE before and so it's possible I've mistakenly omitted some required items.

Any help is greatly appreciated.

View 4 Replies View Related

Sql Reporting Services Sql 2005, Visual Studio 2008, Vista

Mar 17, 2008

I have a couple of questions which is better for commercial development
the standard edition sql or sql express edition?
Does the express edition 2005 in visual studio professional come with
advanced services or do you have install sp2?
Has anyone installed sql 2005 reporting services on vista ultimate
is there anything I should know besides the article How to install
sql reporting services on a windows vista computer? Thanks
I have sql express on my visual studio 2008, however I have
not installed it. Will this be a problem if I install standard ediion?

View 3 Replies View Related

Database Failed To Update SqlCE With Visual Studio 2008

Feb 15, 2008



I use visual studio 2008 to design a database application.
I am in the peak of finalising the program but I have a snag with updating data in the database.
I could create new rows, add rows and new rows of data to the table but whenever i try to change the data in a cell
it returns an error "Update requires a valid UpdateCommand when passed DataRow collection with modified rows."
I have tried all possible solutions, using table adapter, commands etc but wont get it.

This situation also applies to changes made directly on the data grid and also when using the binding navigator buttons
to edit and save data.

please help me.

Barbara Grayson

View 1 Replies View Related

Error With Data Mining Viewer Controls In Visual Studio 2008

Nov 20, 2007

Hello:

I have a framework 2.0 winforms application that uses the data mining viewer controls. I upgraded the project to visual studio 2008 and compiled it under framework 2.0. It compiles fine, but when the form with the TimeSeriesViewer control loads, the application throws the following exception:

System.Reflection.TargetInvocationException was unhandled by user code
Message="Unable to get the window handle for the 'AxChartSpace' control. Windowless ActiveX controls are not supported."
Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.AxHost.InPlaceActivate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at Microsoft.AnalysisServices.Viewers.TimeSeriesViewer.InitializeComponent()
at Microsoft.AnalysisServices.Viewers.TimeSeriesViewer..ctor()
at RMS2.UI.DecisionSupport.ShowModel(String modelName, Int32 tabIndex) in C:UsersDougDocumentsRmsIIRmsIIRMS2.UIDecisionSupport.cs:line 72
at RMS2.UI.DecisionSupport.DecisionSupport_Load(Object sender, EventArgs e) in C:UsersDougDocumentsRmsIIRmsIIRMS2.UIDecisionSupport.cs:line 42
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
InnerException: System.AccessViolationException
Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.UnsafeNativeMethods.IOleObject.DoVerb(Int32 iVerb, IntPtr lpmsg, IOleClientSite pActiveSite, Int32 lindex, IntPtr hwndParent, COMRECT lprcPosRect)
at System.Windows.Forms.AxHost.DoVerb(Int32 verb)
at System.Windows.Forms.AxHost.InPlaceActivate()
InnerException:


The control is being added programatically, as in the wiinforms samples. Can anyone suggest a workaround? Thank you in advance.

- doug

View 5 Replies View Related

Problem Installing SQL 2005 Developer + Express And Visual Studio 2008

Jan 16, 2008

I installed both SQL 2005 developer and SQL Server 2005 Express Edition with Advanced Services SP2 and Microsoft SQL Server 2005 Express Edition Toolkit.

In every version "SQL Server Business Intelligence Development Studio" was missing. I uninstalled and reinstalled both version but always "SQL Server Business Intelligence Development Studio" was not available and the computer could not find devenv.exe file.

I installed visual studio 2008 as well. For some reason the start menu link for "SQL Server Business Intelligence Development Studio" is ""C:Program FilesMicrosoft Visual Studio 8Common7IDEdevenv.exe"" and devenv.exe is not there or anywhere

Pleas advise.

View 4 Replies View Related

Help Sending A Variable From A C# Program To A SQL Query Using The Configuration Wizard In Visual Studio 2008

Apr 29, 2008

I am trying to send a variable selected by the user and have all of the results that match that selection show in a datagridview. I tried using this query but it gives me not result.
//code
SELECT wasteDate, wasteFeed, wasteLbs
FROM tbWaste
WHERE (wasteDate = 'date1')
//code
date1 is being set by a datetimepicker
I am getting no results when I run the program
I have tried out every different combination of ways of coding it i can think of
if anyone can help it would be greatly appriciated.

View 1 Replies View Related

Letting Users Who Visit A Website Add Records To A Sql Server Database Using Visual Studio Web Developer Express Edition 2008

May 5, 2008

in visual studio web developer express edition 2008 i added a new item this was a sql server database which i called test2. I added a table called comments, and the fields name, email, comments, IPAddress, and Date and in my comments.aspx page i added a name textbox, a texbox for email, a textbox for comments and the submit button i double clicked on the submit button and added the following code
 Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click        Dim mydS As New SqlDataSource        mydS.ConnectionString = ConfigurationManager.ConnectionStrings("testConnectionString1").ToString         mydS.InsertCommandType = SqlDataSourceCommandType.Text         mydS.InsertCommand = "INSERT INTO comments(Name,Email,Comments,IPAddress,Date) VALUES (@Name,@Email,@Comments,@IPAddress,@Date)"         mydS.InsertParameters.Add("Name", TextBox1.Text)        mydS.InsertParameters.Add("Email", TextBox2.Text)        mydS.InsertParameters.Add("Comments", TextBox3.Text)        mydS.InsertParameters.Add("Date", Date.Now)        mydS.InsertParameters.Add("IPAddress", Request.Params("REMOTE_ADDR"))         Dim rowsaffected As Int16 = 0        Try            rowsaffected = mydS.Insert        Catch ex As Exception            Server.Transfer("errors.aspx")        Finally            mydS = Nothing        End Try        If rowsaffected <> 1 Then            Server.Transfer("errors.aspx")        Else            Server.Transfer("confirm.aspx")        End If    End Sub     Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged     End Sub but when i run it it gives me a problem with this line mydS.ConnectionString = ConfigurationManager.ConnectionStrings("testConnectionString2).ToString and says something abt unidentified object and I want to know how do i set the connection string or alternatively where?????? and my table does not update with the corresponding values i enter on the webpage. i also changed the authentication mode to forms instead of windows as i was advised but i'm still having a problem

View 12 Replies View Related

Visual Studio 2008;SQL Server 2005;SQL Server Compact Edition 3.5 Question

Aug 26, 2007

I have a question about a problem that I cannot seem to tackle. I have installed the following programs on Windows Vista:

- SQL Server 2005
- Visual Studio 2008
- SQL Server Compact Edition 3.5
- SQL Server Compact Edition 3.5 Server Tools

I want to do the following:

1. I want to create a SQL Server Compact Edition 3.5 database in the SQL Server Management Studio
2. I want my SQL Express server in SQL Server 2005 to be a distributor and publisher

About 1. In SQL Server Management Studio I cannot choose SQL Server Compact Edition 3.5 .
ABout 2. I tried to setup my server to be a distrubutor by running a stored procedure with the following name: sp_adddistributor. I get the following error: This edition of SQL Server cannot act as a Publisher or Distributor for replication.

Does anyone have a solution to both problems.

View 1 Replies View Related

Business Intelligence Project/Integration Services Project Not Showing Up In Visual Studio 2008

Mar 31, 2008

I have visual studio 2005 and sql server 2005 with integration service installed on my machine. Couple of days ago, I installed visual studio 2008 professional. When I go to create SSIS project I dont see it in visual studio 2008. What do I have to do to make it appear in visual studio 2008 so that I can create SSIS projects.

Thanks.

View 7 Replies View Related

Reporting Services :: Adding Dataset Parameter Doesn't Add Report Parameter In Visual Studio 2008 SSRS

Apr 22, 2015

I'll go to a dataset, open up the query designer, add a new parameter, then refresh the fields, but the parameter won't be added as a report parameter.  If I go to the dataset properties under the list of parameters, the value in the dropdown will be blank.  However, sometimes this will automatically add. 

Is this a bug in Visual Studio?  How do I get around this? 

View 3 Replies View Related

SQL 2008 Developer Edition Management Studio Does Not Work For Compact Edition 3.5 Databases

Sep 27, 2007



I am attempting to use the SQL Server 2008 Developer Edition (Management Studio) to create/manage a Compact Edition 3.5 database. My problem is that I cannot even create/open the compact database in Management Studio. Any help would be GREATLY appreciated. TIA

Problem Creating the Compact Database:


Open 2008 Management Studio

From menu choose File | Connect Object Explorer...

Choose SQL Server Compact Edition as the Server type.

Choose <New Database...> as the Database file.

Browse to folder where file will be created (C:MyDatabase#1.sdf was used in my example)

Leave all other field as default selections OR make changes, either way it does not work.

Click OK.

At this point the OK button just becomes disabled and nothing happens.
Problem Opening An Existing Compact Database:

Open 2008 Management Studio

From menu choose File | Connect Object Explorer...

Choose SQL Server Compact Edition as the Server type.

Choose <Browse for more...> as the Database file and locate a ".sdf" file that I created using VS2008.

Enter password, if any.

Click OK.

The following exception is displayed:
TITLE: Connect to Server
------------------------------
Cannot connect to C:Documents and SettingsdarrinbMy DocumentsVisual Studio 2008ProjectsTestSQLCompactEdition35TestSQLCompactEdition35AFS.sdf.
------------------------------

ADDITIONAL INFORMATION: Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476

------------------------------
Could not load file or assembly 'Microsoft.SqlServerCe.Enumerator, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (mscorlib)
------------------------------
BUTTONS: OK
------------------------------

View 1 Replies View Related

Can I Install Visual Studio 2008 Without The SQL Server 2005 Express And Use Instead My SQL Server 2005 Developer Edition?

Feb 22, 2008

(1) I have already installed of SQL Server 2005 Developer Edition first.

(1) Can I install visual studio 2008 without the 2005 express edition of SQL server? Will be any problems because I don't have express edition of SQL server? Do I need to install the express edition of SQL server as well?

(3) How to use SQL Server 2005 Developer Edition instance on visual studio 2008?

View 3 Replies View Related

Deploy From Visual Studio Doesnt Work

Apr 27, 2007

Hello, I created a new Rs server, but when I try to deploy from visual studio, it asks me for username and password multiple times and never deploys.



I am an administrator on the RS server, even on the report folders.

I can access via IE to the report manager.



View 17 Replies View Related

Cant Add Sql Endpoint To My Visual Studio Project. Trying Add As Web Reference Does Not Work.

Jun 3, 2007



i have created a database endpoint that just retuns some data. i am trying to call this endpoint as a web service in visual studio by adding a web reference, but i cannot find my endpoint. it seems to just check iis for endpoints, but how do i make it look for my sql endpoint? here is the code for my endpoint.



create endpoint testEndpoint authorization [FINTAN-PCFintan]
state=STARTED
as http
(
path ='/sql',
authentication=(INTEGRATED),
ports = (CLEAR),
site='SERVER'
)
For SOAP
(
webmethod'ProvideSQLData'(name='adventureWorks.dbo.testEndpointProcedure'),
WSDL=DEFAULT,
SCHEMA=STANDARD,
DATABASE='adventureworks',
NAMESPACE='http://thenamespace.org'
);
GO



the account that visual studio is running under has been granted connect permissions on the endpoint. can anyone say where im going wrong here?

View 2 Replies View Related

Unable To See Sqlserver/http Endpoint In Visual Studio

Jul 19, 2007

Hi,

I've created the following endpoint on a local database as follows,


CREATE ENDPOINT Wrox_EndPoint
STATE = STARTED
AS HTTP
(
SITE = 'localhost',
PATH = '/Wrox',
AUTHENTICATION = (INTEGRATED),
PORTS = ( CLEAR ),
CLEAR_PORT = 81
)
FOR SOAP
(
WebMethod 'GetProductCountByProductModelID'
(
NAME = 'adventureworks.dbo.ProductByProductModelID',
SCHEMA = STANDARD
),
WebMethod 'GetProductModels'
(
NAME = 'adventureworks.dbo.GetProductModels',
SCHEMA = STANDARD
),
WSDL = DEFAULT,
BATCHES = ENABLED,
DATABASE = 'AdventureWorks'
)

When I try to add a web reference in visualstudio to http://localhost/wrox?WSDL I get a 404 error.



I checked the web service is created in sys.http_endpoints



I've also run the following to grant permissions

USE MASTER
GO
GRANT CONNECT ON ENDPOINT::Wrox_EndPoint TO [myDomainpaulm]
GO



Any ideas where I'm going wrong?



Many thanks Paul

View 3 Replies View Related







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