VS 2008 - Granting IIS SQL Server Database Access?

Feb 23, 2010

i granted ASP.NET account the sql server database access but ASP.NET seems not able to coonect to the database. I normally do this from code in windows XP, but its not working on my windows seven. i guess it should be something close to NT AUTHORITY in place of the MACHINE/ASPNET account which i have tried anyway but still not working.

View 5 Replies


Similar Messages:

Granting Access To Local Resources?

Apr 13, 2010

I have an ASP.NET web application that runs on a windows server 2003 server. there is a form that reads and writes data to an xml file inside the application's directory.

I always grant the NETWORK SERVICE user full control on my application folder so that it can read and write to the xml file. I put the application on another windows server 2003 server and did the same steps above but i was getting an Access denied exception on the form that reads and writes to the xml.

I did some search and found that if you grant the user ASPNET full control to the directory it would work, I did that and it worked fine. my question is: what is the difference between granting full control permissions to NETWORK SERVICE and ASPNET users ? and what can be the difference between the two servers that caused this issue ?

View 2 Replies

Granting Write Access To Text File Created In .net

Jul 1, 2010

I have created a .txt file from .net using File.WriteAllText which works fine. Problem is, after being written, I want to grant the file write access so it can be overwritten at some point down the line.

View 3 Replies

SQL Server :: How Do I access This Database From SQL Server 2008 R2 Express ?

Sep 14, 2010

I have SQL Server 2008 R2 Express and Visual Web Developer 2010 Express installed on my PC.I want users to login to my site and add listings that must be linked to their username. ASP.NET generates the ASPNETDB.mdb file when using login / membership function.How do I access this database from SQL server 2008 R2 Express ?

How do I link this database to my own SQL express database?

View 2 Replies

DataSource Controls :: Access The SQL Server 2008 Database On The LAN?

Mar 5, 2010

I am using SQL SERVER 2008.

Now I want to access the SQL SERVER 2008 DATABASE on the LAN.

So what was the Connection String and can u give me the Example of that.

View 3 Replies

How To Access To SQL Server Express Database To A Specific User With Visual Studio 2008 Tools

Mar 18, 2011

I'm trying to access an SQL Server Express database out of an ASP.NET HTTP request handler. The handler is run under ASPNET account and uses "integrated security" in the SQL connection string and so I get an error message saying that login for ASPNET account failed and so I can't access the database. This seems to be a very common problem and most answers say "grant access to you database to user ASPNET".

I only have Visual Studio 2008 and I can't find how to change access permisssions for a database. Specifically I use Tools->Server Explorer and I can see all the tables in the database but can't find how to change access permissions. How do I change access permissions to my database using tools shipped within Visual Studio 2008?

View 1 Replies

DataSource Controls :: Transfer Database From Sql Server 2008 To Sql Server 2008

Jun 29, 2010

how can i transfer complete database from sql server 2008 to sql server 2008 without loosing relationship intigrity.

View 9 Replies

SQL Reporting :: Make Spider Charts Using Sql Server 2008 As The Database And Working With Visual Studio 2008?

Aug 10, 2010

I want to make spider charts like this one: [URL] I want to know can I prepare it using reporting service 2008? I am using sql server 2008 as the database and working with Visual studio 2008.

View 4 Replies

DataSource Controls :: Attaching 2008 Database In Sql Server 2008

Apr 29, 2010

When i tried to attach 2008 database in sql server 2008 it is throwing the error-

"The database 'actitle' cannot be opened because it is version 655. This server supports version 611 and earlier. A downgrade path is not supported.Could not open new database 'actitle'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 948)"

When i execute 'select @@version' it gives 'Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Workgroup Edition on Windows NT 5.1 (Build 2600: Service Pack 3) 'How the version still be 2005 when im in 2008 ..How can i attach my 2008 database back up.

View 2 Replies

SQL Server :: Covert Database From 2008 R2 To 2008

Sep 16, 2010

how can I do it?

View 1 Replies

How To Access An SQL Server2008 Database From A VWD 2008 Express GridView

Oct 26, 2010

I am trying to access an SQL server2008 database from a VWD 2008 express GridView. I create the SqlDataSource and connect it to the gridview and thenn run the page and it is not rendered on the page. Visible is set to true.

View 8 Replies

SQL Server :: Unable To Add A Connection To Database (SQL Server 2008) Using The Server Explorer

Aug 13, 2010

This issues has been driving me nuts. I am trying to follow the tutorial on [URL] I am trying to connect to a database in Microsoft SQL Server 2008. The way I do this is by right clicking on the "Data Connections" > Add Connection. Afterwards the Add Connection window comes up, I make sure my data source is "Microsoft SQL Server (SqlClient). And, I choose a server name; the only server I can choose is DomainSQLEXPRESS. The issue is when I go down to the "Select or enter a database name" drop down box, I do not see my database listed. I have also made sure in the SQL Server Management Studio that I have given my user all the privileges for the database. I know my explanation is kind of vague, but would anyone know the reason why I would not see my database?

View 3 Replies

SQL Server :: Moving 2005 Database To 2008 Database

Jul 15, 2010

I am planing to move my sql server 2005 database to sql server 2008 database for my asp.net website. Due do this migration is it I have any issue in sqlserver side or my website will work(sp, views, table) without any issue ?

View 5 Replies

