Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

is the following code not workable in asp.net 4.0/4.5

$
0
0

Hi Sifus,

good day.

I have changed my godaddy programming language from asp.net 2.0/3.0/3.5 to asp.net 4.0/4.5. After the changed of this setting I found the following code in web.config caused error when i load the website:-

<runtime>
<system.net>
<mailSettings>
<smtp from="email@mydomain.com">
<network host="relay-hosting.secureserver.net" port="25" userName="email@mydomain.com" password="xxxxxxxx"/>
</smtp>
</mailSettings>
</system.net>
</runtime>

the website was working well when it is run in programming langauge asp.net 2.0/3.0/3.5

what can i do to fix make it works? thanks in advance for kind assists.

garf


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>