Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 SMO via asp.net

Author  Topic 

scromer
Starting Member

6 Posts

Posted - 2009-03-25 : 15:44:54
I currently wrote a web based Database browser using SMO and ran into an issue I knew was coming but I am having trouble seeing the workaround. It works fine running on my local machine because I am a sys admin but when I deploy the application to the IIS server the account that IIS runs under doesnt have the permissions to access the SQL servers on the network, I didnt see anyway to add credentials to the SmoApplication class that implements the EnumAvailableSqlServers() method. Does anyone know how to accomplish this?

Thanks!

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-03-25 : 16:08:54
I moved the topic out of the "Article Discussion" forum, since this is obviously not an article.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -