I need to change the name of the mail server for my .NET application. I changed it in web.config and on the .aspx page that sends the message. However, I still get an error message saying that the remote name could not be resolved, and the error message has the name of theold mail server. I have tried rebooting the server, but still get the same error.
Does .NET save configuration settings somewhere other than web.config? Is something getting cached? Other ideas?
Are you running VS debugger or testing on IIS server?
You can delete all files in cache.
Do you use only one config file?
If you have BLL and DAL, sometimes you have also config files here.
Visit this?site.
http://www.systemwebmail.com/
As Johan said, delete your temporary files, and build your web site again
Thanks
Thanks for the responses.
JohanNL, this site is on an IIS server. There is only one web.config file for the site. I did not implement BLL/DAL.
JohanNL and e_screw - this is probably a dumb question - when you say to delete cache/temp files, do you mean the ones in c:\windows\temp? Or what is the correct location?
You need to clear the ASP.NET temporary files
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
Thanks
0 comments:
Post a Comment