Setting Up SQL Express For Web Access

May 17, 2006

Does anyone know of a good set of instructions for correctly configuring a sql express server for web applications (the sql server and web server are on different machines). I can see the SQL server from my web server, but only using the sa account and I would like to know how I should setup another user and what rights to give this user.



View 1 Replies


ADVERTISEMENT

Setting Access Permissions Iusr_Servername To Access SQL Help Please!

Oct 26, 2006

I need some help I have a 2003 MS Small business server with MS SQL 2005. I have a access front end database and SQL server back end. I need to connect a web site form in iis on the same server to the sql tables . I am generating errors in the event log when I submit the form data from the web, €śLogin failed for user SERVERNAMEIUSR_SERVERNAME! (CLIENT:192.168.1.37) !
Can anyone direct me to a paper that will step me through setting up this access?

View 11 Replies View Related

Setting Up For Access By PHP

Jun 6, 2006

Hello, I am trying to setup a Microsoft Express SQL 2005 server to be accessed by PHP. PHP is setup just fine, the problem lies in the database (or so I believe). Quite simply, the problem is that it won't connect. I need to know if I need to have any special configuration on the database for it to connect. I am fairly positive that I have all of the login information correct, so that is not the problem.

View 3 Replies View Related

Setting Up Remote Access

Jul 21, 2006

Hi,

I have written a VB program using an SQLExpress database on my machine, and I want other users to remotely access it. From what I have read, all I have to do for the Client machines is load on SQL Native Client and install the EXE. I have also enabled TCI/IP etc and setup the exceptions on my firewall. My connectionstring is

"Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;Database=<mydata>;Data Source=<machinename>sqlexpress"

When I run the EXE on the client machine, I get the following error...

Cannot open database <mydata> requested by the login. The login failed.

I am totally new to SQL and would appreciate any help in getting this setup. Do I need to put my login details into the connection string so other PCs can log into my database..?

ACCESS was never this hard to deploy, but I really want to learn SQL.

Thanks in advance


View 1 Replies View Related

Setting Up The SQL Express Membership

Aug 10, 2007

Hi,
 I am running a project that has a custom membership flow.
I need to use the local SQL Express Membership instead.
In orderer to achieve this, I have added the following lines in my web.config:
in the membership section:
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
 in the connectionStrings section:<add name="LocalSqlServer" connectionString="data source=.SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
 
Problem :
When I am opening ASP.NET Configuration > Security
I have the following error message:
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
The following message may help in diagnosing the problem: Object reference not set to an instance of an object.
 
Any idea how I could fix this?

View 5 Replies View Related

Help With Setting Up SQL Server Express.

Aug 16, 2007

How do I find out what port my server is listening on? I'm trying to connect to my database locally to install Vignette Portal. And no matter what I try, nothing works. I think it is listening on port 1433. But there is no way to be sure. Should something come up if I hit localhost:1433 in my browser? Because, when I do that, nothing comes up.

Please help.

View 1 Replies View Related

Setting Up SQL 2005 Express

Dec 5, 2005

It must be that i'm new to SQL, but i've tried upgrading to SQL 2005 but my views doesnt work?

View 8 Replies View Related

Setting Up Client PC To Access Remote SQL Server

Jul 20, 2006

Hi,

I am a VB6 programmer and I'm really new to SQL Express, I have always used ACCESS because it was so easy to deploy. I've now written a VB6 program which uses SQL Express and I want to know how to deploy it. Basically my PC will host the SQL database as it has SQL Express loaded onto it. I now want to install my EXE onto other Client's PC and have them read/write to the database on my machine.

Besides the EXE program, what software do I need to load onto the Client's PC so they can access my SQLExpress database...? (eg: Net Framework, SQLExpress, etc).

Also, if my machine is called ABC123, in my connectionstring do I just put in

ABC123sqlexpress as the datasource..?. Will this be enough for the other PCs to connect to mine ?

Thanks

View 8 Replies View Related

Setting Up MS Access Data Source In Vista

Apr 26, 2007

I'm trying to set up a user DSN for a MS Access database in Vista. In XP it's usually just a case of going to Admin Tools > Data Sources but I only get the option of SQL Server and SQL Native Client with Vista.
I'm pretty sure I found a way of doing it a while ago by opening another version of Data Sources from the command prompt but can't for the life of me remember what it was.

