sql-server-express

Is it possible to run SQL Express within a Azure Web Role?

喜你入骨 提交于 2020-01-14 14:06:36
问题 I am working on a project which uses a relational database (SQL Server 2008). The local (on-premises) application both reads and writes to the database. I am working on a different front end for Azure (MVC2 Web Role), which will use the same data, but in a read only fashion. If I was deploying a traditional web app, I would use SQL Express to act as the local database, and deploy changes with updates to the application (the data changes very slowly) or via some sync system. With Azure, the

how to execute bulk insert statement in java (using JDBC) with db=SQL Server 2008 Express

那年仲夏 提交于 2020-01-13 19:21:05
问题 I am trying to execute a BULK INSERT statement on SQL Server 2008 Express. (It basically takes all fields in a specified file and inserts these fields into appropriate columns in a table.) Given below is an example of the bulk insert statement-- BULK INSERT SalesHistory FROM 'c:\SalesHistoryText.txt' WITH (FIELDTERMINATOR = ',') Given below is the Java code I am trying to use (but its not working)...Can someone tell me what I am doing wrong here or point me to a java code sample/tutorial that

OLAP on SQL Express

懵懂的女人 提交于 2020-01-13 09:32:48
问题 I'm wondering if there is any desktop OLAP solution that can use SQL Express (and therefore does not require Analysis Services) I've been tasked with finding a way to allow our customers to do 'Ad-Hoc' reports, but the vast majority of them are on Sql Express, In previous jobs, customers have had Analysis Services and typically Cognos or Crystal Reports, so all that was required was to design the cube. 回答1: SQL Express is pretty limited, I don't know of any OLAP capabilities. Although, we use

SQL Server Express CREATE DATABASE permission denied in database 'master'

青春壹個敷衍的年華 提交于 2020-01-11 15:50:23
问题 After I change the option as UserInstance="False", then the error starts to happen. Because I want to use full-text search, the option change is required. BUT, it stopped to work. Is there any way to make it work again? I'm running Application Pool as Network Service with full control. 回答1: A solution is presented here not exactly for your problem but exactly for the given error. Start --> All Programs --> Microsoft SQL Server 2005 --> Configuration Tools --> SQL Server Surface Area

SQL Server Express CREATE DATABASE permission denied in database 'master'

℡╲_俬逩灬. 提交于 2020-01-11 15:49:29
问题 After I change the option as UserInstance="False", then the error starts to happen. Because I want to use full-text search, the option change is required. BUT, it stopped to work. Is there any way to make it work again? I'm running Application Pool as Network Service with full control. 回答1: A solution is presented here not exactly for your problem but exactly for the given error. Start --> All Programs --> Microsoft SQL Server 2005 --> Configuration Tools --> SQL Server Surface Area

Register for SQL Server Express redistribution [closed]

十年热恋 提交于 2020-01-11 09:32:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . We would like to redistribute SQL Server Express with our application, and according to the following links: MSDN forum, SO discussion it is necessary to register at Microsoft before. Unfortunately the link to the mentioned registration form is broken and I cannot find a registration form on the MS websites. Has

How to warm up a sleeping SQL Server database

。_饼干妹妹 提交于 2020-01-10 19:32:16
问题 We have a job which runs every morning in CruiseControl.net to import a datafile into a DB. Our problem seems to be that some nights the DB goes to sleep over night. When we run the script in the morning our connection times out while we wait for the DB to warm up. We've tried upping timeouts etc. but with no luck. Is there a way to tell SQL Server to warm up at a set time or to tickle it to keep it warm? So far we run the job twice, once at 9am to warm it up which fails 80% of the time but

Connection between windows service and sql database

若如初见. 提交于 2020-01-07 01:31:15
问题 I am trying to establishing a connection between a Windows service written in C# and a SQL Server Express database. But when connection.open is called I get this exception System.data.sqlClient.sqlexception: {"Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed."} But the same code works fine when I run it as console application.Can someone please help me with this?? _connection = new SqlConnection(

How to get SQL server returned message?

泪湿孤枕 提交于 2020-01-06 04:04:49
问题 If I use SQL Management Studio. When I create/drop tables, or do any updates, I can see messages like: "Command(s) completed successfully." "Cannot drop the table 'my_table', because it does not exist or you do not have permission." But if I use python to execute the same query: connection = pypyodbc.connect('my connect options...') cursor = connection.cursor() my_result = cursor.execute('my create/drop table sql...') my_result = connection.commit() I can see nothing from "my_result", "cursor

Remote connection to SQL Server Express fails

♀尐吖头ヾ 提交于 2020-01-06 02:05:20
问题 I have two computers that share the same Internet IP address. Using one of the computers, I can remotely connect to a SQL Server database on the other. Here is my connection string: SqlConnection connection = new SqlConnection(@"Data Source=192.168.1.101\SQLEXPRESSNI,1433;Network Library=DBMSSOCN;Initial Catalog=FirstDB;Persist Security Info=True;User ID=username;Password=password;"); 192.168.1.101 is the server, SQLEXPRESSNI is the SQL Server instance name, and FirstDB is the name of the