I have done an EXE which copy a database using SMO. When i double click my exe everything is working fine. If i tried to execute my EXE in a ASP.NET web page the process is start but doesn't do anything. If i tried other EXE i've made it's working fine so the problem seems to come from SMO. Did i have something to add to my code if i want to use it in a webpage ?In common no, did you try to debug the SMO application / library which you wrote ?
HTH, jens Suessmeyer.
http://www.sqlserver2005.de|||
Thanks !
I've figure out what was the problem. To be able to use my EXE in my web application i've got to add those lines
myServer.ConnectionContext.LoginSecure = False
myServer.ConnectionContext.Login = "****"
myServer.ConnectionContext.Password = "*****"
Now my EXE is working fine when i'm calling it from my webapplication
No comments:
Post a Comment