Anyone know how to do this?

View 2 Replies View Related

SharePoint And SSRS - URL Access And Setting Parameters

Jun 29, 2007

I want to create some links in Sharepoint that will take me directly to a report, display it within the SharePoint full page report viewer and set some parameter values along the way.

I've tried:

http://<sharepoint server>/<portal name>/<report library>/<report name>.rdl?Param=value

No luck.

Anyone have suggestions? Workarounds?

View 4 Replies View Related

Setting Up Access For Network Service Account

Mar 6, 2007

I am trying to connect to a sql server from my asp.net application via windows authentication using the Network Service account. When I try to create a login for the ComputerNameNetwork Service account I get the following error.

I know I haven't mistyped it because I clicked the check names button and it showed as a valid id.

So what gives?

TITLE: Microsoft SQL Server Management Studio Express
------------------------------

Create failed for Login 'PREMIERDCNetwork Service'. (Microsoft.SqlServer.Express.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Login&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

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

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

Windows NT user or group 'PREMIERDCNetwork Service' not found. Check the name again. (Microsoft SQL Server, Error: 15401)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3042&EvtSrc=MSSQLServer&EvtID=15401&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------


View 5 Replies View Related

Setting Up Datasource To Access SQL Server From Excel 5.0a

Nov 6, 2007

Hi all,

Please advise which kind of connection should be establish from excel 95 to MS SQL Server.

From my thought, I understand that the connection depends on Windows version rather than excel version.
Thus, I just think that there will not be any issue connecting to SQL Server from Excel 5.0a.

Kindly advise if there is any addtional point to concern/consider further.
What could be issue connecting to SQL Server 2005 from Excel 5.0a.

Thank you very much

View 1 Replies View Related

Setting Up SQL Express With Memberships (aspnet_regsql.exe)

Jan 19, 2007

I've been using SQL Serer 2000 or SQL Server 2005 (external) for my website and I have it configured through the aspnet_regsql tool.  The hosting company doesn't offer access to SQL Server to configure the database.  So I thought I'd use SQL Express.  Only problem is now I can use the exe to set up this db.
 
Does anyone know of a good way to configure this database for my website?
 
Thanks!

View 3 Replies View Related

Setting User Name &&amp; PWD On SQL Express Database

Dec 6, 2005

How do you set a user name and password on a SQL Express database created using the data explorer in VB2005EXP?

View 1 Replies View Related

Setting MSSearch.exe Affinity Gives Access Denied Error

Jan 7, 2005

Hello Friends,

I'm trying to set affinity to mssearch.exe in our Windows 2000 Advanced
server (4cpus), but i am getting an "Access denied error". I checked the login which has administrator rights to the box.

It would be a great help if anyone can tell how to fix this.

Thanks
Haja

View 1 Replies View Related

Help Setting Up An ODBC Link To SQL Server From Access 2003

May 6, 2007

PLEASE HELP ME



I'm a pretty smart guy, but sometimes I end up feeling left behind with all of the terminology I don't recognize.



I am running XP Pro, Access 2003, and SQL Server 2005 express.

I want to set up a ODBC connection in Access to a table that has been created in an SQL Server 2005 Express Database.



I keep getting the message connection failed, SQL Server does not exist or access denied.



Can somebody here please help me?

View 1 Replies View Related

Data Access :: Setting Up Oracle Linked Server

Sep 15, 2011

I have a requirement to set up an Oracle linked server, Ive never done this before and in fact never touched Oracle so I dont really know what I am doing.

View 4 Replies View Related

Error Setting Up SQL Server Express 2005

Nov 29, 2005

Hi,I had the SQL Server Express installed on my desktop and it was working just fine. Now, I upgraded to .Net 2.0 and I had some problems with the SQL Server Express just like in post http://forums.asp.net/1070169/ShowPost.aspx.These problems were solved by using a cleanup tool but now when i try so setup the SQL Server Express 2005 i get the error:SQL Server Component Update will install the following components for SQL Server Setup:- (ok) Microsoft SQL Native Client- (error) Microsoft SQL Server 2005 Setup Support FilesErrors occurred during the installation:Error 1603 installing Microsoft SQL Server 2005 Setup Support Files.See log file for more detailed information.Fatal error during installation.The log file as lots of information such as:Product         : Microsoft SQL Server Setup Support Files (English) Product Version : 9.00.1399.06 Install         : Failed Log File        : C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0010_WS10170_Support.log Last Action     : InstallFinalize Error String    : The installer has encountered an unexpected error. The error code is 2908. Could not register component {1F3316BE-825B-4390-A9D2-AF3EECCAE9F6}. Error Number    : 2908 -------------------------------------------------------------------------------- WS10170 : There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information. Can someone please help me on trying to avoid format the desktop.Thanks,Stromberg

View 2 Replies View Related

Setting Correct SQL Express Folder Permissions

Feb 13, 2008

Hi

I have a vm machine running SQL Express. So as to centralise my data, on the host machine I have a folder with all my data. This folder is shared. In the vm machine I have set up mapped to this folder, so it is visible within in. I can add/remove from the folder in explorer so the permissions look okay up to there.

However, when I go into SQL Express and attempt to restore from a backup into a DB, I cannot see the folder in the folder list presented. When I try and force the connection through the mapped drive letter or unc name, the server fails with a you do not have permissions.

From my reading it looks like I have got a network service account set up but, when I look at the logins in SQL Express there doesn't appear to be such an account.

Could someone either
a) point me in the right direction if the netowrk service account is not the way to go
b) tell me how to set up a netowrk service account with the correct privileges to enable me to read /write this mapped folder.

