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: 3386 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:













bold the prefix text in the results of autocomplete box

autosuggestbox: how to use it and customize

ajax collapsiblepanel and binding in user control

register startup script after all ajax scriptcontrol or extendercontrol are created

user control wrapped in modal popup, within another user control, on a page, in a master page

this._form is null or not an object - on keeping idle

dynamic control disapear at postback

enableviewstate for tabcontainer

autocomplete extender

button event in update panel

autocomplete with jquery and webservice

redirect to loginpage on ajax events

control looses focus with updatepanel in firefox

tabpanel - tooltip property not working

combobox button not displaying in ie7.

repeater in update panel with masterpage

java script text box not working inside tab panel

ajax to prepopulate textboxes

problem using tab key on modalpopup.

page shifts down when updatepanel is updated

updateprogress issue - navigating back, data not there

ajax collapsable panel with textbox and button not working in mozilla firefox..please help urgent!!

cascadingdropdown not working in updatepanel with webkit browsers only

ajax timer problems

issue updatepanel partial page refresh

how to show ajax modal popup extender after form controls validation is over?

timer control for data list

cannot set text in textbox on modelpopup

linkbutton not functioning properly with partial rendering

having problems with a gridview under an update panel using a ajax popupcontrolextender with dynamicservicemethod!

programmatically adding asp.net user control to updatepanel

asynchronous post back for migrated application

web user control inside listview inside update panel

modal popup during datagrid update

asp.net updatepanel

focus not set to textbox under a ajax tabcontainer

updatepanel refresh on some code conditions

update panel issue

unspecified error when server generates a long response

update progress bar problem very urgent

error microsoft.web.ui.updatepaneltriggercollection

how to bind a gridview in a static webmethod?

mathtran not working with ajax update panel

issues with positioning modalpopupextender, datalist and or z-index

png with drop shadow effect dont show up properly.

tabcontainer within panel modalpopupextender

searching...msg before displaying search results

image_click event not firing..

issue with a treeview insidate update panel

image slideshow using master page

   
  Privacy | Contact Us
All Times Are GMT