Test Deploying WinForms App With SQL/e

Sep 19, 2006

Hi all,

Am I right in my understanding that I cannot deploy SQL/e to a machine that isn't running Visual Studio 2005, if I'm trying to ship within a winforms app?

Is this being fixed in the final release, or RC1?

What timeline is there for the release of SQL/e?

View 3 Replies


ADVERTISEMENT

Deploying A WinForms Application With SQL Server Compact 3.5

May 21, 2008



Hi

I create a small aplication to lookup postal codes, it uses only some basic queries. It's a Winforms (using Visual Studio 2008) application, as MS put as local datase SQL Server Compact 3.5, I use it.

The application works fine it has only tree tables (with the postal codes of USA, Canada and Mexico) using the SQL Server Compact 3.5 database file.

I create a setup project and made and installer, in this case I follow the indications from MS to copy to the application folder alld the SQL Server dll files needed.

In Windows XP, the aplication works fine after installation. But in Windows Vista not. I found that as the installer put all files unde C:Programa filesMy CompanyPostal Codes folder, the application need's administrator permission to run.

I don't know how to change the database file to another location in order to avoid this problem.

Do you know how to avoid this? Maybe using a different path for my database file (if this can you tell me how to make the connection string to works properly) Or making the app to requires the administrator permission (I know tha in VS 2008 this can be done, biy not idea of how?

Thanks for you valuable help.

View 2 Replies View Related

Simple Test Winforms App: Login Failed For User Sa - Sql Server Express

Jan 25, 2008

I've installed sql server 2005 on a customer's machine.

I have a very small "connection tester" app C# (2005) winforms app, which I use to verify connection strings. This app has been working for years. I am using the sa account to login with in this test app just to keep things simple. I am using Sql Server Authentication.

When I try to connect, I get a "login failed for user sa". I'm absolutely certain that I have the password correct.

Sql Server Express is setup in mixed mode, and I have all the tcp/ip settings correct ( as far as I know ).

I think if it was a tcp/ip thing, it wouldn't find the machine, as opposed to saying Login Failed.

I'm running out of things to look at.

The machine has .NET 3.5 installed. The connection test was written using C# 2005, .NET 2.x Could that cause a problem?

View 3 Replies View Related

DB Engine :: Replicate A Master Test Database To 100 Test Environments?

Oct 12, 2015

We are setting up a test lab environment with 100 machines.  We want one master testing db that gets replicated to each to run scripted application tests nightly.  

My goal is to minimize the amount of work to move this thing to each of the 100 test machines.  I am wondering if we need to even have the sql local and invest in a monster db server with 100 copies of the db we restore and each test machine point to their own db on that server, or if I should use db mirroring or something to get the master test db to each of those machines instead.

View 6 Replies View Related

Unit Testing For SSIS - To Test Or Not To Test?

Oct 17, 2006

Now that we have a good programming model in SSIS - the question is whether to write automated unit tests for your packages, and would it generally be a good idea for packages?

Also - if yes to write tests - then where to find more informations regarding How to accomplish that?

View 1 Replies View Related

How To Test SSis Package And What Are The Things I Need To Test It ?

Nov 27, 2007



hi every one,
i need to test SSIS pacakge which will import data from different database where record count is around 5 millions.
iam planning to test it through c# code as well as manually also.
SSIS source : consist of 7 tables
SSIS destination :consist of 7 tables
Using c# code iam trying to run ssis package through batch file.
i am putting expected rowcount, column count in an excel file and comparing same with destination tables by writing query implementing ADO.Net concept.
am i going right way ,can any one suggest best and productive way to test the ssis package .
what are the other things i need to test it.
do any one can add test cases to it.






S.No

Test Case


1

Verify all the tables have been imported.



2

Verify all the rows in each table have been imported.



3

Verify all the columns specified in source query for each table have been imported


4

Verify all the data has been received without any truncation for each column.



5

Verify the schema at source and destination



6

Verify the time taken /speed for data transfer


7

Fields truncated due to difference in length of the field at destination.
Regards
Arif shareef

View 9 Replies View Related

Best Way To Launch Report From A C# Winforms App?

Jan 25, 2007

I'm new to SSRS. I would like to launch a report from a C# desktop application, supplying parameters programatically. I was able to do this using System.Diagnostics.Process p ... then p.Start(@"(path)iexplore.exe","(reportURL)"); I'm betting there's a much better way to do this.

Ideally I would like to create an IE window that shows only the report, that is, only the report viewer toolbar is visible, the IE toolbars and menus are hidden. I want to specify IE as the browser in case some other browser is installed as the default web browser.

Can anyone link me to a tutorial or provide a code snip? Thanks.

View 3 Replies View Related

Connection Problems - Works In WinForms, Not In ASP.NET

Sep 17, 2004

Hi,

I am trying to connect to a remote SQL Server 2000 database using ASP.NET. This is my connection string

"Server=LOL-DEV;Database=Livelink;User ID=sa;Password=xxx;Trusted_Connection=False"

With this I get 'access denied or sql server doesn't exist'. If I use exactly the same code in a WinForms app, the connection works OK.

Does anyone have any idea why this might be?

Cheers

James

View 1 Replies View Related

Including Sql Express DB With Winforms Application

Oct 29, 2006

We are thinking of using a Sql Server Express database (.mdb.mdf) as a data resource in a Windows Forms application that we will be distributing to clients. When the application is built, the mdb file is copied to the bin directory.


In order for clients to access this database, will they need to have an instance of the SQLEXPRESS server installed on their computer? Or since the .mdb.mdf file is being accessed from a .Net 2.0 application, there is no need to install a separate db component?


If I do have to separately install the db component on the client end,
is this the way to go about it? This? Or is there a different/better way?

View 6 Replies View Related

Unable To Connect To SQL Server On Client With WinForms App

Nov 27, 2007

Hi,

I have a Visual C# WinForms app which I am accessing a SQL Server 2005 database with. On the Server, I have allowed remote connections (TCP and named pipes) and enable SQL Browser as per instructions on MSDN. The app works fine on the development machine.

Server name is <machine name>SQLEXPRESS, connecting with Windows Authentication.
Server log states that it is listening on [ 'any' <ipv4> 3153].
Server named pipe provider is ready to accept connection on [ \.pipeMSSQL$SQLEXPRESSsqlquery ].

On the client (local network), when trying to open the database I get this error still:

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Also on the client, I can go into the ODBC Data Source Administation, and connect to the SQL Server Database that way successfully.

What further steps can I take to allow the client to access the SQL Server?

Andrew

View 1 Replies View Related

Unable To Connect To SQL Server On Client With WinForms App

Nov 27, 2007

Hi,

I have a Visual C# WinForms app which I am accessing a SQL Server 2005 database with.

On the Server, I have allowed remote connections (TCP and named pipes) and enable SQL Browser as per instructions on MSDN. The app works fine on the development machine.

Server name is SQLEXPRESS, connecting with Windows Authentication.
Server log states that it is listening on [ 'any' 3153].
Server named pipe provider is ready to accept connection on [ \.pipeMSSQL$SQLEXPRESSsqlquery ].

On the client (local network), when trying to open the database I get this error still:

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Also on the client, I can go into the ODBC Data Source Administation, and connect to the SQL Server Database that way successfully.

What further steps can I take to allow the client to access the SQL Server?

Andrew

View 1 Replies View Related

Really Weird Problem: WinForms.ReportViewer Slow Down The Whole Application

Apr 11, 2008

Hi,

I'm developing a desktop application using CAB and DevExpress 6.3 controls. I use ReportViewer control to render .rdlc reports under local mode.
I loaded data source from a dataset, template definition from a string, called the Refresh method of ReportViewer.LocalReport, so far, all are OK. But once I call the RefreshReport method of ReportViewer, the whole Application slows down, even after I closed the report viewer form. Operations like switch between menu items, open a new form and resize the main form become double or triple slow, CPU usage is keeping in 100% while doing those operations... I've no clue how refreshing report affects all those UI drawing...
However, if I break down and jump over the RefreshReport method, an empty report form shows and every thing keeps OK.
After all, all the reports can be rendered and shown correctly finally...

And seems there is nothing to do with the templates and data source, the templates are very simple, and event if I render the reports with empty data tables, it also slows down my application.
I tried to create and run the form in a new thread, tried to upgrade to ReportViewer 9.0, but both seem useless.

Could any body help me on this problem?
Thanks in advance.



View 3 Replies View Related

Multiple Rdlc Files In One Winforms ReportViewer Control

Aug 14, 2007


How can I add multiple rdlc report definitions to a single Winforms ReportViewer control? I would like to start with the first rdlc and concatenate subsequent rdlc files after that. I want the user to be able to scroll through several different rdlc report definitions as if they were all just one report.

View 4 Replies View Related

Windows Forms: Can You Deploy OLAP Cubes Through Winforms?

Nov 16, 2007

Hi all,

Does anyone know if its possible to set up OLAP Cubes in a Winform?

Thanks,

Rob

View 2 Replies View Related

Invalid/blank PDF Created On Export From WinForms ReportViewer

Mar 7, 2007

I have a VS2005 C# winforms application that reads a SSRS request from a table and using the ReportViewer control produces a report and then exports in one of a number of formats via a specified path to a share on another server. This normally works without issue, however today I have had three instances of invalid or blank PDF's being produced. A sample error from the Acrobat Viewer is "There was an error processing the page. There was a problem reading this document (109)."

The software version are as follows:

Host Server: Windows Server 2003 with Sp1.

SQL 2005 with Sp1.

Acrobat reader: Version 7.0

By deleting the PDF file, resetting the processed flag to un-processed, the report was run again, and this time a perfectly readable PDF file was produced. As neither the source data nor the report definition file was updated during this time period, how it works at one time but not previously is currently inexplicable. I have run the report manually with the same input parameters using Internet Explorer and exported it successfully to another location.

Any ideas as to what is going on?

A fix to the winforms application will be to delete any existing file before exporting a new one.

View 3 Replies View Related

CRI Designer Adornment Class - Host WinForms Controls?

Feb 28, 2007

Hi,

I'm developing a CRI and in design mode I would like to have some controls on my adornment windows. Is there a way to use WinForms controls here instead of redefining the wheels...?



Thomas

View 3 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

What SQL Server Version Should I Use To Develop On And Install On A Client Pc For A Winforms App?

Nov 30, 2006

Hi all,

I've finally received my first official assignment using vb.net and SQL Server.

I have been developing / learning with both on the express editions.

I've also just run into some issues trying to access a SQL Server 2005 Express .mdf thru
SQL Server 2005 Pro.

We just couldn't get it to open. Connecting or Attaching etc...

We had to install SQL Server Express on the other PC to get it to open the SQL Server 2005 Express .mdf.

---

Now that I am ready to develop in ernest, I would like to setup my own controlled development environment.

Our target is a winforms application with a SQL Server 2005 Database for WinXP or Vista.

I'm ready to purchase Visual Studio 2005 Pro once I figure out the best development environment and SQL Server Version.

Specifically, once I've developed my winforms app, what issues do I need to consider to install a SQL Server 2005 database server / engine on a client / users machine?

Can I use the SQL Server 2005 Express?
Or perhaps there is an MSDE equivilant for 2005?

I can't seem to find any info regarding installation procedures for SQL Server in this regard.
(Perhaps its because I'm using the express editions?)

Any positive contructive help would be greatly appreciated.

Thanks,

Barry G. Sumpter

View 1 Replies View Related

Reporting Services :: Rdlc Print Layout Size Varies With Resolution On Surface Pro (Win 8.1 / Winforms)

Jul 17, 2014

We have a winforms application with local rdlc reports.  On Surface Windows 8 Pro devices only, reports render such that they are scaled down and don't fill the page.  If resolution is lowered on the device, the report scales up to fill the page.

 This affects the appearance in print layout and well as the actual printed size.

If we export to pdf, it renders to fill the page (as expected).  If you print to pdf or to printer, the scale is shrunken.

If we change the resolution settings so that "Make  text and other items larger or smaller" is set to small, the issue is resolved except the tablet is not very usable on this setting.Is this a bug?

View 10 Replies View Related

SQL 2012 :: Restore DB From Prod To Test - How To Restore Users In Test

Jun 25, 2015

I need to restore test DB from production backup but once it is restored I would need all the permissions of sql logins and windows AD account intact in test Db as it was before.

View 4 Replies View Related

Deploying The Whole Lot

Apr 26, 2007

Hi All,



I am adding a reporting suite to our application based upon SSRS 2005 and I am looking for a comprehensive example of how I go about deploying this.



Essentially I want to automate the entire process:



Create the DB, Create the Virtual Dirs, add my reports etc.



I have looked at the documentation and it is limited to say the least. I went down the route of attempting to script the whole thing and after 3 days of it I was still stuck on a few problems so I was hoping that someone knows of an example of how to go through all of these processes.



An example of the problems I ran into is that the "CreateVirtualDir" method on the reporting services WMI objects simply didn't work. It didn't return an error but it didn't create the Dir either!



The documentation around this method and most others is ambiguous and contains no examples.



I then went down the route of using IIS WMI to create the dirs which worked but then I was unable to update the Reporting Services configuration to pick this up without resorting to changing the config files directly - and even when I did this they didn't always seem to be picked up.



So at present instead of giving our guys in deployment a 1 click install they have a 9 page document explaining the install and set up of Reporting services from start to finish.



Any help or more thorough documentation would be greatly appreciated.



thanks,



Dhugal.



PS: Just to add I have already altered our install to install the RS module along with SQL Server so that bit is covered. I just want to script the entire configuration process.

View 1 Replies View Related

Deploying A Database

Nov 7, 2006

what is the easiest way to deploy a database for a webapp? i have create table scripts but waht is the easiest way to go about inserting data into lookup tables? would i have to write insert statements or is there some other way to do it

View 2 Replies View Related

Deploying MSDE - What Do I Need To Do

Apr 9, 2004

We're about to ship a product, and we've used access to develop it to make things easier, but we want to use MSDE.

I've never had any luck with MSDE -

1. I can import the database into a sql server database in enterprise manager, is there a way to import a database into a msde database in interprise manager?

2. what would I do in the installer? I need to install the msde engine right? and then run sql scripts on the engine?

Thanks in advance!

View 2 Replies View Related

Deploying Databases

Dec 19, 2000

I am looking for an effective technique for this scenario:
We have a program that generates 200 custom Paradox databases every night, and these are shipped to 200 sales offices (on Win98 machines). We would like to convert from Paradox to MSDE (baby SQL).
The data is relatively large (some offices > 100 MB) so efficiency is important, both for data generation, data transmission and/or data loading. Currently we zip files so the large 100MB ones are <20MB during transmission.
Is it best to: 1) output flat files, zip them, transmit, and then have an automatic load procedure (using bcp) on the Win98 clients; or 2) create the MSDE databases locally, zip them, transmit, and then db_attach the database file on the Win98?
Has anyone a successful experience doing this sort of thing?