Thanks

Simon

View 2 Replies View Related

SQL Express Hangs On Setting Registry Security

Nov 9, 2005

The last few lines of the log show:

View 4 Replies View Related

Setting Up Code Library To Run Either SQL Server Express Or Compact 3.5

Feb 21, 2008

I am not sure if this should go here it is a bit of a mixed bag, sorry if it's in the wrong spot.

I am interested to know what ideas people might have in relation to the best way to structure/setup up an app that can connect to either an SQL Server Express DB or a Compact 3.5 DB. I have a small app that can be networked but a lot of people wont want a networkable version so I dont want them downloading an app that is 4mb but requires a 35mb SQL Express install just to get it to attach to what amounts to a local DB.


Both the System.Data.SQLClient and System.Data.sqlce namespaces include classes that share at least some (I haven't checked them all) classes that inherit from the same base class i.e. SQLConnection and SQLCeConnection both inherit DBConnection from System.Data.Common. so I am wondering if there is a tricky way that I can reduce my overall code overhead (mainly things like if statements to check which DB connection we want) by up casting both connections and managing them as DBConnections but at this stage I cant come up with one.

An in important point with this is that I intend to write SQL statements that are compatable with both SQL Express and SQL Compact, my DV structure is sufficiently simple enough that I can put up with the odd "wordy" SQL statement in favour of trying to use stored procedures and views in Express and then not being able to use them in Compact.

Cheers
Rob

View 1 Replies View Related

Sql Express Installation Problem Setting Sql Account To =NT AUTHORITYSYSTEM

Apr 4, 2006

Hello,

I am having trouble installing sql express from a command line on an XP o/s other than English, I know French and German have the problem I suspect this is caused by setting the sql account to ="NT AUTHORITYSYSTEM" my guess is that this is a localized string.

I get the following error

SQL Server Setup could not validate the service accounts. Either the service accounts have not been provided for all of the services being installed, or the specified username or password is incorrect. For each service, specify a valid username, password, and domain, or specify a built-in system account.

This is my command line

setup.exe" /QB REBOOT=REALLYSUPPRESS ADDLOCAL=ALL SQLBROWSERACCOUNT="NT AUTHORITYSYSTEM" SQLBROWSERPASSWORD= SQLACCOUNT="NT AUTHORITYSYSTEM" SQLPASSWORD= AGTACCOUNT="NT AUTHORITYSYSTEM" AGTACCOUNT= SECURITYMODE=SQL INSTANCENAME=KBMSS SAPWD=kbmsa DISABLENETWORKPROTOCOLS=0 SQLAUTOSTART=1 SCCCHECKLEVEL=IncompatibleComponents:1 ERRORREPORTING=2

Anyone else run into this?

Thanks,

Michael Gustafson

View 1 Replies View Related

Using VB2005 Express To Access A SS2005 Express Edition DB: O/S Error 32

Feb 4, 2006

Looking for help in diagnosing this error:


Unable to open the physical file "C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDatacartracker.mdf". Operating system error 32: "32(error not found)".
An attempt to attach an auto-named database for file C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDatacartracker.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

I am using Visual Basic 2005 Express Edition along with SQL Server 2005 Express Edition.

Now here's what I did:

Rather than use the Database Explorer within VB2005 EE to create my database, I thought I would try creating my database externally using the downloadable "SQL Server Management Studio Express" tool. (I figured that if I had a stable data model for my database, I could side-step the copying/overwriting issues that come with creating a database as part of a VB solution.)

So having gotten my database setup and populated with some sample data, I am now trying to connect to it from Visual Basic. In VB (in the context of working on a VB Solution), I do the following:

Select Add New Data Source... from the Data menu to bring up the Data Source Configuration Wizard.
Choose "Database" for the data source type and click Next.
Click "New Connection..." to bring up the Add Connection dialogue.

For data source I choose "Microsoft SQL Server Database File", with ".NET Framework Data Provider..." as the data provider.
Navigate to my existing database file (in "C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLData" folder).
Use Windows Authentication.

When I click "Test Connection" or just click "OK", i get the Microsoft Visual Basic 2005 Express Edition error shown at the top of this message.

Is this occuring because I'm trying to access my database as an .MDF file rather than through Named Pipes / Shared Memory / TCP/IP? If this is the case, is there any way that I can tell VB2005 EE to use Named Pipes / Shared Memory / TCP/IP? Is this a fundamental limitation of VB2005 EE?

Thanks in advance to the guru who is able to explain this to me...

View 8 Replies View Related

SQL Server 2005 Express - Setting Sa Password Fails During Install

Mar 21, 2007

During an install of SQL Server 2005 Express setting the sa password does not work consistently. The install is being run as administrator and I am using an .ini file to pass the settings,

SECURITYMODE=SQL
ADDLOCAL=ALL
SQLBROWSERAUTOSTART=1
SQLAUTOSTART=1
INSTANCENAME=DBSERVER
SAPWD=Westtech#1

and while most times it works correctly, occasionally, maybe 4 out of 10 times it fails to set the password and I have been unable to find any warnings or errors in the logs it generates.

We are coming up on release and this is causing us some real problems. Does anyone have any ideas, something I could look at?

Thank you,

Kathy Mook

Westbrook Technologies, Inc.

View 6 Replies View Related

Setting Sa Password In SQL Server 2005 Express During Install Works Inconsistently

Mar 21, 2007

When installing SQL Server 2005 Express and using an .ini file that looks like this,

SECURITYMODE=SQL
ADDLOCAL=ALL
SQLBROWSERAUTOSTART=1
SQLAUTOSTART=1
INSTANCENAME=DBSERVER
SAPWD=Westtech#1

sometimes the sa password is set correctly, while other times it is not. There does not appear to be any particular environment or system setting when it fails vs. when it works.

We are coming up on a release date and this is causing us a serious problem. Can anyone help?

Thank you,

Kathy Mook

Westbrook Technologies, Inc.

View 1 Replies View Related

Setting Admin Rights To Report Manager, SQL Server Express 2005 On Vista Business

Mar 7, 2007

Hi all,

I'm a newbie to Reporting Services so please forgive my ignorance...

I've recently installed SQL Server Express 2005 with Reporting Services on my Vista Business Notebook (with no network connections) and have installed VS C# Express as well as the Business Intelligence Studio to create reports.

My C# application can connect to SQL Server fine, however, the reports I created with Business Studio refuses to deploy to the server due to the following reason:

"The permissions granted to user 'localhostJenny' are insufficient for
performing this operation".

I find this odd as I've been able to deploy reports on my other Windows XP machine (with SQL Server Express) no probs at all. Additionally, I cannot see the 'Site settings' link within Report Manager (Web) that I'd normally get with an admin account (i.e. on my Win. XP machine). Various sources indicate that my account has insufficient access rights to view this.

Having browsed through seemingly endless blogs and forums, I suspect that my local account has not been configured to access the Report Manager web client to publish, manage and administer the site.

I have tried the surface area tool for SQL Server, but I suspect that this is relevant only to SQL Server DB access and management. Adding an administrator here does nothing.

The question is, how can I grant access to myself (local account) to allow me to publish reports via business studio, and at the same time - administer Report Manager Site Settings - on my vista notebook??

I would be extremely grateful for any help on this matter - I've tried ceaseless reinstallations, but to no avail!


Many thanks in advance,

Jenny

View 5 Replies View Related

Setting Back Up Sql Server Express And The Sql Server Management Studio

Apr 19, 2007

I am having a nightmare of a time with my Sql Server 2005 Express. My computer crashed on Friday the 13th - of course. I saved all my files onto another drive and wiped out C: I brought everything back in but I started a new file for my Visual Basic projects. After asking questions I found this was a major no-no So I brought my original folder back in. This solved some of my problems I was having with Visual Studio and Visual Web, but I am continuing to have problems with Sql Server. I will explain these two problem they may be related, I don't know. When I run my Visual Website on a server I get this message:

An attempt to attach an auto-named database for file(then my file name)failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

And my second problem is when I attempt to run Sql Server Management Studio Express I get this error message:

There is no editor available for (then my file name) .mdf

Make sure the application for file type(.mdf)is installed.

View 4 Replies View Related

MS Access To SQL Express

Oct 16, 2007

I need to find a program that I can change my MS Access databases into SQL databases.  My sites on the server are getting to many visitors and access is crashing the server.  So I need to find a fast program that can covert a access database into SQL very quickly.  I have not found one out there yet so any direction would help.  I tried using the upsizing in access and that does not work on my machine so I would like a stand alone program. 
 Thanks for the help

View 3 Replies View Related

SQL Express Or MS Access ?

Jan 11, 2007

Hello,
I need local database for my winforms application . In database will be stored c. 2000 records in 15 tables .
Is better use MS Access file or Sql Expres or something esle ?
Is working with Sql Expres faster then MS Acess (with c. 2000 records)?

Ondra.

View 4 Replies View Related

Old Asp Web App: Access To SQL Express

Jul 16, 2007

i have an older asp web application (not .net) which connects to an access database and reads tables. the .mdb file resides on the web server, along with the asp page. the access db is going away, and the tables have been re-created in SQL express. I need to figure out how to connect and read the tables from either the existing non dot.net asp application, or a new php application.

I have read the post


FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client))some more fundamental questions are:
1) can I upload the the SQL express MDF file to the IIS server, and connect to it as a stand-alone file (like i could with the access mdb file)? *** note: SQL express NOT installed on this server, just the standalone mdf file uploaded)
1)a) if yes, what additional code will i need? i am unsuccessful in using the following connection string
set conntemp=server.createobject("adodb.connection")
connectionString="Data Source=.SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=sonnys_inventory.mdf"
conntemp.Open connectionString

1)b) if no - i need to install SQL express on the IIS server. do i then upload the mdf file to the server and "attach" it through the SQL management program and follow directions in the post mentioned above?

thanks for any help.

View 1 Replies View Related

Sql Server Express And Access

Jul 23, 2007

Hi,
i am very new to databases. I use VWD 2005, Sql Server Express 2005 and have a remote database through a host rather than my own server. i have managed to create sql databases fine. Its with Access Databases Im really geting confused:
Can i use an access database I have created using VWD and sql server Express 2005? Or would it run just through VWD and the remote ?
If i use VWD I dont usually need to use IIS but if the latter of the two options is what I must do then i would manually need to create a virtual folder?
Nick

View 3 Replies View Related

SQL Server Express Access

Nov 29, 2007

I just downloaded SQL Server Express from online and I'm unable to access it now. I cant make a connection nor can I create a database. Could anyone help me out with this and let me know what I've done incorrectly?
 Thank you!

View 4 Replies View Related

SQL Express Remote Access

Oct 30, 2006

Can a database on SQL Express 2005 server be accessed remotely in a network?

View 4 Replies View Related







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