SQL Server :: Restoring A 2008 Database In A 2000 Database?

Sep 6, 2010

I've been trying to restore a SQL Server 2008 database in SQL Server 2000 and it seems impossible. Does anyone know how to do it or maybe will be able to point me in the right direction?

View 3 Replies

Forms Data Controls :: Mailing Gridview Content Using C# And VS 2008 With Access Database

Feb 8, 2010

I am using C# and VS 2008 with access database. I have a nested gridview (2) with two access database tables. Date1 (takes System date) is the primary key in table1 and also present in table2 as foreign key. User data is stored in gridview 2 w.r.t to the date in gridview1. What i am tryin to do is to mail todays date (System date) data of Gridview 1 and data corresponding to it in Gridview 2 to a specific mail id.

View 8 Replies

DataSource Controls :: Cannot Access Sql Server 2008?

Jan 30, 2010

i could write a query and i could debug forms using both sql server 2008 and visual studio 2008,but i could not connect to the sql server 2008 and test could not be succeded

View 2 Replies

SQL Server :: Synchronization Between 2008 Express And Database On Web Server (web Hosting)

Dec 29, 2010

I built a website using SQL 2008 Express. I want to deploy it to a hosting company (shared server). If I change the SQL 2008 Express database on my local machine (further development of the website), how can i synchronize the local SQL database with the one on the server without loosing data?

View 3 Replies

Security :: Sql Server 2008 Filestream Access Denied

Dec 20, 2010

i use filestream in sql server 2008 and vs 2008(web project)

local pc (application server and database server are all in one pc):

no problem can do the filestream (i mean read and write)

connectionString="data source=ETACTNB10SA;database=XXXXXt;user=XX;password=XXXXX;Trusted_Connection=true;Integrated Security = SSPI;" providerName="System.Data.SqlClient"

network (one pc for application server, other one for database server )

if i use

connectionString="data source=ETACTNB10SA;database=XXXXXt;user=XX;password=XXXXX;Trusted_Connection=true;Integrated Security = SSPI;" providerName="System.Data.SqlClient"

problem is can not access database

if i use

connectionString="data source=ETACTNB11SA;database=XXXXXt;user=XX;password=XXXXX;" providerName="System.Data.SqlClient"

problem is filestream access denied (database can access, mean can do normal insert , update and delete)

code for read function of filestratm:

SqlTransaction objSqlTran = myConn.BeginTransaction();

View 3 Replies

SQL Server :: Northwind Sql Server 2008 Sample Database

Sep 19, 2010

i m looking for northwind 2008 sample database. But i m unable to get the link. All links are for 2000 samples.

View 1 Replies

VS 2008 Enabling Public Access To Local IIS Server's Website?

Nov 8, 2010

I can't figure this out. I have a simple ASP.NET application that I am hosting on my computer which all local computers can hit. The next thing I want to do is setup the website for public access. No matter what I can't seem to get it to work.

- I have allowed incoming connections to port 80 through the firewall.

- I have setup my router to port forward all HTTP requests (80) to my locally assigned IP (192.168.1.XXX).

- I have setup my server to use anonymous authentication, which is set to "Application pool identity".

- I have even shut off my firewall to try and see if it would work.

Can't figure this out. Read a bunch of information, and in my head this should work, but it seems like I am missing something simple. I realize this thread's subject matter applies to IIS7 more-so than ASP.NET, however since I am relatively new to ASP I figured maybe I missed an ASP setting or something.

View 7 Replies

SQL Server :: Can't Access Sqlserver Express 2008 R2 From VS Web Developer 2010?

Nov 9, 2010

Embarrassed that I'm stuck on this I've downlaoded sqlserver express 2008 R2 and VS web developer 2010. Set up a databse wrote a mini test site and am now trying to connect to my database to fetch records back. However i'm getting the error message "Invalid object name 'customer'." (I have a feeling its running it on the master db and not my 'customerdb' but can't prove this as express doesn't have a profiler).

Here is my code;

[Code]....

View 1 Replies

Connect To MS Access Accdb File On Windows Server 2008

Feb 21, 2011

in my ASP.NET applicaton I have ftpdata folder, where is MS Access 2010 somename.accdb file. On my local computer (Win XP), there is no problem to connect with OleDb to this file and read write datas into and from tables. But on server (Windows Server 2008), I cannot connect to the same file like on localhost.

View 3 Replies

Visual Studio :: How To Bulk Insert Data From Access Db To Sql Server 2008

May 17, 2010

On my page I am mapping my Sql Server Table fields with Access table fields

Once this is done I want to bulk insert records from Access table to the Sql Table

Also this is not exaclty table to table insert .I should be able to do it on a Button Click where either create a string or Datatable and then run a bulk insert

View 3 Replies

Security :: Client System Which Access The Database Server Aswell As Web Server

May 10, 2010

in its webconfig file i have

<identity impersonate="true" userName="webserverloginname" password="webserverpassword" />
sername1= username of the system
password1 = passowrd of the system
username2= username of the the database
password2 = passowrd of the database

client system which access the database server aswell as web server

View 2 Replies

SQL Server :: Want ToOpen Database In VS 2008

Mar 6, 2011

i was created one database in SQL server 2005 (INTERNAL VS 2008) but whenever i want to open this db in my friends PC then it generates some Version errors.like Version 655 is not supported.

View 4 Replies







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