View 1 Replies View Related

Deploying SQL Server On To A CD

Sep 2, 2005

Hi Well this is my first post on this forum, in fact I have not even used SQL Server yet!

My question is.... I have been asked to produce an application which will be a VB6 application with an SQL Server database behind it. I would like to be able to put the application along with the database on to a CD and run them directly from the CD once it is distributed. So the question I guess is can this be done with SQL Server i.e. can a table be exported in a format which will allow it to be queried in a standalone fashion? Maybe I have not explained myself properly but I welcome any questions which will help clarify my problem.

Thanks Red

View 1 Replies View Related

Deploying A Web Site

Jun 14, 2006

I am having problems deploying my web site from my machine to the hosting server.

Does any know of any special configurations that have to be perfomed before copying your web site to a server? All I have is a login in page that loads another page. The login page is launching okay but it does not load the second page.

View 2 Replies View Related

Error On Deploying Changes

Feb 7, 2008

Hi I've not done much work on reporting services before.

I've made a change on my page and i can see the change on the preview its just a drop down list containing the week number.

But i can see to get to deploy these changes when i build my package it builds fine but when i go to deploy it am getting this error message

The item '/Data sources' already exist

View 3 Replies View Related

Deploying SSIS

Feb 23, 2007

Hi

We are storing our packages in File System.

