CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.security Tags:
Item Type: Date Entered: 10/11/2004 1:27:09 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
9.00
XPoints: N/A Replies: 1 Views: 3237 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"aspfun" <>
NewsGroup User
Connection string in windows authentication mode10/11/2004 1:27:09 PM

1

I have a windows app and connected to a windows authentication SQL server-OrderSQL and works fine.
Here is connection string:

"data source=OrderSQL;initial catalog=Order;integrated security=SSPI;persist security info=False;Enlist=True;Pooling=False;Connection Lifetime=30"

I used this string in ASP.NET web.config file but got error.

Can someone help me?


"Fredrik2000" <
NewsGroup User
Re: Connection string in windows authentication mode10/11/2004 3:21:45 PM

1

The problem is that your web-app is running as the ASPNET user,
when you where running your windows apps they were running
as the user logged on to the computer.
So the problem is that the aspnet user is not allowed to access the database.
You need to add the following statement to your web.config
<identity impersonate=true/>
this will make your webapp execute as the user connecting to it
and then it will also have access to the database.

Regards
Fredr!k
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













[idea] master page htmlhead base tag

treeview - hide node based on security roles with querystring urls

master pages with firefox not working

i need some help with delaying the menu control

sitemap navigation menu help

generate aspmenu to js file

if else problem

sitemap / menu using arguments in the url

tabcontainer not recognizing master page's <form>

horizontal menu text alignment

masterpage's postback event not firing for a single page...

sqlsitemapprovider tip ...

master page content page error

web.sitemap - roles

asp:dropdownlist and themes don't work for hover color

master page

treeview, how to avoid double border between nodes?

master page

css not applied on first load

custom attributes for sitemapnode in sitemap file

how to let treeview remain the same status when change to another page?

javascript with masterpage and content content

have to include .cs file for master page on production environment?

asp menu question - images and datasource

error...unrecognized attribute 'masterpagefile'

sub master page query

reg master pages

skin controls in .net 2.0

dynamic master pages

sitemappath with image as pathseparator?

treeview populated by a oracle database

clickable area in a menuitem

sharing master pages across applications

reference controls in masterpage from class in app_code

sitemappath control - there was an error rendering the control

how do i use the style property of a htmlgeneric control

generating a preview of files stored as image in database

tab strip control

dynamic title tag

user specific themes?

dynamic popout menu render beneath contentplaceholder

menu buttons on a master page...

imagebutton on masterpage issue

access masterpage control in content page html

global login

how to code masterpage events?

content place holder with visual studios

how to desiable a sitemap "menu" control

making of new themes, basics

treeview expand issue

   
  Privacy | Contact Us
All Times Are GMT