Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Cannot connect to db using public user

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kin - 07 Sep 2007 04:31 GMT
Pls Help

I open a connection to remote sql server

Connection String:
Provider=SQLOLEDB.1;User Id='user';Password='pwd';Initial
Catalog='database';Data Source='remoteServer,port'

when user is public user, the iis always return error, with script timeout
but when user is 'sa' or 'dbo', iis return the right result to me

can anyone explain what problem i have?
Michael Nemtsev, MVP - 07 Sep 2007 06:04 GMT
Hello Kin,

Does you public user have access to DB for reading?

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

K> Pls Help
K>
K> I open a connection to remote sql server
K>
K> Connection String:
K> Provider=SQLOLEDB.1;User Id='user';Password='pwd';Initial
K> Catalog='database';Data Source='remoteServer,port'
K> when user is public user, the iis always return error, with script
K> timeout but when user is 'sa' or 'dbo', iis return the right result
K> to me
K>
K> can anyone explain what problem i have?
K>
dogkin - 08 Sep 2007 01:38 GMT
Dear Michael,

Sure.
I have test the user right from Query Analyzer.
the public use can access the DB and select / update tables that allow.

>Hello Kin,
>
[quoted text clipped - 20 lines]
>K> can anyone explain what problem i have?
>K>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.