Process:

BIDS->Right Click on soln file ->properties->Deployment Utility->DeploymentOutputPath--BinDeployment

So it creates a folder with the project name and all the packages in C:Program FilesMicrosoft SQL Server90DTSPackagesProject

While executing the package on Server what should be thesource of the Package? I mean should it refer to the solution file->..dtsx

or

BinDeployment->packages

or

C:Program FilesMicrosoft SQL Server90DTSPackagesProject

View 3 Replies View Related

Deploying A Report

Feb 15, 2008



Hi,

we are working with Sql Server Reporting services for creating reports. what is my question is , how we can create a setup for deploying the reports in the report server. please advise


Thanks

View 4 Replies View Related

Deploying A Report

May 19, 2007

I'm having a little bit of trouble deploying the report project I have set up. In fact, I'm not even sure that deploying the project is what I want to do. All I want is to have something so I can view the report I've created in HTML or PDF form, something that was advertised when I downloaded the reporting services. Any help with what I would need with this would be appreciated.

View 5 Replies View Related

Deploying A Report

May 7, 2007

I am new to Reporting services and have created just a layout page.

no datasets or data sources are present. This is just a cover page.



I need to show this page through a url. Can i deploy this on my local machine rather than showing some-one through the preview mode.



What would be the local host configuration settings.

Thanks.

View 11 Replies View Related

Deploying To Subfolders From VS

Jun 29, 2006

I've got a report project with a few reports in I want in the root target directory. I also want to create several folders and put reports in those. The problem is I don't see any way to create a report folder in VS. I also don't see any way to pick the deployment path of a single reprot in VS. This makes me think I'll have to create a different Report Project in VS for each folder!! (this sucks). Does anyone have an idea or suggestion here?

View 9 Replies View Related

Problems With Deploying

Mar 12, 2008

I am having troubles with deploying reports to http://localhost/reportserver. A dialogue box pops up asking for username and password. I have been investigating Reporting Services Configuration trying to find out more about what username and password they are after, but with no luck. Can somebody please help. I am using SQLExpress 2005 and IIS 5.1
OR

View 7 Replies View Related







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